Home
last modified time | relevance | path

Searched refs:Prefs (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAutoTileManager.java20 import com.android.systemui.Prefs;
21 import com.android.systemui.Prefs.Key;
42 if (!Prefs.getBoolean(context, Key.QS_HOTSPOT_ADDED, false)) { in AutoTileManager()
45 if (!Prefs.getBoolean(context, Key.QS_DATA_SAVER_ADDED, false)) { in AutoTileManager()
48 if (!Prefs.getBoolean(context, Key.QS_INVERT_COLORS_ADDED, false)) { in AutoTileManager()
55 Prefs.putBoolean(mContext, Key.QS_INVERT_COLORS_ADDED, true); in AutoTileManager()
67 if (!Prefs.getBoolean(context, Key.QS_WORK_ADDED, false)) { in AutoTileManager()
70 if (!Prefs.getBoolean(context, Key.QS_NIGHT_ADDED, false)) { in AutoTileManager()
85 Prefs.putBoolean(mContext, Key.QS_NIGHT_ADDED, true);
105 Prefs.putBoolean(mContext, Key.QS_WORK_ADDED, true);
[all …]
DPhoneStatusBar.java115 import com.android.systemui.Prefs;
3232 for (Map.Entry<String, ?> entry : Prefs.getAll(mContext).entrySet()) { in dump()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DDndTile.java37 import com.android.systemui.Prefs;
80 Prefs.putBoolean(context, Prefs.Key.DND_TILE_VISIBLE, visible); in setVisible()
84 return Prefs.getBoolean(context, Prefs.Key.DND_TILE_VISIBLE, false /* defaultValue */); in isVisible()
88 Prefs.putBoolean(context, Prefs.Key.DND_TILE_COMBINED_ICON, combined); in setCombinedIcon()
92 return Prefs.getBoolean(context, Prefs.Key.DND_TILE_COMBINED_ICON, in isCombinedIcon()
125 int zen = Prefs.getInt(mContext, Prefs.Key.DND_FAVORITE_ZEN, Global.ZEN_MODE_ALARMS); in handleClick()
199 Prefs.registerListener(mContext, mPrefListener); in setListening()
202 Prefs.unregisterListener(mContext, mPrefListener); in setListening()
215 @Prefs.Key String key) {
216 if (Prefs.Key.DND_TILE_COMBINED_ICON.equals(key) ||
[all …]
DDataSaverTile.java23 import com.android.systemui.Prefs;
61 || Prefs.getBoolean(mContext, Prefs.Key.QS_DATA_SAVER_DIALOG_SHOWN, false)) { in handleClick()
80 Prefs.putBoolean(mContext, Prefs.Key.QS_DATA_SAVER_DIALOG_SHOWN, true); in handleClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DZenModePanel.java56 import com.android.systemui.Prefs;
211 Prefs.putBoolean(mContext, prefKey, true); in confirmZenIntroduction()
218 return Prefs.Key.DND_CONFIRMED_PRIORITY_INTRODUCTION; in prefKeyForConfirmation()
220 return Prefs.Key.DND_CONFIRMED_SILENCE_INTRODUCTION; in prefKeyForConfirmation()
866 Prefs.registerListener(mContext, this); in ZenPrefs()
877 Prefs.putInt(mContext, Prefs.Key.DND_NONE_SELECTED, mNoneSelected); in trackNoneSelected()
889 Prefs.putInt(mContext, Prefs.Key.DND_FAVORITE_BUCKET_INDEX, mMinuteIndex); in setMinuteIndex()
901 mMinuteIndex = clampIndex(Prefs.getInt(mContext, in updateMinuteIndex()
902 Prefs.Key.DND_FAVORITE_BUCKET_INDEX, DEFAULT_BUCKET_INDEX)); in updateMinuteIndex()
911 mNoneSelected = clampNoneSelected(Prefs.getInt(mContext, in updateNoneSelected()
[all …]
DVolumeUI.java38 import com.android.systemui.Prefs;
191 Prefs.remove(mContext, key); in onReceive()
193 Prefs.putBoolean(mContext, key, (Boolean) value); in onReceive()
195 Prefs.putInt(mContext, key, (Integer) value); in onReceive()
197 Prefs.putLong(mContext, key, (Long) value); in onReceive()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DNightModeTile.java20 import com.android.systemui.Prefs;
21 import com.android.systemui.Prefs.Key;
47 return Prefs.getBoolean(mContext, Key.QS_NIGHT_ADDED, false) in isAvailable()
DTunerZenModePanel.java28 import com.android.systemui.Prefs;
87 mZenMode = Prefs.getInt(mContext, Prefs.Key.DND_FAVORITE_ZEN, in onClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
DRecentsTaskLoadPlan.java33 import com.android.systemui.Prefs;
137 long lastStackActiveTime = Prefs.getLong(mContext, in preloadPlan()
138 Prefs.Key.OVERVIEW_LAST_STACK_TASK_ACTIVE_TIME, 0); in preloadPlan()
192 Prefs.putLong(mContext, Prefs.Key.OVERVIEW_LAST_STACK_TASK_ACTIVE_TIME, in preloadPlan()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DPrefs.java28 public final class Prefs { class
29 private Prefs() {} // no instantation in Prefs() method in Prefs
/frameworks/base/packages/SystemUI/src/com/android/systemui/tv/pip/
DPipManager.java42 import com.android.systemui.Prefs;
54 import static com.android.systemui.Prefs.Key.TV_PICTURE_IN_PICTURE_ONBOARDING_SHOWN;
219 mOnboardingShown = Prefs.getBoolean( in initialize()
431 Prefs.putBoolean(mContext, TV_PICTURE_IN_PICTURE_ONBOARDING_SHOWN, true); in launchPipOnboardingActivityIfNeeded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DRecentsActivity.java44 import com.android.systemui.Prefs;
178 Prefs.putLong(RecentsActivity.this, Prefs.Key.OVERVIEW_LAST_STACK_TASK_ACTIVE_TIME,
/frameworks/base/docs/html-intl/intl/ja/guide/publishing/
Dapp-signing.jd126 …できます。Eclipse/ADT で、[[]<strong>ウィンドウ(Windows)</strong>] &gt; [[]<strong>設定(Prefs)</strong>] &gt; [[…