/aosp12/frameworks/native/services/surfaceflinger/tests/ |
H A D | ScreenCapture_test.cpp | 207 .show(child) in TEST_F() 208 .show(child2) in TEST_F() 238 .show(child) in TEST_F() 239 .show(child2) in TEST_F() 240 .show(child3) in TEST_F() 282 .show(child) in TEST_F() 305 .show(child) in TEST_F() 391 .show(child) in TEST_F() 431 .show(child) in TEST_F() 649 .show(layer) in TEST_F() [all …]
|
H A D | RelativeZ_test.cpp | 47 t.setLayer(mBackgroundLayer, INT32_MAX - 2).show(mBackgroundLayer); in SetUp() 48 t.setLayer(mForegroundLayer, INT32_MAX - 1).show(mForegroundLayer); in SetUp() 119 .show(childLevel2a) in TEST_F() 120 .show(childLevel2b) in TEST_F() 121 .show(childLevel3) in TEST_F() 163 .show(childLayer) in TEST_F() 164 .show(relativeToLayer) in TEST_F() 231 .show(childLevel1a) in TEST_F() 232 .show(childLevel1b) in TEST_F() 233 .show(childLevel2a) in TEST_F() [all …]
|
H A D | LayerUpdate_test.cpp | 256 t.show(mChild); in TEST_F() 286 t.show(mChild); in TEST_F() 302 t.show(mChild); in TEST_F() 374 t.show(mChild); in TEST_F() 459 t.show(mChild); in TEST_F() 490 t.show(mChild); in TEST_F() 522 t.show(newSurface); in TEST_F() 614 t.show(colorLayer); in TEST_F() 640 t.show(cropLayer); in TEST_F() 641 t.show(colorLayer); in TEST_F() [all …]
|
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/ui/ |
H A D | Snackbars.java | 40 Snackbars.makeSnackbar(activity, msg, Snackbar.LENGTH_LONG).show(); in showDocumentsClipped() 45 makeSnackbar(activity, message, Snackbar.LENGTH_LONG).show(); in showMove() 50 makeSnackbar(activity, message, Snackbar.LENGTH_LONG).show(); in showCopy() 55 makeSnackbar(activity, message, Snackbar.LENGTH_LONG).show(); in showCompress() 60 makeSnackbar(activity, message, Snackbar.LENGTH_LONG).show(); in showExtract() 65 makeSnackbar(activity, message, Snackbar.LENGTH_LONG).show(); in showDelete() 69 makeSnackbar(activity, R.string.file_operation_rejected, Snackbar.LENGTH_LONG).show(); in showOperationRejected() 73 makeSnackbar(activity, R.string.file_operation_error, Snackbar.LENGTH_LONG).show(); in showOperationFailed() 77 makeSnackbar(activity, R.string.rename_error, Snackbar.LENGTH_LONG).show(); in showRenameFailed() 83 Snackbar.make(view, R.string.inspector_load_error, Snackbar.LENGTH_INDEFINITE).show(); in showInspectorError() [all …]
|
/aosp12/frameworks/base/packages/SystemUI/docs/ |
H A D | demo_mode.md | 34 … | ```airplane``` | | ```show``` to show icon, any other value to hide 36 … | ```wifi``` | | ```show``` to show icon, any other value to hide 38 … | ```mobile``` | | ```show``` to show icon, any other value to hide 41 …obile signal icon to carrier network change UX when disconnected (```show``` to show icon, any oth… 43 … | ```nosim``` | | ```show``` to show icon, any other value to hide 52 …``` | | Sets the icon in the tty slot (```show```, any other value… 54 …``` | | Sets the icon in the mute slot (```show```, any other value… 57 … | | ```false``` to hide the notification icons, any other value to show 89 show -e level 4 163 wifi show -e level 4 [all …]
|
/aosp12/art/test/049-show-object/ |
H A D | Android.bp | 3 // Build rules for ART run-test `049-show-object`. 16 name: "art-run-test-049-show-object", 21 ":art-run-test-049-show-object-expected-stdout", 22 ":art-run-test-049-show-object-expected-stderr", 28 name: "art-run-test-049-show-object-expected-stdout", 29 out: ["art-run-test-049-show-object-expected-stdout.txt"], 36 name: "art-run-test-049-show-object-expected-stderr", 37 out: ["art-run-test-049-show-object-expected-stderr.txt"],
|
/aosp12/packages/services/Mtp/tests/src/com/android/mtp/ |
H A D | TestResultInstrumentation.java | 54 show("ERROR", test, t); in addError() 60 show("FAIL", test, t); in addFailure() 66 show("PASS", test, null); in endTest() 75 void show(String message) { in show() method in TestResultInstrumentation 76 TestResultActivity.show(getContext(), " " + message); in show() 79 private void show(String tag, Test test, Throwable t) { in show() method in TestResultInstrumentation 84 TestResultActivity.show( in show()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
H A D | KeyguardBouncerTest.java | 145 mBouncer.show(true); in testShow_notifiesFalsingManager() 163 mBouncer.show(true); in testShow_bouncerIsVisible() 169 mBouncer.show(true); in testShow_notifiesVisibility() 175 mBouncer.show(true); in testShow_notifiesVisibility() 181 mBouncer.show(true); in testShow_triesToDismissKeyguard() 187 mBouncer.show(false); in testShow_resetsSecuritySelection() 191 mBouncer.show(true); in testShow_resetsSecuritySelection() 197 mBouncer.show(true); in testShow_animatesKeyguardView() 205 mBouncer.show(true); in testShow_showsErrorMessage() 255 mBouncer.show(false); in testHide_notifiesDismissCallbackIfVisible() [all …]
|
/aosp12/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | FadeAnimationController.java | 67 public void fadeWindowToken(boolean show, WindowToken windowToken, int animationType) { in fadeWindowToken() argument 72 final FadeAnimationAdapter animationAdapter = createAdapter(show, windowToken); in fadeWindowToken() 79 final SurfaceAnimator.OnAnimationFinishedCallback finishedCallback = show ? (t, r) -> { in fadeWindowToken() 86 show /* hidden */, animationType, finishedCallback); in fadeWindowToken() local 89 protected FadeAnimationAdapter createAdapter(boolean show, WindowToken windowToken) { in createAdapter() argument 90 final Animation animation = show ? getFadeInAnimation() : getFadeOutAnimation(); in createAdapter() 99 windowAnimationSpec, windowToken.getSurfaceAnimationRunner(), show, windowToken); in createAdapter() 146 SurfaceAnimationRunner surfaceAnimationRunner, boolean show, in FadeAnimationAdapter() argument 149 mShow = show; in FadeAnimationAdapter()
|
H A D | NavBarFadeAnimationController.java | 72 protected FadeAnimationAdapter createAdapter(boolean show, WindowToken windowToken) { in createAdapter() argument 73 final Animation animation = show ? getFadeInAnimation() : getFadeOutAnimation(); in createAdapter() 81 windowAnimationSpec, windowToken.getSurfaceAnimationRunner(), show, windowToken, in createAdapter() 82 show ? mFadeInParent : mFadeOutParent); in createAdapter() 90 public void fadeWindowToken(boolean show) { in fadeWindowToken() argument 93 final Runnable fadeAnim = () -> fadeWindowToken(show, mNavigationBar.mToken, in fadeWindowToken() 101 if (show) { in fadeWindowToken() 140 SurfaceAnimationRunner surfaceAnimationRunner, boolean show, in NavFadeAnimationAdapter() argument 142 super(windowAnimationSpec, surfaceAnimationRunner, show, token); in NavFadeAnimationAdapter()
|
/aosp12/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/keyguard/ |
H A D | CarKeyguardViewControllerTest.java | 114 mCarKeyguardViewController.show(/* options= */ null); in onShow_bouncerIsSecure_showsBouncerWithSecuritySelectionReset() 123 mCarKeyguardViewController.show(/* options= */ null); in onShow_bouncerIsSecure_keyguardIsVisible() 131 mCarKeyguardViewController.show(/* options= */ null); in onShow_bouncerNotSecure_hidesBouncerAndDestroysTheView() 140 mCarKeyguardViewController.show(/* options= */ null); in onShow_bouncerNotSecure_keyguardIsNotVisible() 159 mCarKeyguardViewController.show(/* options= */ null); in onHide_keyguardShowing_hidesBouncerAndDestroysTheView() 175 mCarKeyguardViewController.show(/* options= */ null); in onHide_KeyguardNotVisible() 188 mCarKeyguardViewController.show(/* options= */ null); in setOccludedFalse_currentlyOccluded_showsKeyguard() 195 verify(mBouncer).show(true); in setOccludedFalse_currentlyOccluded_showsKeyguard() 201 mCarKeyguardViewController.show(/* options= */ null); in onCancelClicked_callsCancelClickedListener() 212 mCarKeyguardViewController.show(/* options= */ null); in onEnterSleepModeAndThenShowKeyguard_bouncerNotSecure_keyguardIsVisible() [all …]
|
/aosp12/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/ |
H A D | TestEnrollmentActivity.java | 76 .show(); in onEnrollButtonClicked() 78 Toast.makeText(this, "Failed to enroll!!!" + modelUuid, Toast.LENGTH_SHORT).show(); in onEnrollButtonClicked() 89 Toast.makeText(this, "Sound model not found!!!", Toast.LENGTH_SHORT).show(); in onUnEnrollButtonClicked() 96 .show(); in onUnEnrollButtonClicked() 98 Toast.makeText(this, "Failed to un-enroll!!!", Toast.LENGTH_SHORT).show(); in onUnEnrollButtonClicked() 109 Toast.makeText(this, "Sound model not found!!!", Toast.LENGTH_SHORT).show(); in onReEnrollButtonClicked() 121 .show(); in onReEnrollButtonClicked() 123 Toast.makeText(this, "Failed to re-enroll!!!", Toast.LENGTH_SHORT).show(); in onReEnrollButtonClicked()
|
/aosp12/art/test/100-reflect2/src/ |
H A D | Main.java | 128 show(f.get(null)); in testFieldReflection() 130 show(f.get(null)); in testFieldReflection() 132 show(f.get(null)); in testFieldReflection() 134 show(f.get(null)); in testFieldReflection() 136 show(f.get(null)); in testFieldReflection() 138 show(f.get(null)); in testFieldReflection() 140 show(f.get(null)); in testFieldReflection() 142 show(f.get(null)); in testFieldReflection() 199 show(m.invoke(null, 4444)); in testMethodReflection() 229 show(m.invoke(null)); in testMethodReflection() [all …]
|
/aosp12/packages/services/Telephony/testapps/EmbmsTestDownloadApp/src/com/android/phone/testapps/embmsdownload/ |
H A D | EmbmsTestDownloadApp.java | 171 Toast.LENGTH_SHORT).show()); 178 "Initialization done", Toast.LENGTH_SHORT).show()); 249 "No download service bound", Toast.LENGTH_SHORT).show(); in onCreate() 256 "No file service selected", Toast.LENGTH_SHORT).show(); in onCreate() 288 "No download service bound", Toast.LENGTH_SHORT).show(); in onCreate() 302 "No download service bound", Toast.LENGTH_SHORT).show(); in onCreate() 320 .show(); in onCreate() 346 Toast.LENGTH_SHORT).show(); in onCreate() 373 Toast.LENGTH_SHORT).show(); in onCreate() 386 .show(); in onCreate() [all …]
|
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
H A D | ConversationInputManager.java | 64 void showHideSimSelector(boolean show); in showHideSimSelector() argument 192 showHideInternal(mMediaInput, show, animate); in showHideMediaPicker() 206 showHideInternal(mImeInput, show, animate); in showHideImeKeyboard() 267 if (target.mShowing == show) { in showHideInternal() 272 if (!show) { in showHideInternal() 275 success = target.show(animate); in showHideInternal() 279 target.onVisibilityChanged(show); in showHideInternal() 350 public boolean show(boolean animate) { in show() method in ConversationInputManager.ConversationMediaPicker 516 public boolean show(boolean animate) { in show() method in ConversationInputManager.SimSelector 517 final boolean result = super.show(animate); in show() [all …]
|
H A D | ConversationSimSelector.java | 51 final boolean show = mPendingShow.first; in onSubscriptionListDataLoaded() 58 show, animate); in onSubscriptionListDataLoaded() 80 public boolean show(boolean animate) { in show() method in ConversationSimSelector 90 private boolean showHide(final boolean show, final boolean animate) { in showHide() argument 96 mSimSelectorView.showOrHide(show, animate); in showHide() 97 return mSimSelectorView.isOpen() == show; in showHide() 99 mPendingShow = Pair.create(show, animate); in showHide()
|
/aosp12/frameworks/base/core/java/android/service/notification/ |
H A D | ZenPolicy.java | 691 show ? STATE_ALLOW : STATE_DISALLOW); in showFullScreenIntent() 701 show ? STATE_ALLOW : STATE_DISALLOW); in showLights() 710 show ? STATE_ALLOW : STATE_DISALLOW); in showPeeking() 720 show ? STATE_ALLOW : STATE_DISALLOW); in showStatusBarIcons() 763 showFullScreenIntent(show); in showVisualEffect() 766 showLights(show); in showVisualEffect() 769 showPeeking(show); in showVisualEffect() 772 showStatusBarIcons(show); in showVisualEffect() 775 showBadges(show); in showVisualEffect() 778 showInAmbientDisplay(show); in showVisualEffect() [all …]
|
/aosp12/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/dialogs/ |
H A D | DialogsActivity.java | 119 .show(); in showDialog() 127 .show(); in showDialogWithIcon() 133 .show(); in showDialogWithNoButtonProvided() 148 .show(); in showDialogWithCheckbox() 159 .show(); in showDialogWithTextBox() 168 .show(); in showDialogWithOnlyPositiveButton() 178 .show(); in showDialogWithoutTitle() 190 .show(); in showDialogWithSubtitle() 212 .show(); in showDialogWithSingleChoiceItems() 240 .show(); in showDialogWithListItemsWithoutDefaultButton() [all …]
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/ |
H A D | PrivacyDialogTest.kt | 81 dialog.show() 91 dialog.show() 102 dialog.show() 136 dialog.show() 156 dialog.show() 182 dialog.show() 208 dialog.show() 230 dialog.show() 252 dialog.show() 273 dialog.show()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | PendingInsetsControllerTest.java | 69 mPendingInsetsController.show(systemBars()); in testShow() 71 verify(mReplayedController).show(eq(systemBars())); in testShow() 77 mPendingInsetsController.show(systemBars()); in testShow_direct() 78 verify(mReplayedController).show(eq(systemBars())); in testShow_direct() 202 mPendingInsetsController.show(systemBars()); in testReplayTwice() 211 verify(mReplayedController).show(eq(systemBars())); in testReplayTwice() 217 mPendingInsetsController.show(systemBars()); in testDetachReattach() 223 mPendingInsetsController.show(navigationBars()); in testDetachReattach() 227 verify(mReplayedController).show(eq(systemBars())); in testDetachReattach() 228 verify(secondController).show(eq(navigationBars())); in testDetachReattach()
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
H A D | DisplayImeController.java | 300 t.show(leash); in applyVisibilityToLeash() 369 final boolean isFloating = calcIsFloating(imeSource) && show; in startAnimation() 382 Slog.d(TAG, "Run startAnim show:" + show + " was:" in startAnimation() 387 || (mAnimationDirection == DIRECTION_HIDE && !show)) { in startAnimation() 403 final float startY = show ? hiddenY : shownY; in startAnimation() 404 final float endY = show ? shownY : hiddenY; in startAnimation() 410 mAnimationDirection = show ? DIRECTION_SHOW : DIRECTION_HIDE; in startAnimation() 411 updateImeVisibility(show); in startAnimation() 451 t.show(mImeSourceControl.getLeash()); in startAnimation() 482 if (!show) { in startAnimation() [all …]
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
H A D | SetupSkipDialogTest.java | 50 setupSkipDialog.show(mActivity.getSupportFragmentManager()); in frpMessages_areShownCorrectly_whenNotSupported() 65 setupSkipDialog.show(mActivity.getSupportFragmentManager()); in frpMessages_areShownCorrectly_whenSupported() 80 setupSkipDialog.show(mActivity.getSupportFragmentManager()); in dialogMessage_whenSkipPinSetupForFace_shouldShownCorrectly() 95 setupSkipDialog.show(mActivity.getSupportFragmentManager()); in dialogMessage_whenSkipPasswordSetupForFace_shouldShownCorrectly() 110 setupSkipDialog.show(mActivity.getSupportFragmentManager()); in dialogMessage_whenSkipPatternSetupForFace_shouldShownCorrectly() 125 setupSkipDialog.show(mActivity.getSupportFragmentManager()); in dialogMessage_whenSkipPinSetupForFingerprint_shouldShownCorrectly() 140 setupSkipDialog.show(mActivity.getSupportFragmentManager()); in dialogMessage_whenSkipPasswordSetupForFingerprint_shouldShownCorrectly() 155 setupSkipDialog.show(mActivity.getSupportFragmentManager()); in dialogMessage_whenSkipPatternSetupForFingerprint_shouldShownCorrectly() 171 setupSkipDialog.show(mActivity.getSupportFragmentManager()); in dialogMessage_whenSkipPinSetupForBiometrics_shouldShownCorrectly() 186 setupSkipDialog.show(mActivity.getSupportFragmentManager()); in dialogMessage_whenSkipPasswordSetupForBiometrics_shouldShownCorrectly() [all …]
|
/aosp12/packages/services/Telephony/testapps/SmsManagerTestApp/src/com/android/phone/testapps/smsmanagertestapp/ |
H A D | SmsManagerTestApp.java | 116 Toast.makeText(this, "read_phone_state denied.", Toast.LENGTH_SHORT).show(); in onRequestPermissionsResult() 136 Toast.LENGTH_LONG).show(); in onActivityResult() 139 Toast.LENGTH_SHORT).show(); in onActivityResult() 151 Toast.LENGTH_SHORT).show(); in sendOutgoingSms() 167 Toast.LENGTH_SHORT).show(); in sendOutgoingSmsService() 192 Toast.LENGTH_SHORT).show(); in getSubIdForResult() 214 Toast.LENGTH_SHORT).show(); in checkSingleRegPermission() 217 Toast.LENGTH_SHORT).show(); in checkSingleRegPermission() 242 Toast.LENGTH_LONG).show(); in getPhoneNumber()
|
/aosp12/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
H A D | ToastTest.java | 90 mToast1.show(); 104 mToast1.show(); 114 mToast1.show(); 128 mToast2.show(); 137 toast.show(); 147 toast.show();
|
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | MoveScreensaverRunnable.kt | 110 val show = AnimatorSet() regex 111 show.duration = FADE_TIME 112 show.interpolator = mDeceleration 113 show.play(AnimatorUtils.getAlphaAnimator(mSaverView, 0f, 1f)) 115 show.addListener(object : AnimatorListenerAdapter() { 124 all.play(show).after(hide)
|