Searched refs:miter (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java144 * returns the value of stroke miter needed by the java api.
147 float miter = mStrokeMiter * mStrokeWidth;
148 if (miter < 1.f) {
149 miter = 1.f;
151 return miter;
412 /*package*/ static void setStrokeMiter(Paint thisPaint, float miter) { argument
419 delegate.mStrokeMiter = miter;
/frameworks/base/libs/hwui/
H A DPathCache.cpp48 miter(4.0f),
59 miter(paint->getStrokeMiter()),
70 hash = JenkinsHashMix(hash, android::hash_type(miter));
H A DPathCache.h114 float miter; member in struct:android::uirenderer::PathDescription
/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp202 static void setStrokeMiter(JNIEnv* env, jobject paint, jfloat miter) { argument
204 GraphicsJNI::getNativePaint(env, paint)->setStrokeMiter(SkFloatToScalar(miter));
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java855 * Return the paint's stroke miter value. Used to control the behavior
856 * of miter joins when the joins angle is sharp.
858 * @return the paint's miter limit, used whenever the paint's style is
864 * Set the paint's stroke miter value. This is used to control the behavior
865 * of miter joins when the joins angle is sharp. This value must be >= 0.
867 * @param miter set the miter limit on the paint, used whenever the paint's
870 public native void setStrokeMiter(float miter); argument

Completed in 163 milliseconds