/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/services/Car/libvehiclenetwork/java/src/com/android/car/vehiclenetwork/ |
H A D | VehiclePropValueUtil.java | 34 public static VehiclePropValue createIntValue(int property, int value, long timestamp) { argument 35 return createBuilder(property, VehicleValueType.VEHICLE_VALUE_TYPE_INT32, timestamp). 41 long timestamp) { 44 timestamp); 51 public static VehiclePropValue createFloatValue(int property, float value, long timestamp) { argument 52 return createBuilder(property, VehicleValueType.VEHICLE_VALUE_TYPE_FLOAT, timestamp). 58 long timestamp) { 61 timestamp); 68 public static VehiclePropValue createLongValue(int property, long value, long timestamp) { argument 69 return createBuilder(property, VehicleValueType.VEHICLE_VALUE_TYPE_INT64, timestamp) 40 createIntVectorValue(int property, int[] values, long timestamp) argument 57 createFloatVectorValue(int property, float[] values, long timestamp) argument 74 createStringValue(int property, String value, long timestamp) argument 80 createBooleanValue(int property, boolean value, long timestamp) argument 86 createBytesValue(int property, byte[] value, long timestamp) argument 92 createZonedIntValue(int property, int zone, int value, long timestamp) argument 100 createZonedIntVectorValue(int property, int zone, int[] values, long timestamp) argument 112 createZonedFloatVectorValue(int property, int zone, float[] values, long timestamp) argument 125 createZonedBooleanValue(int property, int zone, boolean value, long timestamp) argument 133 createZonedFloatValue(int property, int zone, float value, long timestamp) argument 191 createBuilder(int property, int valueType, long timestamp) argument [all...] |
/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
|
/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/DevCamera/src/com/android/devcamera/ |
H A D | GyroOperations.java | 60 public long timestamp; field in class:GyroOperations.GyroEvent2D 64 this.timestamp = event.timestamp; 87 mGyroLastTimestamp = event.timestamp; 90 long dt = (event.timestamp - mGyroLastTimestamp) / 1000; // microseconds between samples 96 mGyroLastTimestamp = event.timestamp;
|
/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) {
|
/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/services/Car/libvehiclenetwork/native/ |
H A D | VehicleNetwork.cpp | 185 status_t VehicleNetwork::getInt32Property(int32_t property, int32_t* value, int64_t* timestamp) { argument 192 *timestamp = v.timestamp; 204 status_t VehicleNetwork::getInt64Property(int32_t property, int64_t* value, int64_t* timestamp) { argument 209 *timestamp = v.timestamp; 221 status_t VehicleNetwork::getFloatProperty(int32_t property, float* value, int64_t* timestamp) { argument 226 *timestamp = v.timestamp; 239 status_t VehicleNetwork::getStringProperty(int32_t property, String8& value, int64_t* timestamp) { argument [all...] |
/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/gatt/ |
H A D | AppScanStats.java | 43 long timestamp; field in class:AppScanStats.LastScan 49 public LastScan(long timestamp, long duration, argument 52 this.timestamp = timestamp; 159 return (System.currentTimeMillis() - lastScans.get(0).timestamp) < 234 Date timestamp = new Date(scan.timestamp); 235 sb.append(" " + dateFormat.format(timestamp) + " - ");
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppShareInfo.java | 73 long totalBytes, long currentBytes, long 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, long totalBytes, long currentBytes, long timestamp, boolean mediaScanned) argument
|