Searched defs:viewportWidth (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/libs/hwui/renderstate/
H A DOffscreenBufferPool.h38 * Has two distinct sizes - viewportWidth/viewportHeight describe content area,
46 uint32_t viewportWidth, uint32_t viewportHeight);
67 uint32_t viewportWidth; member in class:android::uirenderer::OffscreenBuffer
H A DOffscreenBufferPool.cpp37 uint32_t viewportWidth, uint32_t viewportHeight)
40 , viewportWidth(viewportWidth)
43 uint32_t width = computeIdealDimension(viewportWidth);
56 return Rect(0, viewportHeight * texY, viewportWidth * texX, 0);
60 dirtyArea.doIntersect(0, 0, viewportWidth, viewportHeight);
152 layer->viewportWidth = width;
168 layer->viewportWidth = width;
36 OffscreenBuffer(RenderState& renderState, Caches& caches, uint32_t viewportWidth, uint32_t viewportHeight) argument
/frameworks/base/libs/hwui/
H A DBakedOpRenderer.h94 uint32_t getViewportWidth() const { return mRenderTarget.viewportWidth; }
140 uint32_t viewportWidth = 0; member in struct:android::uirenderer::BakedOpRenderer::__anon1050
H A DCanvasState.cpp47 void CanvasState::initializeRecordingSaveStack(int viewportWidth, int viewportHeight) { argument
48 if (mWidth != viewportWidth || mHeight != viewportHeight) {
49 mWidth = viewportWidth;
51 mFirstSnapshot.initializeViewport(viewportWidth, viewportHeight);
62 int viewportWidth, int viewportHeight,
65 if (mWidth != viewportWidth || mHeight != viewportHeight) {
66 mWidth = viewportWidth;
68 mFirstSnapshot.initializeViewport(viewportWidth, viewportHeight);
61 initializeSaveStack( int viewportWidth, int viewportHeight, float clipLeft, float clipTop, float clipRight, float clipBottom, const Vector3& lightCenter) argument
H A DLayerRenderer.cpp46 void LayerRenderer::prepareDirty(int viewportWidth, int viewportHeight, argument
67 OpenGLRenderer::prepareDirty(viewportWidth, viewportHeight,
H A DVectorDrawable.cpp553 float viewportWidth = useStagingData ? local
557 float scaleX = outCache->width() / viewportWidth;
H A DFrameBuilder.cpp35 uint32_t viewportWidth, uint32_t viewportHeight,
46 auto fbo0 = mAllocator.create<LayerBuilder>(viewportWidth, viewportHeight, Rect(clip));
49 mCanvasState.initializeSaveStack(viewportWidth, viewportHeight,
91 layerDamage.doIntersect(0, 0, layer->viewportWidth, layer->viewportHeight);
34 FrameBuilder(const SkRect& clip, uint32_t viewportWidth, uint32_t viewportHeight, const LightGeometry& lightGeometry, Caches& caches) argument
H A DVectorDrawable.h583 float viewportWidth = 0; member in struct:android::uirenderer::VectorDrawable::Tree::TreeProperties::NonAnimatableProperties
608 if (mNonAnimatableProperties.viewportWidth != width
611 mNonAnimatableProperties.viewportWidth = width;
644 return mNonAnimatableProperties.viewportWidth;
H A DOpenGLRenderer.cpp118 void OpenGLRenderer::setupFrameState(int viewportWidth, int viewportHeight, argument
121 mState.initializeSaveStack(viewportWidth, viewportHeight,
143 void OpenGLRenderer::prepareDirty(int viewportWidth, int viewportHeight, argument
146 setupFrameState(viewportWidth, viewportHeight, left, top, right, bottom, opaque);
/frameworks/base/core/jni/
H A Dandroid_graphics_drawable_VectorDrawable.cpp116 jfloat viewportWidth, jfloat viewportHeight) {
118 tree->mutateStagingProperties()->setViewportSize(viewportWidth, viewportHeight);
115 setTreeViewportSize(JNIEnv*, jobject, jlong treePtr, jfloat viewportWidth, jfloat viewportHeight) argument
/frameworks/base/media/java/android/media/
H A DWebVttRenderer.java1356 final int viewportWidth = r - l;
1365 layoutRegion(viewportWidth, viewportHeight, regionBox);
1371 layoutCue(viewportWidth, viewportHeight, cueBox);
1380 int viewportWidth, int viewportHeight,
1389 final int left = (int) (x * (viewportWidth - regionWidth) / 100);
1399 int viewportWidth, int viewportHeight, CueLayout cueBox) {
1405 int size = 100 * cueBox.getMeasuredWidth() / viewportWidth;
1431 final int paddingLeft = 100 * getPaddingLeft() / viewportWidth;
1432 final int paddingRight = 100 * getPaddingRight() / viewportWidth;
1444 final int left = xPosition * viewportWidth / 10
1379 layoutRegion( int viewportWidth, int viewportHeight, RegionLayout regionBox) argument
1398 layoutCue( int viewportWidth, int viewportHeight, CueLayout cueBox) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
H A DVectorDrawable_Delegate.java99 static void nSetRendererViewportSize(long rendererPtr, float viewportWidth, argument
102 nativePathRenderer.mViewportWidth = viewportWidth;
/frameworks/base/graphics/java/android/graphics/drawable/
H A DVectorDrawable.java82 * <dt><code>android:viewportWidth</code></dt>
189 * android:viewportWidth=&quot;600&quot; &gt;
534 float viewportWidth = mVectorState.mViewportWidth;
536 float scaleX = viewportWidth / intrinsicWidth;
627 float viewportWidth = a.getFloat(
631 state.setViewportSize(viewportWidth, viewportHeight);
635 "<vector> tag requires viewportWidth > 0");
917 void setViewportSize(float viewportWidth, float viewportHeight) { argument
918 mViewportWidth = viewportWidth;
920 nSetRendererViewportSize(getNativeRenderer(), viewportWidth, viewportHeigh
1796 nSetRendererViewportSize(long rendererPtr, float viewportWidth, float viewportHeight) argument
[all...]

Completed in 6435 milliseconds