Home
last modified time | relevance | path

Searched refs:Cuj (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/core/java/com/android/internal/jank/
DInteractionJankMonitor.java114 …@Deprecated public static final int CUJ_NOTIFICATION_SHADE_EXPAND_COLLAPSE = Cuj.CUJ_NOTIFICATION_…
115 …@Deprecated public static final int CUJ_NOTIFICATION_SHADE_SCROLL_FLING = Cuj.CUJ_NOTIFICATION_SHA…
116 …@Deprecated public static final int CUJ_NOTIFICATION_SHADE_ROW_EXPAND = Cuj.CUJ_NOTIFICATION_SHADE…
117 …@Deprecated public static final int CUJ_NOTIFICATION_SHADE_ROW_SWIPE = Cuj.CUJ_NOTIFICATION_SHADE_…
118 …@Deprecated public static final int CUJ_NOTIFICATION_SHADE_QS_EXPAND_COLLAPSE = Cuj.CUJ_NOTIFICATI…
119 …@Deprecated public static final int CUJ_NOTIFICATION_SHADE_QS_SCROLL_SWIPE = Cuj.CUJ_NOTIFICATION_…
120 …@Deprecated public static final int CUJ_NOTIFICATION_HEADS_UP_APPEAR = Cuj.CUJ_NOTIFICATION_HEADS_…
121 …@Deprecated public static final int CUJ_NOTIFICATION_HEADS_UP_DISAPPEAR = Cuj.CUJ_NOTIFICATION_HEA…
122 @Deprecated public static final int CUJ_NOTIFICATION_ADD = Cuj.CUJ_NOTIFICATION_ADD;
123 @Deprecated public static final int CUJ_NOTIFICATION_REMOVE = Cuj.CUJ_NOTIFICATION_REMOVE;
[all …]
DInteractionMonitorDebugOverlay.java120 String cujName = Cuj.getNameOfCuj(mRunningCujs.keyAt(i)); in getWidthOfLongestCujName()
154 void onTrackerRemoved(@Cuj.CujType int removedCuj, @Reasons int reason, in onTrackerRemoved()
160 String cujName = Cuj.getNameOfCuj(removedCuj); in onTrackerRemoved()
196 void onTrackerAdded(@Cuj.CujType int addedCuj, InteractionJankMonitor.RunningTracker tracker) { in onTrackerAdded()
198 String cujName = Cuj.getNameOfCuj(addedCuj); in onTrackerAdded()
279 String cujName = Cuj.getNameOfCuj(mRunningCujs.keyAt(i)); in onPostDraw()
DCuj.java29 public class Cuj { class
346 private Cuj() { in Cuj() method in Cuj
567 return Cuj.getNameOfCuj(getCujTypeFromInteraction(interactionType)); in getNameOfInteraction()
/frameworks/base/core/tests/coretests/src/com/android/internal/jank/
DCujTest.java21 import static com.android.internal.jank.Cuj.getNameOfCuj;
57 put(Cuj.CUJ_NOTIFICATION_ADD, getEnumName("SHADE_NOTIFICATION_ADD"));
58 put(Cuj.CUJ_NOTIFICATION_HEADS_UP_APPEAR, getEnumName("SHADE_HEADS_UP_APPEAR"));
59 put(Cuj.CUJ_NOTIFICATION_APP_START, getEnumName("SHADE_APP_LAUNCH"));
60 put(Cuj.CUJ_NOTIFICATION_HEADS_UP_DISAPPEAR, getEnumName("SHADE_HEADS_UP_DISAPPEAR"));
61 put(Cuj.CUJ_NOTIFICATION_REMOVE, getEnumName("SHADE_NOTIFICATION_REMOVE"));
62 … put(Cuj.CUJ_NOTIFICATION_SHADE_EXPAND_COLLAPSE, getEnumName("NOTIFICATION_SHADE_SWIPE"));
63 … put(Cuj.CUJ_NOTIFICATION_SHADE_QS_EXPAND_COLLAPSE, getEnumName("SHADE_QS_EXPAND_COLLAPSE"));
64 put(Cuj.CUJ_NOTIFICATION_SHADE_QS_SCROLL_SWIPE, getEnumName("SHADE_QS_SCROLL_SWIPE"));
65 put(Cuj.CUJ_NOTIFICATION_SHADE_ROW_EXPAND, getEnumName("SHADE_ROW_EXPAND"));
[all …]
DInteractionJankMonitorTest.java99 assertThat(monitor.begin(mView, Cuj.CUJ_NOTIFICATION_SHADE_EXPAND_COLLAPSE)).isTrue(); in testBeginEnd()
101 assertThat(monitor.end(Cuj.CUJ_NOTIFICATION_SHADE_EXPAND_COLLAPSE)).isTrue(); in testBeginEnd()
115 assertThat(monitor.begin(mView, Cuj.CUJ_NOTIFICATION_SHADE_EXPAND_COLLAPSE)).isFalse(); in testDisabledThroughDeviceConfig()
116 assertThat(monitor.end(Cuj.CUJ_NOTIFICATION_SHADE_EXPAND_COLLAPSE)).isFalse(); in testDisabledThroughDeviceConfig()
126 assertThat(monitor.begin(view, Cuj.CUJ_NOTIFICATION_SHADE_EXPAND_COLLAPSE)).isFalse(); in testCheckInitState()
127 assertThat(monitor.end(Cuj.CUJ_NOTIFICATION_SHADE_EXPAND_COLLAPSE)).isFalse(); in testCheckInitState()
139 assertThat(monitor.begin(mView, Cuj.CUJ_NOTIFICATION_SHADE_EXPAND_COLLAPSE)).isTrue(); in testBeginTimeout()
145 verify(monitor).cancel(Cuj.CUJ_NOTIFICATION_SHADE_EXPAND_COLLAPSE, REASON_CANCEL_TIMEOUT); in testBeginTimeout()
151 final int cujType = Cuj.CUJ_NOTIFICATION_SHADE_EXPAND_COLLAPSE; in testSessionNameLengthLimit()
152 final String cujName = Cuj.getNameOfCuj(cujType); in testSessionNameLengthLimit()
DFrameTrackerTest.java25 import static com.android.internal.jank.Cuj.CUJ_NOTIFICATION_SHADE_EXPAND_COLLAPSE;
26 import static com.android.internal.jank.Cuj.CUJ_WALLPAPER_TRANSITION;
135 ? Cuj.getStatsdInteractionType(CUJ_WALLPAPER_TRANSITION) in spyFrameTracker()
136 : Cuj.getStatsdInteractionType(CUJ_NOTIFICATION_SHADE_EXPAND_COLLAPSE)); in spyFrameTracker()
177 eq(Cuj.getStatsdInteractionType(CUJ_NOTIFICATION_SHADE_EXPAND_COLLAPSE)), in testOnlyFirstWindowFrameOverThreshold()
214 eq(Cuj.getStatsdInteractionType(CUJ_NOTIFICATION_SHADE_EXPAND_COLLAPSE)), in testSfJank()
250 eq(Cuj.getStatsdInteractionType(CUJ_NOTIFICATION_SHADE_EXPAND_COLLAPSE)), in testFirstFrameJankyNoTrigger()
287 eq(Cuj.getStatsdInteractionType(CUJ_NOTIFICATION_SHADE_EXPAND_COLLAPSE)), in testOtherFrameOverThreshold()
327 eq(Cuj.getStatsdInteractionType(CUJ_NOTIFICATION_SHADE_EXPAND_COLLAPSE)), in testLastFrameOverThresholdBeforeEnd()
369 eq(Cuj.getStatsdInteractionType(CUJ_NOTIFICATION_SHADE_EXPAND_COLLAPSE)), in testNoOvercountingAfterEnd()
[all …]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DInteractionJankMonitorWrapper.java23 import com.android.internal.jank.Cuj;
34 public static void begin(View v, @Cuj.CujType int cujType) { in begin()
46 public static void begin(View v, @Cuj.CujType int cujType, long timeout) { in begin()
61 public static void begin(View v, @Cuj.CujType int cujType, String tag) { in begin()
76 public static void end(@Cuj.CujType int cujType) { in end()
84 public static void cancel(@Cuj.CujType int cujType) { in cancel()
90 public static boolean isInstrumenting(@Cuj.CujType int cujType) { in isInstrumenting()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/gestural/
DBackPanelControllerTest.kt30 import com.android.internal.jank.Cuj
122 verify(interactionJankMonitor).cancel(Cuj.CUJ_BACK_PANEL_ARROW) in handlesBackCommitted()
124 .begin(mBackPanelController.getBackPanelView(), Cuj.CUJ_BACK_PANEL_ARROW) in handlesBackCommitted()
150 verify(interactionJankMonitor).end(Cuj.CUJ_BACK_PANEL_ARROW) in handlesBackCommitted()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/
DDialogTransitionAnimatorTest.kt18 import com.android.internal.jank.Cuj
205 cuj = DialogCuj(Cuj.CUJ_SHADE_DIALOG_OPEN) in testCujSpecificationLogsInteraction()
210 verify(kosmos.interactionJankMonitor).end(Cuj.CUJ_SHADE_DIALOG_OPEN) in testCujSpecificationLogsInteraction()
221 cuj = DialogCuj(Cuj.CUJ_USER_DIALOG_OPEN) in testShowFromDialogCujSpecificationLogsInteraction()
226 verify(kosmos.interactionJankMonitor).end(Cuj.CUJ_USER_DIALOG_OPEN) in testShowFromDialogCujSpecificationLogsInteraction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/interactor/
DMediaControlInteractor.kt27 import com.android.internal.jank.Cuj in <lambda>()
121 expandable.activityTransitionController(Cuj.CUJ_SHADE_APP_LAUNCH_FROM_MEDIA_PLAYER) in <lambda>()
182 DialogCuj(Cuj.CUJ_SHADE_DIALOG_OPEN, MediaOutputDialogManager.INTERACTION_JANK_TAG) in <lambda>()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/instrumentation/
DSettingsJankMonitorTest.java19 import static com.android.internal.jank.Cuj.CUJ_SETTINGS_TOGGLE;
37 import com.android.internal.jank.Cuj.CujType;
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DOneHandedDisplayAreaOrganizer.java19 import static com.android.internal.jank.Cuj.CUJ_ONE_HANDED_ENTER_TRANSITION;
20 import static com.android.internal.jank.Cuj.CUJ_ONE_HANDED_EXIT_TRANSITION;
40 import com.android.internal.jank.Cuj.CujType;
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DInteractionJankMonitorUtils.java26 import com.android.internal.jank.Cuj.CujType;
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/
DBackAnimationRunner.java32 import com.android.internal.jank.Cuj.CujType;
DCrossActivityBackAnimation.kt48 import com.android.internal.jank.Cuj in <lambda>()
83 BackAnimationRunner(Callback(), Runner(), context, Cuj.CUJ_PREDICTIVE_BACK_CROSS_ACTIVITY) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
DBackPanelController.kt36 import com.android.internal.jank.Cuj in <lambda>()
378 interactionJankMonitor.cancel(Cuj.CUJ_BACK_PANEL_ARROW) in <lambda>()
893 interactionJankMonitor.cancel(Cuj.CUJ_BACK_PANEL_ARROW) in <lambda>()
894 interactionJankMonitor.begin(mView, Cuj.CUJ_BACK_PANEL_ARROW) in <lambda>()
896 GestureState.GONE -> interactionJankMonitor.end(Cuj.CUJ_BACK_PANEL_ARROW) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DQuickSettingsControllerImpl.java59 import com.android.internal.jank.Cuj;
2335 Cuj.CUJ_NOTIFICATION_SHADE_EXPAND_COLLAPSE, in beginJankMonitoring()
2345 monitor.end(Cuj.CUJ_NOTIFICATION_SHADE_EXPAND_COLLAPSE); in endJankMonitoring()
2353 monitor.cancel(Cuj.CUJ_NOTIFICATION_SHADE_EXPAND_COLLAPSE); in cancelJankMonitoring()
2362 monitor.begin(mPanelView, Cuj.CUJ_NOTIFICATION_SHADE_QS_EXPAND_COLLAPSE); in traceQsJank()
2365 monitor.cancel(Cuj.CUJ_NOTIFICATION_SHADE_QS_EXPAND_COLLAPSE); in traceQsJank()
2367 monitor.end(Cuj.CUJ_NOTIFICATION_SHADE_QS_EXPAND_COLLAPSE); in traceQsJank()
/frameworks/base/core/java/android/view/inputmethod/
DImeTracker.java23 import static com.android.internal.jank.Cuj.CUJ_IME_INSETS_HIDE_ANIMATION;
24 import static com.android.internal.jank.Cuj.CUJ_IME_INSETS_SHOW_ANIMATION;
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DGhostedViewTransitionAnimatorController.kt37 import com.android.internal.jank.Cuj.CujType
DDialogTransitionAnimator.kt36 import com.android.internal.jank.Cuj.CujType in <lambda>()
/frameworks/base/boot/
Dpreloaded-classes11235 com.android.internal.jank.Cuj
Dboot-image-profile.txt33667 Lcom/android/internal/jank/Cuj;
/frameworks/base/config/
Dpreloaded-classes11266 com.android.internal.jank.Cuj
Dboot-image-profile.txt43828 Lcom/android/internal/jank/Cuj;