Searched refs:Prefs (Results 1 - 12 of 12) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | UsageTracker.java | 26 import com.android.systemui.Prefs; 36 @Prefs.Key private final String mPrefKey; 41 public UsageTracker(Context context, @Prefs.Key String prefKey, Class<?> tile, 61 long lastUsed = Prefs.getLong(mContext, mPrefKey, 0L /* defaultValue */); 66 Prefs.putLong(mContext, mPrefKey, System.currentTimeMillis()); 70 Prefs.remove(mContext, mPrefKey);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | DndTile.java | 34 import com.android.systemui.Prefs; 75 Prefs.putBoolean(context, Prefs.Key.DND_TILE_VISIBLE, visible); 79 return Prefs.getBoolean(context, Prefs.Key.DND_TILE_VISIBLE, false /* defaultValue */); 83 Prefs.putBoolean(context, Prefs.Key.DND_TILE_COMBINED_ICON, combined); 87 return Prefs.getBoolean(context, Prefs.Key.DND_TILE_COMBINED_ICON, 117 int zen = Prefs [all...] |
H A D | ColorInversionTile.java | 22 import com.android.systemui.Prefs; 56 Prefs.Key.COLOR_INVERSION_TILE_LAST_USED, ColorInversionTile.class,
|
H A D | HotspotTile.java | 24 import com.android.systemui.Prefs; 117 return new UsageTracker(context, Prefs.Key.HOTSPOT_TILE_LAST_USED, HotspotTile.class,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
H A D | SystemServicesProxy.java | 70 import com.android.systemui.Prefs; 549 return Prefs.getInt(context, Prefs.Key.SEARCH_APP_WIDGET_ID, -1); 556 int searchWidgetId = Prefs.getInt(context, Prefs.Key.SEARCH_APP_WIDGET_ID, -1); 563 if (Prefs.getString(context, Prefs.Key.SEARCH_APP_WIDGET_PACKAGE, null) == null) { 564 Prefs.putString(context, Prefs.Key.SEARCH_APP_WIDGET_PACKAGE, 580 Prefs [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | VolumeUI.java | 38 import com.android.systemui.Prefs; 191 Prefs.remove(mContext, key); 193 Prefs.putBoolean(mContext, key, (Boolean) value); 195 Prefs.putInt(mContext, key, (Integer) value); 197 Prefs.putLong(mContext, key, (Long) value);
|
H A D | ZenModePanel.java | 54 import com.android.systemui.Prefs; 207 Prefs.putBoolean(mContext, prefKey, true); 214 return Prefs.Key.DND_CONFIRMED_PRIORITY_INTRODUCTION; 216 return Prefs.Key.DND_CONFIRMED_SILENCE_INTRODUCTION; 896 Prefs.registerListener(mContext, this); 907 Prefs.putInt(mContext, Prefs.Key.DND_NONE_SELECTED, mNoneSelected); 919 Prefs.putInt(mContext, Prefs.Key.DND_FAVORITE_BUCKET_INDEX, mMinuteIndex); 931 mMinuteIndex = clampIndex(Prefs [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | Prefs.java | 28 public final class Prefs { class 29 private Prefs() {} // no instantation method in class:Prefs
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
H A D | RecentsActivity.java | 38 import com.android.systemui.Prefs; 571 if (Prefs.getBoolean(this, Prefs.Key.DEBUG_MODE_ENABLED, false /* boolean */)) { 573 Prefs.remove(this, Prefs.Key.DEBUG_MODE_ENABLED); 581 Prefs.putBoolean(this, Prefs.Key.DEBUG_MODE_ENABLED, true);
|
H A D | RecentsConfiguration.java | 29 import com.android.systemui.Prefs; 184 debugModeEnabled = Prefs.getBoolean(context, Prefs.Key.DEBUG_MODE_ENABLED,
|
H A D | Recents.java | 44 import com.android.systemui.Prefs; 799 Prefs.getString(mContext, Prefs.Key.SEARCH_APP_WIDGET_PACKAGE, null);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | PhoneStatusBar.java | 107 import com.android.systemui.Prefs; 2748 for (Map.Entry<String, ?> entry : Prefs.getAll(mContext).entrySet()) {
|
Completed in 125 milliseconds