/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/ |
D | SnackbarUsage.java | 48 Snackbar.make(mContentView, "Short snackbar message", Snackbar.LENGTH_SHORT).show(); in showShort() 52 Snackbar.make(mContentView, "Short snackbar message", Snackbar.LENGTH_SHORT) in showAction() 57 Toast.LENGTH_SHORT).show(); in showAction() 64 + "makes the Snackbar taller", Snackbar.LENGTH_SHORT).show(); in showLong() 69 + "makes the Snackbar taller", Snackbar.LENGTH_SHORT) in showLongAction() 74 Toast.LENGTH_SHORT).show(); in showLongAction() 81 + "makes the Snackbar taller", Snackbar.LENGTH_SHORT) in showLongLongAction() 86 Toast.LENGTH_SHORT).show(); in showLongLongAction()
|
/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/ |
D | TestEnrollmentActivity.java | 70 this, "Successfully enrolled, model UUID=" + modelUuid, Toast.LENGTH_SHORT) 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() 90 Toast.LENGTH_SHORT) 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() 115 Toast.LENGTH_SHORT) in onReEnrollButtonClicked() 118 Toast.makeText(this, "Failed to re-enroll!!!", Toast.LENGTH_SHORT).show(); in onReEnrollButtonClicked()
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | ToastTest.java | 89 mToast1 = Toast.makeText(ToastTest.this, text, Toast.LENGTH_SHORT); 97 mToast1 = Toast.makeText(ToastTest.this, "hi 1", Toast.LENGTH_SHORT); 121 mToast2 = Toast.makeText(ToastTest.this, "hi 2", Toast.LENGTH_SHORT); 135 Toast toast = Toast.makeText(ToastTest.this, "LEFT", Toast.LENGTH_SHORT); 145 Toast.LENGTH_SHORT);
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/ |
D | ActionBarFragmentMenu.java | 147 Toast.makeText(getActivity(), "Selected Menu 1a.", Toast.LENGTH_SHORT).show(); in onOptionsItemSelected() 151 Toast.makeText(getActivity(), "Selected Menu 1b.", Toast.LENGTH_SHORT).show(); in onOptionsItemSelected() 187 Toast.makeText(getActivity(), "Selected Menu 2.", Toast.LENGTH_SHORT).show(); in onOptionsItemSelected() 208 Toast.LENGTH_SHORT).show(); in onCreateOptionsMenu() 216 Toast.LENGTH_SHORT).show(); in onDestroyOptionsMenu() 223 Toast.LENGTH_SHORT).show(); in onPrepareOptionsMenu() 231 Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
|
D | ToolbarFragmentPagerMenu.java | 120 Toast.makeText(getActivity(), "Selected Menu 1a.", Toast.LENGTH_SHORT).show(); in onOptionsItemSelected() 124 Toast.makeText(getActivity(), "Selected Menu 1b.", Toast.LENGTH_SHORT).show(); in onOptionsItemSelected() 162 Toast.makeText(getActivity(), "Selected Menu 2.", Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
|
D | ActionBarUsage.java | 77 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show(); in onOptionsItemSelected() 102 "Searching for: " + query + "...", Toast.LENGTH_SHORT).show();
|
D | ActionBarPreferences.java | 46 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
|
D | ActionBarMechanics.java | 70 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
|
D | ToolbarUsage.java | 63 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
|
D | ToolbarActionMode.java | 67 "Action Mode item clicked:" + item.getTitle(), Toast.LENGTH_SHORT).show(); in startActionMode()
|
D | ActionBarSettingsActionProviderActivity.java | 53 Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
|
D | ActionBarActionMode.java | 69 "Action Mode item clicked:" + item.getTitle(), Toast.LENGTH_SHORT).show(); in startActionMode()
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
D | ObjectViewer.java | 85 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()
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/dialog/ |
D | DialogExampleFragment.java | 60 Toast.LENGTH_SHORT).show(); in onGuidedActionClicked() 63 Toast.LENGTH_SHORT).show(); in onGuidedActionClicked()
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
D | SnackbarTest.java | 98 Snackbar.make(mCoordinatorLayout, MESSAGE_TEXT, Snackbar.LENGTH_SHORT), in testBasicContent() 114 Snackbar.make(mCoordinatorLayout, MESSAGE_TEXT, Snackbar.LENGTH_SHORT) in testBasicContent() 233 Snackbar.make(mCoordinatorLayout, "A different message", Snackbar.LENGTH_SHORT); in testDismissViaAnotherSnackbar() 258 Snackbar.make(mCoordinatorLayout, MESSAGE_TEXT, Snackbar.LENGTH_SHORT) in testActionClickListener()
|
D | SnackbarTestWithTranslucentNavBar.java | 55 Snackbar.LENGTH_SHORT); in testDrawsAboveNavigationBar()
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/ |
D | TrackerActivity.java | 188 exportFileName, Toast.LENGTH_SHORT).show(); in exportFile() 192 e.getLocalizedMessage(), Toast.LENGTH_SHORT).show(); in exportFile()
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/page/ |
D | PageAndListRowFragment.java | 90 getActivity(), getString(R.string.implement_search), Toast.LENGTH_SHORT) in setupUi() 197 Toast.LENGTH_SHORT).show(); in setupAdapter() 227 Toast.makeText(getActivity(), "Implement click handler", Toast.LENGTH_SHORT) in SampleFragmentB()
|
/frameworks/base/core/java/android/text/format/ |
D | DateUtils.java | 156 public static final int LENGTH_SHORT = 30; field in DateUtils 199 case LENGTH_SHORT: names = d.shortWeekdayNames; break; // TODO in getDayOfWeekString() 237 case LENGTH_SHORT: names = d.shortMonthNames; break; in getMonthString()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
D | NekoActivationActivity.java | 27 Toast toast = Toast.makeText(this, s, Toast.LENGTH_SHORT); in toastUp()
|
/frameworks/base/tests/AccessibilityEventsLogger/src/com/android/tests/accessibilityeventlogger/ |
D | AELogger.java | 63 eventType + ": " + eventClass, Toast.LENGTH_SHORT); in onAccessibilityEvent()
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | RenameDocumentFragment.java | 190 Snackbar.LENGTH_SHORT).show(); in renameDocuments() 234 Snackbars.makeSnackbar(mActivity, R.string.rename_error, Snackbar.LENGTH_SHORT) in onPostExecute()
|
/frameworks/base/tests/backup/src/com/android/backuptest/ |
D | BackupTestActivity.java | 74 Toast.makeText(BackupTestActivity.this, str, Toast.LENGTH_SHORT).show(); 118 Toast.makeText(BackupTestActivity.this, str, Toast.LENGTH_SHORT).show();
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/cards/presenters/ |
D | ImageCardViewPresenter.java | 48 Toast.makeText(getContext(), "Clicked on ImageCardView", Toast.LENGTH_SHORT).show(); in onCreateView()
|
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/ |
D | NetworkActivity.java | 304 Toast.makeText(context, R.string.wifi_connected, Toast.LENGTH_SHORT).show(); in onReceive() 317 Toast.makeText(context, R.string.lost_connection, Toast.LENGTH_SHORT).show(); in onReceive()
|