/packages/apps/Camera2/src/com/android/camera/burst/ |
H A D | EvictionHandler.java | 31 * 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...] |
H A D | RingBuffer.java | 54 long timestamp = image.getTimestamp(); 55 if (mImages.get(timestamp) != null) { 62 mEvictionHandler.onFrameInserted(timestamp);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
H A D | SimpleDate.java | 33 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/inputmethods/LatinIME/native/jni/src/dictionary/property/ |
H A D | historical_info.h | 30 HistoricalInfo(const int timestamp, const int level, const int count) argument 31 : mTimestamp(timestamp), mLevel(level), mCount(count) {}
|
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/metadatasynchronizer/ |
H A D | MetadataPoolImpl.java | 55 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);
|
H A D | MetadataPool.java | 29 public ListenableFuture<TotalCaptureResultProxy> removeMetadataFuture(long timestamp); argument
|
H A D | MetadataReleasingImageQueue.java | 42 // Retrieve the timestamp before the image is closed. 43 long timestamp = getTimestamp(); 47 mMetadataPool.removeMetadataFuture(timestamp);
|
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/structure/v4/content/ |
H A D | probability_entry_test.cpp | 41 const int timestamp = 0x3FFFFFFF; local 44 const HistoricalInfo historicalInfo(timestamp, 0 /* level */, count); 53 EXPECT_EQ(timestamp, decodedEntry.getHistoricalInfo()->getTimestamp());
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
H A D | ResendMessageAction.java | 69 long timestamp = System.currentTimeMillis(); 71 // MMS expects timestamp rounded to nearest second 72 timestamp = 1000 * ((timestamp + 500) / 1000); 76 + "; changed timestamp from " + message.getReceivedTimeStamp() + " to " 77 + timestamp); 81 values.put(MessageColumns.RECEIVED_TIMESTAMP, timestamp); 82 values.put(MessageColumns.SENT_TIMESTAMP, timestamp); 83 values.put(MessageColumns.RETRY_START_TIMESTAMP, timestamp);
|
H A D | InsertNewMessageAction.java | 146 final long timestamp = System.currentTimeMillis(); 161 final long laterTimestamp = timestamp + 1; 172 timestamp, sendingConversationId); 179 final long timestampRoundedToSecond = 1000 * ((timestamp + 500) / 1000); 298 // Inform sync that message is being added at timestamp 349 final String recipient, final long timestamp, final String sendingConversationId) { 350 sLastSentMessageTimestamp = timestamp; 354 // Inform sync that message is being added at timestamp 356 syncManager.onNewMessageInserted(timestamp); 383 timestamp, 348 insertSendingSmsMessage(final MessageData content, final int subId, final String recipient, final long timestamp, final String sendingConversationId) argument 425 insertSendingMmsMessage(final String conversationId, final MessageData message, final long timestamp) argument [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
H A D | WordInputEventForPersonalization.java | 48 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/apps/Camera2/src/com/android/camera/one/v2/common/ |
H A D | TimestampResponseListener.java | 42 public void onStarted(long timestamp) { argument 43 mTimestamps.update(timestamp);
|
/packages/apps/Camera2/src/com/android/camera/session/ |
H A D | PlaceholderManager.java | 51 Placeholder(String title, Uri uri, long timestamp) { argument 54 time = timestamp; 67 * @param timestamp the timestamp of the placeholder (used for ordering 71 public Placeholder insertEmptyPlaceholder(String title, Size size, long timestamp) { argument 73 return new Placeholder(title, uri, timestamp); 81 * @param timestamp the timestamp of the placeholder (used for ordering 85 public Placeholder insertPlaceholder(String title, Bitmap placeholder, long timestamp) { argument 98 return new Placeholder(title, uri, timestamp); 101 insertPlaceholder(String title, byte[] placeholder, long timestamp) argument [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/event/ |
H A D | InputTransaction.java | 48 final long timestamp, final int spaceState, final int shiftState) { 51 mTimestamp = timestamp; 47 InputTransaction(final SettingsValues settingsValues, final Event event, final long timestamp, final int spaceState, final int shiftState) argument
|
/packages/apps/Camera2/src/com/android/camera/one/v2/core/ |
H A D | ResponseListener.java | 37 public void onStarted(long timestamp) { argument
|
H A D | ResponseListeners.java | 97 * @param callback A thread-safe callback to receive the timestamp of the 104 public void onStarted(long timestamp) { 105 callback.update(timestamp); 118 public void onStarted(long timestamp) {
|
H A D | ResponseListenerBroadcaster.java | 43 public void onStarted(long timestamp) { argument 45 listener.onStarted(timestamp);
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
H A D | ContactInteractionUtil.java | 55 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/apps/Camera2/src/com/android/camera/one/v2/errorhandling/ |
H A D | FramerateJankDetector.java | 60 long timestamp = result.get(CaptureResult.SENSOR_TIMESTAMP); 62 double deltaMillis = (timestamp - mLastFrameTimestamp) / 1000000.0; 79 mLastFrameTimestamp = timestamp;
|
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/imagedistributor/ |
H A D | ImageDistributorImpl.java | 35 * according to their timestamp. 40 * An input timestamp stream and an output image stream to receive images 66 * device. This is used as a kind of clock-signal to indicate when timestamp 74 * synchronize all of the timestamp streams associated with each added 85 * Distributes the image to all added routes according to timestamp. Note 86 * that this waits until the global timestamp stream indicates that the next 87 * image has been captured to ensure that the timestamp streams for all 98 final long timestamp = image.getTimestamp(); 100 // Wait until the global timestamp stream indicates that either the 103 // timestamp stream [all...] |
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/ |
H A D | MostRecentImageSaver.java | 104 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/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
H A D | forgetting_curve_utils.cpp | 49 const int timestamp = newHistoricalInfo->getTimestamp(); local 54 return HistoricalInfo(timestamp, level, count); 63 return HistoricalInfo(timestamp, level, 0 /* count */); 66 return HistoricalInfo(timestamp, level, clampToValidCountRange(count, headerPolicy)); 73 return HistoricalInfo(timestamp, 77 return HistoricalInfo(timestamp, 81 return HistoricalInfo(timestamp, originalHistoricalInfo->getLevel(), updatedCount); 154 /* static */ int ForgettingCurveUtils::getElapsedTimeStepCount(const int timestamp, argument 156 const int elapsedTimeInSeconds = TimeKeeper::peekCurrentTime() - timestamp;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppShareInfo.java | 73 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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
H A D | ProbabilityInfo.java | 51 public ProbabilityInfo(final int probability, final int timestamp, final int level, argument 54 mTimestamp = timestamp;
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/ |
H A D | DeletedContactUtil.java | 70 * 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
|