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

/frameworks/base/libs/hwui/renderstate/
H A DScissor.cpp76 void Scissor::set(int viewportHeight, const Rect& clip) { argument
79 GLint y = std::max(0, viewportHeight - (int)clip.bottom);
81 GLint height = std::max(0, (viewportHeight - (int)clip.top) - y);
H A DOffscreenBufferPool.h38 * Has two distinct sizes - viewportWidth/viewportHeight describe content area,
46 uint32_t viewportWidth, uint32_t viewportHeight);
68 uint32_t viewportHeight; member in class:android::uirenderer::OffscreenBuffer
H A DOffscreenBufferPool.cpp38 uint32_t viewportWidth, uint32_t viewportHeight)
42 , viewportHeight(viewportHeight)
45 uint32_t height = computeIdealDimension(viewportHeight);
57 return Rect(0, viewportHeight * texY, viewportWidth * texX, 0);
61 dirtyArea.doIntersect(0, 0, viewportWidth, viewportHeight);
86 const float v1 = (viewportHeight - r->top) * texY;
88 const float v2 = (viewportHeight - r->bottom) * texY;
154 layer->viewportHeight = height;
170 layer->viewportHeight
37 OffscreenBuffer(RenderState& renderState, Caches& caches, uint32_t viewportWidth, uint32_t viewportHeight) argument
[all...]
/frameworks/base/libs/hwui/pipeline/skia/
H A DGLFunctorDrawable.cpp38 static void setScissor(int viewportHeight, const SkIRect& clip) { argument
41 GLint y = viewportHeight - clip.fBottom;
42 GLint height = (viewportHeight - clip.fTop) - y;
/frameworks/base/libs/hwui/
H A DBakedOpRenderer.h95 uint32_t getViewportHeight() const { return mRenderTarget.viewportHeight; }
141 uint32_t viewportHeight = 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) {
49 mHeight = viewportHeight;
50 mFirstSnapshot.initializeViewport(viewportWidth, viewportHeight);
61 int viewportWidth, int viewportHeight,
64 if (mWidth != viewportWidth || mHeight != viewportHeight) {
66 mHeight = viewportHeight;
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.cpp501 float viewportHeight = useStagingData ? local
504 float scaleY = outCache.height() / viewportHeight;
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.h579 float viewportHeight = 0; member in struct:android::uirenderer::VectorDrawable::Tree::TreeProperties::NonAnimatableProperties
604 || mNonAnimatableProperties.viewportHeight != height) {
607 mNonAnimatableProperties.viewportHeight = height;
647 return mNonAnimatableProperties.viewportHeight;
/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.java1357 final int viewportHeight = b - t;
1360 mManager.getFontScale() * LINE_HEIGHT_RATIO * viewportHeight);
1365 layoutRegion(viewportWidth, viewportHeight, regionBox);
1371 layoutCue(viewportWidth, viewportHeight, cueBox);
1380 int viewportWidth, int viewportHeight,
1390 final int top = (int) (y * (viewportHeight - regionHeight) / 100);
1399 int viewportWidth, int viewportHeight, CueLayout cueBox) {
1455 top = viewportHeight + yPosition * height;
1457 top = yPosition * (viewportHeight - height) / 100;
1379 layoutRegion( int viewportWidth, int viewportHeight, RegionLayout regionBox) argument
1398 layoutCue( int viewportWidth, int viewportHeight, CueLayout cueBox) argument
/frameworks/base/graphics/java/android/graphics/drawable/
H A DVectorDrawable.java89 * <dt><code>android:viewportHeight</code></dt>
200 * android:viewportHeight=&quot;600&quot;
572 float viewportHeight = mVectorState.mViewportHeight;
574 float scaleY = viewportHeight / intrinsicHeight;
666 float viewportHeight = a.getFloat(
668 state.setViewportSize(viewportWidth, viewportHeight);
675 "<vector> tag requires viewportHeight > 0");
990 void setViewportSize(float viewportWidth, float viewportHeight) { argument
992 mViewportHeight = viewportHeight;
993 nSetRendererViewportSize(getNativeRenderer(), viewportWidth, viewportHeight);
2180 nSetRendererViewportSize(long rendererPtr, float viewportWidth, float viewportHeight) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
H A DVectorDrawable_Delegate.java114 float viewportHeight) {
117 nativePathRenderer.mViewportHeight = viewportHeight;
113 nSetRendererViewportSize(long rendererPtr, float viewportWidth, float viewportHeight) argument

Completed in 185 milliseconds