Searched defs:timestamp (Results 1 - 25 of 60) sorted by relevance

123

/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/metadatasynchronizer/
H A DMetadataPool.java29 public ListenableFuture<TotalCaptureResultProxy> removeMetadataFuture(long timestamp); argument
H A DMetadataPoolImpl.java55 private SettableFuture<TotalCaptureResultProxy> getOrCreateFuture(long timestamp) { argument
58 if (!mMetadataFutures.containsKey(timestamp)) {
59 mMetadataFutures.put(timestamp, SettableFuture.<TotalCaptureResultProxy> create());
62 metadataFuture = mMetadataFutures.get(timestamp);
69 public ListenableFuture<TotalCaptureResultProxy> removeMetadataFuture(final long timestamp) { argument
70 ListenableFuture<TotalCaptureResultProxy> future = getOrCreateFuture(timestamp);
76 mMetadataFutures.remove(timestamp);
90 long timestamp = metadata.get(CaptureResult.SENSOR_TIMESTAMP);
91 SettableFuture<TotalCaptureResultProxy> future = getOrCreateFuture(timestamp);
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/structure/v4/content/
H A Dprobability_entry_test.cpp41 const int timestamp = 0x3FFFFFFF; local
44 const HistoricalInfo historicalInfo(timestamp, 0 /* level */, count);
53 EXPECT_EQ(timestamp, decodedEntry.getHistoricalInfo()->getTimestamp());
H A Dlanguage_model_dict_content_test.cpp54 const int timestamp = 0x3FFFFFFF; local
57 const HistoricalInfo historicalInfo(timestamp, 0 /* level */, count);
62 EXPECT_EQ(timestamp, entry.getHistoricalInfo()->getTimestamp());
/packages/apps/Camera2/src/com/android/camera/burst/
H A DEvictionHandler.java31 * Return the timestamp of the image that should be dropped.
40 * @return the timestamp of the frame to drop.
47 * @param timestamp the timestamp of the frame, this frame may or may not be
51 void onFrameCaptureResultAvailable(long timestamp, argument
57 * @param timestamp the timestamp of the inserted frame in the image buffer.
59 void onFrameInserted(long timestamp); argument
64 * @param timestamp the timestamp o
66 onFrameDropped(long timestamp) argument
[all...]
/packages/apps/Camera2/src/com/android/camera/one/v2/common/
H A DTimestampResponseListener.java42 public void onStarted(long timestamp) { argument
43 mTimestamps.update(timestamp);
/packages/apps/Contacts/src/com/android/contacts/interactions/
H A DContactInteractionUtil.java55 public static String formatDateStringFromTimestamp(long timestamp, Context context) { argument
56 return formatDateStringFromTimestamp(timestamp, context, Calendar.getInstance());
60 * Takes in a timestamp and outputs a human legible date. This checks the timestamp against
63 * 1. If the timestamp is today, the time is shown
64 * 2. If the timestamp occurs tomorrow or yesterday, that is displayed
68 public static String formatDateStringFromTimestamp(long timestamp, Context context, argument
71 interactionCalendar.setTimeInMillis(timestamp);
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/
H A Dhistorical_info.h30 HistoricalInfo(const int timestamp, const int level, const int count) argument
31 : mTimestamp(timestamp), mLevel(level), mCount(count) {}
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/
H A DDeletedContactUtil.java70 * Queries all records after a given timestamp.
75 long timestamp) {
77 String[] args = new String[] {timestamp + ""};
74 querySinceTimestamp(ContentResolver resolver, String[] projection, long timestamp) argument
/packages/apps/Camera2/src/com/android/camera/one/v2/core/
H A DResponseListener.java37 public void onStarted(long timestamp) { argument
H A DResponseListenerBroadcaster.java43 public void onStarted(long timestamp) { argument
45 listener.onStarted(timestamp);
H A DTagDispatchCaptureSession.java58 long timestamp, long frameNumber) {
60 mListeners.get(tag).onStarted(timestamp);
57 onCaptureStarted(CameraCaptureSessionProxy session, CaptureRequest request, long timestamp, long frameNumber) argument
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
H A DBluetoothMapIMContentTest.java30 private String getDateTimeString(long timestamp) { argument
32 Date date = new Date(timestamp);
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/
H A DMostRecentImageSaver.java104 for (Long timestamp : toRemove) {
105 imageMap.remove(timestamp);
124 long timestamp = image.getTimestamp();
125 if (!pairFound || timestamp > oldestTimestamp) {
126 oldestTimestamp = timestamp;
152 private ImageProxy getThumbnail(long timestamp) { argument
153 return mThumbnails.get(timestamp);
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
H A DSimpleDate.java33 private long timestamp; field in class:SimpleDate
39 public SimpleDate(long timestamp) { argument
40 setTimestamp(timestamp);
45 public void setTimestamp(long timestamp) { argument
47 // TODO(georgescu): find a more efficient way to convert a timestamp to a date?
48 sCalendarInstance.setTimeInMillis(timestamp);
52 this.timestamp = timestamp;
54 DateFormat.getDateInstance(DateFormat.SHORT).format(timestamp);
123 DateFormat.getDateInstance(DateFormat.SHORT).format(timestamp);
[all...]
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversationlist/
H A DConversationListItemViewTest.java86 final String timestamp = Dates.getConversationTimeString(
90 verifyContent(view, name, snippet, timestamp, unread);
97 final String timestamp,
130 assertEquals(timestamp, timestampTextView.getText());
93 verifyContent( final ConversationListItemView view, final String conversationName, final String snippet, final String timestamp, final boolean unread) argument
/packages/apps/UnifiedEmail/src/com/android/mail/
H A DMailLogService.java76 /** Get the current timestamp */
77 private static String dateToString(long timestamp) { argument
78 final Date d = new Date(timestamp);
96 // Add the current timestamp along with the message.
104 // Print the timestamp as an actual date, and then the message.
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
H A DProbabilityInfo.java51 public ProbabilityInfo(final int probability, final int timestamp, final int level, argument
54 mTimestamp = timestamp;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/
H A DUserHistoryDictionary.java97 * @param timestamp the timestamp when the word has been inputted
101 final int timestamp) {
106 isValid, 1 /* count */, timestamp);
99 addToDictionary(final ExpandableBinaryDictionary userHistoryDictionary, @Nonnull final NgramContext ngramContext, final String word, final boolean isValid, final int timestamp) argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DWordInputEventForPersonalization.java48 final NgramContext ngramContext, final int timestamp) {
52 mTimestamp = timestamp;
58 final List<String> tokens, final int timestamp,
88 ngramContext, tempWord, timestamp, locale);
99 final NgramContext ngramContext, final String targetWord, final int timestamp,
104 return new WordInputEventForPersonalization(targetWord, ngramContext, timestamp);
47 WordInputEventForPersonalization(final CharSequence targetWord, final NgramContext ngramContext, final int timestamp) argument
57 createInputEventFrom( final List<String> tokens, final int timestamp, final SpacingAndPunctuations spacingAndPunctuations, final Locale locale) argument
98 detectWhetherVaildWordOrNotAndGetInputEvent( final NgramContext ngramContext, final String targetWord, final int timestamp, final Locale locale) argument
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/
H A Dprobability_dict_content.cpp47 const int timestamp = buffer->readUintAndAdvancePosition( local
54 const HistoricalInfo historicalInfo(timestamp, level, count + level);
151 AKLOGE("Cannot write timestamp in probability dict content. pos: %d", writingPos);
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/personalization/
H A DUserHistoryDictionaryTestsHelper.java74 * @param currentTime timestamp that would be used for adding the words.
101 final List<String> words, final int timestamp) {
105 UserHistoryDictionary.addToDictionary(dict, ngramContext, word, true, timestamp);
100 addWordsToDictionary(final UserHistoryDictionary dict, final List<String> words, final int timestamp) argument
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppShareInfo.java73 int totalBytes, int currentBytes, int timestamp, boolean mediaScanned) {
86 mTimestamp = timestamp;
71 BluetoothOppShareInfo(int id, Uri uri, String hint, String filename, String mimetype, int direction, String destination, int visibility, int confirm, int status, int totalBytes, int currentBytes, int timestamp, boolean mediaScanned) argument
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
H A DAndroidCameraCaptureSessionProxy.java43 long timestamp, long frameNumber) {
44 mCallback.onCaptureStarted(AndroidCameraCaptureSessionProxy.this, request, timestamp,
42 onCaptureStarted(CameraCaptureSession session, CaptureRequest request, long timestamp, long frameNumber) argument
H A DCameraCaptureSessionProxy.java55 long timestamp, long frameNumber);
54 onCaptureStarted(CameraCaptureSessionProxy session, CaptureRequest request, long timestamp, long frameNumber) argument

Completed in 1215 milliseconds

123