/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
H A D | DateUtils.java | 38 public static String getKMLTimestamp(long when) { argument 41 c.setTimeInMillis(when);
|
/frameworks/native/libs/utils/tests/ |
H A D | ZipFileRO_test.cpp | 41 long when = 0x3EDD7514; local 43 ZipFileRO::zipTimeToTimespec(when, &t);
|
/frameworks/native/include/utils/ |
H A D | ZipFileRO.h | 61 * To speed comparisons when doing a lookup by name, we could make the mapping 180 static inline void zipTimeToTimespec(long when, struct tm* timespec) { argument 181 const long date = when >> 16; 186 timespec->tm_hour = (when >> 11) & 0x1F; 187 timespec->tm_min = (when >> 5) & 0x3F; 188 timespec->tm_sec = (when & 0x1F) << 1;
|
/frameworks/native/libs/utils/ |
H A D | SystemClock.cpp | 44 * Set the current time. This only works when running as root. 100 int64_t when = systemTime(SYSTEM_TIME_MONOTONIC); local 101 return (int64_t) nanoseconds_to_milliseconds(when);
|
/frameworks/base/cmds/input/src/com/android/commands/input/ |
H A D | Input.java | 210 * @param when the value of SystemClock.uptimeMillis() at which the event happened 215 private void injectMotionEvent(int inputSource, int action, long when, float x, float y, float pressure) { argument 222 MotionEvent event = MotionEvent.obtain(when, when, action, x, y, pressure, DEFAULT_SIZE,
|
/frameworks/base/core/java/android/content/ |
H A D | SyncStatusInfo.java | 130 public void setPeriodicSyncTime(int index, long when) { argument 132 periodicSyncTimes.set(index, when);
|
/frameworks/base/core/java/android/os/ |
H A D | MessageQueue.java | 57 * Callback interface for discovering when a thread is going to block 62 * Called when the message queue has run out of messages and will now 74 * {@link IdleHandler#queueIdle IdleHandler.queueIdle()} when it is 144 if (now < msg.when) { 145 // Next message is not ready. Set a timeout to wake up when it is ready. 146 nextPollTimeoutMillis = (int) Math.min(msg.when - now, Integer.MAX_VALUE); 169 && (mMessages == null || now < mMessages.when)) { 227 final int enqueueSyncBarrier(long when) { argument 237 if (when != 0) { 238 while (p != null && p.when < 283 enqueueMessage(Message msg, long when) argument [all...] |
H A D | Message.java | 85 /*package*/ long when; field in class:Message 157 * @param callback Runnable that will execute when the message is handled. 284 return when; 304 * Retrieve callback object that will execute when this message is handled. 318 * {@link #setData(Bundle)}. Note that when transferring data across 321 * Bundle.setClassLoader()} so that it can instantiate your objects when 412 when = 0; 441 b.append(" when="); 442 TimeUtils.formatDuration(when-now, b); 501 dest.writeLong(when); [all...] |
H A D | PowerManager.java | 76 * <i>These flags have no effect when combined with a {@link #PARTIAL_WAKE_LOCK}.</i></p> 84 * will force the screen and/or keyboard to turn on immediately, when the WakeLock is 90 * <td>If this flag is set, the user activity timer will be reset when the WakeLock is 171 * Wake lock level: Turns the screen off when the proximity sensor activates. 199 * Wake lock flag: Turn the screen on when the wake lock is acquired. 369 * wake lock, and {@link WakeLock#release release()} when you are done. 432 * is not asleep. This is what happens normally when a key or the touch 433 * screen is pressed or when some other user activity occurs. 439 * @param when The time of the user activity, in the {@link SystemClock#uptimeMillis()} 444 * because of this event. This is set when th 452 userActivity(long when, boolean noChangeLights) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | ZipEntry.cpp | 101 * can defer worrying about that to when we're extracting data. 357 void ZipEntry::setModWhen(time_t when) argument 368 even = (time_t)(((unsigned long)(when) + 1) & (~1));
|
/frameworks/base/core/java/android/util/ |
H A D | TimeUtils.java | 63 public static TimeZone getTimeZone(int offset, boolean dst, long when, String country) { argument 68 Date d = new Date(when); 72 int currentOffset = current.getOffset(when); 92 if (tz.getOffset(when) == offset && 228 * when computing the UTC time for a future event, applications should be aware that 233 * <p>The time zone database may be assumed to change only when the device runtime
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | ClipDrawable.java | 37 * <p class="note"><strong>Note:</strong> The drawable is clipped completely and not visible when 38 * the level is 0 and fully revealed when the level is 10,000.</p> 120 public void scheduleDrawable(Drawable who, Runnable what, long when) { argument 123 callback.scheduleDrawable(this, what, when);
|
H A D | InsetDrawable.java | 32 * This is used when a View needs a background that is smaller than 140 public void scheduleDrawable(Drawable who, Runnable what, long when) { argument 143 callback.scheduleDrawable(this, what, when);
|
H A D | RotateDrawable.java | 126 public void scheduleDrawable(Drawable who, Runnable what, long when) { argument 129 callback.scheduleDrawable(this, what, when);
|
H A D | ScaleDrawable.java | 135 public void scheduleDrawable(Drawable who, Runnable what, long when) { argument 137 getCallback().scheduleDrawable(this, what, when);
|
H A D | AnimatedRotateDrawable.java | 172 public void scheduleDrawable(Drawable who, Runnable what, long when) { argument 175 callback.scheduleDrawable(this, what, when);
|
H A D | Drawable.java | 138 * will draw when its draw() method is called. 156 * will draw when its draw() method is called. 164 * by the caller). The bounds specify where this will draw when its draw() 240 * Set to true to have the drawable dither its colors when drawn to a device 247 * Set to true to have the drawable filter its bitmap when scaled or rotated 249 * this call is ignored. This can improve the look when scaled or rotated, 264 * Called when the drawable needs to be redrawn. A view at this point 276 * the parameters <var>(what, who, when)</var> to perform the 281 * @param when The time (in milliseconds) to run. The timebase is 284 public void scheduleDrawable(Drawable who, Runnable what, long when); argument 352 scheduleSelf(Runnable what, long when) argument [all...] |
H A D | DrawableContainer.java | 137 * Change the global fade duration when a new drawable is entering 146 * Change the global fade duration when a new drawable is leaving 254 public void scheduleDrawable(Drawable who, Runnable what, long when) { argument 256 getCallback().scheduleDrawable(this, what, when);
|
H A D | LayerDrawable.java | 324 public void scheduleDrawable(Drawable who, Runnable what, long when) { argument 327 callback.scheduleDrawable(this, what, when);
|
/frameworks/base/services/input/tests/ |
H A D | InputDispatcher_test.cpp | 49 virtual void notifyConfigurationChanged(nsecs_t when) { argument 75 virtual void interceptMotionBeforeQueueing(nsecs_t when, uint32_t& policyFlags) { argument 88 virtual void notifySwitch(nsecs_t when, argument
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
H A D | VideoEditorStressTest.java | 148 private void getAfterMemory_updateLog(String[] loggingInfo, boolean when, argument 154 if(when == false){
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | GestureRecorder.java | 47 public MotionEventRecord(long when, MotionEvent event) { argument 48 this.time = when; 80 public TagRecord(long when, String tag, String info) { argument 81 this.time = when; 114 public void tag(long when, String tag, String info) { argument 115 mRecords.add(new TagRecord(when, tag, info)); 171 public void tag(long when, String tag, String info) { argument 177 mCurrentGesture.tag(when, tag, info); 182 public void tag(long when, String tag) { argument 183 tag(when, ta [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | KeyButtonView.java | 277 void sendEvent(int action, int flags, long when) { argument 279 final KeyEvent ev = new KeyEvent(mDownTime, when, action, mCode, repeatCount,
|
/frameworks/base/core/jni/ |
H A D | com_android_internal_content_NativeLibraryHelper.cpp | 172 long when; local 176 if (!zipFile->getEntryInfo(zipEntry, NULL, &uncompLen, NULL, NULL, &when, &crc)) { 181 ZipFileRO::zipTimeToTimespec(when, &t);
|
/frameworks/base/services/input/ |
H A D | EventHub.h | 58 nsecs_t when; member in struct:android::RawEvent 138 * when devices are added or removed. 151 // Synthetic raw event type codes produced when devices are added or removed. 153 // Sent when a device is added. 155 // Sent when a device is removed. 157 // Sent when all added/removed devices from the most recent scan have been reported.
|