Home
last modified time | relevance | path

Searched refs:currentHeight (Results 1 – 18 of 18) sorted by relevance

/aosp12/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DCamera2SurfaceViewActivity.java38 private int currentHeight = 0; field in Camera2SurfaceViewActivity
67 if (expectWidth == currentWidth && expectHeight == currentHeight) { in waitForSurfaceSizeChanged()
83 if (currentWidth == expectWidth && currentHeight == expectHeight) { in waitForSurfaceSizeChanged()
106 currentHeight = height; in surfaceChanged()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
H A DRectFSpringAnim.java308 float currentHeight = Utilities.mapRange(mCurrentScaleProgress, mStartRect.height(), in onUpdate() local
315 mCurrentY + currentHeight); in onUpdate()
319 mCurrentY - currentHeight, in onUpdate()
325 mCurrentY - currentHeight / 2, in onUpdate()
327 mCurrentY + currentHeight / 2); in onUpdate()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DExpandHelper.java572 float currentHeight = mScaler.getHeight(); in finishExpanding() local
577 nowExpanded = currentHeight > mOldHeight && velocity >= 0; in finishExpanding()
579 nowExpanded = currentHeight >= mOldHeight || velocity > 0; in finishExpanding()
591 if (targetHeight != currentHeight && mEnabled && allowAnimation) { in finishExpanding()
619 mFlingAnimationUtils.apply(mScaleAnimation, currentHeight, targetHeight, velocity); in finishExpanding()
622 if (targetHeight != currentHeight) { in finishExpanding()
634 if (DEBUG) Log.d(TAG, "currentHeight is: " + currentHeight); in finishExpanding()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/util/animation/
H A DTransitionLayoutController.kt48 private var currentHeight: Int = 0
75 if (currentHeight != state.height || currentWidth != state.width) {
76 currentHeight = state.height
78 sizeChangedListener?.invoke(currentWidth, currentHeight)
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/
H A DAudioAttachmentView.java305 final int currentHeight = this.getHeight(); in onDraw() local
306 if (mClipPathWidth != currentWidth || mClipPathHeight != currentHeight) { in onDraw()
307 final RectF rect = new RectF(0, 0, currentWidth, currentHeight); in onDraw()
312 mClipPathHeight = currentHeight; in onDraw()
H A DAsyncImageView.java379 final int currentHeight = this.getHeight(); in onDraw() local
380 if (mClipPathWidth != currentWidth || mClipPathHeight != currentHeight) { in onDraw()
381 final RectF rect = new RectF(0, 0, currentWidth, currentHeight); in onDraw()
386 mClipPathHeight = currentHeight; in onDraw()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarContentInsetsProvider.kt471 currentHeight: Int
473 if (currentWidth < currentHeight) {
477 } else if (currentWidth > currentHeight) {
479 return sbRect.intersects(cutoutRect.left, 0, cutoutRect.right, currentHeight)
/aosp12/frameworks/native/libs/nativedisplay/surfacetexture/
H A DSurfaceTexture.cpp365 uint32_t currentHeight = static_cast<uint32_t>(crop.height()); in scaleDownCrop() local
375 } else if (newHeight < currentHeight) { in scaleDownCrop()
376 uint32_t dh = currentHeight - newHeight; in scaleDownCrop()
/aosp12/frameworks/av/services/camera/libcameraservice/api2/
H A DDepthCompositeStream.cpp823 auto currentHeight = std::get<1>(it); in getMatchingDepthSize() local
824 if ((currentWidth == width) && (currentHeight == height)) { in getMatchingDepthSize()
830 static_cast<float> (currentHeight); in getMatchingDepthSize()
831 auto currentSize = currentWidth * currentHeight; in getMatchingDepthSize()
835 *depthHeight = currentHeight; in getMatchingDepthSize()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DMediaViewController.kt115 var currentHeight: Int = 0
197 currentHeight = height
H A DMediaCarouselController.kt627 height = Math.max(height, controller.currentHeight + controller.translationY.toInt())
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSFragment.java522 int currentHeight = getView().getHeight(); in setQsExpansion() local
525 && mLastViewHeight == currentHeight in setQsExpansion()
535 mLastViewHeight = currentHeight; in setQsExpansion()
/aosp12/packages/apps/Car/Hvac/src/com/android/car/hvac/ui/
H A DTemperatureBarOverlay.java429 int currentHeight = mTemperatureBar.getLayoutParams().height;
431 mTemperatureBar.setTop(mTemperatureBar.getTop() + height - currentHeight);
/aosp12/frameworks/native/libs/gui/
H A DGLConsumer.cpp763 uint32_t currentHeight = static_cast<uint32_t>(crop.height()); in scaleDownCrop() local
773 } else if (newHeight < currentHeight) { in scaleDownCrop()
774 uint32_t dh = currentHeight - newHeight; in scaleDownCrop()
/aosp12/packages/apps/Car/Hvac/src/com/android/car/hvac/controllers/
H A DHvacPanelController.java545 int currentHeight = mPanel.getLayoutParams().height;
547 mPanel.setTop(mPanel.getTop() + height - currentHeight);
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
H A DSuggestionStripLayoutHelper.java171 final int currentHeight = getMoreSuggestionsHeight(); in setMoreSuggestionsHeight() local
172 if (currentHeight <= remainingHeight) { in setMoreSuggestionsHeight()
/aosp12/packages/apps/Calendar/src/com/android/calendar/
H A DDayView.java3005 int currentHeight = mAnimateDayEventHeight; in getAllDayEventAnimator() local
3009 if (currentHeight == desiredHeight) { in getAllDayEventAnimator()
3015 currentHeight, desiredHeight); in getAllDayEventAnimator()
3028 int currentHeight = mAnimateDayHeight != 0 ? mAnimateDayHeight : mAlldayHeight; in getAllDayAnimator() local
3034 currentHeight, desiredHeight); in getAllDayAnimator()
/aosp12/frameworks/base/core/java/android/inputmethodservice/
H A DInputMethodService.java1713 final int currentHeight = mWindow.getWindow().getAttributes().height; in onConfigureWindow() local
1715 if (mIsInputViewShown && currentHeight != newHeight) { in onConfigureWindow()
1718 + "window: " + currentHeight + " -> " + newHeight); in onConfigureWindow()