Home
last modified time | relevance | path

Searched refs:mDate (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
DObexTime.java28 private Date mDate; field in ObexTime
89 mDate = builder.build().getTime(); in ObexTime()
94 mDate = date; in ObexTime()
98 return mDate; in getTime()
103 if (mDate == null) { in toString()
108 cal.setTime(mDate); in toString()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/
DDateTileView.java58 private int mDate = -1; field in DateTileView
92 if (date != mDate) { in setDate()
93 mDate = date; in setDate()
94 mDateTextView.setText(mDate > 9 ? Integer.toString(mDate) : "0" + mDate); in setDate()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/header/
Dheader_policy.h45 mDate(HeaderReadWriteUtils::readIntAttributeValue(&mAttributeMap, in HeaderPolicy()
70 mDate(HeaderReadWriteUtils::readIntAttributeValue(&mAttributeMap, in HeaderPolicy()
91 mDate(headerPolicy->mDate), mLastDecayedTime(headerPolicy->mLastDecayedTime), in HeaderPolicy()
105 mDate(0), mLastDecayedTime(0), mNgramCounts(), mMaxNgramCounts(), in HeaderPolicy()
162 return mDate; in getDate()
250 const int mDate; variable
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/
DBipDateTime.java46 private Date mDate = null; field in BipDateTime
90 mDate = builder.build().getTime(); in BipDateTime()
104 mDate = Objects.requireNonNull(date, "Date cannot be null"); in BipDateTime()
113 return mDate; in getTime()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DGridDocumentHolder.java45 final TextView mDate; field in GridDocumentHolder
64 mDate = (TextView) itemView.findViewById(R.id.date); in GridDocumentHolder()
180 mDate.setText(null); in bind()
184 mDate.setText(null); in bind()
186 mDate.setText(Shared.formatTime(mContext, mDoc.lastModified)); in bind()
DListDocumentHolder.java53 private final @Nullable TextView mDate; // Non-null for tablets/sw720dp, null for other devices. field in ListDocumentHolder
83 mDate = (TextView) itemView.findViewById(R.id.date); in ListDocumentHolder()
250 mDate.setVisibility(View.VISIBLE); in bind()
251 mDate.setText(Shared.formatTime(mContext, mDoc.lastModified)); in bind()
253 mDate.setVisibility(View.INVISIBLE); in bind()
/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DTimeZoneInfoPreferenceController.java39 Date mDate; field in TimeZoneInfoPreferenceController
47 mDate = new Date(); in TimeZoneInfoPreferenceController()
67 if (item.getTimeZone().inDaylightTime(mDate)) { in formatOffsetAndName()
116 mDate.getTime(), /* inclusive */ false); in findNextDstTransition()
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DAdminActionPreferenceControllerBaseTest.java31 private Date mDate; field in AdminActionPreferenceControllerBaseTest
41 mDate = date; in setDate()
62 return mDate; in getAdminActionTimestamp()
DEnterprisePrivacyFeatureProviderImplTest.java78 private final Date mDate = new Date(2011, 11, 11); field in EnterprisePrivacyFeatureProviderImplTest
165 .thenReturn(mDate.getTime()); in testGetLastSecurityLogRetrievalTime()
166 assertThat(mProvider.getLastSecurityLogRetrievalTime()).isEqualTo(mDate); in testGetLastSecurityLogRetrievalTime()
174 when(mDevicePolicyManager.getLastBugReportRequestTime()).thenReturn(mDate.getTime()); in testGetLastBugReportRequestTime()
175 assertThat(mProvider.getLastBugReportRequestTime()).isEqualTo(mDate); in testGetLastBugReportRequestTime()
183 when(mDevicePolicyManager.getLastNetworkLogRetrievalTime()).thenReturn(mDate.getTime()); in testGetLastNetworkLogRetrievalTime()
184 assertThat(mProvider.getLastNetworkLogRetrievalTime()).isEqualTo(mDate); in testGetLastNetworkLogRetrievalTime()
/packages/apps/Car/Calendar/src/com/android/car/calendar/
DTitleCalendarItem.java32 private final LocalDate mDate; field in TitleCalendarItem
36 mDate = date; in TitleCalendarItem()
48 titleViewHolder.update(mFormatter.getDateText(mDate)); in bind()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapbMessageMime.java147 private long mDate = INVALID_VALUE; field in BluetoothMapbMessageMime
205 Date dateObj = new Date(mDate); in getDateString()
210 return mDate; in getDate()
214 this.mDate = date; in setDate()
411 if (mDate != INVALID_VALUE) { in encodeHeaders()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DSmsProviderTest.java71 private final long mDate = 0; field in SmsProviderTest
206 assertEquals(mDate, cursor.getInt(cursor.getColumnIndex("date"))); in testRawTableInsert()
260 values.put("date", mDate); in getFakeRawValue()
/packages/apps/Car/Messenger/src/com/android/car/messenger/impl/datamodels/util/
DMmsSmsMessage.java31 Instant mDate; field in MmsSmsMessage
DSmsUtils.java55 message.mDate = Instant.ofEpochMilli(cursor.getLong(dateIndex)); in parseSms()
DMmsUtils.java69 message.mDate = Instant.ofEpochSecond(cursor.getLong(cursor.getColumnIndex(Sms.DATE))); in parseMms()
DMessageUtils.java173 new Conversation.Message(msg.mBody, msg.mDate.toEpochMilli(), person); in parseMessageAtPoint()
/packages/apps/Settings/tests/unit/src/com/android/settings/datetime/timezone/
DTimeZoneInfoPreferenceControllerTest.java51 mController.mDate = now; in setUp()