/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
H A D | InteractionJankMonitorUtils.java | 38 public static void beginTracing(@InteractionJankMonitor.CujType int cujType, in beginTracing() argument 41 InteractionJankMonitor.Configuration.Builder.withView(cujType, view); in beginTracing() 56 public static void beginTracing(@InteractionJankMonitor.CujType int cujType, in beginTracing() argument 59 InteractionJankMonitor.Configuration.Builder.withSurface(cujType, context, surface); in beginTracing() 71 public static void endTracing(@InteractionJankMonitor.CujType int cujType) { in endTracing() argument 72 InteractionJankMonitor.getInstance().end(cujType); in endTracing() 80 public static void cancelTracing(@InteractionJankMonitor.CujType int cujType) { in cancelTracing() argument 81 InteractionJankMonitor.getInstance().cancel(cujType); in cancelTracing()
|
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
H A D | InteractionJankMonitorWrapper.java | 94 public static void begin(View v, @CujType int cujType) { in begin() argument 96 InteractionJankMonitor.getInstance().begin(v, cujType); in begin() 106 public static void begin(View v, @CujType int cujType, long timeout) { in begin() argument 109 Configuration.Builder.withView(cujType, v) in begin() 121 public static void begin(View v, @CujType int cujType, String tag) { in begin() argument 124 Configuration.Builder.withView(cujType, v); in begin() 136 public static void end(@CujType int cujType) { in end() argument 138 InteractionJankMonitor.getInstance().end(cujType); in end() 144 public static void cancel(@CujType int cujType) { in cancel() argument 146 InteractionJankMonitor.getInstance().cancel(cujType); in cancel()
|
/aosp14/frameworks/base/core/java/com/android/internal/jank/ |
H A D | InteractionJankMonitor.java | 604 mTimeoutActions.remove(cujType); in removeTimeout() 664 int cujType = conf.mCujType; in beginInternal() local 673 putTracker(cujType, tracker); in beginInternal() 678 cujType, conf.mTimeout, () -> cancel(cujType, REASON_CANCEL_TIMEOUT)); in beginInternal() 720 public boolean end(@CujType int cujType) { in end() argument 746 removeTimeout(cujType); in endInternal() 761 public boolean cancel(@CujType int cujType) { in cancel() argument 797 removeTimeout(cujType); in cancelInternal() 802 removeTracker(cujType, reason); in cancelInternal() 942 switch (cujType) { in getNameOfCuj() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/ |
H A D | Expandable.kt | 31 fun activityLaunchController(cujType: Int? = null): ActivityLaunchAnimator.Controller? 51 cujType: Int?, 53 return ActivityLaunchAnimator.Controller.fromView(view, cujType)
|
H A D | DialogLaunchAnimator.kt | 335 cujType: Int? = null, 342 return createActivityLaunchController(animatedDialog, cujType) 359 cujType: Int? = null, 362 return createActivityLaunchController(animatedDialog, cujType) 367 cujType: Int? = null 387 ActivityLaunchAnimator.Controller.fromView(dialogContentWithBackground, cujType) 492 data class DialogCuj(@CujType val cujType: Int, val tag: String? = null) 808 interactionJankMonitor.end(controller.cuj!!.cujType)
|
H A D | GhostedViewLaunchAnimatorController.kt | 62 private val cujType: Int? = null, 232 cujType?.let { interactionJankMonitor.begin(ghostedView, it) } 318 cujType?.let { interactionJankMonitor.end(it) }
|
H A D | ViewDialogLaunchAnimatorController.kt | 116 val type = cuj?.cujType ?: return null
|
H A D | ActivityLaunchAnimator.kt | 386 fun fromView(view: View, cujType: Int? = null): Controller? { 406 return GhostedViewLaunchAnimatorController(view, cujType)
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/ |
H A D | OneHandedDisplayAreaOrganizer.java | 330 void beginCUJTracing(@InteractionJankMonitor.CujType int cujType, @Nullable String tag) { in beginCUJTracing() argument 335 cujType, mContext, firstEntry.getValue()); in beginCUJTracing() 342 void endCUJTracing(@InteractionJankMonitor.CujType int cujType) { in endCUJTracing() argument 343 mJankMonitor.end(cujType); in endCUJTracing() 346 void cancelCUJTracing(@InteractionJankMonitor.CujType int cujType) { in cancelCUJTracing() argument 347 mJankMonitor.cancel(cujType); in cancelCUJTracing()
|
/aosp14/frameworks/base/core/java/android/view/inputmethod/ |
H A D | ImeTracker.java | 711 final int cujType = getImeInsetsCujFromAnimation(animType); in onRequestAnimation() local 714 || cujType == -1) { in onRequestAnimation() 718 cujType, in onRequestAnimation() 732 final int cujType = getImeInsetsCujFromAnimation(animType); in onCancelAnimation() local 733 if (cujType == -1) { in onCancelAnimation() 734 InteractionJankMonitor.getInstance().cancel(cujType); in onCancelAnimation() 744 final int cujType = getImeInsetsCujFromAnimation(animType); in onFinishAnimation() local 745 if (cujType != -1) { in onFinishAnimation() 746 InteractionJankMonitor.getInstance().end(cujType); in onFinishAnimation()
|
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/jank/ |
H A D | InteractionJankMonitorTest.java | 295 final int cujType = CUJ_NOTIFICATION_SHADE_EXPAND_COLLAPSE; in testSessionNameLengthLimit() local 296 final String cujName = getNameOfCuj(cujType); in testSessionNameLengthLimit() 301 Session noPostfix = new Session(cujType, ""); in testSessionNameLengthLimit() 305 Session withPostfix = new Session(cujType, cujTag); in testSessionNameLengthLimit() 312 Session longPostfix = new Session(cujType, tooLongTag); in testSessionNameLengthLimit()
|
/aosp14/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/ |
H A D | ExpandableController.kt | 137 cujType: Int?, 143 return activityController(cujType) 260 private fun activityController(cujType: Int?): ActivityLaunchAnimator.Controller {
|