Home
last modified time | relevance | path

Searched refs:cujType (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DInteractionJankMonitorWrapper.java34 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/
DInteractionJankMonitorUtils.java39 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/
DInteractionJankMonitorKosmos.kt50 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/
DGhostedViewTransitionAnimatorControllerTest.kt109 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/
DInteractionJankMonitor.java303 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 …]
DCuj.java355 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/
DOneHandedDisplayAreaOrganizer.java331 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/
DImeTracker.java840 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/
DDialogTransitionAnimator.kt344 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()
DGhostedViewTransitionAnimatorController.kt114 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()
DViewDialogTransitionAnimatorController.kt125 val type = cuj?.cujType ?: return null in jankConfigurationBuilder()
DActivityTransitionAnimator.kt508 cujType: Int? = null, in fromView()
535 cujType, in fromView()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/
DBackAnimationRunner.java59 @CujType int cujType) { in BackAnimationRunner() argument
62 mCujType = cujType; in BackAnimationRunner()
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/
DExpandableController.kt280 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/
DInteractionJankMonitorTest.java151 final int cujType = Cuj.CUJ_NOTIFICATION_SHADE_EXPAND_COLLAPSE; in testSessionNameLengthLimit() local
152 final String cujName = Cuj.getNameOfCuj(cujType); in testSessionNameLengthLimit()