Searched refs:mViewportWidth (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/libs/hwui/renderstate/ |
D | RenderState.cpp | 34 : mRenderThread(thread), mViewportWidth(0), mViewportHeight(0), mFramebuffer(0) { in RenderState() 135 mViewportWidth = width; in setViewport() 137 glViewport(0, 0, mViewportWidth, mViewportHeight); in setViewport() 141 *outWidth = mViewportWidth; in getViewport() 198 glViewport(0, 0, mViewportWidth, mViewportHeight); in resumeFromFunctorInvoke() 355 SkiaShader::apply(*mCaches, fill.skiaShaderData, mViewportWidth, mViewportHeight); in render()
|
D | RenderState.h | 141 GLsizei mViewportWidth; variable
|
/frameworks/support/graphics/drawable/static/src/main/java/androidx/vectordrawable/graphics/drawable/ |
D | VectorDrawableCompat.java | 531 || mVectorState.mVPathRenderer.mViewportWidth == 0) { in getPixelSize() 536 float viewportWidth = mVectorState.mVPathRenderer.mViewportWidth; in getPixelSize() 682 pathRenderer.mViewportWidth = TypedArrayUtils.getNamedFloat(a, parser, "viewportWidth", in updateStateFromTypedArray() 684 pathRenderer.mViewportWidth); in updateStateFromTypedArray() 690 if (pathRenderer.mViewportWidth <= 0) { in updateStateFromTypedArray() 1079 float mViewportWidth = 0; field in VectorDrawableCompat.VPathRenderer 1117 mViewportWidth = copy.mViewportWidth; in VPathRenderer() 1163 final float scaleX = w / mViewportWidth; in drawPath()
|
/frameworks/layoutlib/bridge/src/android/graphics/drawable/ |
D | VectorDrawable_Delegate.java | 118 nativePathRenderer.mViewportWidth = viewportWidth; in nSetRendererViewportSize() 1063 private float mViewportWidth = 0; field in VectorDrawable_Delegate.VPathRenderer_Delegate 1080 mViewportWidth = rendererToCopy.mViewportWidth; in VPathRenderer_Delegate() 1128 final float scaleX = w / mViewportWidth; in drawPath()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | VectorDrawable.java | 645 mVectorState.mViewportWidth == 0) { in getPixelSize() 650 float viewportWidth = mVectorState.mViewportWidth; in getPixelSize() 750 R.styleable.VectorDrawable_viewportWidth, state.mViewportWidth); in updateStateFromTypedArray() 755 if (state.mViewportWidth <= 0) { in updateStateFromTypedArray() 916 float mViewportWidth = 0; field in VectorDrawable.VectorDrawableState 977 setViewportSize(copy.mViewportWidth, copy.mViewportHeight); in VectorDrawableState() 1083 mViewportWidth = viewportWidth; in setViewportSize()
|