Home
last modified time | relevance | path

Searched refs:viewportWidth (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/media/java/android/media/
DWebVttRenderer.java1354 final int viewportWidth = r - l; in onLayout() local
1363 layoutRegion(viewportWidth, viewportHeight, regionBox); in onLayout()
1369 layoutCue(viewportWidth, viewportHeight, cueBox); in onLayout()
1378 int viewportWidth, int viewportHeight, in layoutRegion() argument
1387 final int left = (int) (x * (viewportWidth - regionWidth) / 100); in layoutRegion()
1397 int viewportWidth, int viewportHeight, CueLayout cueBox) { in layoutCue() argument
1403 int size = 100 * cueBox.getMeasuredWidth() / viewportWidth; in layoutCue()
1429 final int paddingLeft = 100 * getPaddingLeft() / viewportWidth; in layoutCue()
1430 final int paddingRight = 100 * getPaddingRight() / viewportWidth; in layoutCue()
1442 final int left = xPosition * viewportWidth / 100; in layoutCue()
[all …]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DScreenMagnifier.java1074 final int viewportWidth = magnifiedFrame.width(); in updateMagnificationSpec() local
1075 final float nonNormOffsetX = viewportWidth / 2 - magnifiedCenterX * scale; in updateMagnificationSpec()
1087 final float viewportWidth = magnifiedFrame.width(); in getMinOffsetX() local
1088 return viewportWidth - viewportWidth * mCurrentMagnificationSpec.scale; in getMinOffsetX()
/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java775 final int viewportWidth = getWidth() - mPaddingLeft - mPaddingRight; in performAccessibilityAction() local
776 final int targetScrollX = Math.min(mScrollX + viewportWidth, getScrollRange()); in performAccessibilityAction()
786 final int viewportWidth = getWidth() - mPaddingLeft - mPaddingRight; in performAccessibilityAction() local
787 final int targetScrollX = Math.max(0, mScrollX - viewportWidth); in performAccessibilityAction()
/frameworks/base/docs/html/training/material/
Ddrawables.jd110 android:viewportWidth="32"
Danimations.jd490 android:viewportWidth="600">
/frameworks/base/graphics/java/android/graphics/drawable/
DVectorDrawable.java408 float viewportWidth = mVectorState.mVPathRenderer.mViewportWidth; in getPixelSize() local
410 float scaleX = viewportWidth / intrinsicWidth; in getPixelSize()
/frameworks/base/docs/html/sdk/api_diff/21/
DmissingSinces.txt1980 NO DOC BLOCK: android.R.attr Field viewportWidth
/frameworks/base/api/
Dsystem-current.txt1430 field public static final int viewportWidth = 16843778; // 0x1010402
Dcurrent.txt1356 field public static final int viewportWidth = 16843778; // 0x1010402