Home
last modified time | relevance | path

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

/frameworks/native/libs/renderengine/skia/filters/
DStretchShaderFactory.cpp198 float viewportWidth = stretchEffect.width; in createSkShader() local
215 float normalizedScrollX = srcBounds.left / viewportWidth; in createSkShader()
238 mBuilder->uniform("viewportWidth").set(&viewportWidth, 1); in createSkShader()
/frameworks/base/libs/hwui/
DVectorDrawable.h522 mCache.dirty |= (mProperties.mNonAnimatableProperties.viewportWidth != in syncProperties()
523 mStagingProperties.mNonAnimatableProperties.viewportWidth) || in syncProperties()
551 float viewportWidth = 0; member
572 if (mNonAnimatableProperties.viewportWidth != width || in setViewportSize()
575 mNonAnimatableProperties.viewportWidth = width; in setViewportSize()
611 float getViewportWidth() const { return mNonAnimatableProperties.viewportWidth; } in getViewportWidth()
DVectorDrawable.cpp526 float viewportWidth = in updateBitmapCache() local
530 float scaleX = cacheWidth / viewportWidth; in updateBitmapCache()
/frameworks/base/media/java/android/media/
DWebVttRenderer.java1358 final int viewportWidth = r - l; in onLayout() local
1367 layoutRegion(viewportWidth, viewportHeight, regionBox); in onLayout()
1373 layoutCue(viewportWidth, viewportHeight, cueBox); in onLayout()
1382 int viewportWidth, int viewportHeight, in layoutRegion() argument
1391 final int left = (int) (x * (viewportWidth - regionWidth) / 100); in layoutRegion()
1401 int viewportWidth, int viewportHeight, CueLayout cueBox) { in layoutCue() argument
1407 int size = 100 * cueBox.getMeasuredWidth() / viewportWidth; in layoutCue()
1433 final int paddingLeft = 100 * getPaddingLeft() / viewportWidth; in layoutCue()
1434 final int paddingRight = 100 * getPaddingRight() / viewportWidth; in layoutCue()
1446 final int left = xPosition * viewportWidth / 100; in layoutCue()
[all …]
/frameworks/base/graphics/java/android/graphics/drawable/
DVectorDrawable.java671 float viewportWidth = mVectorState.mViewportWidth; in getPixelSize() local
673 float scaleX = viewportWidth / intrinsicWidth; in getPixelSize()
770 float viewportWidth = a.getFloat( in updateStateFromTypedArray() local
774 state.setViewportSize(viewportWidth, viewportHeight); in updateStateFromTypedArray()
1104 void setViewportSize(float viewportWidth, float viewportHeight) { in setViewportSize() argument
1105 mViewportWidth = viewportWidth; in setViewportSize()
1107 nSetRendererViewportSize(getNativeRenderer(), viewportWidth, viewportHeight); in setViewportSize() local
2299 private static native void nSetRendererViewportSize(long rendererPtr, float viewportWidth, in nSetRendererViewportSize() argument
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_drawable_VectorDrawable.cpp119 jfloat viewportWidth, jfloat viewportHeight) { in setTreeViewportSize() argument
121 tree->mutateStagingProperties()->setViewportSize(viewportWidth, viewportHeight); in setTreeViewportSize()
/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java929 final int viewportWidth = getWidth() - mPaddingLeft - mPaddingRight; in performAccessibilityActionInternal() local
930 final int targetScrollX = Math.min(mScrollX + viewportWidth, getScrollRange()); in performAccessibilityActionInternal()
941 final int viewportWidth = getWidth() - mPaddingLeft - mPaddingRight; in performAccessibilityActionInternal() local
942 final int targetScrollX = Math.max(0, mScrollX - viewportWidth); in performAccessibilityActionInternal()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DFullScreenMagnificationController.java652 final float viewportWidth = mMagnificationBounds.width(); in getMinOffsetXLocked() local
654 return (viewportLeft + viewportWidth) in getMinOffsetXLocked()
655 - (viewportLeft + viewportWidth) * mCurrentMagnificationSpec.scale; in getMinOffsetXLocked()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt1356 field public static final int viewportWidth = 16843778; // 0x1010402
/frameworks/base/core/api/
Dcurrent.txt1675 field public static final int viewportWidth = 16843778; // 0x1010402
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt76721 Lcom/android/internal/R$attr;->viewportWidth:I