Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DInteractionJankMonitorUtils.java38 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()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DInteractionJankMonitorWrapper.java87 public static void begin(View v, @CujType int cujType) { in begin() argument
89 InteractionJankMonitor.getInstance().begin(v, cujType); in begin()
99 public static void begin(View v, @CujType int cujType, long timeout) { in begin() argument
102 Configuration.Builder.withView(cujType, v) in begin()
114 public static void begin(View v, @CujType int cujType, String tag) { in begin() argument
117 Configuration.Builder.withView(cujType, v); in begin()
129 public static void end(@CujType int cujType) { in end() argument
131 InteractionJankMonitor.getInstance().end(cujType); in end()
137 public static void cancel(@CujType int cujType) { in cancel() argument
139 InteractionJankMonitor.getInstance().cancel(cujType); in cancel()
/frameworks/base/core/java/com/android/internal/jank/
DInteractionJankMonitor.java540 private void removeTimeout(@CujType int cujType) { in removeTimeout() argument
542 Runnable timeout = mTimeoutActions.get(cujType); in removeTimeout()
544 getTracker(cujType).getHandler().removeCallbacks(timeout); in removeTimeout()
545 mTimeoutActions.remove(cujType); in removeTimeout()
554 public boolean isInstrumenting(@CujType int cujType) { in isInstrumenting() argument
556 return mRunningTrackers.contains(cujType); in isInstrumenting()
567 public boolean begin(View v, @CujType int cujType) { in begin() argument
569 return begin(Configuration.Builder.withView(cujType, v)); in begin()
601 int cujType = conf.mCujType; in beginInternal() local
602 if (!shouldMonitor(cujType)) return false; in beginInternal()
[all …]
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DExpandable.kt31 fun activityLaunchController(cujType: Int? = null): ActivityLaunchAnimator.Controller? in activityLaunchController()
51 cujType: Int?, in activityLaunchController()
53 return ActivityLaunchAnimator.Controller.fromView(view, cujType) in activityLaunchController()
DDialogLaunchAnimator.kt335 cujType: Int? = null, in <lambda>()
342 return createActivityLaunchController(animatedDialog, cujType) in <lambda>()
359 cujType: Int? = null, in <lambda>()
362 return createActivityLaunchController(animatedDialog, cujType) in <lambda>()
367 cujType: Int? = null in <lambda>()
387 ActivityLaunchAnimator.Controller.fromView(dialogContentWithBackground, cujType) in <lambda>()
492 data class DialogCuj(@CujType val cujType: Int, val tag: String? = null) constant in com.android.systemui.animation.DialogCuj
892 interactionJankMonitor.end(controller.cuj!!.cujType) in maybeStartLaunchAnimation()
DGhostedViewLaunchAnimatorController.kt63 private val cujType: Int? = null, constant in com.android.systemui.animation.GhostedViewLaunchAnimatorController
232 cujType?.let { interactionJankMonitor.begin(ghostedView, it) } in onLaunchAnimationStart()
318 cujType?.let { interactionJankMonitor.end(it) } in onLaunchAnimationEnd()
DViewDialogLaunchAnimatorController.kt116 val type = cuj?.cujType ?: return null in jankConfigurationBuilder()
DActivityLaunchAnimator.kt349 fun fromView(view: View, cujType: Int? = null): Controller? { in fromView()
369 return GhostedViewLaunchAnimatorController(view, cujType) in fromView()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DOneHandedDisplayAreaOrganizer.java328 void beginCUJTracing(@InteractionJankMonitor.CujType int cujType, @Nullable String tag) { in beginCUJTracing() argument
333 cujType, mContext, firstEntry.getValue()); in beginCUJTracing()
340 void endCUJTracing(@InteractionJankMonitor.CujType int cujType) { in endCUJTracing() argument
341 mJankMonitor.end(cujType); in endCUJTracing()
344 void cancelCUJTracing(@InteractionJankMonitor.CujType int cujType) { in cancelCUJTracing() argument
345 mJankMonitor.cancel(cujType); in cancelCUJTracing()
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/
DExpandableController.kt137 cujType: Int?, in activityLaunchController()
143 return activityController(cujType) in activityLaunchController()
260 private fun activityController(cujType: Int?): ActivityLaunchAnimator.Controller { in activityController()
/frameworks/base/core/tests/coretests/src/com/android/internal/jank/
DInteractionJankMonitorTest.java310 final int cujType = CUJ_NOTIFICATION_SHADE_EXPAND_COLLAPSE; in testSessionNameLengthLimit() local
311 final String cujName = getNameOfCuj(cujType); in testSessionNameLengthLimit()
316 Session noPostfix = new Session(cujType, ""); in testSessionNameLengthLimit()
320 Session withPostfix = new Session(cujType, cujTag); in testSessionNameLengthLimit()
327 Session longPostfix = new Session(cujType, tooLongTag); in testSessionNameLengthLimit()