Home
last modified time | relevance | path

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

/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.cpp602 float viewportWidth = in updateBitmapCache() local
606 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.java667 float viewportWidth = mVectorState.mViewportWidth; in getPixelSize() local
669 float scaleX = viewportWidth / intrinsicWidth; in getPixelSize()
766 float viewportWidth = a.getFloat( in updateStateFromTypedArray() local
770 state.setViewportSize(viewportWidth, viewportHeight); in updateStateFromTypedArray()
1100 void setViewportSize(float viewportWidth, float viewportHeight) { in setViewportSize() argument
1101 mViewportWidth = viewportWidth; in setViewportSize()
1103 nSetRendererViewportSize(getNativeRenderer(), viewportWidth, viewportHeight); in setViewportSize() local
2295 private static native void nSetRendererViewportSize(long rendererPtr, float viewportWidth, in nSetRendererViewportSize() argument
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMagnificationController.java555 final float viewportWidth = mMagnificationBounds.width(); in getMinOffsetXLocked() local
557 return (viewportLeft + viewportWidth) - in getMinOffsetXLocked()
558 (viewportLeft + viewportWidth) * mCurrentMagnificationSpec.scale; in getMinOffsetXLocked()
/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/
DHorizontalScrollView.java903 final int viewportWidth = getWidth() - mPaddingLeft - mPaddingRight; in performAccessibilityActionInternal() local
904 final int targetScrollX = Math.min(mScrollX + viewportWidth, getScrollRange()); in performAccessibilityActionInternal()
915 final int viewportWidth = getWidth() - mPaddingLeft - mPaddingRight; in performAccessibilityActionInternal() local
916 final int targetScrollX = Math.max(0, mScrollX - viewportWidth); in performAccessibilityActionInternal()
/frameworks/layoutlib/bridge/src/android/graphics/drawable/
DVectorDrawable_Delegate.java116 static void nSetRendererViewportSize(long rendererPtr, float viewportWidth, in nSetRendererViewportSize() argument
119 nativePathRenderer.mViewportWidth = viewportWidth; in nSetRendererViewportSize()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...