Searched defs:viewportWidth (Results 1 - 11 of 11) 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.cpp38 uint32_t viewportWidth, uint32_t viewportHeight)
41 , viewportWidth(viewportWidth)
44 uint32_t width = computeIdealDimension(viewportWidth);
57 return Rect(0, viewportHeight * texY, viewportWidth * texX, 0);
61 dirtyArea.doIntersect(0, 0, viewportWidth, viewportHeight);
153 layer->viewportWidth = width;
169 layer->viewportWidth = width;
37 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::__anon1224
H A DCanvasState.cpp46 void CanvasState::initializeRecordingSaveStack(int viewportWidth, int viewportHeight) { argument
47 if (mWidth != viewportWidth || mHeight != viewportHeight) {
48 mWidth = viewportWidth;
50 mFirstSnapshot.initializeViewport(viewportWidth, viewportHeight);
61 int viewportWidth, int viewportHeight,
64 if (mWidth != viewportWidth || mHeight != viewportHeight) {
65 mWidth = viewportWidth;
67 mFirstSnapshot.initializeViewport(viewportWidth, viewportHeight);
60 initializeSaveStack( int viewportWidth, int viewportHeight, float clipLeft, float clipTop, float clipRight, float clipBottom, const Vector3& lightCenter) argument
H A DVectorDrawable.cpp499 float viewportWidth = useStagingData ? local
503 float scaleX = outCache.width() / viewportWidth;
H A DFrameBuilder.cpp36 uint32_t viewportWidth, uint32_t viewportHeight,
47 auto fbo0 = mAllocator.create<LayerBuilder>(viewportWidth, viewportHeight, Rect(clip));
50 mCanvasState.initializeSaveStack(viewportWidth, viewportHeight,
92 layerDamage.doIntersect(0, 0, layer->viewportWidth, layer->viewportHeight);
35 FrameBuilder(const SkRect& clip, uint32_t viewportWidth, uint32_t viewportHeight, const LightGeometry& lightGeometry, Caches& caches) argument
H A DVectorDrawable.h578 float viewportWidth = 0; member in struct:android::uirenderer::VectorDrawable::Tree::TreeProperties::NonAnimatableProperties
603 if (mNonAnimatableProperties.viewportWidth != width
606 mNonAnimatableProperties.viewportWidth = width;
644 return mNonAnimatableProperties.viewportWidth;
/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/graphics/java/android/graphics/drawable/
H A DVectorDrawable.java86 * <dt><code>android:viewportWidth</code></dt>
201 * android:viewportWidth=&quot;600&quot; &gt;
571 float viewportWidth = mVectorState.mViewportWidth;
573 float scaleX = viewportWidth / intrinsicWidth;
664 float viewportWidth = a.getFloat(
668 state.setViewportSize(viewportWidth, viewportHeight);
672 "<vector> tag requires viewportWidth > 0");
990 void setViewportSize(float viewportWidth, float viewportHeight) { argument
991 mViewportWidth = viewportWidth;
993 nSetRendererViewportSize(getNativeRenderer(), viewportWidth, viewportHeigh
2180 nSetRendererViewportSize(long rendererPtr, float viewportWidth, float viewportHeight) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
H A DVectorDrawable_Delegate.java113 static void nSetRendererViewportSize(long rendererPtr, float viewportWidth, argument
116 nativePathRenderer.mViewportWidth = viewportWidth;

Completed in 105 milliseconds