Home
last modified time | relevance | path

Searched refs:viewportHeight (Results 1 – 15 of 15) sorted by relevance

/frameworks/native/libs/renderengine/skia/filters/
DStretchShaderFactory.cpp199 float viewportHeight = stretchEffect.height; in createSkShader() local
216 float normalizedScrollY = srcBounds.top / viewportHeight; in createSkShader()
239 mBuilder->uniform("viewportHeight").set(&viewportHeight, 1); in createSkShader()
/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/
DScreenDecorCommand.kt112 val viewportHeight: Float? by constant
122 get() = viewportHeight?.let { height.toFloat() / it } ?: 1.0f in <lambda>()
145 " viewportHeight=$viewportHeight," + in toString()
/frameworks/base/libs/hwui/pipeline/skia/
DGLFunctorDrawable.cpp41 static void setScissor(int viewportHeight, const SkIRect& clip) { in setScissor() argument
44 GLint y = viewportHeight - clip.fBottom; in setScissor()
45 GLint height = (viewportHeight - clip.fTop) - y; in setScissor()
/frameworks/base/libs/hwui/
DVectorDrawable.h525 (mProperties.mNonAnimatableProperties.viewportHeight != in syncProperties()
526 mStagingProperties.mNonAnimatableProperties.viewportHeight) || in syncProperties()
553 float viewportHeight = 0; member
574 mNonAnimatableProperties.viewportHeight != height) { in setViewportSize()
577 mNonAnimatableProperties.viewportHeight = height; in setViewportSize()
613 float getViewportHeight() const { return mNonAnimatableProperties.viewportHeight; } in getViewportHeight()
DVectorDrawable.cpp525 float viewportHeight = useStagingData ? mStagingProperties.getViewportHeight() in updateBitmapCache() local
528 float scaleY = cacheHeight / viewportHeight; in updateBitmapCache()
/frameworks/base/media/java/android/media/
DWebVttRenderer.java1359 final int viewportHeight = b - t; in onLayout() local
1362 mManager.getFontScale() * LINE_HEIGHT_RATIO * viewportHeight); in onLayout()
1367 layoutRegion(viewportWidth, viewportHeight, regionBox); in onLayout()
1373 layoutCue(viewportWidth, viewportHeight, cueBox); in onLayout()
1382 int viewportWidth, int viewportHeight, in layoutRegion() argument
1392 final int top = (int) (y * (viewportHeight - regionHeight) / 100); in layoutRegion()
1401 int viewportWidth, int viewportHeight, CueLayout cueBox) { in layoutCue() argument
1457 top = viewportHeight + yPosition * height; in layoutCue()
1459 top = yPosition * (viewportHeight - height) / 100; in layoutCue()
/frameworks/base/graphics/java/android/graphics/drawable/
DVectorDrawable.java672 float viewportHeight = mVectorState.mViewportHeight; in getPixelSize() local
674 float scaleY = viewportHeight / intrinsicHeight; in getPixelSize()
772 float viewportHeight = a.getFloat( in updateStateFromTypedArray() local
774 state.setViewportSize(viewportWidth, viewportHeight); in updateStateFromTypedArray()
1104 void setViewportSize(float viewportWidth, float viewportHeight) { in setViewportSize() argument
1106 mViewportHeight = viewportHeight; in setViewportSize()
1107 nSetRendererViewportSize(getNativeRenderer(), viewportWidth, viewportHeight); in setViewportSize() local
2285 float viewportHeight); in nSetRendererViewportSize() argument
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_drawable_VectorDrawable.cpp120 jfloat viewportWidth, jfloat viewportHeight) { in setTreeViewportSize() argument
122 tree->mutateStagingProperties()->setViewportSize(viewportWidth, viewportHeight); in setTreeViewportSize()
/frameworks/base/core/java/android/widget/
DScrollView.java1082 final int viewportHeight = getHeight() - mPaddingBottom - mPaddingTop; in performAccessibilityActionInternal() local
1083 final int targetScrollY = Math.min(mScrollY + viewportHeight, getScrollRange()); in performAccessibilityActionInternal()
1091 final int viewportHeight = getHeight() - mPaddingBottom - mPaddingTop; in performAccessibilityActionInternal() local
1092 final int targetScrollY = Math.max(mScrollY - viewportHeight, 0); in performAccessibilityActionInternal()
DAbsListView.java1663 final int viewportHeight = getHeight() - mListPadding.top - mListPadding.bottom; in performAccessibilityActionInternal() local
1664 smoothScrollBy(viewportHeight, PositionScroller.SCROLL_DURATION); in performAccessibilityActionInternal()
1671 final int viewportHeight = getHeight() - mListPadding.top - mListPadding.bottom; in performAccessibilityActionInternal() local
1672 smoothScrollBy(-viewportHeight, PositionScroller.SCROLL_DURATION); in performAccessibilityActionInternal()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DFullScreenMagnificationController.java920 final float viewportHeight = mMagnificationBounds.height(); in getMinOffsetYLocked() local
922 return (viewportTop + viewportHeight) in getMinOffsetYLocked()
923 - (viewportTop + viewportHeight) * mCurrentMagnificationSpec.scale; in getMinOffsetYLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java4026 final int viewportHeight = in performAccessibilityActionInternal() local
4030 Math.min(mOwnScrollY + direction * viewportHeight, getScrollRange())); in performAccessibilityActionInternal()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt1355 field public static final int viewportHeight = 16843779; // 0x1010403
/frameworks/base/core/api/
Dcurrent.txt1836 field public static final int viewportHeight = 16843779; // 0x1010403
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt76077 Lcom/android/internal/R$attr;->viewportHeight:I