Searched refs:when (Results 26 - 50 of 88) sorted by relevance

1234

/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DDrawableWrapper.java159 public void scheduleDrawable(Drawable who, Runnable what, long when) { argument
160 scheduleSelf(what, when);
/frameworks/base/core/java/android/util/
H A DTimeUtils.java63 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/native/services/inputflinger/tests/
H A DInputDispatcher_test.cpp52 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/services/core/java/com/android/server/
H A DAlarmManagerService.java171 public long when; field in class:AlarmManagerService.WakeupEvent
176 when = theTime;
450 static long convertToElapsed(long when, int type) { argument
453 when -= System.currentTimeMillis() - SystemClock.elapsedRealtime();
455 return when;
513 long whenElapsed = convertToElapsed(a.when, a.type);
526 setImplLocked(a.type, a.when, whenElapsed, a.windowLength, maxElapsed,
651 // Prevent reentrant calls from stepping on each other when writing
706 // seconds when the API expects milliseconds.
755 private void setImplLocked(int type, long when, lon argument
1350 setLocked(int type, long when) argument
1502 public long when; field in class:AlarmManagerService.Alarm
[all...]
/frameworks/base/cmds/input/src/com/android/commands/input/
H A DInput.java242 * @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/services/core/java/com/android/server/notification/
H A DNotificationRecord.java271 // Take developer provided 'when', unless it's in the future.
272 if (n.when != 0 && n.when <= sbn.getPostTime()) {
273 return n.when;
/frameworks/base/services/core/jni/
H A Dcom_android_server_input_InputManagerService.cpp209 virtual void notifySwitch(nsecs_t when, uint32_t switchValues, uint32_t switchMask,
211 virtual void notifyConfigurationChanged(nsecs_t when);
219 virtual void interceptMotionBeforeQueueing(nsecs_t when, uint32_t& policyFlags);
268 void handleInterceptActions(jint wmActions, nsecs_t when, uint32_t& policyFlags);
550 void NativeInputManager::notifySwitch(nsecs_t when, argument
553 ALOGD("notifySwitch - when=%lld, switchValues=0x%08x, switchMask=0x%08x, policyFlags=0x%x",
554 when, switchValues, switchMask, policyFlags);
560 when, switchValues, switchMask);
564 void NativeInputManager::notifyConfigurationChanged(nsecs_t when) { argument
566 ALOGD("notifyConfigurationChanged - when
837 nsecs_t when = keyEvent->getEventTime(); local
863 interceptMotionBeforeQueueing(nsecs_t when, uint32_t& policyFlags) argument
894 handleInterceptActions(jint wmActions, nsecs_t when, uint32_t& policyFlags) argument
[all...]
/frameworks/native/services/surfaceflinger/
H A DEventThread.h48 virtual void onVSyncEvent(nsecs_t when) = 0;
93 // called when receiving a hotplug event
/frameworks/base/libs/hwui/
H A DAndroid.mk4 # Only build libhwui when USE_OPENGL_RENDERER is
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyButtonView.java242 void sendEvent(int action, int flags, long when) { argument
244 final KeyEvent ev = new KeyEvent(mDownTime, when, action, mCode, repeatCount,
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DNetworkControllerWifiTest.java122 Mockito.when(networkInfo.isConnected()).thenReturn(connected);
125 Mockito.when(wifiInfo.getSSID()).thenReturn(ssid);
/frameworks/base/core/jni/
H A Dcom_android_internal_content_NativeLibraryHelper.cpp180 long when; local
184 if (!zipFile->getEntryInfo(zipEntry, NULL, &uncompLen, NULL, NULL, &when, &crc)) {
189 ZipUtils::zipTimeToTimespec(when, &t);
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DNetworkManagementServiceTest.java90 doReturn(new Binder()).when(observer).asBinder(); // Used by registerObserver.
/frameworks/base/tools/aapt/
H A DZipEntry.h106 * Application-defined "mark". Can be useful when synchronizing the
191 void setModWhen(time_t when);
/frameworks/native/services/inputflinger/
H A DEventHub.cpp730 event->when = now;
752 event->when = now;
764 event->when = now;
837 // when an input event was actually generated than the kernel
873 event->when = nsecs_t(iev.time.tv_sec) * 1000000000LL
875 ALOGV("event time %" PRId64 ", now %" PRId64, event->when, now);
881 // This can happen because when the input device is initially opened
892 if (event->when >= now + 10 * 1000000000LL) {
895 if (event->when > time) {
902 device->path.string(), event->when, tim
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DClipDrawable.java42 * <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 DDrawable.java150 * will draw when its draw() method is called.
172 * will draw when its draw() method is called.
180 * by the caller). The bounds specify where this will draw when its draw()
270 * Set to true to have the drawable dither its colors when drawn to a device
277 * Set to true to have the drawable filter its bitmap when scaled or rotated
279 * this call is ignored. This can improve the look when scaled or rotated,
294 * Called when the drawable needs to be redrawn. A view at this point
306 * the parameters <var>(what, who, when)</var> to perform the
311 * @param when The time (in milliseconds) to run. The timebase is
314 public void scheduleDrawable(Drawable who, Runnable what, long when); argument
382 scheduleSelf(Runnable what, long when) argument
[all...]
H A DAnimatedRotateDrawable.java205 public void scheduleDrawable(Drawable who, Runnable what, long when) { argument
208 callback.scheduleDrawable(this, what, when);
H A DAnimatedVectorDrawable.java471 // Only reverse when all the animators can be reverse. Otherwise, partially
507 public void scheduleDrawable(Drawable who, Runnable what, long when) {
508 scheduleSelf(what, when);
H A DInsetDrawable.java46 * 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 DRotateDrawable.java329 public void scheduleDrawable(Drawable who, Runnable what, long when) { argument
332 callback.scheduleDrawable(this, what, when);
H A DScaleDrawable.java201 public void scheduleDrawable(Drawable who, Runnable what, long when) { argument
203 getCallback().scheduleDrawable(this, what, when);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationData.java137 return (int) (nb.getNotification().when - na.getNotification().when);
151 * when the environment changes.
202 // TODO: This should not be public. Instead the Environment should notify this class when
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A DBasicBitmapDrawable.java56 * 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/packages/SystemUI/src/com/android/systemui/usb/
H A DStorageNotification.java43 * 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;
388 mMediaStorageNotification.when = 0;

Completed in 1284 milliseconds

1234