Home
last modified time | relevance | path

Searched refs:currWidth (Results 1 – 6 of 6) sorted by relevance

/frameworks/support/viewpager/src/main/java/androidx/viewpager/widget/
DPagerTitleStrip.java340 final int currWidth = mCurrText.getMeasuredWidth(); in updateTextPositions() local
342 final int halfCurrWidth = currWidth / 2; in updateTextPositions()
359 final int currLeft = currCenter - currWidth / 2; in updateTextPositions()
360 final int currRight = currLeft + currWidth; in updateTextPositions()
/frameworks/support/media-widget/src/main/java/androidx/media/widget/
DMediaControlView2.java517 int currWidth = getMeasuredWidth(); in onMeasure() local
530 updateLayout(maxIconCount, iconSize, currWidth, currHeight, screenWidth, in onMeasure()
550 updateLayout(maxIconCount, iconSize, currWidth, currHeight, screenWidth, in onMeasure()
553 mPrevWidth = currWidth; in onMeasure()
1309 private void updateLayout(int maxIconCount, int iconSize, int currWidth, in updateLayout() argument
1317 boolean isFullSize = (mMediaType == MEDIA_TYPE_DEFAULT) ? (currWidth == screenMaxLength) : in updateLayout()
1318 (currWidth == screenWidth && currHeight == screenHeight); in updateLayout()
1327 } else if (embeddedWidth <= currWidth) { in updateLayout()
/frameworks/av/packages/MediaComponents/src/com/android/widget/
DMediaControlView2Impl.java365 int currWidth = mInstance.getMeasuredWidth(); in onMeasure_impl() local
382 updateLayout(maxIconCount, fullIconSize, embeddedIconSize, marginSize, currWidth, in onMeasure_impl()
401 updateLayout(maxIconCount, fullIconSize, embeddedIconSize, marginSize, currWidth, in onMeasure_impl()
404 mPrevWidth = currWidth; in onMeasure_impl()
1170 int marginSize, int currWidth, int currHeight, int screenWidth, int screenHeight) { in updateLayout() argument
1184 boolean isFullSize = (mMediaType == MEDIA_TYPE_DEFAULT) ? (currWidth == screenMaxLength) : in updateLayout()
1185 (currWidth == screenWidth && currHeight == screenHeight); in updateLayout()
1194 } else if (embeddedWidth <= currWidth) { in updateLayout()
DVideoView2Impl.java591 int currWidth = mInstance.getMeasuredWidth(); in onMeasure_impl() local
598 if (currWidth == screenWidth && currHeight == screenHeight) { in onMeasure_impl()
620 mPrevWidth = currWidth; in onMeasure_impl()
/frameworks/support/media-widget/src/main/java/androidx/media/widget/impl_with_mp1/
DVideoView2ImplBaseWithMp1.java685 int currWidth = mInstance.getMeasuredWidth(); in onMeasureImpl() local
687 if (mPrevWidth != currWidth || mPrevHeight != currHeight) { in onMeasureImpl()
693 if (currWidth == screenWidth && currHeight == screenHeight) { in onMeasureImpl()
715 mPrevWidth = currWidth; in onMeasureImpl()
/frameworks/support/media-widget/src/main/java/androidx/media/widget/impl/
DVideoView2ImplBase.java710 int currWidth = mInstance.getMeasuredWidth(); in onMeasureImpl() local
712 if (mPrevWidth != currWidth || mPrevHeight != currHeight) { in onMeasureImpl()
718 if (currWidth == screenWidth && currHeight == screenHeight) { in onMeasureImpl()
740 mPrevWidth = currWidth; in onMeasureImpl()