Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/pipeline/skia/
DGLFunctorDrawable.cpp42 static void setScissor(int viewportHeight, const SkIRect& clip) { in setScissor() argument
45 GLint y = viewportHeight - clip.fBottom; in setScissor()
46 GLint height = (viewportHeight - clip.fTop) - y; in setScissor()
/frameworks/base/libs/hwui/
DVectorDrawable.h524 (mProperties.mNonAnimatableProperties.viewportHeight != in syncProperties()
525 mStagingProperties.mNonAnimatableProperties.viewportHeight) || in syncProperties()
552 float viewportHeight = 0; member
573 mNonAnimatableProperties.viewportHeight != height) { in setViewportSize()
576 mNonAnimatableProperties.viewportHeight = height; in setViewportSize()
612 float getViewportHeight() const { return mNonAnimatableProperties.viewportHeight; } in getViewportHeight()
DVectorDrawable.cpp604 float viewportHeight = useStagingData ? mStagingProperties.getViewportHeight() in updateBitmapCache() local
607 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.java668 float viewportHeight = mVectorState.mViewportHeight; in getPixelSize() local
670 float scaleY = viewportHeight / intrinsicHeight; in getPixelSize()
768 float viewportHeight = a.getFloat( in updateStateFromTypedArray() local
770 state.setViewportSize(viewportWidth, viewportHeight); in updateStateFromTypedArray()
1100 void setViewportSize(float viewportWidth, float viewportHeight) { in setViewportSize() argument
1102 mViewportHeight = viewportHeight; in setViewportSize()
1103 nSetRendererViewportSize(getNativeRenderer(), viewportWidth, viewportHeight); in setViewportSize() local
2296 float viewportHeight); in nSetRendererViewportSize() argument
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMagnificationController.java567 final float viewportHeight = mMagnificationBounds.height(); in getMinOffsetYLocked() local
569 return (viewportTop + viewportHeight) - in getMinOffsetYLocked()
570 (viewportTop + viewportHeight) * mCurrentMagnificationSpec.scale; in getMinOffsetYLocked()
/frameworks/base/core/jni/
Dandroid_graphics_drawable_VectorDrawable.cpp121 jfloat viewportWidth, jfloat viewportHeight) { in setTreeViewportSize() argument
123 tree->mutateStagingProperties()->setViewportSize(viewportWidth, viewportHeight); in setTreeViewportSize()
/frameworks/base/core/java/android/widget/
DScrollView.java961 final int viewportHeight = getHeight() - mPaddingBottom - mPaddingTop; in performAccessibilityActionInternal() local
962 final int targetScrollY = Math.min(mScrollY + viewportHeight, getScrollRange()); in performAccessibilityActionInternal()
970 final int viewportHeight = getHeight() - mPaddingBottom - mPaddingTop; in performAccessibilityActionInternal() local
971 final int targetScrollY = Math.max(mScrollY - viewportHeight, 0); in performAccessibilityActionInternal()
DAbsListView.java1594 final int viewportHeight = getHeight() - mListPadding.top - mListPadding.bottom; in performAccessibilityActionInternal() local
1595 smoothScrollBy(viewportHeight, PositionScroller.SCROLL_DURATION); in performAccessibilityActionInternal()
1602 final int viewportHeight = getHeight() - mListPadding.top - mListPadding.bottom; in performAccessibilityActionInternal() local
1603 smoothScrollBy(-viewportHeight, PositionScroller.SCROLL_DURATION); in performAccessibilityActionInternal()
/frameworks/layoutlib/bridge/src/android/graphics/drawable/
DVectorDrawable_Delegate.java117 float viewportHeight) { in nSetRendererViewportSize() argument
120 nativePathRenderer.mViewportHeight = viewportHeight; in nSetRendererViewportSize()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java4179 final int viewportHeight =
4183 Math.min(mOwnScrollY + direction * viewportHeight, getScrollRange()));
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt1355 field public static final int viewportHeight = 16843779; // 0x1010403
/frameworks/base/api/
Dcurrent.txt1533 field public static final int viewportHeight = 16843779; // 0x1010403
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt97588 Lcom/android/internal/R$attr;->viewportHeight:I