Home
last modified time | relevance | path

Searched refs:LENGTH_SHORT (Results 1 – 25 of 134) sorted by relevance

123456

/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
DSnackbarUsage.java48 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/
DTestEnrollmentActivity.java70 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/
DToastTest.java89 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/
DActionBarFragmentMenu.java147 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()
DToolbarFragmentPagerMenu.java120 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()
DActionBarUsage.java77 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
102 "Searching for: " + query + "...", Toast.LENGTH_SHORT).show();
DActionBarPreferences.java46 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
DActionBarMechanics.java70 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
DToolbarUsage.java63 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
DToolbarActionMode.java67 "Action Mode item clicked:" + item.getTitle(), Toast.LENGTH_SHORT).show(); in startActionMode()
DActionBarSettingsActionProviderActivity.java53 Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
DActionBarActionMode.java69 "Action Mode item clicked:" + item.getTitle(), Toast.LENGTH_SHORT).show(); in startActionMode()
/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()
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/dialog/
DDialogExampleFragment.java60 Toast.LENGTH_SHORT).show(); in onGuidedActionClicked()
63 Toast.LENGTH_SHORT).show(); in onGuidedActionClicked()
/frameworks/support/design/tests/src/android/support/design/widget/
DSnackbarTest.java98 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()
DSnackbarTestWithTranslucentNavBar.java55 Snackbar.LENGTH_SHORT); in testDrawsAboveNavigationBar()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerActivity.java188 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/
DPageAndListRowFragment.java90 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/
DDateUtils.java156 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/
DNekoActivationActivity.java27 Toast toast = Toast.makeText(this, s, Toast.LENGTH_SHORT); in toastUp()
/frameworks/base/tests/AccessibilityEventsLogger/src/com/android/tests/accessibilityeventlogger/
DAELogger.java63 eventType + ": " + eventClass, Toast.LENGTH_SHORT); in onAccessibilityEvent()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
DRenameDocumentFragment.java190 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/
DBackupTestActivity.java74 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/
DImageCardViewPresenter.java48 Toast.makeText(getContext(), "Clicked on ImageCardView", Toast.LENGTH_SHORT).show(); in onCreateView()
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
DNetworkActivity.java304 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()

123456