Home
last modified time | relevance | path

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

123

/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()
212 Toast.makeText(MainActivity.this, "failed to read config", Toast.LENGTH_LONG); in onCreate()
230 "Receiver specified to pending intent", Toast.LENGTH_LONG) in onCreate()
234 Toast.LENGTH_LONG) in onCreate()
239 Toast.makeText(MainActivity.this, "failed to set receiver", Toast.LENGTH_LONG); in onCreate()
253 Toast.makeText(MainActivity.this, "Receiver remove", Toast.LENGTH_LONG) in onCreate()
257 Toast.LENGTH_LONG) in onCreate()
263 MainActivity.this, "failed to remove receiver", Toast.LENGTH_LONG); in onCreate()
273 Toast.makeText(MainActivity.this, "Statsd NOT running!", Toast.LENGTH_LONG).show(); in statsdRunning()
[all …]
/frameworks/base/core/tests/coretests/src/android/text/format/
DDateUtilsTest.java72 assertEquals("0 seconds", DateUtils.formatDuration(0, DateUtils.LENGTH_LONG)); in test_formatDuration_seconds()
73 assertEquals("1 second", DateUtils.formatDuration(1000, DateUtils.LENGTH_LONG)); in test_formatDuration_seconds()
74 assertEquals("2 seconds", DateUtils.formatDuration(1500, DateUtils.LENGTH_LONG)); in test_formatDuration_seconds()
92 assertEquals("1 minute", DateUtils.formatDuration(60000, DateUtils.LENGTH_LONG)); in test_formatDuration_Minutes()
93 assertEquals("2 minutes", DateUtils.formatDuration(120000, DateUtils.LENGTH_LONG)); in test_formatDuration_Minutes()
108 assertEquals("1 hour", DateUtils.formatDuration(3600000, DateUtils.LENGTH_LONG)); in test_formatDuration_Hours()
109 assertEquals("48 hours", DateUtils.formatDuration(172800000, DateUtils.LENGTH_LONG)); in test_formatDuration_Hours()
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/
DBackupRestoreConfirmation.java94 … Toast.makeText(mContext, R.string.toast_backup_started, Toast.LENGTH_LONG).show(); in handleMessage()
105 Toast.makeText(mContext, R.string.toast_backup_ended, Toast.LENGTH_LONG).show(); in handleMessage()
111 … Toast.makeText(mContext, R.string.toast_restore_started, Toast.LENGTH_LONG).show(); in handleMessage()
128 Toast.makeText(mContext, R.string.toast_timeout, Toast.LENGTH_LONG).show(); in handleMessage()
/frameworks/base/core/java/android/text/format/
DDateUtils.java141 public static final int LENGTH_LONG = 10; field in DateUtils
205 case LENGTH_LONG: in getDayOfWeekString()
250 case LENGTH_LONG: in getMonthString()
381 return formatDuration(millis, LENGTH_LONG); in formatDuration()
399 case LENGTH_LONG: in formatDuration()
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DMainActivity.java113 Toast.makeText(this, "We need this permission", Toast.LENGTH_LONG).show(); in checkPermission()
136 Toast.makeText(this, "We need permissions", Toast.LENGTH_LONG).show(); in onRequestPermissionsResult()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
DHomeActivity.java102 … Toast.makeText(HomeActivity.this, "Exporting...", Toast.LENGTH_LONG).show(); in onOptionsItemSelected()
117 Toast.makeText(HomeActivity.this, "Done", Toast.LENGTH_LONG).show(); in onOptionsItemSelected()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DActivityTestMain.java166 Toast.makeText(ActivityTestMain.this, msg, Toast.LENGTH_LONG)
180 Toast.LENGTH_LONG).show(); in onReceive()
245 Toast.LENGTH_LONG).show(); in onCreateOptionsMenu()
280 Toast.LENGTH_LONG).show(); in onCreateOptionsMenu()
306 Toast.LENGTH_LONG).show(); in onCreateOptionsMenu()
347 Toast.LENGTH_LONG).show(); in onCreateOptionsMenu()
371 Toast.LENGTH_LONG).show(); in onCreateOptionsMenu()
DSingleUserService.java34 Toast.LENGTH_LONG).show(); in onCreate()
DServiceUserTarget.java34 Toast.LENGTH_LONG).show(); in onCreate()
/frameworks/base/tools/aapt2/integration-tests/NamespaceTest/App/src/com/android/aapt/namespace/app/
DMainActivity.java32 Toast.makeText(this, tv.getTextViewAttr(), Toast.LENGTH_LONG).show(); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DRecordingService.java145 Toast.makeText(this, R.string.screenrecord_delete_error, Toast.LENGTH_LONG) in onStartCommand()
148 Toast.makeText(this, R.string.screenrecord_cancel_success, Toast.LENGTH_LONG) in onStartCommand()
199 Toast.LENGTH_LONG).show(); in onStartCommand()
428 Toast.makeText(this, R.string.screenrecord_delete_error, Toast.LENGTH_LONG) in saveRecording()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScreenPinningNotify.java72 Toast toast = SysUIToast.makeText(mContext, resId, Toast.LENGTH_LONG); in makeAllUserToastAndShow()
/frameworks/base/core/java/android/widget/
DToast.java78 LENGTH_LONG
95 public static final int LENGTH_LONG = 1; field in Toast
502 Toast.LENGTH_LONG ? LONG_DURATION_TIMEOUT : SHORT_DURATION_TIMEOUT; in handleShow()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListWithDisappearingItemBug.java44 Toast.makeText(this, "Make sure you rotate screen to see bug", Toast.LENGTH_LONG).show(); in onCreate()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/voicerecognition/car/
DConnectedDeviceVoiceRecognitionNotifier.java67 Toast.LENGTH_LONG).show();
/frameworks/base/tests/UsageReportingTest/src/com/android/tests/usagereporter/
DUsageReporterActivity.java244 Toast.makeText(sContext, e.toString(), Toast.LENGTH_LONG).show();
262 Toast.makeText(sContext, e.toString(), Toast.LENGTH_LONG).show();
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/service/
DTestJobService.java96 Toast.LENGTH_LONG).show(); in onStartJob()
/frameworks/base/core/java/com/android/internal/app/
DNetInitiatedActivity.java155 Toast.LENGTH_LONG).show(); in showNIError()
DIntentForwarderActivity.java144 mInjector.showToast(userMessageId, Toast.LENGTH_LONG); in onCreate()
/frameworks/base/services/core/java/com/android/server/
DBluetoothAirplaneModeListener.java239 Toast.makeText(mContext, text, Toast.LENGTH_LONG).show(); in showToastMessage()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DUninstallUninstalling.java157 Toast.LENGTH_LONG).show(); in onResult()
DUninstallFinish.java90 Toast.LENGTH_LONG).show(); in onReceive()
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
DDynamicSystemInstallationService.java329 Toast.LENGTH_LONG).show(); in executeDiscardCommand()
361 Toast.LENGTH_LONG).show(); in executeRebootToDynSystemCommand()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodPreference.java195 Toast.makeText(context, message, Toast.LENGTH_LONG).show(); in onPreferenceClick()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java289 Toast.LENGTH_LONG).show();
528 Toast.LENGTH_LONG).show();
536 Toast.LENGTH_LONG).show();

123