/frameworks/base/services/core/java/com/android/server/wm/ |
D | NavBarFadeAnimationController.java | 71 protected FadeAnimationAdapter createAdapter(boolean show, WindowToken windowToken) { in createAdapter() argument 72 final Animation animation = show ? getFadeInAnimation() : getFadeOutAnimation(); in createAdapter() 80 windowAnimationSpec, windowToken.getSurfaceAnimationRunner(), show, windowToken, in createAdapter() 81 show ? mFadeInParent : mFadeOutParent); in createAdapter() 89 public void fadeWindowToken(boolean show) { in fadeWindowToken() argument 92 final Runnable fadeAnim = () -> fadeWindowToken(show, mNavigationBar.mToken, in fadeWindowToken() 100 if (show) { in fadeWindowToken() 139 SurfaceAnimationRunner surfaceAnimationRunner, boolean show, in NavFadeAnimationAdapter() argument 141 super(windowAnimationSpec, surfaceAnimationRunner, show, token); in NavFadeAnimationAdapter()
|
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()
|
D | InsetsPolicy.java | 434 void startAnimation(boolean show, Runnable callback) { in startAnimation() argument 448 controlAnimationUnchecked(typesReady, controls, show, callback); in startAnimation() 452 SparseArray<InsetsSourceControl> controls, boolean show, Runnable callback) { in controlAnimationUnchecked() argument 454 new InsetsPolicyAnimationControlListener(show, callback, typesReady); in controlAnimationUnchecked() 455 listener.mControlCallbacks.controlAnimationUnchecked(typesReady, controls, show); in controlAnimationUnchecked() 488 InsetsPolicyAnimationControlListener(boolean show, Runnable finishCallback, int types) { in InsetsPolicyAnimationControlListener() argument 489 super(show, false /* hasCallbacks */, types, BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPE, in InsetsPolicyAnimationControlListener() 513 SparseArray<InsetsSourceControl> controls, boolean show) { in controlAnimationUnchecked() argument 518 mAnimatingShown = show; in controlAnimationUnchecked() 527 show ? ANIMATION_TYPE_SHOW : ANIMATION_TYPE_HIDE, show in controlAnimationUnchecked()
|
/frameworks/base/packages/SystemUI/docs/ |
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 49 …``` | | Sets the icon in the location slot (```show```, any other value… 50 … | | Sets the icon in the alarm_clock slot (```show```, any other value… 51 … | | Sets the icon in the sync_active slot (```show```, any other value… 52 …``` | | Sets the icon in the tty slot (```show```, any other value… 53 … | | Sets the icon in the cdma_eri slot (```show```, any other value… [all …]
|
/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/ |
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()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | KeyguardBouncerTest.java | 145 mBouncer.show(true); in testShow_notifiesFalsingManager() 148 mBouncer.show(true, false); 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() [all …]
|
D | StatusBarKeyguardViewManagerTest.java | 140 mStatusBarKeyguardViewManager.show(null); in setUp() 156 verify(mBouncer, never()).show(anyBoolean(), anyBoolean()); in showBouncer_onlyWhenShowing() 157 verify(mBouncer, never()).show(anyBoolean()); in showBouncer_onlyWhenShowing() 165 verify(mBouncer, never()).show(anyBoolean(), anyBoolean()); in showBouncer_notWhenBouncerAlreadyShowing() 166 verify(mBouncer, never()).show(anyBoolean()); in showBouncer_notWhenBouncerAlreadyShowing() 172 verify(mBouncer).show(anyBoolean(), eq(true)); in showBouncer_showsTheBouncer() 213 verify(mBouncer).show(eq(false), eq(false)); in onPanelExpansionChanged_showsBouncerWhenSwiping() 219 verify(mBouncer, never()).show(eq(false), eq(false)); in onPanelExpansionChanged_showsBouncerWhenSwiping() 225 verify(mBouncer, never()).show(eq(false), eq(false)); in onPanelExpansionChanged_showsBouncerWhenSwiping()
|
/frameworks/native/services/surfaceflinger/tests/ |
D | ScreenCapture_test.cpp | 58 t.setLayer(mBGSurfaceControl, INT32_MAX - 2).show(mBGSurfaceControl); in SetUp() 62 .show(mFGSurfaceControl); in SetUp() 85 Transaction().show(layer).setLayer(layer, INT32_MAX).apply(true); in TEST_F() 130 Transaction().show(parentLayer).setLayer(parentLayer, INT32_MAX).show(childLayer).apply(true); in TEST_F() 165 SurfaceComposerClient::Transaction().show(child).apply(true); in TEST_F() 182 SurfaceComposerClient::Transaction().show(child).apply(true); in TEST_F() 204 .show(child) in TEST_F() 205 .show(child2) in TEST_F() 235 .show(child) in TEST_F() 236 .show(child2) in TEST_F() [all …]
|
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() 73 Transaction{}.setRelativeLayer(childLayer, mForegroundLayer, 1).show(childLayer).apply(); in TEST_F() 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() [all …]
|
D | LayerUpdate_test.cpp | 68 t.setLayer(mBGSurfaceControl, INT32_MAX - 2).show(mBGSurfaceControl); in SetUp() 72 .show(mFGSurfaceControl); in SetUp() 77 .show(mSyncSurfaceControl); in SetUp() 166 .show(childNoBuffer) in TEST_F() 167 .show(childBuffer) in TEST_F() 218 t1.show(mFGSurfaceControl); in TEST_F() 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() [all …]
|
D | EffectLayer_test.cpp | 37 t.setLayer(mParentLayer, INT32_MAX - 2).show(mParentLayer); in SetUp() 59 t.show(effectLayer); in TEST_F() 80 t.show(effectLayer); in TEST_F() 104 t.show(effectLayer); in TEST_F() 134 t.show(leftLayer); in TEST_F() 135 t.show(rightLayer); in TEST_F() 153 t.show(blurLayer); in TEST_F()
|
D | MirrorLayer_test.cpp | 40 t.setLayer(mParentLayer, INT32_MAX - 2).show(mParentLayer); in SetUp() 41 t.setCrop(mChildLayer, Rect(0, 0, 400, 400)).show(mChildLayer); in SetUp() 64 .show(grandchild) in TEST_F() 75 .show(mirrorLayer) in TEST_F() 158 Transaction().show(bufferQueueLayer).apply(); in TEST_F() 164 .show(mirrorLayer) in TEST_F() 200 Transaction().show(bufferStateLayer).apply(); in TEST_F() 251 .show(mirrorLayer) in TEST_F()
|
D | LayerTypeTransaction_test.cpp | 86 .show(childLayer) in TEST_P() 87 .show(parent) in TEST_P() 132 .show(childLayer) in TEST_P() 133 .show(parent) in TEST_P() 134 .show(relativeParent) in TEST_P()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/ |
D | PrivacyDialogTest.kt | 81 dialog.show() in testStarterCalledWithCorrectParams() 91 dialog.show() in testDismissListenerCalledOnDismiss() 102 dialog.show() in testDismissListenerCalledImmediatelyIfDialogAlreadyDismissed() 136 dialog.show() in testCorrectNumElements() 156 dialog.show() in testUsingText() 182 dialog.show() in testRecentText() 208 dialog.show() in testEnterprise() 230 dialog.show() in testPhoneCall() 252 dialog.show() in testPhoneCallNotClickable() 273 dialog.show() in testAttribution()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
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()
|
D | InsetsControllerTest.java | 128 public void show(boolean fromIme) { in setup() 129 super.show(fromIme); in setup() 239 mController.show(Type.ime(), true /* fromIme */); in testAnimationEndState() 240 mController.show(Type.all()); in testAnimationEndState() 264 mController.show(Type.ime(), true /* fromIme */); in testApplyImeVisibility() 296 mController.show(types); in testShowHideSelectively() 317 mController.show(types); in testShowHideSingle() 331 mController.show(Type.navigationBars()); in testShowHideSingle() 365 mController.show(Type.navigationBars()); in testShowHideMultiple() 366 mController.show(Type.systemBars()); in testShowHideMultiple() [all …]
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | ToastTest.java | 90 mToast1.show(); 104 mToast1.show(); 114 mToast1.show(); 128 mToast2.show(); 137 toast.show(); 147 toast.show();
|
/frameworks/base/core/java/android/service/notification/ |
D | ZenPolicy.java | 689 public @NonNull Builder showFullScreenIntent(boolean show) { in showFullScreenIntent() argument 691 show ? STATE_ALLOW : STATE_DISALLOW); in showFullScreenIntent() 699 public @NonNull Builder showLights(boolean show) { in showLights() argument 701 show ? STATE_ALLOW : STATE_DISALLOW); in showLights() 708 public @NonNull Builder showPeeking(boolean show) { in showPeeking() argument 710 show ? STATE_ALLOW : STATE_DISALLOW); in showPeeking() 718 public @NonNull Builder showStatusBarIcons(boolean show) { in showStatusBarIcons() argument 720 show ? STATE_ALLOW : STATE_DISALLOW); in showStatusBarIcons() 728 public @NonNull Builder showBadges(boolean show) { in showBadges() argument 730 show ? STATE_ALLOW : STATE_DISALLOW); in showBadges() [all …]
|
/frameworks/base/tools/stringslint/ |
D | stringslint_sha.sh | 3 git show --name-only --pretty=format: $1 | grep values/strings.xml | while read file; do 4 python3 $LOCAL_DIR/stringslint.py <(git show $1:$file) <(git show $1^:$file)
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | DisplayImeController.java | 140 boolean show, boolean isFloating, SurfaceControl.Transaction t) { in dispatchStartPositioning() argument 145 displayId, hiddenTop, shownTop, show, isFloating, t); in dispatchStartPositioning() 295 t.show(leash); in applyVisibilityToLeash() 354 private void startAnimation(final boolean show, final boolean forceRestart) { in startAnimation() argument 360 final boolean isFloating = calcIsFloating(imeSource) && show; in startAnimation() 373 Slog.d(TAG, "Run startAnim show:" + show + " was:" in startAnimation() 377 if (!forceRestart && (mAnimationDirection == DIRECTION_SHOW && show) in startAnimation() 378 || (mAnimationDirection == DIRECTION_HIDE && !show)) { in startAnimation() 394 final float startY = show ? hiddenY : shownY; in startAnimation() 395 final float endY = show ? shownY : hiddenY; in startAnimation() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSPanel.java | 455 public void showDetailAdapter(boolean show, DetailAdapter adapter, int[] locationInWindow) { in showDetailAdapter() argument 468 showDetail(show, r); in showDetailAdapter() 471 protected void showDetail(boolean show, Record r) { in showDetail() argument 472 mHandler.obtainMessage(H.SHOW_DETAIL, show ? 1 : 0, 0, r).sendToTarget(); in showDetail() 503 public void onShowDetail(boolean show) { in addTile() 507 QSPanel.this.showDetail(show, tileRecord); in addTile() 557 protected void handleShowDetail(Record r, boolean show) { in handleShowDetail() argument 559 handleShowDetailTile((QSPanelControllerBase.TileRecord) r, show); in handleShowDetail() local 567 handleShowDetailImpl(r, show, x, y); in handleShowDetail() 571 private void handleShowDetailTile(QSPanelControllerBase.TileRecord r, boolean show) { in handleShowDetailTile() argument [all …]
|
/frameworks/base/core/java/android/widget/ |
D | MediaController.java | 333 public void show() { in show() method in MediaController 334 show(sDefaultTimeout); in show() 376 public void show(int timeout) { in show() method in MediaController 482 show(0); // show until hide is called in onTouchEvent() 485 show(sDefaultTimeout); // start timeout in onTouchEvent() 498 show(sDefaultTimeout); in onTrackballEvent() 512 show(sDefaultTimeout); in dispatchKeyEvent() 522 show(sDefaultTimeout); in dispatchKeyEvent() 530 show(sDefaultTimeout); in dispatchKeyEvent() 546 show(sDefaultTimeout); in dispatchKeyEvent() [all …]
|
/frameworks/base/core/java/android/app/ |
D | ProgressDialog.java | 130 public static ProgressDialog show(Context context, CharSequence title, in show() method in ProgressDialog 132 return show(context, title, message, false); in show() 145 public static ProgressDialog show(Context context, CharSequence title, in show() method in ProgressDialog 147 return show(context, title, message, indeterminate, false, null); in show() 162 public static ProgressDialog show(Context context, CharSequence title, in show() method in ProgressDialog 164 return show(context, title, message, indeterminate, cancelable, null); in show() 181 public static ProgressDialog show(Context context, CharSequence title, in show() method in ProgressDialog 190 dialog.show(); in show()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/users/ |
D | EditUserInfoControllerTest.java | 126 dialog.show(); in userNameView_inputLongName_shouldBeConstrained() 141 dialog.show(); in cancelCallback_isCalled_whenCancelled() 157 dialog.show(); in cancelCallback_isCalled_whenNegativeClicked() 176 dialog.show(); in successCallback_isCalled_whenNothingChanged() 194 dialog.show(); in successCallback_calledWithNullIcon_whenOldIconIsNullAndNothingChanged() 212 dialog.show(); in successCallback_isCalled_whenLabelChanges() 234 dialog.show(); in successCallback_isCalled_whenPhotoChanges() 253 dialog.show(); in successCallback_isCalledWithChangedPhoto_whenOldIconIsNullAndPhotoChanges()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardDisplayManagerTest.java | 100 mManager.show(); in testShow_defaultDisplayOnly() 108 mManager.show(); in testShow_includeSecondaryDisplay() 117 mManager.show(); in testShow_includeNonDefaultGroupDisplay() 126 mManager.show(); in testShow_includeSecondaryAndNonDefaultGroupDisplays()
|