Home
last modified time | relevance | path

Searched refs:Utilities (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackLayoutAlgorithm.java38 import com.android.systemui.shared.recents.utilities.Utilities;
482 mInitialScrollP = Utilities.clamp(launchTaskIndex, mMinScrollP, mMaxScrollP); in update()
484 mInitialScrollP = Utilities.clamp(launchTaskIndex - 1, mMinScrollP, mMaxScrollP); in update()
508 mInitialScrollP = Utilities.clamp(launchTaskIndex, mMinScrollP, mMaxScrollP); in update()
510 mInitialScrollP = Utilities.mapRange(lastScrollPPercent, mMinScrollP, mMaxScrollP); in update()
515 mInitialScrollP = Utilities.clamp(launchTaskIndex, mMinScrollP, mMaxScrollP); in update()
879 float boundedStackScroll = Utilities.clamp(stackScroll, mMinScrollP, mMaxScrollP); in getStackTransform()
888 float lowerBoundedStackScroll = Utilities.clamp(stackScroll, -Float.MAX_VALUE, mMaxScrollP); in getStackTransform()
935 (int) Utilities.mapRange(focusState, unfocusedY, focusedY); in getStackTransform()
936 z = Utilities.mapRange(Utilities.clamp01(boundedScrollUnfocusedNonOverrideRangeX), in getStackTransform()
[all …]
DDockState.java49 import com.android.systemui.shared.recents.utilities.Utilities;
197 Utilities.DRAWABLE_ALPHA, dockAreaOverlay.getAlpha(), areaAlpha); in startAnimation()
222 Utilities.DRAWABLE_RECT, Utilities.RECT_EVALUATOR, in startAnimation()
DTaskStackViewScroller.java36 import com.android.systemui.shared.recents.utilities.Utilities;
183 return Utilities.clamp(scroll, mLayoutAlgorithm.mMinScrollP, mLayoutAlgorithm.mMaxScrollP); in getBoundedStackScroll()
308 Utilities.cancelAnimationWithoutCallbacks(mScrollAnimator); in stopBoundScrollAnimation()
DTaskStackView.java91 import com.android.systemui.shared.recents.utilities.Utilities;
267 mDisplayOrientation = Utilities.getAppConfiguration(mContext).orientation; in TaskStackView()
574 if (mTouchExplorationEnabled && Utilities.isDescendentAccessibilityFocused(tv)) { in bindVisibleTaskViews()
870 Utilities.clamp(focusTaskIndex, 0, mStack.getTaskCount() - 1) : -1; in setFocusedTask()
1047 if (Utilities.isDescendentAccessibilityFocused(tv)) { in getAccessibilityFocusedTask()
1156 mLastScrollPPercent = Utilities.clamp(Utilities.unmapRange(mStackScroller.getStackScroll(), in computeScroll()
1950 Utilities.setViewFrameFromTranslation(event.taskView); in onBusEvent()
1968 Utilities.setViewFrameFromTranslation(event.taskView); in onBusEvent()
2046 mDisplayOrientation = Utilities.getAppConfiguration(mContext).orientation; in onBusEvent()
2263 writer.print(" stableStackBounds="); writer.print(Utilities.dumpRect(mStableStackBounds)); in dump()
[all …]
DTaskView.java55 import com.android.systemui.shared.recents.utilities.Utilities;
364 Utilities.cancelAnimationWithoutCallbacks(mTransformAnimation); in cancelTransformAnimation()
365 Utilities.cancelAnimationWithoutCallbacks(mOutlineAnimator); in cancelTransformAnimation()
579 Utilities.cancelAnimationWithoutCallbacks(mDimAnimator); in onStartLaunchTargetLaunchAnimation()
615 mIncompatibleAppToastView = Utilities.findViewStubById(this, in onTaskBound()
DTaskViewTransform.java28 import com.android.systemui.shared.recents.utilities.Utilities;
180 PropertyValuesHolder.ofObject(LTRB, Utilities.RECT_EVALUATOR, in applyToTaskView()
DTaskViewThumbnail.java40 import com.android.systemui.shared.recents.utilities.Utilities;
386 writer.print(" mTaskViewRect="); writer.print(Utilities.dumpRect(mTaskViewRect)); in dump()
387 writer.print(" mThumbnailRect="); writer.print(Utilities.dumpRect(mThumbnailRect)); in dump()
DTaskViewHeader.java63 import com.android.systemui.shared.recents.utilities.Utilities;
410 return Utilities.getColorWithOverlay(primaryColor, overlayColor, 0.8f); in getSecondaryColor()
574 TaskView tv = Utilities.findParent(this, TaskView.class); in onClick()
581 TaskView tv = Utilities.findParent(this, TaskView.class); in onClick()
618 mAppOverlayView = (FrameLayout) Utilities.findViewStubById(this, in showAppOverlay()
DTaskStackViewTouchHandler.java48 import com.android.systemui.shared.recents.utilities.Utilities;
193 Utilities.cancelAnimationWithoutCallbacks(mScrollFlingAnimator); in cancelNonDismissTaskAnimations()
297 float clampedScrollP = Utilities.clamp(curScrollP, minScrollP, maxScrollP); in handleTouchEvent()
663 mTmpTransform.rect.set(Utilities.RECTF_EVALUATOR.evaluate(dismissFraction, in updateTaskViewTransforms()
DTaskViewAccessibilityDelegate.java33 import com.android.systemui.shared.recents.utilities.Utilities;
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/view/
DAnimateableViewBounds.java25 import com.android.systemui.shared.recents.utilities.Utilities;
57 outline.setAlpha(Utilities.mapRange(mAlpha, MIN_ALPHA, MAX_ALPHA)); in getOutline()
/frameworks/rs/script_api/
DAndroid.bp13 "Utilities.cpp",
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/lowram/
DTaskStackLowRamLayoutAlgorithm.java26 import com.android.systemui.shared.recents.utilities.Utilities;
258 Utilities.scaleRectAboutCenter(transformOut.rect, transformOut.scale); in fillStackTransform()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
DTask.java27 import com.android.systemui.shared.recents.utilities.Utilities;
194 this.useLightOnPrimaryColor = Utilities.computeContrastBetweenColors(this.colorPrimary, in Task()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/grid/
DTaskGridLayoutAlgorithm.java29 import com.android.systemui.shared.recents.utilities.Utilities;
225 Utilities.scaleRectAboutCenter(transformOut.rect, transformOut.scale);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DRecentsActivity.java90 import com.android.systemui.shared.recents.utilities.Utilities;
342 mLastConfig = new Configuration(Utilities.getAppConfiguration(this)); in onCreate()
510 Configuration newDeviceConfiguration = Utilities.getAppConfiguration(this); in onConfigurationChanged()
727 mIncompatibleAppOverlay = Utilities.findViewStubById(this, in onBusEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DQuickStepController.java55 import com.android.systemui.shared.recents.utilities.Utilities;
272 float scrubFraction = Utilities.clamp(Math.abs(offset) * 1f / trackSize, 0, 1); in handleTouchEvent()
/frameworks/base/tests/ActivityManagerPerfTests/
DREADME.txt27 * Utilities that both the instrumentation test and test app can use
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/
DUtilities.java50 public class Utilities { class