/frameworks/base/libs/hwui/renderstate/ |
D | OffscreenBufferPool.cpp | 37 uint32_t viewportWidth, uint32_t viewportHeight, bool wideColorGamut) in OffscreenBuffer() argument 41 , viewportHeight(viewportHeight) in OffscreenBuffer() 45 uint32_t height = computeIdealDimension(viewportHeight); in OffscreenBuffer() 58 return Rect(0, viewportHeight * texY, viewportWidth * texX, 0); in getTextureCoordinates() 62 dirtyArea.doIntersect(0, 0, viewportWidth, viewportHeight); in dirty() 87 const float v1 = (viewportHeight - r->top) * texY; in updateMeshFromRegion() 89 const float v2 = (viewportHeight - r->bottom) * texY; in updateMeshFromRegion() 159 layer->viewportHeight = height; in get() 176 layer->viewportHeight = height; in resize()
|
D | Scissor.cpp | 76 void Scissor::set(int viewportHeight, const Rect& clip) { in set() argument 79 GLint y = std::max(0, viewportHeight - (int)clip.bottom); in set() 81 GLint height = std::max(0, (viewportHeight - (int)clip.top) - y); in set()
|
D | OffscreenBufferPool.h | 46 uint32_t viewportWidth, uint32_t viewportHeight, bool wideColorGamut = false); 68 uint32_t viewportHeight; variable
|
D | Scissor.h | 32 void set(int viewportHeight, const Rect& clip);
|
/frameworks/base/libs/hwui/ |
D | CanvasState.cpp | 46 void CanvasState::initializeRecordingSaveStack(int viewportWidth, int viewportHeight) { in initializeRecordingSaveStack() argument 47 if (mWidth != viewportWidth || mHeight != viewportHeight) { in initializeRecordingSaveStack() 49 mHeight = viewportHeight; in initializeRecordingSaveStack() 50 mFirstSnapshot.initializeViewport(viewportWidth, viewportHeight); in initializeRecordingSaveStack() 61 int viewportWidth, int viewportHeight, in initializeSaveStack() argument 64 if (mWidth != viewportWidth || mHeight != viewportHeight) { in initializeSaveStack() 66 mHeight = viewportHeight; in initializeSaveStack() 67 mFirstSnapshot.initializeViewport(viewportWidth, viewportHeight); in initializeSaveStack()
|
D | BakedOpRenderer.cpp | 50 offscreenBuffer->viewportWidth, offscreenBuffer->viewportHeight)) { in startRepaintLayer() 79 setViewport(offscreenBuffer->viewportWidth, offscreenBuffer->viewportHeight); in startRepaintLayer() 114 area.left, mRenderTarget.viewportHeight - area.bottom, width, height); in copyToLayer() 134 Rect viewportRect(mRenderTarget.viewportWidth, mRenderTarget.viewportHeight); in endFrame() 165 mRenderTarget.viewportHeight = height; in setViewport() 173 if (rect.contains(Rect(mRenderTarget.viewportWidth, mRenderTarget.viewportHeight))) { in clearColorBuffer() 179 mRenderState.scissor().set(rect.left, mRenderTarget.viewportHeight - rect.bottom, in clearColorBuffer() 296 mRenderState.scissor().set(mRenderTarget.viewportHeight, clip->rect); in prepareRender() 373 info.height = mRenderTarget.viewportHeight; in renderFunctor()
|
D | CanvasState.h | 83 void initializeRecordingSaveStack(int viewportWidth, int viewportHeight); 89 void initializeSaveStack(int viewportWidth, int viewportHeight,
|
D | BakedOpRenderer.h | 96 uint32_t getViewportHeight() const { return mRenderTarget.viewportHeight; } in getViewportHeight() 143 uint32_t viewportHeight = 0; member
|
D | VectorDrawable.h | 581 float viewportHeight = 0; member 606 || mNonAnimatableProperties.viewportHeight != height) { in setViewportSize() 609 mNonAnimatableProperties.viewportHeight = height; in setViewportSize() 649 return mNonAnimatableProperties.viewportHeight; in getViewportHeight()
|
D | FrameBuilder.h | 64 uint32_t viewportWidth, uint32_t viewportHeight,
|
D | FrameBuilder.cpp | 36 uint32_t viewportWidth, uint32_t viewportHeight, in FrameBuilder() argument 47 auto fbo0 = mAllocator.create<LayerBuilder>(viewportWidth, viewportHeight, Rect(clip)); in FrameBuilder() 50 mCanvasState.initializeSaveStack(viewportWidth, viewportHeight, in FrameBuilder() 92 layerDamage.doIntersect(0, 0, layer->viewportWidth, layer->viewportHeight); in deferLayers()
|
D | VectorDrawable.cpp | 604 float viewportHeight = useStagingData ? in updateBitmapCache() local 607 float scaleY = cacheHeight / viewportHeight; in updateBitmapCache()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | OffscreenBufferPoolTests.cpp | 36 EXPECT_EQ(149u, layer.viewportHeight); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 47 EXPECT_EQ(149u, layer.viewportHeight); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 86 EXPECT_EQ(200u, layer->viewportHeight); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 109 EXPECT_EQ(200u, layer->viewportHeight); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 155 EXPECT_EQ(55u, layer->viewportHeight); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 169 EXPECT_EQ(125u, layer2->viewportHeight); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 188 EXPECT_EQ(55u, layer->viewportHeight); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 207 EXPECT_EQ(125u, layer2->viewportHeight); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
|
D | FrameBuilderTests.cpp | 1323 EXPECT_EQ(100u, offscreenBuffer->viewportHeight); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 1399 EXPECT_EQ(100u, offscreenBuffer->viewportHeight); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 1403 EXPECT_EQ(200u, offscreenBuffer->viewportHeight); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 1428 EXPECT_EQ(100u, layer->viewportHeight); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 1433 EXPECT_EQ(200u, layer->viewportHeight); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 1496 EXPECT_EQ(100u, offscreenBuffer->viewportHeight); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | GLFunctorDrawable.cpp | 38 static void setScissor(int viewportHeight, const SkIRect& clip) { in setScissor() argument 41 GLint y = viewportHeight - clip.fBottom; in setScissor() 42 GLint height = (viewportHeight - clip.fTop) - y; in setScissor()
|
/frameworks/base/media/java/android/media/ |
D | WebVttRenderer.java | 1357 final int viewportHeight = b - t; in onLayout() local 1360 mManager.getFontScale() * LINE_HEIGHT_RATIO * viewportHeight); in onLayout() 1365 layoutRegion(viewportWidth, viewportHeight, regionBox); in onLayout() 1371 layoutCue(viewportWidth, viewportHeight, cueBox); in onLayout() 1380 int viewportWidth, int viewportHeight, in layoutRegion() argument 1390 final int top = (int) (y * (viewportHeight - regionHeight) / 100); in layoutRegion() 1399 int viewportWidth, int viewportHeight, CueLayout cueBox) { in layoutCue() argument 1455 top = viewportHeight + yPosition * height; in layoutCue() 1457 top = yPosition * (viewportHeight - height) / 100; in layoutCue()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | MagnificationController.java | 650 final float viewportHeight = mMagnificationBounds.height(); in getMinOffsetYLocked() local 651 return viewportHeight - viewportHeight * mCurrentMagnificationSpec.scale; in getMinOffsetYLocked()
|
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
D | AndroidResources.java | 25 android.R.attr.tintMode, android.R.attr.viewportWidth, android.R.attr.viewportHeight
|
D | VectorDrawableCompat.java | 532 float viewportHeight = mVectorState.mVPathRenderer.mViewportHeight; in getPixelSize() local 534 float scaleY = viewportHeight / intrinsicHeight; in getPixelSize()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | VectorDrawable.java | 573 float viewportHeight = mVectorState.mViewportHeight; in getPixelSize() local 575 float scaleY = viewportHeight / intrinsicHeight; in getPixelSize() 673 float viewportHeight = a.getFloat( in updateStateFromTypedArray() local 675 state.setViewportSize(viewportWidth, viewportHeight); in updateStateFromTypedArray() 997 void setViewportSize(float viewportWidth, float viewportHeight) { in setViewportSize() argument 999 mViewportHeight = viewportHeight; in setViewportSize() 1000 nSetRendererViewportSize(getNativeRenderer(), viewportWidth, viewportHeight); in setViewportSize() local 2188 float viewportHeight); in nSetRendererViewportSize() argument
|
/frameworks/base/core/jni/ |
D | android_graphics_drawable_VectorDrawable.cpp | 116 jfloat viewportWidth, jfloat viewportHeight) { in setTreeViewportSize() argument 118 tree->mutateStagingProperties()->setViewportSize(viewportWidth, viewportHeight); in setTreeViewportSize()
|
/frameworks/base/core/java/android/widget/ |
D | ScrollView.java | 855 final int viewportHeight = getHeight() - mPaddingBottom - mPaddingTop; in performAccessibilityActionInternal() local 856 final int targetScrollY = Math.min(mScrollY + viewportHeight, getScrollRange()); in performAccessibilityActionInternal() 864 final int viewportHeight = getHeight() - mPaddingBottom - mPaddingTop; in performAccessibilityActionInternal() local 865 final int targetScrollY = Math.max(mScrollY - viewportHeight, 0); in performAccessibilityActionInternal()
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
D | NestedScrollView.java | 1948 final int viewportHeight = nsvHost.getHeight() - nsvHost.getPaddingBottom() in performAccessibilityAction() local 1950 final int targetScrollY = Math.min(nsvHost.getScrollY() + viewportHeight, in performAccessibilityAction() 1959 final int viewportHeight = nsvHost.getHeight() - nsvHost.getPaddingBottom() in performAccessibilityAction() local 1961 final int targetScrollY = Math.max(nsvHost.getScrollY() - viewportHeight, 0); in performAccessibilityAction()
|
/frameworks/base/libs/hwui/renderthread/ |
D | OpenGLPipeline.cpp | 204 return layer->viewportWidth == (uint32_t)width && layer->viewportHeight == (uint32_t)height; in layerMatchesWH()
|
/frameworks/layoutlib/bridge/src/android/graphics/drawable/ |
D | VectorDrawable_Delegate.java | 114 float viewportHeight) { in nSetRendererViewportSize() argument 117 nativePathRenderer.mViewportHeight = viewportHeight; in nSetRendererViewportSize()
|