/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/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/tests/servicestests/src/com/android/server/ |
H A D | NetworkManagementServiceTest.java | 89 doReturn(new Binder()).when(observer).asBinder(); // Used by registerObserver.
|
/frameworks/native/services/surfaceflinger/ |
H A D | EventThread.h | 48 virtual void onVSyncEvent(nsecs_t when) = 0; 93 // called when receiving a hotplug event
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | NotificationCompat.java | 178 * {@link android.app.Activity} when users click the notification. To do this, use the 209 * Automatically sets the when field to {@link System#currentTimeMillis() 221 mNotification.when = System.currentTimeMillis(); 230 public Builder setWhen(long when) { argument 231 mNotification.when = when; 236 * Show the {@link Notification#when} field as a stopwatch. 238 * Instead of presenting <code>when</code> as a timestamp, the notification will show an 239 * automatically updating display of the minutes and seconds since <code>when</code>. 241 * Useful when showin [all...] |
/frameworks/base/core/java/android/os/ |
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. 201 * Wake lock flag: Turn the screen on when the wake lock is acquired. 371 * wake lock, and {@link WakeLock#release release()} when you are done. 434 * is not asleep. This is what happens normally when a key or the touch 435 * screen is pressed or when some other user activity occurs. 441 * @param when The time of the user activity, in the {@link SystemClock#uptimeMillis()} 446 * because of this event. This is set when th 454 userActivity(long when, boolean noChangeLights) argument [all...] |
/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 | Drawable.java | 140 * will draw when its draw() method is called. 162 * will draw when its draw() method is called. 170 * by the caller). The bounds specify where this will draw when its draw() 246 * Set to true to have the drawable dither its colors when drawn to a device 253 * Set to true to have the drawable filter its bitmap when scaled or rotated 255 * this call is ignored. This can improve the look when scaled or rotated, 270 * Called when the drawable needs to be redrawn. A view at this point 282 * the parameters <var>(what, who, when)</var> to perform the 287 * @param when The time (in milliseconds) to run. The timebase is 290 public void scheduleDrawable(Drawable who, Runnable what, long when); argument 358 scheduleSelf(Runnable what, long when) argument [all...] |
H A D | AnimatedRotateDrawable.java | 177 public void scheduleDrawable(Drawable who, Runnable what, long when) { argument 180 callback.scheduleDrawable(this, what, when);
|
H A D | RotateDrawable.java | 131 public void scheduleDrawable(Drawable who, Runnable what, long when) { argument 134 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 | DrawableContainer.java | 159 * Change the global fade duration when a new drawable is entering 168 * Change the global fade duration when a new drawable is leaving 291 public void scheduleDrawable(Drawable who, Runnable what, long when) { argument 293 getCallback().scheduleDrawable(this, what, when); 652 // change layout direction when they are prepared. 666 // mutate when they are prepared.
|
H A D | LayerDrawable.java | 328 public void scheduleDrawable(Drawable who, Runnable what, long when) { argument 331 callback.scheduleDrawable(this, what, when);
|
/frameworks/base/libs/hwui/ |
H A D | Android.mk | 4 # Only build libhwui when USE_OPENGL_RENDERER is
|
/frameworks/base/tools/aapt/ |
H A D | ZipEntry.h | 106 * Application-defined "mark". Can be useful when synchronizing the 191 void setModWhen(time_t when);
|
/frameworks/support/v4/jellybean/android/support/v4/app/ |
H A D | NotificationCompatJellybean.java | 35 .setWhen(n.when)
|
/frameworks/base/services/input/ |
H A D | EventHub.cpp | 677 event->when = now; 699 event->when = now; 711 event->when = now; 784 // when an input event was actually generated than the kernel 820 event->when = nsecs_t(iev.time.tv_sec) * 1000000000LL 822 ALOGV("event time %lld, now %lld", event->when, now); 828 // This can happen because when the input device is initially opened 839 if (event->when >= now + 10 * 1000000000LL) { 842 if (event->when > time) { 848 device->path.string(), event->when, tim [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | KeyButtonView.java | 305 void sendEvent(int action, int flags, long when) { argument 307 final KeyEvent ev = new KeyEvent(mDownTime, when, action, mCode, repeatCount,
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CdmaServiceStateTracker.java | 231 * @param what what code of message when delivered 301 // Non Volatile. Here when Non-Volatile is ready, we can poll the CDMA 310 // Signal strength polling stops when radio is off. 323 // This callback is called when signal strength is polled 327 // Polling will continue when radio turns back on. 509 // NV is ready when subscription source is NV 813 // TODO this will be removed when we handle roaming on LTE on CDMA+LTE phones 1017 // Add an event log when connection state changes 1138 private TimeZone getNitzTimeZone(int offset, boolean dst, long when) { argument 1139 TimeZone guess = findTimeZone(offset, dst, when); 1148 findTimeZone(int offset, boolean dst, long when) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
H A D | StorageNotification.java | 43 * The notification that is shown when a USB mass storage host 51 * The notification that is shown when the following media events occur: 295 mUsbStorageNotification.when = 0; 384 mMediaStorageNotification.when = 0;
|
/frameworks/base/services/java/com/android/server/wifi/ |
H A D | WifiNotificationController.java | 208 // Since we use auto cancel on the notification, when the 210 // have actually been canceled. However, when it is false we know 233 mNotification.when = 0;
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
H A D | StatusBarTest.java | 158 not.when = System.currentTimeMillis()-(1000*60*60*24);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | GsmServiceStateTracker.java | 112 * Mark when service state is in emergency call only mode 302 // Signal strength polling stops when radio is off 318 // This callback is called when signal strength is polled 322 // Polling will continue when radio turns back on 738 * is set to roaming when either is true. 875 // Add an event log when connection state changes 882 // Add an event log when network type switched 1132 private TimeZone getNitzTimeZone(int offset, boolean dst, long when) { argument 1133 TimeZone guess = findTimeZone(offset, dst, when); 1136 guess = findTimeZone(offset, !dst, when); 1142 findTimeZone(int offset, boolean dst, long when) argument [all...] |
/frameworks/base/core/java/android/text/format/ |
H A D | DateUtils.java | 372 * when showing relative times. For example, a time 3 seconds in 379 * when using {@link #WEEK_IN_MILLIS}. 542 // TODO: use icu4c when http://unicode.org/cldr/trac/ticket/3407 is fixed. 590 * @return true if the supplied when is today else false 592 public static boolean isToday(long when) { argument 594 time.set(when);
|