Lines Matching refs:Settings

101 import android.provider.Settings;
282 // Must match constant in Settings. Used to highlight preferences when linking to Settings.
518 && Settings.Global.HEADS_UP_OFF != Settings.Global.getInt(
519 mContext.getContentResolver(), Settings.Global.HEADS_UP_NOTIFICATIONS_ENABLED,
520 Settings.Global.HEADS_UP_OFF);
521 mHeadsUpTicker = mUseHeadsUp && 0 != Settings.Global.getInt(
791 Settings.Global.getUriFor(Settings.Global.ZEN_MODE), false,
794 Settings.Secure.getUriFor(Settings.Secure.LOCK_SCREEN_SHOW_NOTIFICATIONS), false,
799 Settings.Secure.getUriFor(Settings.Secure.LOCK_SCREEN_ALLOW_REMOTE_INPUT),
806 Settings.Secure.getUriFor(Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS),
927 Settings.Global.getUriFor(Settings.Global.HEADS_UP_NOTIFICATIONS_ENABLED), true,
930 Settings.Global.getUriFor(SETTING_HEADS_UP_TICKER), true,
2998 // Settings are not available in setup
3381 pw.println(Settings.Global.zenModeToString(mZenMode));
4024 mDemoModeAllowed = Settings.Global.getInt(mContext.getContentResolver(),
5307 final int mode = Settings.Global.getInt(mContext.getContentResolver(),
5308 Settings.Global.ZEN_MODE, Settings.Global.ZEN_MODE_OFF);
5575 Settings.Secure.putInt(mContext.getContentResolver(),
5576 Settings.Secure.SHOW_NOTE_ABOUT_NOTIFICATION_HIDING, 0);
5580 mContext.startActivity(new Intent(Settings.ACTION_APP_NOTIFICATION_REDACTION)
5735 if (0 != Settings.Secure.getInt(mContext.getContentResolver(),
5736 Settings.Secure.SHOW_NOTE_ABOUT_NOTIFICATION_HIDING, 1)) {
5740 Settings.Secure.putInt(mContext.getContentResolver(),
5741 Settings.Secure.SHOW_NOTE_ABOUT_NOTIFICATION_HIDING, 0);
5746 Settings.Secure.putInt(mContext.getContentResolver(),
5747 Settings.Secure.LOCK_SCREEN_SHOW_NOTIFICATIONS, 0);
5748 Settings.Secure.putInt(mContext.getContentResolver(),
5749 Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 0);
5827 final Intent intent = new Intent(Settings.ACTION_APP_NOTIFICATION_SETTINGS);
5828 intent.putExtra(Settings.EXTRA_APP_PACKAGE, packageName);
5829 intent.putExtra(Settings.EXTRA_APP_UID, appUid);
5899 // Settings link is only valid for notifications that specify a user, unless this is the
6156 final boolean allowed = 0 != Settings.Secure.getIntForUser(
6158 Settings.Secure.LOCK_SCREEN_SHOW_NOTIFICATIONS, 0, userHandle);
6176 final boolean allowedByUser = 0 != Settings.Secure.getIntForUser(
6178 Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 0, userHandle);
6775 final boolean show = Settings.Secure.getIntForUser(mContext.getContentResolver(),
6776 Settings.Secure.LOCK_SCREEN_SHOW_NOTIFICATIONS,
6787 final boolean remoteInput = Settings.Secure.getIntForUser(mContext.getContentResolver(),
6788 Settings.Secure.LOCK_SCREEN_ALLOW_REMOTE_INPUT,