Home
last modified time | relevance | path

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

123

/frameworks/support/v4/java/android/support/v4/widget/
DCircleImageView.java67 ViewCompat.setLayerType(this, ViewCompat.LAYER_TYPE_SOFTWARE, circle.getPaint()); in CircleImageView()
68 circle.getPaint().setShadowLayer(mShadowRadius, shadowXOffset, shadowYOffset, in CircleImageView()
74 circle.getPaint().setColor(color); in CircleImageView()
123 ((ShapeDrawable) getBackground()).getPaint().setColor(color); in setBackgroundColor()
/frameworks/base/graphics/java/android/graphics/drawable/
DNinePatchDrawable.java200 if (mTintFilter != null && getPaint().getColorFilter() == null) { in draw()
209 restoreAlpha = getPaint().getAlpha(); in draw()
322 getPaint().setAlpha(alpha); in setAlpha()
332 return getPaint().getAlpha(); in getAlpha()
341 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()
508 public Paint getPaint() { in getPaint() method in NinePatchDrawable
DPaintDrawable.java36 getPaint().setColor(color); in PaintDrawable()
DBitmapDrawable.java202 public final Paint getPaint() { in getPaint() method in BitmapDrawable
519 final Paint p = getPaint(); in draw()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DAppCompatProgressBarHelper.java108 shapeDrawable.getPaint().setShader(bitmapShader); in tileify()
109 shapeDrawable.getPaint().setColorFilter(bitmapDrawable.getPaint().getColorFilter()); in tileify()
/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/support/v17/leanback/src/android/support/v17/leanback/graphics/
DColorFilterDimmer.java131 public Paint getPaint() { in getPaint() method in ColorFilterDimmer
DColorOverlayDimmer.java119 public Paint getPaint() { in getPaint() method in ColorOverlayDimmer
/frameworks/base/core/java/com/android/internal/widget/
DImageFloatingTextView.java66 getPaint(), wantWidth) in makeSingleLayout()
DDrawableHolder.java55 mDrawable.getPaint().setAntiAlias(true); // Force AA in DrawableHolder()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DItemAlignmentFacetHelper.java86 Paint textPaint = ((TextView)view).getPaint(); in getAlignmentPosition()
DGuidanceStylingRelativeLayout.java58 Paint textPaint = mTitleView.getPaint(); in onLayout()
DListRowPresenter.java259 int dimmedColor = mRowViewHolder.mColorDimmer.getPaint().getColor(); in onAttachedToWindow()
788 int dimmedColor = vh.mColorDimmer.getPaint().getColor(); in onSelectLevelChanged()
DFocusHighlightHelper.java107 int color = mDimmer.getPaint().getColor(); in setFocusLevel()
DRowPresenter.java542 vh.mColorDimmer.getPaint().getColor()); in onSelectLevelChanged()
/frameworks/base/graphics/java/android/graphics/
DNinePatch.java159 public Paint getPaint() { in getPaint() method in NinePatch
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DCircularBitmapDrawable.java106 float alpha = placeholder.getPaint().getAlpha() / 255f; in onDrawPlaceholderOrProgress()
/frameworks/base/core/java/com/android/internal/view/menu/
DIconMenuItemView.java268 lp.desiredWidth = (int) Layout.getDesiredWidth(getText(), getPaint()); in getTextAppropriateLayoutParams()
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/
DRoundedBitmapDrawable.java67 public final Paint getPaint() { in getPaint() method in RoundedBitmapDrawable
/frameworks/base/core/java/android/text/
DDynamicLayout.java288 b = StaticLayout.Builder.obtain(text, where, where + after, getPaint(), getWidth()); in reflow()
292 .setPaint(getPaint()) in reflow()
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/
DDrawerArrowDrawable.java452 public final Paint getPaint() { in getPaint() method in DrawerArrowDrawable
/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/java/android/text/method/
DBaseKeyListener.java332 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()

123