Home
last modified time | relevance | path

Searched refs:getRootAlpha (Results 1 – 5 of 5) sorted by relevance

/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
DVectorDrawableCompat.java225 return mVectorState.mVPathRenderer.getRootAlpha(); in getAlpha()
235 if (mVectorState.mVPathRenderer.getRootAlpha() != alpha) { in setAlpha()
806 return mVPathRenderer.getRootAlpha() < 255; in hasTranslucentRoot()
821 mTempPaint.setAlpha(mVPathRenderer.getRootAlpha()); in getPaint()
854 && mCachedRootAlpha == mVPathRenderer.getRootAlpha()) { in canReuseCache()
865 mCachedRootAlpha = mVPathRenderer.getRootAlpha(); in updateCacheStates()
937 public int getRootAlpha() { in getRootAlpha() method in VectorDrawableCompat.VPathRenderer
949 return getRootAlpha() / 255.0f; in getAlpha()
/frameworks/base/core/jni/
Dandroid_graphics_drawable_VectorDrawable.cpp126 static jfloat getRootAlpha(JNIEnv*, jobject, jlong treePtr) { in getRootAlpha() function
128 return tree->stagingProperties()->getRootAlpha(); in getRootAlpha()
357 {"nGetRootAlpha", "!(J)F", (void*)getRootAlpha},
/frameworks/base/libs/hwui/
DVectorDrawable.cpp530 if (prop->getRootAlpha() == 1.0f && prop->getColorFilter() == nullptr) { in updatePaint()
535 outPaint->setAlpha(prop->getRootAlpha() * 255); in updatePaint()
DVectorDrawable.h667 float getRootAlpha() const { return mRootAlpha;} in getRootAlpha() function
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
DVectorDrawable_Delegate.java118 return nativePathRenderer.getRootAlpha(); in nGetRootAlpha()
1038 private float getRootAlpha() { in getRootAlpha() method in VectorDrawable_Delegate.VPathRenderer_Delegate