Home
last modified time | relevance | path

Searched refs:show (Results 1 – 25 of 410) sorted by relevance

12345678910>>...17

/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DTestResultInstrumentation.java54 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()
DMtpManagerTest.java87 getInstrumentation().show(Arrays.toString(records[0].operationsSupported)); in testOperationsSupported()
94 getInstrumentation().show(Arrays.toString(records[0].eventsSupported)); in testEventsSupported()
101 getInstrumentation().show("deviceKey: " + records[0].deviceKey); in testDeviceKey()
106 getInstrumentation().show("Please take a photo by using connected MTP device."); in testEventObjectAdded()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DKeyguardBouncerTest.java121 mBouncer.show(true); in testShow_notifiesFalsingManager()
124 mBouncer.show(true, false); in testShow_notifiesFalsingManager()
140 mBouncer.show(true); in testShow_bouncerIsVisible()
147 mBouncer.show(true); in testShow_notifiesVisibility()
153 mBouncer.show(true); in testShow_notifiesVisibility()
159 mBouncer.show(true); in testShow_triesToDismissKeyguard()
165 mBouncer.show(false); in testShow_resetsSecuritySelection()
169 mBouncer.show(true); in testShow_resetsSecuritySelection()
175 mBouncer.show(true); in testShow_animatesKeyguardView()
183 mBouncer.show(true); in testShow_showsErrorMessage()
[all …]
DStatusBarKeyguardViewManagerTest.java100 mStatusBarKeyguardViewManager.show(null); in setUp()
116 verify(mBouncer, never()).show(anyBoolean(), anyBoolean()); in showBouncer_onlyWhenShowing()
117 verify(mBouncer, never()).show(anyBoolean()); in showBouncer_onlyWhenShowing()
125 verify(mBouncer, never()).show(anyBoolean(), anyBoolean()); in showBouncer_notWhenBouncerAlreadyShowing()
126 verify(mBouncer, never()).show(anyBoolean()); in showBouncer_notWhenBouncerAlreadyShowing()
132 verify(mBouncer).show(anyBoolean(), eq(true)); in showBouncer_showsTheBouncer()
173 verify(mBouncer).show(eq(false), eq(false)); in onPanelExpansionChanged_showsBouncerWhenSwiping()
179 verify(mBouncer, never()).show(eq(false), eq(false)); in onPanelExpansionChanged_showsBouncerWhenSwiping()
185 verify(mBouncer, never()).show(eq(false), eq(false)); in onPanelExpansionChanged_showsBouncerWhenSwiping()
/frameworks/base/packages/SystemUI/docs/
Ddemo_mode.md34 … | ```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/
DTestEnrollmentActivity.java71 .show(); in onEnrollButtonClicked()
73 Toast.makeText(this, "Failed to enroll!!!" + modelUuid, Toast.LENGTH_SHORT).show(); in onEnrollButtonClicked()
84 Toast.makeText(this, "Sound model not found!!!", Toast.LENGTH_SHORT).show(); in onUnEnrollButtonClicked()
91 .show(); in onUnEnrollButtonClicked()
93 Toast.makeText(this, "Failed to un-enroll!!!", Toast.LENGTH_SHORT).show(); in onUnEnrollButtonClicked()
104 Toast.makeText(this, "Sound model not found!!!", Toast.LENGTH_SHORT).show(); in onReEnrollButtonClicked()
116 .show(); in onReEnrollButtonClicked()
118 Toast.makeText(this, "Failed to re-enroll!!!", Toast.LENGTH_SHORT).show(); in onReEnrollButtonClicked()
/frameworks/base/core/java/android/service/notification/
DZenPolicy.java605 public @NonNull Builder showFullScreenIntent(boolean show) { in showFullScreenIntent() argument
607 show ? STATE_ALLOW : STATE_DISALLOW); in showFullScreenIntent()
615 public @NonNull Builder showLights(boolean show) { in showLights() argument
617 show ? STATE_ALLOW : STATE_DISALLOW); in showLights()
624 public @NonNull Builder showPeeking(boolean show) { in showPeeking() argument
626 show ? STATE_ALLOW : STATE_DISALLOW); in showPeeking()
634 public @NonNull Builder showStatusBarIcons(boolean show) { in showStatusBarIcons() argument
636 show ? STATE_ALLOW : STATE_DISALLOW); in showStatusBarIcons()
644 public @NonNull Builder showBadges(boolean show) { in showBadges() argument
646 show ? STATE_ALLOW : STATE_DISALLOW); in showBadges()
[all …]
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DToastTest.java90 mToast1.show();
104 mToast1.show();
114 mToast1.show();
128 mToast2.show();
137 toast.show();
147 toast.show();
/frameworks/base/tools/hiddenapi/
Dchecksorted_sha.sh4 git show --name-only --pretty=format: $1 | grep "config/hiddenapi-.*txt" | while read file; do
5 diff <(git show $1:$file) <(git show $1:$file | $LOCAL_DIR/sort_api.sh ) || {
Dexclude.sh37 git show --name-only --pretty=format: $1 | grep "config/hiddenapi-.*txt" | while read file; do
38 ENTRIES=$(grep -E "^L(${RE})/" <(git show $1:$file))
/frameworks/base/tools/stringslint/
Dstringslint_sha.sh3 git show --name-only --pretty=format: $1 | grep values/strings.xml | while read file; do
4 python $LOCAL_DIR/stringslint.py <(git show $1:$file) <(git show $1^:$file)
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSPanel.java402 public void showDetailAdapter(boolean show, DetailAdapter adapter, int[] locationInWindow) { in showDetailAdapter() argument
415 showDetail(show, r); in showDetailAdapter()
418 protected void showDetail(boolean show, Record r) { in showDetail() argument
419 mHandler.obtainMessage(H.SHOW_DETAIL, show ? 1 : 0, 0, r).sendToTarget(); in showDetail()
463 public void onShowDetail(boolean show) { in addTile()
467 QSPanel.this.showDetail(show, r); in addTile()
517 mCustomizePanel.show(x, y); in showEdit()
538 protected void handleShowDetail(Record r, boolean show) { in handleShowDetail() argument
540 handleShowDetailTile((TileRecord) r, show); in handleShowDetail() local
548 handleShowDetailImpl(r, show, x, y); in handleShowDetail()
[all …]
/frameworks/base/core/java/android/widget/
DMediaController.java333 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/
DProgressDialog.java130 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/cmds/statsd/tools/dogfood/src/com/android/statsd/dogfood/
DMainActivity.java205 MainActivity.this, "Config pushed", Toast.LENGTH_LONG).show(); in onCreate()
208 Toast.LENGTH_LONG).show(); in onCreate()
231 .show(); in onCreate()
235 .show(); in onCreate()
254 .show(); in onCreate()
258 .show(); in onCreate()
273 Toast.makeText(MainActivity.this, "Statsd NOT running!", Toast.LENGTH_LONG).show(); in statsdRunning()
327 Toast.makeText(this, sb.toString(), Toast.LENGTH_LONG).show(); in onWakeLockAcquire()
343 Toast.makeText(this, sb.toString(), Toast.LENGTH_LONG).show(); in onWakeLockRelease()
/frameworks/base/core/java/android/view/
DInsetsController.java223 public void show(@InsetType int types) { in show() method in InsetsController
224 show(types, false /* fromIme */); in show()
227 private void show(@InsetType int types, boolean fromIme) { in show() method in InsetsController
460 show(Type.IME, true /* fromIme */); in applyImeVisibility()
494 private void applyAnimation(@InsetType final int types, boolean show, boolean fromIme) { in applyAnimation() argument
508 if (show) { in applyAnimation()
517 show ? controller.getHiddenStateInsets() : controller.getShownStateInsets(), in applyAnimation()
518 show ? controller.getShownStateInsets() : controller.getHiddenStateInsets() in applyAnimation()
520 mAnimator.setDuration(show in applyAnimation()
541 mController.finish(show ? types : 0); in applyAnimation()
[all …]
DWindowInsetsController.java43 void show(@InsetType int types); in show() method
94 show(ime()); in showInputMethod()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSystemUIDialog.java58 public void setShowForAllUsers(boolean show) { in setShowForAllUsers() argument
59 setShowForAllUsers(this, show); in setShowForAllUsers()
78 public static void setShowForAllUsers(Dialog dialog, boolean show) { in setShowForAllUsers() argument
79 if (show) { in setShowForAllUsers()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationSnooze.java294 private void showSnoozeOptions(boolean show) { in showSnoozeOptions() argument
295 int drawableId = show ? com.android.internal.R.drawable.ic_collapse_notification in showSnoozeOptions()
298 if (mExpanded != show) { in showSnoozeOptions()
299 mExpanded = show; in showSnoozeOptions()
300 animateSnoozeOptions(show); in showSnoozeOptions()
307 private void animateSnoozeOptions(boolean show) { in animateSnoozeOptions() argument
312 mDivider.getAlpha(), show ? 1f : 0f); in animateSnoozeOptions()
314 mSnoozeOptionContainer.getAlpha(), show ? 1f : 0f); in animateSnoozeOptions()
319 mExpandAnimation.setInterpolator(show ? Interpolators.ALPHA_IN : Interpolators.ALPHA_OUT); in animateSnoozeOptions()
330 if (!show && !cancelled) { in animateSnoozeOptions()
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
DUsageStatsActivity.java75 Toast.makeText(this, "Timeout of observed app\n" + extras, Toast.LENGTH_SHORT).show(); in onCreate()
84 Toast.makeText(this, "Timeout of observed app\n" + extras, Toast.LENGTH_SHORT).show(); in onNewIntent()
144 builder.show(); in callIsAppInactive()
178 builder.show(); in callSetAppLimit()
212 builder.show(); in callSetAppUsageLimit()
220 builder.show(); in showInactive()
287 Toast.LENGTH_SHORT).show(); in getView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistOrbContainer.java58 public void show(final boolean show, boolean animate) { in show() method in AssistOrbContainer
59 if (show) { in show()
/frameworks/base/core/tests/coretests/src/android/view/
DInsetsControllerTest.java150 mController.show(Type.all()); in testAnimationEndState()
195 mController.show(types); in testShowHideSelectively()
221 mController.show(types); in testShowHideSingle()
235 mController.show(Type.sideBars()); in testShowHideSingle()
260 mController.show(Type.sideBars()); in testShowHideMultiple()
261 mController.show(Type.systemBars()); in testShowHideMultiple()
276 mController.show(types); in testShowHideMultiple()
302 mController.show(types); in testShowMultipleHideOneByOne()
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DSFFakeHwc_test.cpp322 .show(surfaceControl); in TEST_F()
358 .show(surfaceControl); in TEST_F()
510 t.show(mBGSurfaceControl); in SetUp()
514 t.show(mFGSurfaceControl); in SetUp()
703 ts.show(mFGSurfaceControl); in TEST_F()
809 ts.show(syncSurfaceControl); in TEST_F()
875 ts.show(relativeSurfaceControl); in TEST_F()
925 ts.show(mChild); in TEST_F()
952 ts.show(mChild); in TEST_F()
971 ts.show(mChild); in TEST_F()
[all …]
/frameworks/native/libs/gui/tests/
DSamplingDemo.cpp54 .show(mButton) in Button()
69 .show(mButtonBlend) in Button()
84 .show(mSamplingArea) in Button()
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DObjectViewer.java85 Toast.LENGTH_SHORT).show(); in onScanCompleted()
178 Toast.makeText(this, R.string.object_saved_message, Toast.LENGTH_SHORT).show(); in importObject()
183 Toast.makeText(this, R.string.save_failed_message, Toast.LENGTH_SHORT).show(); in importObject()
189 Toast.makeText(this, R.string.object_deleted_message, Toast.LENGTH_SHORT).show(); in deleteObject()
192 Toast.makeText(this, R.string.delete_failed_message, Toast.LENGTH_SHORT).show(); in deleteObject()

12345678910>>...17