Home
last modified time | relevance | path

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

123

/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/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/screenrecord/
DScreenRecordDialog.java104 Toast.LENGTH_SHORT).show(); in onActivityResult()
113 Toast.LENGTH_SHORT).show(); in onActivityResult()
127 Toast.LENGTH_SHORT).show(); in onActivityResult()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DForcedResizableInfoActivityController.java124 Toast.LENGTH_SHORT).show(); in activityDismissingDockedStack()
129 Toast.LENGTH_SHORT).show(); in activityLaunchOnSecondaryDisplayFailed()
/frameworks/base/core/java/android/text/format/
DDateUtils.java164 public static final int LENGTH_SHORT = 30; field in DateUtils
212 case LENGTH_SHORT: // TODO in getDayOfWeekString()
257 case LENGTH_SHORT: in getMonthString()
402 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/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/tests/ServiceCrashTest/src/com/android/tests/servicecrashtest/
DCrashingService.java49 Toast.makeText(this, "service starting", Toast.LENGTH_SHORT).show(); in onCreate()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DInfoMediaDevice.java68 Toast.makeText(mContext, "This is cast device !", Toast.LENGTH_SHORT).show(); in connect()
/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/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/core/java/android/widget/
DToast.java77 LENGTH_SHORT,
88 public static final int LENGTH_SHORT = 0; field in Toast
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DOverviewProxyRecentsImpl.java159 Toast.LENGTH_SHORT).show(); in splitPrimaryTask()

123