Home
last modified time | relevance | path

Searched refs:getPaint (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/graphics/java/android/graphics/drawable/
DNinePatchDrawable.java200 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
DPaintDrawable.java36 getPaint().setColor(color); in PaintDrawable()
DBitmapDrawable.java221 public final Paint getPaint() { in getPaint() method in BitmapDrawable
522 final Paint p = getPaint(); in draw()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardClockSwitch.java255 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/
DQSDualTileLabel.java162 float width = mFirstLine.getPaint().measureText(mText); in updateText()
174 width = mFirstLine.getPaint().measureText(mText.substring(0, i)); in updateText()
/frameworks/minikin/include/minikin/
DMeasuredText.h67 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/
DVolumeToolTipView.java66 Paint arrowPaint = arrowDrawable.getPaint(); in drawArrow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleFlyoutView.java180 mLeftTriangleShape.getPaint().setColor(mFloatingBackgroundColor); in BubbleFlyoutView()
186 mRightTriangleShape.getPaint().setColor(mFloatingBackgroundColor); in BubbleFlyoutView()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewFallbackLineSpacingTest.java105 final int em = (int) Math.ceil(textView.getPaint().measureText("a")); in testFallbackLineSpacing()
DTextViewTest.java186 Paint paint = mTextView.getPaint(); in testHyphenationWidth()
/frameworks/base/graphics/java/android/graphics/
DNinePatch.java164 public Paint getPaint() { in getPaint() method in NinePatch
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardClockSwitchTest.java85 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/
DImageFloatingTextView.java76 getPaint(), wantWidth) in makeSingleLayout()
DDrawableHolder.java55 mDrawable.getPaint().setAntiAlias(true); // Force AA in DrawableHolder()
/frameworks/minikin/libs/minikin/
DOptimalLineBreaker.cpp132 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/
DCircularBitmapDrawable.java106 float alpha = placeholder.getPaint().getAlpha() / 255f; in onDrawPlaceholderOrProgress()
/frameworks/minikin/tests/unittest/
DLineBreakerTestHelper.h75 virtual const MinikinPaint* getPaint() const { return &mPaint; } in getPaint() function
/frameworks/base/core/java/com/android/internal/view/menu/
DIconMenuItemView.java284 getPaint(), getTextDirectionHeuristic()); in getTextAppropriateLayoutParams()
/frameworks/base/core/java/android/text/
DDynamicLayout.java596 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/
DClosedCaptionRenderer.java1319 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/
DLayoutTest.java102 assertSame(mTextPaint, layout.getPaint()); in testGetPaint()
105 assertNull(layout.getPaint()); in testGetPaint()
/frameworks/base/core/java/android/text/method/
DBaseKeyListener.java356 paint = ((TextView)view).getPaint(); in backspaceOrForwardDelete()
DBaseMovementMethod.java419 return (int) Math.ceil(widget.getPaint().getFontSpacing()); in getCharacterWidth()
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java2524 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/
DSmartSelectSprite.java416 final Paint paint = shapeDrawable.getPaint(); in startAnimation()

12