Searched defs:when (Results 1 - 25 of 40) sorted by last modified time

12

/frameworks/support/v4/java/android/support/v4/app/
H A DNotificationCompat.java178 * {@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/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaServiceStateTracker.java231 * @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
1137 private TimeZone getNitzTimeZone(int offset, boolean dst, long when) { argument
1138 TimeZone guess = findTimeZone(offset, dst, when);
1147 findTimeZone(int offset, boolean dst, long when) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmServiceStateTracker.java112 * 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
1131 private TimeZone getNitzTimeZone(int offset, boolean dst, long when) { argument
1132 TimeZone guess = findTimeZone(offset, dst, when);
1135 guess = findTimeZone(offset, !dst, when);
1141 findTimeZone(int offset, boolean dst, long when) argument
[all...]
/frameworks/native/services/surfaceflinger/
H A DDispSync.cpp42 // This is the threshold used to determine when hardware vsync events are
283 virtual void onDispSyncEvent(nsecs_t when) { argument
H A DSurfaceFlinger.cpp100 // event is when SurfaceFlinger and Choreographer-based applications run each
481 virtual void onDispSyncEvent(nsecs_t when) { argument
494 callback->onVSyncEvent(when);
599 // make the GLContext current so that we can create textures when creating Layers
790 ALOGE("resyncToHardwareVsync called when HW vsync unavailable");
1236 // improve performance by skipping the transaction entirely when
1421 // could be null when this layer is using a layerStack
1529 * transparent. This is only used to tell when the layer has no visible
1720 // when using overlays, we assume a fully transparent framebuffer
2139 // called by the window manager when i
[all...]
/frameworks/base/tools/aapt/
H A DCommand.cpp158 time_t when; local
160 when = entry->getModWhen();
162 localtime(&when));
H A DZipEntry.cpp101 * 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/tests/LocationTracker/src/com/android/locationtracker/data/
H A DDateUtils.java38 public static String getKMLTimestamp(long when) { argument
41 c.setTimeInMillis(when);
/frameworks/base/services/jni/
H A Dcom_android_server_input_InputManagerService.cpp191 virtual void notifySwitch(nsecs_t when, uint32_t switchValues, uint32_t switchMask,
193 virtual void notifyConfigurationChanged(nsecs_t when);
202 virtual void interceptMotionBeforeQueueing(nsecs_t when, uint32_t& policyFlags);
249 void handleInterceptActions(jint wmActions, nsecs_t when, uint32_t& policyFlags);
532 void NativeInputManager::notifySwitch(nsecs_t when, argument
535 ALOGD("notifySwitch - when=%lld, switchValues=0x%08x, switchMask=0x%08x, policyFlags=0x%x",
536 when, switchValues, switchMask, policyFlags);
542 when, switchValues, switchMask);
546 void NativeInputManager::notifyConfigurationChanged(nsecs_t when) { argument
548 ALOGD("notifyConfigurationChanged - when
783 nsecs_t when = keyEvent->getEventTime(); local
820 interceptMotionBeforeQueueing(nsecs_t when, uint32_t& policyFlags) argument
851 handleInterceptActions(jint wmActions, nsecs_t when, uint32_t& policyFlags) argument
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DDirectoryFragment.java240 // Hide titles when showing recents for picking images/videos
758 // when setting back later.
825 // Always throw MIME icon into place, even when a thumbnail is being
1053 private static String formatTime(Context context, long when) { argument
1056 then.set(when);
1071 return DateUtils.formatDateTime(context, when, flags);
1119 // Read-only files are disabled when creating
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DGestureRecorder.java47 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 DKeyButtonView.java301 void sendEvent(int action, int flags, long when) { argument
303 final KeyEvent ev = new KeyEvent(mDownTime, when, action, mCode, repeatCount,
/frameworks/base/services/input/
H A DEventHub.h73 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.
H A DInputReader.cpp65 // Maximum number of slots supported when using the slot-based Multitouch Protocol B.
176 nsecs_t when, int32_t deviceId, uint32_t source,
186 NotifyKeyArgs args(when, deviceId, source, policyFlags,
187 action, 0, keyCode, 0, context->getGlobalMetaState(), when);
193 nsecs_t when, int32_t deviceId, uint32_t source,
195 synthesizeButtonKey(context, action, when, deviceId, source, policyFlags,
198 synthesizeButtonKey(context, action, when, deviceId, source, policyFlags,
330 addDeviceLocked(rawEvent->when, rawEvent->deviceId);
333 removeDeviceLocked(rawEvent->when, rawEvent->deviceId);
336 handleConfigurationChangedLocked(rawEvent->when);
175 synthesizeButtonKey(InputReaderContext* context, int32_t action, nsecs_t when, int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t lastButtonState, int32_t currentButtonState, int32_t buttonState, int32_t keyCode) argument
192 synthesizeButtonKeys(InputReaderContext* context, int32_t action, nsecs_t when, int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t lastButtonState, int32_t currentButtonState) argument
348 addDeviceLocked(nsecs_t when, int32_t deviceId) argument
375 removeDeviceLocked(nsecs_t when, int32_t deviceId) argument
476 timeoutExpiredLocked(nsecs_t when) argument
485 handleConfigurationChangedLocked(nsecs_t when) argument
551 requestTimeoutAtTimeLocked(nsecs_t when) argument
806 requestTimeoutAtTime(nsecs_t when) argument
903 configure(nsecs_t when, const InputReaderConfiguration* config, uint32_t changes) argument
940 reset(nsecs_t when) argument
990 timeoutExpired(nsecs_t when) argument
1092 notifyReset(nsecs_t when) argument
1744 configure(nsecs_t when, const InputReaderConfiguration* config, uint32_t changes) argument
1748 reset(nsecs_t when) argument
1751 timeoutExpired(nsecs_t when) argument
1839 sync(nsecs_t when) argument
1911 timeoutExpired(nsecs_t when) argument
2001 configure(nsecs_t when, const InputReaderConfiguration* config, uint32_t changes) argument
2043 reset(nsecs_t when) argument
2093 processKey(nsecs_t when, bool down, int32_t keyCode, int32_t scanCode, uint32_t policyFlags) argument
2289 configure(nsecs_t when, const InputReaderConfiguration* config, uint32_t changes) argument
2384 reset(nsecs_t when) argument
2409 sync(nsecs_t when) argument
2497 synthesizeButtonKeys(getContext(), AKEY_EVENT_ACTION_DOWN, when, getDeviceId(), mSource, local
2544 synthesizeButtonKeys(getContext(), AKEY_EVENT_ACTION_UP, when, getDeviceId(), mSource, local
2722 configure(nsecs_t when, const InputReaderConfiguration* config, uint32_t changes) argument
2896 configureSurface(nsecs_t when, bool* outResetNeeded) argument
3630 reset(nsecs_t when) argument
3680 sync(nsecs_t when) argument
3749 synthesizeButtonKeys(getContext(), AKEY_EVENT_ACTION_DOWN, when, getDeviceId(), mSource, local
3819 synthesizeButtonKeys(getContext(), AKEY_EVENT_ACTION_UP, when, getDeviceId(), mSource, local
3836 timeoutExpired(nsecs_t when) argument
3844 consumeRawTouches(nsecs_t when, uint32_t policyFlags) argument
3943 dispatchVirtualKey(nsecs_t when, uint32_t policyFlags, int32_t keyEventAction, int32_t keyEventFlags) argument
3956 dispatchTouches(nsecs_t when, uint32_t policyFlags) argument
4046 dispatchHoverExit(nsecs_t when, uint32_t policyFlags) argument
4062 dispatchHoverEnterAndMove(nsecs_t when, uint32_t policyFlags) argument
4333 dispatchPointerUsage(nsecs_t when, uint32_t policyFlags, PointerUsage pointerUsage) argument
4355 abortPointerUsage(nsecs_t when, uint32_t policyFlags) argument
4373 dispatchPointerGestures(nsecs_t when, uint32_t policyFlags, bool isTimeout) argument
4581 abortPointerGestures(nsecs_t when, uint32_t policyFlags) argument
4606 preparePointerGestures(nsecs_t when, bool* outCancelPreviousGesture, bool* outFinishPreviousGesture, bool isTimeout) argument
5369 dispatchPointerStylus(nsecs_t when, uint32_t policyFlags) argument
5399 abortPointerStylus(nsecs_t when, uint32_t policyFlags) argument
5403 dispatchPointerMouse(nsecs_t when, uint32_t policyFlags) argument
5452 abortPointerMouse(nsecs_t when, uint32_t policyFlags) argument
5458 dispatchPointerSimple(nsecs_t when, uint32_t policyFlags, bool down, bool hovering) argument
5578 abortPointerSimple(nsecs_t when, uint32_t policyFlags) argument
5585 dispatchMotion(nsecs_t when, uint32_t policyFlags, uint32_t source, int32_t action, int32_t flags, int32_t metaState, int32_t buttonState, int32_t edgeFlags, const PointerProperties* properties, const PointerCoords* coords, const uint32_t* idToIndex, BitSet32 idBits, int32_t changedId, float xPrecision, float yPrecision, nsecs_t downTime) argument
5936 reset(nsecs_t when) argument
5948 syncTouch(nsecs_t when, bool* outHavePointerIds) argument
6006 reset(nsecs_t when) argument
6020 syncTouch(nsecs_t when, bool* outHavePointerIds) argument
6235 configure(nsecs_t when, const InputReaderConfiguration* config, uint32_t changes) argument
6374 reset(nsecs_t when) argument
6433 sync(nsecs_t when, bool force) argument
[all...]
/frameworks/base/services/input/tests/
H A DInputDispatcher_test.cpp49 virtual void notifyConfigurationChanged(nsecs_t when) { argument
76 virtual void interceptMotionBeforeQueueing(nsecs_t when, uint32_t& policyFlags) { argument
89 virtual void notifySwitch(nsecs_t when, argument
H A DInputReader_test.cpp439 void enqueueEvent(nsecs_t when, int32_t deviceId, int32_t type, argument
442 event.when = when;
767 virtual void requestTimeoutAtTime(nsecs_t when) { argument
860 virtual void configure(nsecs_t when, argument
865 virtual void reset(nsecs_t when) { argument
1043 << "Should return unknown when the device id is >= 0 but unknown.";
1047 << "Should return unknown when the device id is valid but the sources are not supported by the device.";
1051 << "Should return value provided by mapper when device id is valid and the device supports some of the sources.";
1055 << "Should return unknown when th
1423 process(InputMapper* mapper, nsecs_t when, int32_t deviceId, int32_t type, int32_t code, int32_t value) argument
[all...]
/frameworks/base/services/java/com/android/server/
H A DAlarmManagerService.java117 public long when; field in class:AlarmManagerService.WakeupEvent
122 when = theTime;
324 static long convertToElapsed(long when, int type) { argument
327 when -= System.currentTimeMillis() - SystemClock.elapsedRealtime();
329 return when;
387 long whenElapsed = convertToElapsed(a.when, a.type);
391 setImplLocked(a.type, a.when, whenElapsed, maxElapsed,
564 private void setImplLocked(int type, long when, long whenElapsed, long maxWhen, long interval, argument
567 Alarm a = new Alarm(type, when, whenElapsed, maxWhen, interval, operation, workSource);
589 Slog.v(TAG, "Tipping-point operation: type=" + type + " when
792 setLocked(int type, long when) argument
1079 public long when; field in class:AlarmManagerService.Alarm
[all...]
/frameworks/base/services/java/com/android/server/content/
H A DSyncStorageEngine.java326 * Called when a sync is needed on an account(s) due to some change in state.
1045 * Called when the set of account has changed, given the new array of
1099 * Called when a sync is starting. Supply a valid ActiveSyncContext with information
1598 int authorityId, PeriodicSync targetPeriodicSync, long when) {
1606 mSyncStatus.get(authorityId).setPeriodicSyncTime(i, when);
1597 setPeriodicSyncTime( int authorityId, PeriodicSync targetPeriodicSync, long when) argument
/frameworks/base/graphics/java/android/graphics/drawable/
H A DAnimatedRotateDrawable.java177 public void scheduleDrawable(Drawable who, Runnable what, long when) { argument
180 callback.scheduleDrawable(this, what, when);
H A DClipDrawable.java37 * <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 DDrawable.java140 * 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 DDrawableContainer.java143 * Change the global fade duration when a new drawable is entering
152 * Change the global fade duration when a new drawable is leaving
275 public void scheduleDrawable(Drawable who, Runnable what, long when) { argument
277 getCallback().scheduleDrawable(this, what, when);
632 // change layout direction when they are prepared.
646 // mutate when they are prepared.
H A DInsetDrawable.java32 * 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 DLayerDrawable.java328 public void scheduleDrawable(Drawable who, Runnable what, long when) { argument
331 callback.scheduleDrawable(this, what, when);
H A DRotateDrawable.java131 public void scheduleDrawable(Drawable who, Runnable what, long when) { argument
134 callback.scheduleDrawable(this, what, when);

Completed in 411 milliseconds

12