Home
last modified time | relevance | path

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

123

/packages/apps/Settings/src/com/android/settings/applications/
DAppOpsState.java321 if (pos.getTime() < op.getTime()) { in addOp()
389 if (getTime() > 0) { in getTimeText()
390 return DateUtils.getRelativeTimeSpanString(getTime(), in getTimeText()
402 public long getTime() { in getTime() method in AppOpsState.AppOpEntry
403 return mOps.get(0).getTime(); in getTime()
425 if (object1.getTime() != object2.getTime()) {
427 return object1.getTime() > object2.getTime() ? -1 : 1;
439 boolean lastExe = last.getTime() != 0; in addOp()
440 boolean entryExe = opEntry.getTime() != 0; in addOp()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmTimelineView.java125 final Date currentTime = mCalendar.getTime(); in doInBackground()
137 Date date = mCalendar.getTime(); in doInBackground()
152 Date date = mCalendar.getTime(); in doInBackground()
156 mAlarmTimes.put(date, new AlarmTimeNode(mCalendar.getTime(), true)); in doInBackground()
320 Log.wtf("alarm date=" + node.date.getTime() + ", isRepeating=" + node.isRepeating in onDraw()
363 return (int) ((date.getTime() - firstDate.getTime()) in convertToDistance()
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
DWorldClockAdapter.java124 return TimeZone.getTimeZone(homeTZ).getOffset(now.getTime()) in needHomeCity()
125 != TimeZone.getDefault().getOffset(now.getTime()); in needHomeCity()
166 int gmOffset1 = TimeZone.getTimeZone(city1.mTimeZone).getOffset(now.getTime()); in sortList()
167 int gmOffset2 = TimeZone.getTimeZone(city2.mTimeZone).getOffset(now.getTime()); in sortList()
/packages/apps/Settings/src/com/android/settings/
DDateTimeSettings.java130 .format(mDummyDate.getTime()); in initUI()
183 Date dummyDate = mDummyDate.getTime(); in updateTimeAndDateDisplay()
184 mTimePref.setSummary(DateFormat.getTimeFormat(getActivity()).format(now.getTime())); in updateTimeAndDateDisplay()
186 mDatePref.setSummary(shortDateFormat.format(now.getTime())); in updateTimeAndDateDisplay()
/packages/apps/Contacts/src/com/android/contacts/editor/
DEventFieldEditorView.java183 onFieldChanged(column, kind.dateFormatWithYear.format(calendar.getTime())); in onLabelRebuilt()
241 resultString = kind.dateFormatWithoutYear.format(outCalendar.getTime()); in createDatePickerDialog()
243 resultString = kind.dateFormatWithYear.format(outCalendar.getTime()); in createDatePickerDialog()
/packages/apps/Calendar/src/com/android/calendar/
DAllInOneActivity.java522 initFragments(mController.getTime(), mController.getViewType(), null); in onResume()
526 t.set(mController.getTime()); in onResume()
595 outState.putLong(BUNDLE_KEY_RESTORE_TIME, mController.getTime()); in onSaveInstanceState()
771 t.set(mController.getTime()); in onOptionsItemSelected()
844 initFragments(mController.getTime(), mController.getViewType(), null); in onSharedPreferenceChanged()
1216 mActionBarMenuSpinnerAdapter.setTime(mController.getTime()); in handleEvent()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DMessageWebView.java91 final long now = mClock.getTime(); in onSizeChanged()
115 mLastSizeChangeTime = mClock.getTime(); in performSizeChange()
/packages/apps/Email/src/com/android/email/
DLegacyConversions.java94 localMessage.mTimeStamp = sentDate.getTime(); in updateMessageFields()
97 localMessage.mTimeStamp = internalDate.getTime(); in updateMessageFields()
122 localMessage.mServerTimeStamp = internalDate.getTime(); in updateMessageFields()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapAppParams.java570 this.filterPeriodBegin = date.getTime(); in setFilterPeriodBegin()
590 this.filterPeriodEnd = date.getTime(); in setFilterPeriodEnd()
796 this.mseTime = date.getTime(); in setMseTime()
DBluetoothMapObexServer.java502 outAppParams.setMseTime(Calendar.getInstance().getTime().getTime()); in sendMessageListingRsp()
/packages/apps/Email/tests/src/com/android/email/
DThrottleTest.java189 e.mScheduledTime = mClock.getTime() + delay;
202 if (e.mScheduledTime > mClock.getTime()) { in mClock.getTime()
DLegacyConversionsTests.java508 assertEquals(tag, expect.getSentDate().getTime(), actual.mTimeStamp); in checkProviderMessage()
522 assertEquals(tag, expect.mServerTimeStamp, actual.getInternalDate().getTime()); in checkLegacyMessage()
525 assertEquals(tag, expect.mTimeStamp, actual.getSentDate().getTime()); in checkLegacyMessage()
DMockClock.java27 public long getTime() { in getTime() method in MockClock
/packages/apps/UnifiedEmail/src/com/android/emailcommon/service/
DSearchParams.java149 dateWindow.put(0, mStartDate.getTime()); in writeToParcel()
152 dateWindow.put(1, mEndDate.getTime()); in writeToParcel()
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
DDateUtils.java180 return outFormat.format(cal.getTime()); in formatDate()
269 return anniversary.getTime(); in getNextAnnualDate()
/packages/apps/Mms/src/com/android/mms/transaction/
DMessagingNotification.java401 public long getTime() { in getTime() method in MessagingNotification.NotificationInfo
556 return Long.signum(info2.getTime() - info1.getTime()); in compare()
/packages/apps/LegacyCamera/src/com/android/camera/
DUtil.java659 if (loc.getTime() != 0) { in setGpsParameters()
662 long utcTimeSeconds = loc.getTime() / 1000; in setGpsParameters()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/
DMockUiProvider.java191 conversationMap.put(ConversationColumns.DATE_RECEIVED_MS, new Date().getTime()); in createConversationDetailsMap()
260 messageMap.put(MessageColumns.DATE_RECEIVED_MS, new Date().getTime()); in createMessageDetailsMap()
/packages/apps/Camera/src/com/android/camera/
DUtil.java734 if (loc.getTime() != 0) { in setGpsParameters()
737 long utcTimeSeconds = loc.getTime() / 1000; in setGpsParameters()
/packages/apps/VideoEditor/src/com/android/videoeditor/service/
DVideoEditorProject.java129 public long getTime() { in getTime() method in VideoEditorProject.Download
1271 serializer.attribute("", ATTR_TIME, Long.toString(download.getTime())); in saveToXml()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DClock.java29 public long getTime() { in getTime() method in Clock
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
DFileUtils.java1576 return isFileNewer(file, date.getTime()); in isFileNewer()
1643 return isFileOlder(file, date.getTime()); in isFileOlder()
/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/
DAgeFileFilter.java95 this(cutoffDate.getTime(), acceptOlder); in AgeFileFilter()
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java812 if (loc.getTime() != 0) { in setGpsParameters()
815 long utcTimeSeconds = loc.getTime() / 1000; in setGpsParameters()
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DImageUtils.h118 static double getTime();

123