Searched refs:when (Results 51 - 75 of 88) sorted by relevance

1234

/frameworks/base/core/java/android/app/
H A DNotification.java148 * timestamped according to when the activity began.
153 * <li>Notification of a new chat message should be stamped when the message was received.</li>
154 * <li>Notification of an ongoing file download (with a progress bar, for example) should be stamped when the download started.</li>
155 * <li>Notification of a completed file download should be stamped when the download finished.</li>
162 public long when; field in class:Notification
194 * The intent to execute when the expanded status entry is clicked. If
207 * The intent to execute when the notification is explicitly dismissed by the user, either with
296 * The audio stream type to use when playing the sound.
314 * The {@link AudioAttributes audio attributes} to use when playing the sound.
414 * set if the notification should be canceled when i
1317 Notification(Context context, int icon, CharSequence tickerText, long when, CharSequence contentTitle, CharSequence contentText, Intent contentIntent) argument
1340 Notification(int icon, CharSequence tickerText, long when) argument
2086 setWhen(long when) argument
[all...]
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DStatusBarTest.java158 not.when = System.currentTimeMillis()-(1000*60*60*24);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiNotificationController.java210 // Since we use auto cancel on the notification, when the
212 // have actually been canceled. However, when it is false we know
235 mNotification.when = 0;
/frameworks/support/v4/api20/android/support/v4/app/
H A DNotificationCompatApi20.java45 .setWhen(n.when)
/frameworks/support/v4/kitkat/android/support/v4/app/
H A DNotificationCompatKitKat.java46 .setWhen(n.when)
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmServiceStateTracker.java120 * 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...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaServiceStateTracker.java243 * @param what what code of message when delivered
319 // Non Volatile. Here when Non-Volatile is ready, we can poll the CDMA
328 // Signal strength polling stops when radio is off.
341 // This callback is called when signal strength is polled
345 // Polling will continue when radio turns back on.
544 // NV is ready when subscription source is NV
871 // TODO this will be removed when we handle roaming on LTE on CDMA+LTE phones
1176 // Add an event log when connection state changes
1364 private TimeZone getNitzTimeZone(int offset, boolean dst, long when) { argument
1365 TimeZone guess = findTimeZone(offset, dst, when);
1374 findTimeZone(int offset, boolean dst, long when) argument
[all...]
/frameworks/base/core/java/android/text/format/
H A DDateUtils.java371 * 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/tools/aapt/
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/support/v4/java/android/support/v4/widget/
H A DMaterialProgressDrawable.java67 private static final float CENTER_RADIUS = 8.75f; //should add up to 10 when + stroke_width
387 public void scheduleDrawable(Drawable d, Runnable what, long when) {
388 scheduleSelf(what, when);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
H A DomxVCM4P2_PredictReconCoefIntra_s.s50 ; * equal to predQP especially when the current block and
/frameworks/support/v4/api21/android/support/v4/app/
H A DNotificationCompatApi21.java69 .setWhen(n.when)
/frameworks/native/services/inputflinger/
H A DInputDispatcher.h126 * It is used to transmute ACTION_MOVE into ACTION_CANCEL when a touch slips
131 * It is used to transmute ACTION_MOVE into ACTION_DOWN when a touch slips
200 virtual void notifyConfigurationChanged(nsecs_t when) = 0;
237 virtual void interceptMotionBeforeQueueing(nsecs_t when, uint32_t& policyFlags) = 0;
250 virtual void notifySwitch(nsecs_t when,
542 nsecs_t deliveryTime; // time when the event was actually delivered
544 // Set to the resolved action and flags when the event is enqueued.
573 // the dispatcher lock at will. Initially when the command starts running, the
692 * synthesized when events are dropped. */
857 // Cleans up input state when droppin
[all...]
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.
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DDirectoryFragment.java250 // Hide titles when showing recents for picking images/videos
829 // Always throw MIME icon into place, even when a thumbnail is being
1059 private static String formatTime(Context context, long when) { argument
1062 then.set(when);
1077 return DateUtils.formatDateTime(context, when, flags);
1125 // Read-only files are disabled when creating
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/
H A DomxVCM4P2_PredictReconCoefIntra_s.s50 ; * equal to predQP especially when the current block and
/frameworks/base/location/java/com/android/internal/location/
H A DGpsNetInitiatedHandler.java152 Emergency Mode is when during emergency call or in emergency call back mode.
155 be set to true when the phone is having emergency call, and then will
156 be set to false by mPhoneStateListener when the emergency call ends.
159 when necessary: SystemProperties.get(TelephonyProperties.PROPERTY_INECM_MODE)
171 * The notification that is shown when a network-initiated notification
273 // a default response should be sent when time out.
278 // However, the UI should at least close the dialog when timeout. Further,
283 // handle NI form HAL when SUPL_ES is disabled.
324 // handle NI from HAL when the SUPL_ES is enabled
331 // UE is in emergency mode when i
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DNotificationCompat.java91 * Bit set in the Notification flags field when LEDs should be turned on
118 * Bit set in the Notification flags field if the notification should be canceled when
125 * when the user clicks the Clear all button.
201 * Notification extras key: this is the title of the notification when shown in expanded form,
245 * Notification extras key: this is a bitmap to be used instead of the small icon when showing the
253 * {@link Builder#setLargeIcon(android.graphics.Bitmap)} when the notification is
278 * Notification extras key: whether the when field set using {@link Builder#setWhen} should
285 * Notification extras key: whether the when field set using {@link Builder#setWhen} should
318 * in the background when the notification is selected. The URI must point to an image stream
343 * default colors when presentin
920 setWhen(long when) argument
[all...]
/frameworks/support/v4/jellybean/android/support/v4/app/
H A DNotificationCompatJellybean.java78 .setWhen(n.when)
/frameworks/base/core/jni/
H A Dandroid_util_Process.cpp888 nsecs_t when = seconds_to_nanoseconds(ts.tv_sec) + ts.tv_nsec; local
889 return (jlong) nanoseconds_to_milliseconds(when);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawableContainer.java209 * Change the global fade duration when a new drawable is entering
218 * Change the global fade duration when a new drawable is leaving
376 public void scheduleDrawable(Drawable who, Runnable what, long when) { argument
378 getCallback().scheduleDrawable(this, what, when);
829 // change layout direction when they are prepared.
878 // mutate when they are prepared.
H A DLayerDrawable.java503 public void scheduleDrawable(Drawable who, Runnable what, long when) { argument
504 scheduleSelf(what, when);
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
H A DKeyguardViewMediator.java84 * it of when the keyguard is showing, and events from the keyguard view itself
87 * Note that the keyguard view is shown when the screen is off (as appropriate)
199 /** TrustManager for letting it know when we change visibility */
266 * we send this intent when the keyguard is dismissed.
273 * {@link #setKeyguardEnabled} waits on this condition when it reenables
353 // note: this is a way to gracefully reenable the keyguard when the call
620 // send it here when the device first boots.
638 // This also "locks" the device when not secure to provide easy access to the
704 long when = SystemClock.elapsedRealtime() + timeout;
709 mAlarmManager.set(AlarmManager.ELAPSED_REALTIME_WAKEUP, when, sende
[all...]
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbDeviceManager.java100 // We often get rapid connect/disconnect events when enabling USB functions,
443 // State transition is done when sys.usb.state is set to the new configuration
635 // restore defaults when USB is disconnected
732 notification.when = 0;
770 notification.when = 0;
/frameworks/base/services/core/java/com/android/server/
H A DUiModeManagerService.java58 // Enable launching of applications when entering the dock.
105 // The broadcast receiver which receives the result of the ordered broadcast sent when
440 // to override the behavior and stay in their app even when the device is
479 // keep screen on when charging and in car mode
497 // Only launch car home when car mode is enabled and the caller
504 // Only launch car home when desk mode is enabled and the caller
601 n.when = 0;

Completed in 1027 milliseconds

1234