/frameworks/base/graphics/java/android/graphics/drawable/ |
D | NinePatchDrawable.java | 200 if (mBlendModeFilter != null && getPaint().getColorFilter() == null) { in draw() 209 restoreAlpha = getPaint().getAlpha(); in draw() 320 getPaint().setAlpha(alpha); in setAlpha() 330 return getPaint().getAlpha(); in getAlpha() 339 getPaint().setColorFilter(colorFilter); in setColorFilter() 367 getPaint().setDither(dither); in setDither() 387 getPaint().setFilterBitmap(filter); in setFilterBitmap() 393 return mPaint != null && getPaint().isFilterBitmap(); in isFilterBitmap() 514 public Paint getPaint() { in getPaint() method in NinePatchDrawable
|
D | PaintDrawable.java | 36 getPaint().setColor(color); in PaintDrawable()
|
D | BitmapDrawable.java | 221 public final Paint getPaint() { in getPaint() method in BitmapDrawable 522 final Paint p = getPaint(); in draw()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardClockSwitch.java | 255 mClockPlugin.setStyle(getPaint().getStyle()); in setClockPlugin() 281 mClockView.getPaint().setStyle(style); in setStyle() 282 mClockViewBold.getPaint().setStyle(style); in setStyle() 330 public Paint getPaint() { in getPaint() method in KeyguardClockSwitch 331 return mClockView.getPaint(); in getPaint()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSDualTileLabel.java | 162 float width = mFirstLine.getPaint().measureText(mText); in updateText() 174 width = mFirstLine.getPaint().measureText(mText.substring(0, i)); in updateText()
|
/frameworks/minikin/include/minikin/ |
D | MeasuredText.h | 67 virtual const MinikinPaint* getPaint() const { return nullptr; } in getPaint() function 107 const MinikinPaint* getPaint() const override { return &mPaint; } in getPaint() function
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeToolTipView.java | 66 Paint arrowPaint = arrowDrawable.getPaint(); in drawArrow()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/ |
D | BubbleFlyoutView.java | 180 mLeftTriangleShape.getPaint().setColor(mFloatingBackgroundColor); in BubbleFlyoutView() 186 mRightTriangleShape.getPaint().setColor(mFloatingBackgroundColor); in BubbleFlyoutView()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewFallbackLineSpacingTest.java | 105 final int em = (int) Math.ceil(textView.getPaint().measureText("a")); in testFallbackLineSpacing()
|
D | TextViewTest.java | 186 Paint paint = mTextView.getPaint(); in testHyphenationWidth()
|
/frameworks/base/graphics/java/android/graphics/ |
D | NinePatch.java | 164 public Paint getPaint() { in getPaint() method in NinePatch
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardClockSwitchTest.java | 85 when(mClockView.getPaint()).thenReturn(mock(TextPaint.class)); in setUp() 249 doReturn(paint).when(mClockView).getPaint(); in setStyle_defaultClockSetStyle()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ImageFloatingTextView.java | 76 getPaint(), wantWidth) in makeSingleLayout()
|
D | DrawableHolder.java | 55 mDrawable.getPaint().setAntiAlias(true); // Force AA in DrawableHolder()
|
/frameworks/minikin/libs/minikin/ |
D | OptimalLineBreaker.cpp | 132 const MinikinPaint* paint = run.getPaint(); in computePenalties() 258 if (run->getPaint() != nullptr || nextCharOffset == range.getEnd() || in populateCandidates()
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
D | CircularBitmapDrawable.java | 106 float alpha = placeholder.getPaint().getAlpha() / 255f; in onDrawPlaceholderOrProgress()
|
/frameworks/minikin/tests/unittest/ |
D | LineBreakerTestHelper.h | 75 virtual const MinikinPaint* getPaint() const { return &mPaint; } in getPaint() function
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | IconMenuItemView.java | 284 getPaint(), getTextDirectionHeuristic()); in getTextAppropriateLayoutParams()
|
/frameworks/base/core/java/android/text/ |
D | DynamicLayout.java | 596 b = StaticLayout.Builder.obtain(text, where, where + after, getPaint(), getWidth()); in reflow() 600 .setPaint(getPaint()) in reflow() 710 final Paint paint = getPaint(); in contentMayProtrudeFromLineTopOrBottom()
|
/frameworks/base/media/java/android/media/ |
D | ClosedCaptionRenderer.java | 1319 getPaint().getTextBounds(mDummyText, 0, mDummyText.length(), mTextBounds); in onMeasure() 1346 TextPaint textPaint = getPaint(); in drawEdgeOutline() 1375 TextPaint textPaint = getPaint(); in drawEdgeRaisedOrDepressed()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | LayoutTest.java | 102 assertSame(mTextPaint, layout.getPaint()); in testGetPaint() 105 assertNull(layout.getPaint()); in testGetPaint()
|
/frameworks/base/core/java/android/text/method/ |
D | BaseKeyListener.java | 356 paint = ((TextView)view).getPaint(); in backspaceOrForwardDelete()
|
D | BaseMovementMethod.java | 419 return (int) Math.ceil(widget.getPaint().getFontSpacing()); in getCharacterWidth()
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
D | EditStyledText.java | 2524 return mDrawable.getPaint().getColor(); in getColor() 2715 canvas.drawRect(rect, getPaint()); in draw() 2735 getPaint().setColor(color); in renewColor() 2776 getPaint().setColor(color); in ColorPaletteDrawable() 2781 canvas.drawRect(mRect, getPaint()); in draw()
|
/frameworks/base/core/java/android/widget/ |
D | SmartSelectSprite.java | 416 final Paint paint = shapeDrawable.getPaint(); in startAnimation()
|