| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| | |
Change-Id: Iaf54c7395d447eec94d8b6c12986fa8d16c030f5
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We've a number of native functions in the text layout path that take
a bidiFlags argument. We've a number of callers of those functions
passing in SkPaint::Flags in that slot. This completely breaks text
directionality for the affected functions, as
SkPaint::kAntiAlias_Flag happens to share values with kBidi_RTL,
resulting in anti-aliased SkPaints measuring text as if it were RTL,
and non-anti-aliased SkPaints measuring text as if it were LTR,
regardless of the actual text directionality. Oops!
To address the issue, this commit replaces erroneous calls to
SkPaint.getFlags() with the value of Paint.mBidiFlags, and includes
the necessary plumbing to get that value where it needs to be.
Bug: 8471481
Change-Id: I2d04b70defed3130fc1ad13f4c9098f5fce4ffde
|
|\ \
| |/
|/|
| |
| |
| |
| | |
fix incorrect enum
* commit 'a25c43f5545c7d9b7e94f2bb10d64ed7d7302b49':
Doc update: fix incorrect enum
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
incorrect enum
* commit '3121868cb860eb47182fcbae5d55667af51afb5a':
Doc update: fix incorrect enum
|
| | |
| | |
| | |
| | |
| | |
| | | |
"Bug: 4980236"
Change-Id: I39f8f429574a9916c5fffc5b2e4ec4715ec48803
|
| | |\
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
javadoc Bug: 8250653" into jb-mr1-dev
* commit '1a5bec0127ca4584008a1ab9e1ce49e671f8387c':
Doc fix: update BitmapFactory.Options.inSampleSize javadoc Bug: 8250653
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
jb-mr2-dev
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This reverts commit d72f932b8cbf461ebb79c249ce92b9b811122190
Change-Id: I056b13d0b2beb508e4215bc0d289cf3e76a3a986
|
|\ \ \ \ \
| |/ / / / |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I50b29c89ae80ba3ae7b12dc60fee8585e17ed560
|
|/ / / /
| | | |
| | | |
| | | | |
Change-Id: I6df5c0a8129283c0ad600b232790da10c395b479
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Drawables added to a view's Overlay will now cause the Overlay to
be invalidated via the normal drawable-invalidation mechanism. That is,
changes to any of the drawables in the overlay should cause invalidation of
the proper area of the overlay and thus the hostView, causing the appropriate
area to be redrawn.
Also, fixed a bug in drawable invalidation so that bounds changes will now
correctly invalidate both the old and new bounds areas.
Issue #8350510 Add APIs needed for future animation capabilities
Change-Id: Icae5fa0e420232ee17dc39be10084345bae8dbd8
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
their dependencies
- remove the ICU related methods and update the methods using the "reserved" argument
- update to CTS in another CL too
Change-Id: I5509736568c342d9d17bfeafc17951117ab5d3cc
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Issue #7722363 Fix Canvas EdgeType docs
Change-Id: I2908ff22879eb5996da73a37dae1a4cabf82fffb
|
| | | | |
| | | | |
| | | | |
| | | | | |
This reverts commit 6d9fe5bd22b531bfce69b146254a4791c76acddc.
|
|/ / / /
| | | |
| | | |
| | | | |
This reverts commit b61fb10fe435b74a761e82f517abd0320f22193e.
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I4e4d3aec62d1400f90a10802148ef875b5a268ef
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
fix: update BitmapFactory.Options.inSampleSize javadoc Bug: 8250653" into jb-mr1-dev
* commit 'cc3fec699d9fdf57a080106e6ca7b3ae845f1446':
Doc fix: update BitmapFactory.Options.inSampleSize javadoc Bug: 8250653
|
| |\ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
BitmapFactory.Options.inSampleSize javadoc Bug: 8250653" into jb-mr1-dev
* commit '0c8dfd7d281d037df3d427ccb6bf4642b2617a63':
Doc fix: update BitmapFactory.Options.inSampleSize javadoc Bug: 8250653
|
| | |\ \ \
| | | |/ /
| | |/| /
| | | |/
| | | |
| | | |
| | | | |
javadoc Bug: 8250653" into jb-mr1-dev
* commit '1a5bec0127ca4584008a1ab9e1ce49e671f8387c':
Doc fix: update BitmapFactory.Options.inSampleSize javadoc Bug: 8250653
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 8250653
Change-Id: I7187372ab3c742b9395d119a7425f60f071dbb4e
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
jb-mr2-dev
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Bug #8313929
Change-Id: Ic9b691319f162228c72ad1afed4dfe0b4181c422
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
bug:7658830
Skia and the HW acceleration path don't render anything for degenerate
lines.
Change-Id: I5ea6fe8f16533e5045a7cd10475f4240f6c311b6
|
|/ / / /
| | | |
| | | |
| | | |
| | | | |
bug: 8241089
Change-Id: I435a534f5110cb2b8aba87c047b509020a22fd67
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This avoids work when a drawable is declared with @android:color/transparent
Change-Id: I1b6d3b22751e378be047a5538dfd4d4baab3c03a
|
|/ / / /
| | | |
| | | |
| | | |
| | | | |
Bug: 8263427
Change-Id: I4181402e4739c6a40591f1e1416fca98643ecc57
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
A common source of layout bugs we're seeing these days involves the
output of measureText() being fed into StaticLayout's constructor.
measureText() returns subpixel-accurate values, but StaticLayout only
takes integral bounds, resulting in the subpixel portion of the
bounds being truncated. This leaves StaticLayout with insufficient
space to layout the text that was just measured, causing all manner
of unexpected line breaks.
This could be causing issues elsewhere, as well. Until our text
pipeline is fully subpixel-perfect, it's best that measureText
guarantee that the value it returns will be sufficient to contain
the text, even if cast to int.
Cherry-pick of Ib84947f0d0a1229287f5b19b99e7efd40f5317f7
Bug: 8164205
Change-Id: I69795ba5770112c0a3d0e752158076a8d1646b1a
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I759e54e365a344a93d725eb4fa70a2c4c98bf05a
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I362c96787482bc8daee7dd4a01817ab7ed79b730
|
|\ \ \ \ \
| |/ / / / |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Id5b9e3d0a17e4df15eec36d542fde6dc626138b2
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
When provided with a new bitmap device the canvas will retain
certain information such as it's matrix and clip.
bug: 8167188
Change-Id: I20ac8a24eebc85fb7c147504a103ce9a95b530b3
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* commit '8a47d8eaec26d0937aee94a057f561f246748339':
Clean up clipping and deferral logic
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
bug:8037003
-Merges replay methods
-Bounds checking for DrawBitmapMesh, DrawRects and DrawDisplayList
-Use clip as bounds for otherwise unbounded draw operations
Clip-as-bounds is correct for drawColor and functor, but other draw
operations (pos text, text on path, and layers) still need true bounds
calculation
Change-Id: I5d5149d2c624f01e3fe46628bf156e835e69b9d5
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* commit '840b5069707c6f39ec06231dacbcbe8159d581c1':
Support typed YUV allocations.
|
| |\ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Change-Id: I56e7a318dc979f0b7454fcfa5773ea6d95bbaeaa
|
|\ \ \ \ \ \
| |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
* commit 'ab7a2919a321af21b234d8db14748624c1b13634':
Add MIRRORED_REPEAT.
|
| |\ \ \ \ \
| | |/ / / /
| |/| | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Change-Id: I7565da24912a3c33d8f824da9ea0899a423d3c40
|
|\ \ \ \ \ \
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
# Via Android (Google) Code Review (1) and Victoria Lease (1)
* commit 'c69bce2e41c70da35e1b6a2ab5ec44469ab14c80':
fix argument mismatches in Paint JNI
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Paint.getTextRunCursor() no longer has a "flags" argument on the Java
side. The native side, however, still had the argument, and was being
called with misaligned arguments, causing all manner of madcap fun.
Also, the version of Paint.getTextRunCursor() that took String as an
argument needed to lose the "flags" argument, as well, to prevent an
infinite loop in the CharSequence version of the function, which was
supposed to be calling the String version but was actually calling
itself.
Bug: 8201224
Change-Id: Iad0dabaf81185f29a082566cc64590f2ba9bc31c
|