/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | LanguageModelParam.java | 61 final int timestamp) { in LanguageModelParam() argument 62 this(null /* word0 */, word, unigramProbability, Dictionary.NOT_A_PROBABILITY, timestamp); in LanguageModelParam() 68 final int timestamp) { in LanguageModelParam() argument 78 mTimestamp = timestamp; in LanguageModelParam() 83 final List<String> tokens, final int timestamp, in createLanguageModelParamsFrom() argument 114 prevWordsInfo, tempWord, timestamp, dictionaryFacilitator, in createLanguageModelParamsFrom() 127 final PrevWordsInfo prevWordsInfo, final String targetWord, final int timestamp, in detectWhetherVaildWordOrNotAndGetLanguageModelParam() argument 135 return createAndGetLanguageModelParamOfWord(prevWordsInfo, targetWord, timestamp, in detectWhetherVaildWordOrNotAndGetLanguageModelParam() 143 timestamp, true /* isValidWord */, locale, distracterFilter); in detectWhetherVaildWordOrNotAndGetLanguageModelParam() 147 return createAndGetLanguageModelParamOfWord(prevWordsInfo, targetWord, timestamp, in detectWhetherVaildWordOrNotAndGetLanguageModelParam() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
D | SimpleDate.java | 33 private long timestamp; field in SimpleDate 39 public SimpleDate(long timestamp) { in SimpleDate() argument 40 setTimestamp(timestamp); in SimpleDate() 45 public void setTimestamp(long timestamp) { in setTimestamp() argument 48 sCalendarInstance.setTimeInMillis(timestamp); in setTimestamp() 52 this.timestamp = timestamp; in setTimestamp() 54 DateFormat.getDateInstance(DateFormat.SHORT).format(timestamp); in setTimestamp() 123 DateFormat.getDateInstance(DateFormat.SHORT).format(timestamp); in toString()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/ |
D | forgetting_curve_utils.cpp | 46 const int timestamp = newHistoricalInfo->getTimeStamp(); in createUpdatedHistoricalInfo() local 51 return HistoricalInfo(timestamp, level, count); in createUpdatedHistoricalInfo() 59 return HistoricalInfo(timestamp, level, count); in createUpdatedHistoricalInfo() 66 return HistoricalInfo(timestamp, in createUpdatedHistoricalInfo() 70 return HistoricalInfo(timestamp, in createUpdatedHistoricalInfo() 74 return HistoricalInfo(timestamp, originalHistoricalInfo->getLevel(), updatedCount); in createUpdatedHistoricalInfo() 159 /* static */ int ForgettingCurveUtils::getElapsedTimeStepCount(const int timestamp, in getElapsedTimeStepCount() argument 161 const int elapsedTimeInSeconds = TimeKeeper::peekCurrentTime() - timestamp; in getElapsedTimeStepCount()
|
D | historical_info.h | 30 HistoricalInfo(const int timestamp, const int level, const int count) in HistoricalInfo() argument 31 : mTimestamp(timestamp), mLevel(level), mCount(count) {} in HistoricalInfo()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | ExpandableBinaryDictionary.java | 301 final boolean isBlacklisted, final int timestamp, in addUnigramEntryWithCheckingDistracter() argument 320 isNotAWord, isBlacklisted, timestamp); in addUnigramEntryWithCheckingDistracter() 327 final boolean isBlacklisted, final int timestamp) { in addUnigramLocked() argument 329 false /* isBeginningOfSentence */, isNotAWord, isBlacklisted, timestamp)) { in addUnigramLocked() 359 final int frequency, final int timestamp) { in addNgramEntry() argument 368 addNgramEntryLocked(prevWordsInfo, word, frequency, timestamp); in addNgramEntry() 374 final int frequency, final int timestamp) { in addNgramEntryLocked() argument 375 if (!mBinaryDictionary.addNgramEntry(prevWordsInfo, word, frequency, timestamp)) { in addNgramEntryLocked()
|
D | BinaryDictionary.java | 197 boolean isNotAWord, boolean isBlacklisted, int timestamp); in addUnigramEntryNative() argument 201 int[] word, int probability, int timestamp); in addNgramEntryNative() argument 427 final boolean isBlacklisted, final int timestamp) { in addUnigramEntry() argument 435 shortcutProbability, isBeginningOfSentence, isNotAWord, isBlacklisted, timestamp)) { in addUnigramEntry() 457 final int probability, final int timestamp) { in addNgramEntry() argument 467 isBeginningOfSentenceArray, wordCodePoints, probability, timestamp)) { in addNgramEntry()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/content/ |
D | bigram_dict_content.cpp | 41 int timestamp = NOT_A_TIMESTAMP; in getBigramEntryAndAdvancePosition() local 45 timestamp = bigramListBuffer->readUintAndAdvancePosition( in getBigramEntryAndAdvancePosition() 73 const HistoricalInfo historicalInfo(timestamp, level, count); in getBigramEntryAndAdvancePosition() 92 const int timestamp, const int level, const int count, int *const entryWritingPos) { in writeBigramEntryAttributesAndAdvancePosition() argument 101 if (!bigramListBuffer->writeUintAndAdvancePosition(timestamp, in writeBigramEntryAttributesAndAdvancePosition() 104 timestamp); in writeBigramEntryAttributesAndAdvancePosition()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationStation.java | 70 public long timestamp; field in NotificationStation.HistoricalNotificationInfo 109 return (int)(rhs.timestamp - lhs.timestamp); 209 info.timestamp = sbn.getPostTime(); in loadNotifications() 211 logd(" [%d] %s: %s", info.timestamp, info.pkg, info.title); in loadNotifications() 312 ((DateTimeView) row.findViewById(R.id.timestamp)).setTime(info.timestamp); in getView()
|
/packages/apps/Mms/src/com/android/mms/ui/ |
D | MessageItem.java | 313 long timestamp = 0L; in onItemLoaded() local 321 timestamp = notifInd.getExpiry() * 1000L; in onItemLoaded() 336 timestamp = retrieveConf.getDate() * 1000L; in onItemLoaded() 342 timestamp = msg == null ? 0 : ((SendReq) msg).getDate() * 1000L; in onItemLoaded() 391 MessageUtils.formatTimeStampString(mContext, timestamp)); in onItemLoaded() 393 mTimestamp = MessageUtils.formatTimeStampString(mContext, timestamp); in onItemLoaded()
|
/packages/inputmethods/LatinIME/native/jni/ |
D | com_android_inputmethod_latin_BinaryDictionary.cpp | 351 jint timestamp) { in latinime_BinaryDictionary_addUnigramEntry() argument 367 isBlacklisted, probability, timestamp, 0 /* level */, 1 /* count */, &shortcuts); in latinime_BinaryDictionary_addUnigramEntry() 385 jintArray word, jint probability, jint timestamp) { in latinime_BinaryDictionary_addNgramEntry() argument 399 timestamp, 0 /* level */, 1 /* count */); in latinime_BinaryDictionary_addNgramEntry() 469 jint timestamp = env->GetIntField(languageModelParam, timestampFieldId); in latinime_BinaryDictionary_addMultipleDictionaryEntries() local 484 isBlacklisted, unigramProbability, timestamp, 0 /* level */, 1 /* count */, in latinime_BinaryDictionary_addMultipleDictionaryEntries() 493 timestamp, 0 /* level */, 1 /* count */); in latinime_BinaryDictionary_addMultipleDictionaryEntries()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/ |
D | UserHistoryDictionary.java | 63 final int timestamp, final DistracterFilter distracterFilter) { in addToDictionary() argument 73 false /* isBlacklisted */, timestamp, distracterFilter); in addToDictionary() 82 FREQUENCY_FOR_WORDS_NOT_IN_DICTS, timestamp); in addToDictionary() 84 userHistoryDictionary.addNgramEntry(prevWordsInfo, word, frequency, timestamp); in addToDictionary()
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
D | ContactInteractionUtil.java | 55 public static String formatDateStringFromTimestamp(long timestamp, Context context) { in formatDateStringFromTimestamp() argument 56 return formatDateStringFromTimestamp(timestamp, context, Calendar.getInstance()); in formatDateStringFromTimestamp() 68 public static String formatDateStringFromTimestamp(long timestamp, Context context, in formatDateStringFromTimestamp() argument 71 interactionCalendar.setTimeInMillis(timestamp); in formatDateStringFromTimestamp()
|
/packages/apps/Camera2/src/com/android/camera/session/ |
D | PlaceholderManager.java | 46 Session(String title, Uri uri, long timestamp) { in Session() argument 49 time = timestamp; in Session() 57 public Session insertPlaceholder(String title, byte[] placeholder, long timestamp) { in insertPlaceholder() argument 78 return new Session(title, uri, timestamp); in insertPlaceholder()
|
/packages/inputmethods/LatinIME/native/jni/tests/suggest/policyimpl/dictionary/structure/v4/content/ |
D | language_model_dict_content_test.cpp | 44 const int timestamp = 0x3FFFFFFF; in TEST() local 48 const HistoricalInfo historicalInfo(timestamp, level, count); in TEST() 53 EXPECT_EQ(timestamp, entry.getHistoricalInfo()->getTimeStamp()); in TEST()
|
D | probability_entry_test.cpp | 41 const int timestamp = 0x3FFFFFFF; in TEST() local 45 const HistoricalInfo historicalInfo(timestamp, level, count); in TEST() 54 EXPECT_EQ(timestamp, decodedEntry.getHistoricalInfo()->getTimeStamp()); in TEST()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | BaseContactsProvider2Test.java | 408 int presence, String status, long timestamp, int chatMode, boolean isUserProfile) { in insertStatusUpdate() argument 413 return insertStatusUpdate(values, presence, status, timestamp, chatMode, isUserProfile); in insertStatusUpdate() 417 long dataId, int presence, String status, long timestamp, int chatMode) { in insertStatusUpdate() argument 418 return insertStatusUpdate(dataId, presence, status, timestamp, chatMode, false); in insertStatusUpdate() 422 long dataId, int presence, String status, long timestamp, int chatMode, in insertStatusUpdate() argument 426 return insertStatusUpdate(values, presence, status, timestamp, chatMode, isUserProfile); in insertStatusUpdate() 430 ContentValues values, int presence, String status, long timestamp, int chatMode, in insertStatusUpdate() argument 439 if (timestamp != 0) { in insertStatusUpdate() 440 values.put(StatusUpdates.STATUS_TIMESTAMP, timestamp); in insertStatusUpdate()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
D | OneCameraZslImpl.java | 235 long timestamp = captureResult.get(CaptureResult.SENSOR_TIMESTAMP); in onImageCaptured() local 241 if (timestamp > mLastCapturedImageTimestamp.get()) { in onImageCaptured() 242 mLastCapturedImageTimestamp.set(timestamp); in onImageCaptured() 379 Long timestamp = captureResult.get(CaptureResult.SENSOR_TIMESTAMP); in takePicture() 387 if (timestamp <= mLastCapturedImageTimestamp.get()) { in takePicture()
|
D | ImageCaptureManager.java | 421 final long timestamp = result.get(TotalCaptureResult.SENSOR_TIMESTAMP); 436 boolean swapSuccess = mCapturedImageBuffer.swapLeast(timestamp, 463 tryExecutePendingCaptureRequest(timestamp);
|
/packages/apps/Camera2/src/com/android/camera/app/ |
D | MemoryQuery.java | 84 long timestamp = SystemClock.elapsedRealtime(); in queryMemory() local 105 outputData.put(KEY_TIMESTAMP, new Long(timestamp)); in queryMemory() 122 "threshold=%d, lowMemory=%s", timestamp, availMem, totalMem, totalPSS, in queryMemory()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapContentObserver.java | 1113 long timestamp; field in BluetoothMapContentObserver.PushMsgInfo 1133 this.timestamp = 0; in PushMsgInfo() 1603 msgInfo.timestamp = Calendar.getInstance().getTime().getTime(); in sendMessage() 1625 intentDelivery.setType("message/" + Long.toString(msgInfo.id) + msgInfo.timestamp + i); in sendMessage() 1627 intentDelivery.putExtra(EXTRA_MESSAGE_SENT_TIMESTAMP, msgInfo.timestamp); in sendMessage() 1636 intentSent.setType("message/" + Long.toString(msgInfo.id) + msgInfo.timestamp + i); in sendMessage() 1728 long timestamp = intent.getLongExtra(EXTRA_MESSAGE_SENT_TIMESTAMP, 0); in onReceive() local 1730 if(msgInfo.timestamp == timestamp) { in onReceive()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/content/ |
D | bigram_dict_content.cpp | 48 int timestamp = NOT_A_TIMESTAMP; in getBigramEntryAndAdvancePosition() local 52 timestamp = bigramListBuffer->readUintAndAdvancePosition( in getBigramEntryAndAdvancePosition() 68 const HistoricalInfo historicalInfo(timestamp, level, count); in getBigramEntryAndAdvancePosition()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppTransfer.java | 509 private long timestamp; field in BluetoothOppTransfer.SocketConnectThread 561 timestamp = System.currentTimeMillis(); in run() 595 (System.currentTimeMillis() - timestamp) + " ms"); in run() 630 (System.currentTimeMillis() - timestamp) + " ms"); in run()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallLogManager.java | 67 this.timestamp = creationDate; in AddCallArgs() 80 public final long timestamp; field in CallLogManager.AddCallArgs 276 c.callType, c.features, c.accountHandle, c.timestamp, c.durationInSec, in doInBackground()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/property/ |
D | bigram_property.h | 30 const int probability, const int timestamp, const int level, const int count) in BigramProperty() argument 32 mTimestamp(timestamp), mLevel(level), mCount(count) {} in BigramProperty()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/event/ |
D | InputTransaction.java | 48 final long timestamp, final int spaceState, final int shiftState) { in InputTransaction() argument 51 mTimestamp = timestamp; in InputTransaction()
|