Home
last modified time | relevance | path

Searched refs:defaults (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/core/java/android/app/
DNotification.java233 public int defaults; field in Notification
380 defaults = parcel.readInt(); in Notification()
437 that.defaults = this.defaults; in clone()
495 parcel.writeInt(defaults); in writeToParcel()
599 } else if ((this.defaults & DEFAULT_VIBRATE) != 0) { in toString()
607 } else if ((this.defaults & DEFAULT_SOUND) != 0) { in toString()
613 sb.append(Integer.toHexString(this.defaults)); in toString()
923 public Builder setDefaults(int defaults) { in setDefaults() argument
924 mDefaults = defaults; in setDefaults()
1032 n.defaults = mDefaults; in getNotification()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationBuilderTest.java345 int defaults = 0; in buildNotification() local
347 defaults |= Notification.DEFAULT_SOUND; in buildNotification()
350 defaults |= Notification.DEFAULT_VIBRATE; in buildNotification()
353 defaults |= Notification.DEFAULT_LIGHTS; in buildNotification()
355 b.setDefaults(defaults); in buildNotification()
DNotificationTestList.java300 n.defaults |= Notification.DEFAULT_SOUND ;
429 n.defaults |= Notification.DEFAULT_ALL;
438 n.defaults |= Notification.DEFAULT_ALL;
619 n.defaults = Notification.DEFAULT_VIBRATE;
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java304 mUsbStorageNotification.defaults |= Notification.DEFAULT_SOUND; in setUsbStorageNotification()
306 mUsbStorageNotification.defaults &= ~Notification.DEFAULT_SOUND; in setUsbStorageNotification()
390 mMediaStorageNotification.defaults &= ~Notification.DEFAULT_SOUND; in setMediaStorageNotification()
/frameworks/base/location/java/com/android/internal/location/
DGpsNetInitiatedHandler.java203 mNiNotification.defaults |= Notification.DEFAULT_SOUND; in setNiNotification()
205 mNiNotification.defaults &= ~Notification.DEFAULT_SOUND; in setNiNotification()
/frameworks/base/docs/html/guide/topics/ui/notifiers/
Dnotifications.jd228 <p>To use the user's default sound, add "DEFAULT_SOUND" to the <var>defaults</var> field:</p>
230 notification.defaults |= Notification.DEFAULT_SOUND;
257 <p class="note"><strong>Note:</strong> If the <var>defaults</var> field includes
268 <var>defaults</var> field:</p>
270 notification.defaults |= Notification.DEFAULT_VIBRATE;
286 <p class="note"><strong>Note:</strong> If the <var>defaults</var> field includes
298 <var>defaults</var> field:</p>
300 notification.defaults |= Notification.DEFAULT_LIGHTS;
/frameworks/base/services/java/com/android/server/
DNotificationManagerService.java172 pw.println(prefix + " defaults=0x" + Integer.toHexString(notification.defaults)); in dump()
799 (notification.defaults & Notification.DEFAULT_SOUND) != 0; in enqueueNotificationInternal()
830 (notification.defaults & Notification.DEFAULT_VIBRATE) != 0; in enqueueNotificationInternal()
1079 if ((mLedNotification.notification.defaults & Notification.DEFAULT_LIGHTS) != 0) { in updateLightsLocked()
DUiModeManagerService.java591 n.defaults = Notification.DEFAULT_LIGHTS; in adjustStatusBarCarModeLocked()
DThrottleService.java681 mThrottlingNotification.defaults &= ~Notification.DEFAULT_SOUND; in postNotification()
DInputMethodManagerService.java531 mImeSwitcherNotification.defaults = 0; // please be quiet in InputMethodManagerService()
/frameworks/base/services/java/com/android/server/usb/
DUsbDeviceManager.java567 notification.defaults = 0; // please be quiet in updateUsbNotification()
600 notification.defaults = 0; // please be quiet in updateAdbNotification()
/frameworks/base/docs/html/guide/topics/resources/
Dlocalization.jd16 defaults.</li>
25 <ol><li><a href="#defaults-r-important">Why Default Resources Are Important</a></li></ol>
28 <li><a href="#creating-defaults">How to Create Default Resources</a></li>
136 <h3 id="defaults-r-important">Why Default Resources Are Important</h3>
175 <h3 id="creating-defaults">How to Create Default Resources</h3>
408 the strings, the application will fall back to the defaults and use what is
581 href="#creating-defaults">Creating Default Resources</a>.</td>
/frameworks/base/docs/html/guide/topics/admin/
Ddevice-admin.jd42 restore factory defaults on) lost or stolen handsets. Exchange users can sync
189 remotely reset the device to factory defaults. This secures data in case the
212 <li>Wipe the device's data (that is, restore the device to its factory defaults).</li>
/frameworks/base/docs/html/sdk/
Dandroid-2.2-highlights.jd98 factory defaults to secure data in case device is lost or stolen.</p>
DRELEASENOTES.jd221 <p>Besides these defaults, You can also create an AVD that overrides the default
/frameworks/base/docs/html/guide/developing/debugging/
Dddms.jd28 DDMS defaults to the emulator.</p>
/frameworks/base/services/java/com/android/server/connectivity/
DTethering.java451 mTetheredNotification.defaults &= ~Notification.DEFAULT_SOUND; in showTetheredNotification()
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pService.java1320 mNotification.defaults &= ~Notification.DEFAULT_SOUND; in showNotification()
/frameworks/base/docs/html/guide/topics/renderscript/
Dgraphics.jd594 <code>default</code> binds the shaders to the graphical context with the system defaults. The
/frameworks/base/docs/html/resources/tutorials/localization/
Dindex.jd381 are available, the application will fall back on the defaults. </p>
/frameworks/base/services/java/com/android/server/am/
DActivityManagerService.java1105 notification.defaults = 0; // please be quiet
/frameworks/base/api/
Dcurrent.txt3612 field public int defaults;
36824 field protected java.util.Properties defaults;
D14.txt3612 field public int defaults;
36824 field protected java.util.Properties defaults;