Home
last modified time | relevance | path

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

123

/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/
DTestEnrollmentActivity.java75 this, "Successfully enrolled, model UUID=" + modelUuid, Toast.LENGTH_SHORT) 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()
95 Toast.LENGTH_SHORT) 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()
120 Toast.LENGTH_SHORT) in onReEnrollButtonClicked()
123 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/base/core/tests/coretests/src/android/text/format/
DDateUtilsTest.java76 assertEquals("0 sec", DateUtils.formatDuration(0, DateUtils.LENGTH_SHORT)); in test_formatDuration_seconds()
77 assertEquals("1 sec", DateUtils.formatDuration(1000, DateUtils.LENGTH_SHORT)); in test_formatDuration_seconds()
78 assertEquals("2 sec", DateUtils.formatDuration(1500, DateUtils.LENGTH_SHORT)); in test_formatDuration_seconds()
95 assertEquals("1 min", DateUtils.formatDuration(60000, DateUtils.LENGTH_SHORT)); in test_formatDuration_Minutes()
96 assertEquals("2 min", DateUtils.formatDuration(120000, DateUtils.LENGTH_SHORT)); in test_formatDuration_Minutes()
111 assertEquals("1 hr", DateUtils.formatDuration(3600000, DateUtils.LENGTH_SHORT)); in test_formatDuration_Hours()
112 assertEquals("48 hr", DateUtils.formatDuration(172800000, DateUtils.LENGTH_SHORT)); in test_formatDuration_Hours()
/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/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DForcedResizableInfoActivityController.java127 Toast.LENGTH_SHORT).show(); in activityDismissingDockedStack()
132 Toast.LENGTH_SHORT).show(); in activityLaunchOnSecondaryDisplayFailed()
/frameworks/base/core/java/android/text/format/
DDateUtils.java170 public static final int LENGTH_SHORT = 30; field in DateUtils
213 case LENGTH_SHORT: names = d.shortWeekdayNames; break; // TODO in getDayOfWeekString()
251 case LENGTH_SHORT: names = d.shortMonthNames; break; in getMonthString()
395 case LENGTH_SHORT: in formatDuration()
/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()
DTrackerService.java111 Toast.makeText(this, "Tracking service started", Toast.LENGTH_SHORT); in onStart()
234 Toast.makeText(this, "Tracking service stopped", Toast.LENGTH_SHORT); in onDestroy()
/frameworks/base/tests/ServiceCrashTest/src/com/android/tests/servicecrashtest/
DCrashingService.java49 Toast.makeText(this, "service starting", Toast.LENGTH_SHORT).show(); in onCreate()
/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()
287 Toast.LENGTH_SHORT).show(); in getView()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoActivationActivity.java30 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/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/base/core/java/com/android/internal/accessibility/dialog/
DVolumeShortcutToggleAccessibilityServiceTarget.java75 Toast.makeText(getContext(), warningText, Toast.LENGTH_SHORT).show(); in onCheckedFromAccessibilityButton()
/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()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DVideoViewCaptureActivity.java62 "Failed to copy", Toast.LENGTH_SHORT).show(); in onCreate()
DGetBitmapSurfaceViewActivity.java60 "Failed to copy", Toast.LENGTH_SHORT).show(); in onCreate()
DHardwareCanvasSurfaceViewActivity.java62 "Failed to copy", Toast.LENGTH_SHORT).show(); in onCreate()
/frameworks/base/core/java/android/database/sqlite/
DSqliteWrapper.java51 Toast.LENGTH_SHORT).show(); in checkSQLiteException()
/frameworks/base/core/java/android/provider/
DContactsInternal.java81 Toast.LENGTH_SHORT).show(); in startQuickContactWithErrorToastForUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbContaminantActivity.java90 Toast.LENGTH_SHORT).show(); in onClick()
/frameworks/base/telephony/common/com/google/android/mms/util/
DSqliteWrapper.java64 Toast.LENGTH_SHORT).show(); in checkSQLiteException()
/frameworks/ex/framesequence/samples/FrameSequenceSamples/src/com/android/framesequence/samples/
DFrameSequenceTest.java110 "The animation has finished", Toast.LENGTH_SHORT).show(); in onResume()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DOverviewProxyRecentsImpl.java176 Toast.LENGTH_SHORT).show(); in splitPrimaryTask()
/frameworks/base/core/java/android/widget/
DToast.java88 LENGTH_SHORT,
99 public static final int LENGTH_SHORT = 0; field in Toast

123