Home
last modified time | relevance | path

Searched refs:mStrokeWidth (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/libs/hwui/font/
DFont.cpp55 mStrokeWidth = paint->getStrokeWidth(); in FontDescription()
76 hash = JenkinsHashMix(hash, android::hash_type(mStrokeWidth)); in hash()
104 if (lhs.mStrokeWidth < rhs.mStrokeWidth) return -1; in compare()
105 if (lhs.mStrokeWidth > rhs.mStrokeWidth) return +1; in compare()
DFont.h75 float mStrokeWidth; member
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java1484 final int defaultStrokeWidth = Math.max(0, st.mStrokeWidth);
1685 if (mGradientState.mStrokeWidth >= 0 && mStrokePaint != null
1705 boolean useFillOpacity = st.mOpaqueOverShape && (mGradientState.mStrokeWidth <= 0
1777 public int mStrokeWidth = -1; // if >= 0 use stroking.
1834 mStrokeWidth = orig.mStrokeWidth;
1937 if (mStrokeWidth > 0) {
1938 mStrokeWidth = Drawable.scaleFromDensity(
1939 mStrokeWidth, sourceDensity, targetDensity, true);
2054 mStrokeWidth = width;
2123 if (state.mStrokeWidth >= 0) {
[all …]
/frameworks/support/core-ui/java/android/support/v4/widget/
DMaterialProgressDrawable.java476 private float mStrokeWidth = 5.0f; field in MaterialProgressDrawable.Ring
655 mStrokeWidth = strokeWidth; in setStrokeWidth()
662 return mStrokeWidth; in getStrokeWidth()
714 insets = (float) Math.ceil(mStrokeWidth / 2.0f); in setInsets()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java85 private float mStrokeWidth; field in Paint_Delegate
151 return mStrokeWidth; in getStrokeWidth()
405 return delegate.mStrokeWidth; in nGetStrokeWidth()
416 delegate.mStrokeWidth = width; in nSetStrokeWidth()
1216 mStrokeWidth = paint.mStrokeWidth; in set()
1240 mStrokeWidth = 1.f; in reset()
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
DVectorDrawableCompat.java1242 strokePaint.setStrokeWidth(fullPath.mStrokeWidth * finalStrokeScale); in drawPath()
1638 float mStrokeWidth = 0; field in VectorDrawableCompat.VFullPath
1661 mStrokeWidth = copy.mStrokeWidth; in VFullPath()
1759 mStrokeWidth = TypedArrayUtils.getNamedFloat(a, parser, "strokeWidth", in updateStateFromTypedArray()
1760 AndroidResources.styleable_VectorDrawablePath_strokeWidth, mStrokeWidth); in updateStateFromTypedArray()
1795 return mStrokeWidth; in getStrokeWidth()
1800 mStrokeWidth = strokeWidth; in setStrokeWidth()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
DVectorDrawable_Delegate.java583 float mStrokeWidth = 0; field in VectorDrawable_Delegate.VFullPath_Delegate
608 mStrokeWidth = copy.mStrokeWidth; in VFullPath_Delegate()
696 return mStrokeWidth; in getStrokeWidth()
700 mStrokeWidth = strokeWidth; in setStrokeWidth()
1172 strokePaint.setStrokeWidth(fullPath.mStrokeWidth * finalStrokeScale); in drawPath()