Home
last modified time | relevance | path

Searched refs:putLong (Results 1 – 25 of 67) sorted by relevance

123

/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchService.java248 editor.putLong(Stopwatches.NOTIF_CLOCK_BASE, clockTime); in saveNotification()
249 editor.putLong(Stopwatches.NOTIF_CLOCK_ELAPSED, -1); in saveNotification()
252 editor.putLong(Stopwatches.NOTIF_CLOCK_ELAPSED, clockTime); in saveNotification()
253 editor.putLong(Stopwatches.NOTIF_CLOCK_BASE, -1); in saveNotification()
330 editor.putLong(Stopwatches.PREF_START_TIME, startTime); in writeToSharedPrefs()
339 editor.putLong(Stopwatches.PREF_LAP_TIME + Integer.toString(numLaps), lapTimeElapsed); in writeToSharedPrefs()
341 editor.putLong(Stopwatches.PREF_LAP_TIME + Integer.toString(numLaps), lapTimeElapsed); in writeToSharedPrefs()
345 editor.putLong(Stopwatches.PREF_ACCUM_TIME, elapsedTime); in writeToSharedPrefs()
372 editor.putLong(Stopwatches.KEY + CircleTimerView.PREF_CTV_INTERVAL_START, in writeSharedPrefsStarted()
391 editor.putLong(Stopwatches.KEY + CircleTimerView.PREF_CTV_INTERVAL, lapTime); in writeSharedPrefsLap()
[all …]
DStopwatchFragment.java693 editor.putLong (Stopwatches.PREF_START_TIME, mStartTime); in writeToSharedPref()
694 editor.putLong (Stopwatches.PREF_ACCUM_TIME, mAccumulatedTime); in writeToSharedPref()
702 editor.putLong (key, laps[i]); in writeToSharedPref()
707 editor.putLong(Stopwatches.NOTIF_CLOCK_BASE, mStartTime-mAccumulatedTime); in writeToSharedPref()
708 editor.putLong(Stopwatches.NOTIF_CLOCK_ELAPSED, -1); in writeToSharedPref()
711 editor.putLong(Stopwatches.NOTIF_CLOCK_ELAPSED, mAccumulatedTime); in writeToSharedPref()
712 editor.putLong(Stopwatches.NOTIF_CLOCK_BASE, -1); in writeToSharedPref()
/packages/apps/DeskClock/src/com/android/deskclock/
DCircleTimerView.java243 editor.putLong (key + PREF_CTV_INTERVAL, mIntervalTime); in writeToSharedPref()
244 editor.putLong (key + PREF_CTV_INTERVAL_START, mIntervalStartTime); in writeToSharedPref()
245 editor.putLong (key + PREF_CTV_CURRENT_INTERVAL, mCurrentIntervalTime); in writeToSharedPref()
246 editor.putLong (key + PREF_CTV_ACCUM_TIME, mAccumulatedTime); in writeToSharedPref()
247 editor.putLong (key + PREF_CTV_MARKER_TIME, mMarkerTime); in writeToSharedPref()
/packages/apps/Browser/src/com/android/browser/widget/
DBookmarkThumbnailWidgetService.java106 prefs.edit().putLong(STATE_CURRENT_FOLDER, fid).commit(); in changeFolder()
115 .putLong(STATE_CURRENT_FOLDER, rootFolder) in setupWidgetState()
116 .putLong(STATE_ROOT_FOLDER, rootFolder) in setupWidgetState()
192 .putLong(STATE_CURRENT_FOLDER, mCurrentFolder) in saveState()
193 .putLong(STATE_ROOT_FOLDER, mRootFolder) in saveState()
/packages/apps/Bluetooth/src/com/android/bluetooth/
DUtils.java103 converter.putLong(msb); in uuidToByteArray()
104 converter.putLong(8, lsb); in uuidToByteArray()
118 converter.putLong(i * 16, msb); in uuidsToByteArray()
119 converter.putLong(i * 16 + 8, lsb); in uuidsToByteArray()
/packages/apps/Camera/src/com/android/camera/
DComboPreferences.java86 mPrefGlobal.edit().putLong(key, (Long) v).apply(); in movePrefFrom()
269 public Editor putLong(String key, long value) { in putLong() method in ComboPreferences.MyEditor
271 mEditorGlobal.putLong(key, value); in putLong()
273 mEditorLocal.putLong(key, value); in putLong()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerObj.java83 editor.putLong (key, mStartTime); in writeToSharedPref()
85 editor.putLong (key, mTimeLeft); in writeToSharedPref()
87 editor.putLong (key, mOriginalLength); in writeToSharedPref()
89 editor.putLong (key, mSetupLength); in writeToSharedPref()
/packages/apps/Gallery2/src/com/android/camera/
DComboPreferences.java89 mPrefGlobal.edit().putLong(key, (Long) v).apply(); in movePrefFrom()
271 public Editor putLong(String key, long value) { in putLong() method in ComboPreferences.MyEditor
273 mEditorGlobal.putLong(key, value); in putLong()
275 mEditorLocal.putLong(key, value); in putLong()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DLocalBluetoothPreferences.java119 editor.putLong(KEY_LAST_SELECTED_DEVICE_TIME, in persistSelectedDeviceInPicker()
126 editor.putLong(KEY_DISCOVERABLE_END_TIMESTAMP, endTimestamp); in persistDiscoverableEndTimestamp()
136 editor.putLong( in persistDiscoveringTimestamp()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSearchSettingsImpl.java139 SharedPreferencesCompat.apply(getSearchPreferences().edit().putLong(name, value)); in storeLong()
201 .putLong(FIRST_VOICE_HINT_DISPLAY_TIME, currentTime)); in haveVoiceSearchHintsExpired()
254 sharedPrefEditor.putLong(SEARCH_BASE_DOMAIN_APPLY_TIME, System.currentTimeMillis()); in setSearchBaseDomain()
/packages/apps/LegacyCamera/src/com/android/camera/
DComboPreferences.java186 public Editor putLong(String key, long value) { in putLong() method in ComboPreferences.MyEditor
188 mEditorGlobal.putLong(key, value); in putLong()
190 mEditorLocal.putLong(key, value); in putLong()
/packages/apps/Email/src/com/android/email/activity/
DMailboxListFragment.java295 args.putLong(ARG_ACCOUNT_ID, accountId); in newInstance()
296 args.putLong(ARG_INITIAL_CURRENT_MAILBOX_ID, initialCurrentMailboxId); in newInstance()
543 outState.putLong(BUNDLE_KEY_PARENT_MAILBOX_ID, mParentMailboxId); in onSaveInstanceState()
544 outState.putLong(BUNDLE_KEY_HIGHLIGHTED_MAILBOX_ID, mHighlightedMailboxId); in onSaveInstanceState()
/packages/apps/Calendar/src/com/android/calendar/agenda/
DAgendaFragment.java258 outState.putLong(BUNDLE_KEY_RESTORE_TIME, timeToSave); in onSaveInstanceState()
267 outState.putLong(BUNDLE_KEY_RESTORE_TIME, firstVisibleTime); in onSaveInstanceState()
281 outState.putLong(BUNDLE_KEY_RESTORE_INSTANCE_ID, selectedInstance); in onSaveInstanceState()
/packages/apps/Settings/src/com/android/settings/net/
DSummaryForAllUidLoader.java38 args.putLong(KEY_START, start); in buildArgs()
39 args.putLong(KEY_END, end); in buildArgs()
/packages/apps/Email/src/com/android/email/widget/
DWidgetManager.java122 .putLong(ACCOUNT_ID_PREFIX + appWidgetId, accountId) in saveWidgetPrefs()
123 .putLong(MAILBOX_ID_PREFIX + appWidgetId, mailboxId) in saveWidgetPrefs()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlertUtils.java259 editor.putLong(getFiredAlertsKey(eventId, beginTime, alarmTime), alarmTime);
312 editor.putLong(KEY_LAST_FLUSH_TIME_MS, nowTime);
/packages/apps/Calendar/src/com/android/calendar/
DAllInOneActivity.java592 outState.putLong(BUNDLE_KEY_RESTORE_TIME, mController.getTime()); in onSaveInstanceState()
595 outState.putLong(BUNDLE_KEY_EVENT_ID, mController.getEventId()); in onSaveInstanceState()
600 outState.putLong(BUNDLE_KEY_EVENT_ID, ((AgendaFragment)f).getLastShowEventId()); in onSaveInstanceState()
/packages/apps/Browser/src/com/android/browser/
DBrowserSettings.java516 .putLong(GoogleAccountLogin.PREF_AUTOLOGIN_TIME, gal) in resetDefaultPreferences()
951 .putLong(KEY_LAST_RECOVERED, time) in setLastRecovered()
DBrowserBookmarksPage.java522 item.putLong(BrowserContract.Bookmarks._ID, in editBookmark()
524 item.putLong(BrowserContract.Bookmarks.PARENT, in editBookmark()
DTab.java1407 mSavedState.putLong(PARENTTAB, parent.getId()); in setParent()
1732 mSavedState.putLong(ID, mId); in saveState()
1742 mSavedState.putLong(PARENTTAB, mParent.mId); in saveState()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DContactEntryListFragment.java347 args.putLong(DIRECTORY_ID_ARG_KEY, directoryId); in startLoadingDirectoryPartition()
369 args.putLong(DIRECTORY_ID_ARG_KEY, partition.getDirectoryId()); in loadDirectoryPartition()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyProvider.java437 editor.putLong(COLUMN_APN_ID, id != null ? id.longValue() : -1); in setPreferredApnId()
454 editor.putLong(APN_CONFIG_CHECKSUM, id); in setAPNConfigCheckSum()
/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorFragment.java1655 outState.putLong(KEY_RAW_CONTACT_ID_REQUESTING_PHOTO, mRawContactIdRequestingPhoto);
1658 outState.putLong(KEY_CONTACT_ID_FOR_JOIN, mContactIdForJoin);
1660 outState.putLong(KEY_SHOW_JOIN_SUGGESTIONS, mAggregationSuggestionsRawContactId);
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupEditorFragment.java271 outState.putLong(KEY_GROUP_ID, mGroupId); in onSaveInstanceState()
492 args.putLong(MEMBER_RAW_CONTACT_ID_KEY, rawContactId); in loadMemberToAddToGroup()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/
DResearchSettings.java70 prefs.edit().putLong(PREF_RESEARCH_LAST_DIR_CLEANUP_TIME, lastDirCleanupTime).apply(); in writeResearchLastDirCleanupTime()

123