Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/renderstate/
DRenderState.cpp35 , mViewportWidth(0) in RenderState()
133 mViewportWidth = width; in setViewport()
135 glViewport(0, 0, mViewportWidth, mViewportHeight); in setViewport()
140 *outWidth = mViewportWidth; in getViewport()
199 glViewport(0, 0, mViewportWidth, mViewportHeight); in resumeFromFunctorInvoke()
365 SkiaShader::apply(*mCaches, fill.skiaShaderData, mViewportWidth, mViewportHeight); in render()
DRenderState.h143 GLsizei mViewportWidth; variable
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
DVectorDrawableCompat.java525 || mVectorState.mVPathRenderer.mViewportWidth == 0) { in getPixelSize()
530 float viewportWidth = mVectorState.mVPathRenderer.mViewportWidth; in getPixelSize()
680 pathRenderer.mViewportWidth = TypedArrayUtils.getNamedFloat(a, parser, "viewportWidth", in updateStateFromTypedArray()
682 pathRenderer.mViewportWidth); in updateStateFromTypedArray()
688 if (pathRenderer.mViewportWidth <= 0) { in updateStateFromTypedArray()
1083 float mViewportWidth = 0; field in VectorDrawableCompat.VPathRenderer
1121 mViewportWidth = copy.mViewportWidth; in VPathRenderer()
1167 final float scaleX = w / mViewportWidth; in drawPath()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
DVectorDrawable_Delegate.java116 nativePathRenderer.mViewportWidth = viewportWidth; in nSetRendererViewportSize()
1052 private float mViewportWidth = 0; field in VectorDrawable_Delegate.VPathRenderer_Delegate
1068 mViewportWidth = rendererToCopy.mViewportWidth; in VPathRenderer_Delegate()
1116 final float scaleX = w / mViewportWidth; in drawPath()
/frameworks/base/graphics/java/android/graphics/drawable/
DVectorDrawable.java566 mVectorState.mViewportWidth == 0) { in getPixelSize()
571 float viewportWidth = mVectorState.mViewportWidth; in getPixelSize()
665 R.styleable.VectorDrawable_viewportWidth, state.mViewportWidth); in updateStateFromTypedArray()
670 if (state.mViewportWidth <= 0) { in updateStateFromTypedArray()
824 float mViewportWidth = 0; field in VectorDrawable.VectorDrawableState
885 setViewportSize(copy.mViewportWidth, copy.mViewportHeight); in VectorDrawableState()
991 mViewportWidth = viewportWidth; in setViewportSize()