/frameworks/base/include/androidfw/ |
H A D | ZipUtils.h | 66 static inline void zipTimeToTimespec(long when, struct tm* timespec) { argument 67 const long date = when >> 16; 72 timespec->tm_hour = (when >> 11) & 0x1F; 73 timespec->tm_min = (when >> 5) & 0x3F; 74 timespec->tm_sec = (when & 0x1F) << 1;
|
/frameworks/base/libs/androidfw/tests/ |
H A D | ZipUtils_test.cpp | 41 long when = 0x3EDD7514; local 43 ZipUtils::zipTimeToTimespec(when, &t);
|
/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/base/core/java/android/content/ |
H A D | SyncStatusInfo.java | 47 // no race conditions when accessing this list 154 public void setPeriodicSyncTime(int index, long when) { argument 155 // The list is initialized lazily when scheduling occurs so we need to make sure 158 periodicSyncTimes.set(index, when);
|
/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/opt/bitmap/src/com/android/bitmap/drawable/ |
H A D | TileDrawable.java | 31 * allows a background color for the "tile", and has a fade-out transition when 175 public void scheduleDrawable(Drawable who, Runnable what, long when) { argument 176 scheduleSelf(what, when);
|
H A D | BasicBitmapDrawable.java | 56 * appropriate unbind operation when the view is detached from the window. 413 public void scheduleDrawable(Drawable who, Runnable what, long when) { argument 414 scheduleSelf(what, when);
|
/frameworks/base/cmds/input/src/com/android/commands/input/ |
H A D | Input.java | 242 * @param when the value of SystemClock.uptimeMillis() at which the event happened 247 private void injectMotionEvent(int inputSource, int action, long when, float x, float y, float pressure) { argument 254 MotionEvent event = MotionEvent.obtain(when, when, action, x, y, pressure, DEFAULT_SIZE,
|
/frameworks/base/core/java/android/os/ |
H A D | Message.java | 82 * This flag is set when the message is enqueued and remains set while it 83 * is delivered and afterwards when it is recycled. The flag is only cleared 84 * when a new message is created or obtained since that is the only time that 99 /*package*/ long when; field in class:Message 175 * @param callback Runnable that will execute when the message is handled. 289 * Used internally by the MessageQueue and Looper when disposing of queued Messages. 301 when = 0; 340 return when; 360 * Retrieve callback object that will execute when this message is handled. 374 * {@link #setData(Bundle)}. Note that when transferrin [all...] |
H A D | MessageQueue.java | 58 * Callback interface for discovering when a thread is going to block 63 * Called when the message queue has run out of messages and will now 75 * {@link IdleHandler#queueIdle IdleHandler.queueIdle()} when it is 158 if (now < msg.when) { 159 // Next message is not ready. Set a timeout to wake up when it is ready. 160 nextPollTimeoutMillis = (int) Math.min(msg.when - now, Integer.MAX_VALUE); 188 && (mMessages == null || now < mMessages.when)) { 254 int enqueueSyncBarrier(long when) { argument 261 msg.when = when; 315 enqueueMessage(Message msg, long when) argument [all...] |
H A D | PowerManager.java | 78 * <i>These flags have no effect when combined with a {@link #PARTIAL_WAKE_LOCK}.</i></p> 86 * will force the screen and/or keyboard to turn on immediately, when the WakeLock is 92 * <td>If this flag is set, the user activity timer will be reset when the WakeLock is 173 * Wake lock level: Turns the screen off when the proximity sensor activates. 215 * Wake lock flag: Turn the screen on when the wake lock is acquired. 298 * a little longer without causing a visible change such as when 308 * user activity power hints when interacting with the device indirectly 440 * wake lock, and {@link WakeLock#release release()} when you are done. 505 * is not asleep. This is what happens normally when a key or the touch 506 * screen is pressed or when som 529 userActivity(long when, boolean noChangeLights) argument 559 userActivity(long when, int event, int flags) argument [all...] |
/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 65 final Date d = new Date(when); 69 int currentOffset = current.getOffset(when); 89 if (tz.getOffset(when) == offset && 225 * when computing the UTC time for a future event, applications should be aware that 230 * <p>The time zone database may be assumed to change only when the device runtime
|
/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 | 242 void sendEvent(int action, int flags, long when) { argument 244 final KeyEvent ev = new KeyEvent(mDownTime, when, action, mCode, repeatCount,
|
/frameworks/native/services/inputflinger/tests/ |
H A D | InputDispatcher_test.cpp | 52 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/graphics/java/android/graphics/drawable/ |
H A D | ClipDrawable.java | 42 * <p class="note"><strong>Note:</strong> The drawable is clipped completely and not visible when 43 * the level is 0 and fully revealed when the level is 10,000.</p> 186 public void scheduleDrawable(Drawable who, Runnable what, long when) { argument 189 callback.scheduleDrawable(this, what, when);
|
H A D | ScaleDrawable.java | 201 public void scheduleDrawable(Drawable who, Runnable what, long when) { argument 203 getCallback().scheduleDrawable(this, what, when);
|
H A D | AnimatedRotateDrawable.java | 205 public void scheduleDrawable(Drawable who, Runnable what, long when) { argument 208 callback.scheduleDrawable(this, what, when);
|
H A D | InsetDrawable.java | 46 * This is used when a View needs a background that is smaller than 220 public void scheduleDrawable(Drawable who, Runnable what, long when) { argument 223 callback.scheduleDrawable(this, what, when);
|
H A D | RotateDrawable.java | 329 public void scheduleDrawable(Drawable who, Runnable what, long when) { argument 332 callback.scheduleDrawable(this, what, when);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | DrawableWrapper.java | 159 public void scheduleDrawable(Drawable who, Runnable what, long when) { argument 160 scheduleSelf(what, when);
|
/frameworks/base/core/java/android/text/format/ |
H A D | DateUtils.java | 371 * when showing relative times. For example, a time 3 seconds in 378 * when using {@link #WEEK_IN_MILLIS}. 541 // TODO: use icu4c when http://unicode.org/cldr/trac/ticket/3407 is fixed. 589 * @return true if the supplied when is today else false 591 public static boolean isToday(long when) { argument 593 time.set(when);
|
/frameworks/base/core/jni/ |
H A D | com_android_internal_content_NativeLibraryHelper.cpp | 180 long when; local 184 if (!zipFile->getEntryInfo(zipEntry, NULL, &uncompLen, NULL, NULL, &when, &crc)) { 189 ZipUtils::zipTimeToTimespec(when, &t);
|
/frameworks/native/services/inputflinger/ |
H A D | EventHub.h | 73 nsecs_t when; member in struct:android::RawEvent 153 * when devices are added or removed. 166 // Synthetic raw event type codes produced when devices are added or removed. 168 // Sent when a device is added. 170 // Sent when a device is removed. 172 // Sent when all added/removed devices from the most recent scan have been reported.
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | GsmServiceStateTracker.java | 120 * Mark when service state is in emergency call only mode 319 // Signal strength polling stops when radio is off 335 // This callback is called when signal strength is polled 339 // Polling will continue when radio turns back on 848 * is set to roaming when either is true. 1044 // Add an event log when connection state changes 1051 // Add an event log when network type switched 1308 private TimeZone getNitzTimeZone(int offset, boolean dst, long when) { argument 1309 TimeZone guess = findTimeZone(offset, dst, when); 1312 guess = findTimeZone(offset, !dst, when); 1318 findTimeZone(int offset, boolean dst, long when) argument [all...] |