Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/renderstate/
DRenderState.cpp36 , mViewportHeight(0) in RenderState()
134 mViewportHeight = height; in setViewport()
135 glViewport(0, 0, mViewportWidth, mViewportHeight); in setViewport()
141 *outHeight = mViewportHeight; in getViewport()
199 glViewport(0, 0, mViewportWidth, mViewportHeight); in resumeFromFunctorInvoke()
365 SkiaShader::apply(*mCaches, fill.skiaShaderData, mViewportWidth, mViewportHeight); in render()
DRenderState.h144 GLsizei mViewportHeight; variable
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
DVectorDrawableCompat.java524 || mVectorState.mVPathRenderer.mViewportHeight == 0 in getPixelSize()
531 float viewportHeight = mVectorState.mVPathRenderer.mViewportHeight; in getPixelSize()
684 pathRenderer.mViewportHeight = TypedArrayUtils.getNamedFloat(a, parser, "viewportHeight", in updateStateFromTypedArray()
686 pathRenderer.mViewportHeight); in updateStateFromTypedArray()
691 } else if (pathRenderer.mViewportHeight <= 0) { in updateStateFromTypedArray()
1084 float mViewportHeight = 0; field in VectorDrawableCompat.VPathRenderer
1122 mViewportHeight = copy.mViewportHeight; in VPathRenderer()
1168 final float scaleY = h / mViewportHeight; in drawPath()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
DVectorDrawable_Delegate.java117 nativePathRenderer.mViewportHeight = viewportHeight; in nSetRendererViewportSize()
1053 private float mViewportHeight = 0; field in VectorDrawable_Delegate.VPathRenderer_Delegate
1069 mViewportHeight = rendererToCopy.mViewportHeight; in VPathRenderer_Delegate()
1117 final float scaleY = h / mViewportHeight; in drawPath()
/frameworks/base/graphics/java/android/graphics/drawable/
DVectorDrawable.java565 mVectorState.mViewportHeight == 0 || in getPixelSize()
572 float viewportHeight = mVectorState.mViewportHeight; in getPixelSize()
667 R.styleable.VectorDrawable_viewportHeight, state.mViewportHeight); in updateStateFromTypedArray()
673 } else if (state.mViewportHeight <= 0) { in updateStateFromTypedArray()
825 float mViewportHeight = 0; field in VectorDrawable.VectorDrawableState
885 setViewportSize(copy.mViewportWidth, copy.mViewportHeight); in VectorDrawableState()
992 mViewportHeight = viewportHeight; in setViewportSize()