Home
last modified time | relevance | path

Searched refs:cuj (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/jank/
DCujTest.java77 final int cuj = getIntFieldChecked(f); in testCujNameLimit()
78 mExpect.withMessage(formatSimple("Too long CUJ(%d) name: %s", cuj, getNameOfCuj(cuj))) in testCujNameLimit()
79 .that(getNameOfCuj(cuj).length()) in testCujNameLimit()
118 final int cuj = getIntFieldChecked(f); in testCujsMapToEnumsCorrectly()
121 ENUM_NAME_EXCEPTION_MAP.getOrDefault(cuj, getEnumName(cujName.substring(4))); in testCujsMapToEnumsCorrectly()
122 final int enumKey = Cuj.getStatsdInteractionType(cuj); in testCujsMapToEnumsCorrectly()
124 final String expectedNameOfCuj = formatSimple("CUJ_%s", getNameOfCuj(cuj)); in testCujsMapToEnumsCorrectly()
127 formatSimple("%s (%d) not matches %s (%d)", cujName, cuj, enumName, enumKey)) in testCujsMapToEnumsCorrectly()
132 cuj, cujName, expectedNameOfCuj)) in testCujsMapToEnumsCorrectly()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardInputView.java74 protected AnimatorListenerAdapter getAnimationListener(int cuj) { in getAnimationListener() argument
86 InteractionJankMonitor.getInstance().cancel(cuj); in getAnimationListener()
88 InteractionJankMonitor.getInstance().end(cuj); in getAnimationListener()
94 InteractionJankMonitor.getInstance().begin(KeyguardInputView.this, cuj); in getAnimationListener()
DKeyguardSecurityContainer.java618 private void beginJankInstrument(int cuj) { in beginJankInstrument() argument
621 InteractionJankMonitor.getInstance().begin(securityView, cuj); in beginJankInstrument()
624 private void endJankInstrument(int cuj) { in endJankInstrument() argument
625 InteractionJankMonitor.getInstance().end(cuj); in endJankInstrument()
628 private void cancelJankInstrument(int cuj) { in cancelJankInstrument() argument
629 InteractionJankMonitor.getInstance().cancel(cuj); in cancelJankInstrument()
/frameworks/base/core/java/com/android/internal/jank/
DInteractionJankMonitor.java284 @Cuj.CujType int cuj, FrameTracker tracker, String action, @Reasons int reason) { in handleCujEvents()
288 removeTrackerIfCurrent(cuj, tracker, reason); in handleCujEvents()
477 @Cuj.CujType int cuj, Supplier<RunningTracker> supplier) { in putTrackerIfNoCurrent()
479 if (mRunningTrackers.contains(cuj)) { in putTrackerIfNoCurrent()
488 mRunningTrackers.put(cuj, tracker); in putTrackerIfNoCurrent()
490 mDebugOverlay.onTrackerAdded(cuj, tracker); in putTrackerIfNoCurrent()
497 private RunningTracker getTracker(@Cuj.CujType int cuj) { in getTracker() argument
499 return mRunningTrackers.get(cuj); in getTracker()
515 private boolean removeTrackerIfCurrent(@Cuj.CujType int cuj, FrameTracker tracker, int reason) { in removeTrackerIfCurrent() argument
517 RunningTracker running = mRunningTrackers.get(cuj); in removeTrackerIfCurrent()
[all …]
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DExpandable.kt67 fun dialogTransitionController(cuj: DialogCuj? = null): DialogTransitionAnimator.Controller? in dialogTransitionController()
95 cuj: DialogCuj? in dialogTransitionController()
97 return DialogTransitionAnimator.Controller.fromView(view, cuj) in dialogTransitionController()
DDialogTransitionAnimator.kt100 val cuj: DialogCuj? in <lambda>() constant
171 fun fromView(source: View, cuj: DialogCuj? = null): Controller? { in <lambda>()
192 return ViewDialogTransitionAnimatorController(source, cuj) in <lambda>()
221 cuj: DialogCuj? = null, in <lambda>()
224 val controller = Controller.fromView(view, cuj) in <lambda>()
265 Controller.fromView(it, controller.cuj) in <lambda>()
307 cuj: DialogCuj? = null, in <lambda>()
326 cuj = cuj in <lambda>()
586 val cuj = controller.cuj in start() constant
587 if (cuj != null) { in start()
[all …]
DViewDialogTransitionAnimatorController.kt32 override val cuj: DialogCuj?, constant in com.android.systemui.animation.ViewDialogTransitionAnimatorController
125 val type = cuj?.cujType ?: return null in jankConfigurationBuilder()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/ui/dialog/
DDialogShowerImpl.kt30 override fun showDialog(dialog: Dialog, cuj: DialogCuj) { in showDialog()
31 dialogTransitionAnimator.showFromDialog(dialog, animateFrom = animateFrom, cuj) in showDialog()
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/
DExpandableController.kt151 cuj: DialogCuj? in dialogTransitionController()
157 return dialogController(cuj) in dialogTransitionController()
305 private fun dialogController(cuj: DialogCuj?): DialogTransitionAnimator.Controller { in dialogController()
309 override val cuj: DialogCuj? = cuj in dialogController() constant
354 val type = cuj?.cujType ?: return null in dialogController()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/instrumentation/
DSettingsJankMonitorTest.java138 @CujType int cuj, @NonNull View view) { in withView()
139 assertThat(cuj).isEqualTo(CUJ_SETTINGS_TOGGLE); in withView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/mediaoutput/domain/interactor/
DMediaOutputActionsInteractor.kt48 cuj = in dialogController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DWindowManagerOcclusionManager.kt314 cuj: Int, in <lambda>()
319 cuj, in <lambda>()
DKeyguardViewMediator.java3276 private Configuration.Builder createInteractionJankMonitorConf(int cuj) {
3277 return createInteractionJankMonitorConf(cuj, null /* tag */);
3280 private Configuration.Builder createInteractionJankMonitorConf(int cuj, @Nullable String tag) {
3282 cuj, mKeyguardViewControllerLazy.get().getViewRootImpl().getView());
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/user/
DUserSwitchDialogController.kt118 fun showDialog(dialog: Dialog, cuj: DialogCuj) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/
DDialogTransitionAnimatorTest.kt205 cuj = DialogCuj(Cuj.CUJ_SHADE_DIALOG_OPEN) in testCujSpecificationLogsInteraction()
221 cuj = DialogCuj(Cuj.CUJ_USER_DIALOG_OPEN) in testShowFromDialogCujSpecificationLogsInteraction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/interactor/
DMediaControlInteractor.kt181 cuj = in <lambda>()