/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | InteractionJankMonitorWrapper.java | 34 public static void begin(View v, @Cuj.CujType int cujType) { in begin() argument 36 InteractionJankMonitor.getInstance().begin(v, cujType); in begin() 46 public static void begin(View v, @Cuj.CujType int cujType, long timeout) { in begin() argument 49 Configuration.Builder.withView(cujType, v) in begin() 61 public static void begin(View v, @Cuj.CujType int cujType, String tag) { in begin() argument 64 Configuration.Builder.withView(cujType, v); in begin() 76 public static void end(@Cuj.CujType int cujType) { in end() argument 78 InteractionJankMonitor.getInstance().end(cujType); in end() 84 public static void cancel(@Cuj.CujType int cujType) { in cancel() argument 86 InteractionJankMonitor.getInstance().cancel(cujType); in cancel() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | InteractionJankMonitorUtils.java | 39 public static void beginTracing(@CujType int cujType, in beginTracing() argument 42 InteractionJankMonitor.Configuration.Builder.withView(cujType, view); in beginTracing() 57 public static void beginTracing(@CujType int cujType, in beginTracing() argument 60 InteractionJankMonitor.Configuration.Builder.withSurface(cujType, context, surface); in beginTracing() 72 public static void endTracing(@CujType int cujType) { in endTracing() argument 73 InteractionJankMonitor.getInstance().end(cujType); in endTracing() 81 public static void cancelTracing(@CujType int cujType) { in cancelTracing() argument 82 InteractionJankMonitor.getInstance().cancel(cujType); in cancelTracing()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/jank/ |
D | InteractionJankMonitorKosmos.kt | 50 override fun begin(v: View?, cujType: Int): Boolean = true in <lambda>() 51 override fun end(cujType: Int): Boolean = true in <lambda>() 52 override fun cancel(cujType: Int): Boolean = true in <lambda>() 53 override fun cancel(cujType: Int, reason: Int) = true in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/ |
D | GhostedViewTransitionAnimatorControllerTest.kt | 109 override fun begin(v: View?, cujType: Int): Boolean { in begin() 110 ongoing.add(cujType) in begin() 114 override fun end(cujType: Int): Boolean { in end() 115 ongoing.remove(cujType) in end() 116 finished.add(cujType) in end()
|
/frameworks/base/core/java/com/android/internal/jank/ |
D | InteractionJankMonitor.java | 303 public boolean isInstrumenting(@Cuj.CujType int cujType) { in isInstrumenting() argument 305 return mRunningTrackers.contains(cujType); in isInstrumenting() 316 public boolean begin(View v, @Cuj.CujType int cujType) { in begin() argument 318 return begin(Configuration.Builder.withView(cujType, v)); in begin() 354 int cujType = conf.mCujType; in beginInternal() local 359 RunningTracker tracker = putTrackerIfNoCurrent(cujType, () -> in beginInternal() 361 conf, createFrameTracker(conf), () -> cancel(cujType, REASON_CANCEL_TIMEOUT))); in beginInternal() 392 public boolean end(@Cuj.CujType int cujType) { in end() argument 395 cujType, unixNanos, elapsedNanos, realtimeNanos); in end() 397 RunningTracker tracker = getTracker(cujType); in end() [all …]
|
D | Cuj.java | 355 public static String getNameOfCuj(int cujType) { in getNameOfCuj() argument 359 switch (cujType) { in getNameOfCuj() 550 public static int getStatsdInteractionType(@CujType int cujType) { in getStatsdInteractionType() argument 551 return CUJ_TO_STATSD_INTERACTION_TYPE[cujType]; in getStatsdInteractionType() 555 public static boolean logToStatsd(@CujType int cujType) { in logToStatsd() argument 556 return getStatsdInteractionType(cujType) != NO_STATSD_LOGGING; in logToStatsd()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/ |
D | OneHandedDisplayAreaOrganizer.java | 331 void beginCUJTracing(@CujType int cujType, @Nullable String tag) { in beginCUJTracing() argument 336 cujType, mContext, firstEntry.getValue()); in beginCUJTracing() 343 void endCUJTracing(@CujType int cujType) { in endCUJTracing() argument 344 mJankMonitor.end(cujType); in endCUJTracing() 347 void cancelCUJTracing(@CujType int cujType) { in cancelCUJTracing() argument 348 mJankMonitor.cancel(cujType); in cancelCUJTracing()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | ImeTracker.java | 840 final int cujType = getImeInsetsCujFromAnimation(animType); in onRequestAnimation() local 843 || cujType == -1) { in onRequestAnimation() 847 cujType, in onRequestAnimation() 861 final int cujType = getImeInsetsCujFromAnimation(animType); in onCancelAnimation() local 862 if (cujType != -1) { in onCancelAnimation() 863 InteractionJankMonitor.getInstance().cancel(cujType); in onCancelAnimation() 873 final int cujType = getImeInsetsCujFromAnimation(animType); in onFinishAnimation() local 874 if (cujType != -1) { in onFinishAnimation() 875 InteractionJankMonitor.getInstance().end(cujType); in onFinishAnimation()
|
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/ |
D | DialogTransitionAnimator.kt | 344 cujType: Int? = null, in <lambda>() 351 return createActivityTransitionController(animatedDialog, cujType) in <lambda>() 368 cujType: Int? = null, in <lambda>() 371 return createActivityTransitionController(animatedDialog, cujType) in <lambda>() 376 cujType: Int? = null in <lambda>() 396 ActivityTransitionAnimator.Controller.fromView(dialogContentWithBackground, cujType) in <lambda>() 501 data class DialogCuj(@CujType val cujType: Int, val tag: String? = null) constant in com.android.systemui.animation.DialogCuj 816 interactionJankMonitor.end(controller.cuj!!.cujType) in maybeStartLaunchAnimation()
|
D | GhostedViewTransitionAnimatorController.kt | 114 private val cujType: Int? constant in com.android.systemui.animation.GhostedViewTransitionAnimatorController 266 cujType?.let { interactionJankMonitor.begin(ghostedView, it) } in onTransitionAnimationStart() 352 cujType?.let { interactionJankMonitor.end(it) } in onTransitionAnimationEnd()
|
D | ViewDialogTransitionAnimatorController.kt | 125 val type = cuj?.cujType ?: return null in jankConfigurationBuilder()
|
D | ActivityTransitionAnimator.kt | 508 cujType: Int? = null, in fromView() 535 cujType, in fromView()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/ |
D | BackAnimationRunner.java | 59 @CujType int cujType) { in BackAnimationRunner() argument 62 mCujType = cujType; in BackAnimationRunner()
|
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/ |
D | ExpandableController.kt | 280 private val cujType: Int? in activityController() constant 294 cujType?.let { InteractionJankMonitor.getInstance().begin(composeViewRoot, it) } in activityController() 298 cujType?.let { InteractionJankMonitor.getInstance().end(it) } in activityController() 354 val type = cuj?.cujType ?: return null in dialogController()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/jank/ |
D | InteractionJankMonitorTest.java | 151 final int cujType = Cuj.CUJ_NOTIFICATION_SHADE_EXPAND_COLLAPSE; in testSessionNameLengthLimit() local 152 final String cujName = Cuj.getNameOfCuj(cujType); in testSessionNameLengthLimit()
|