Home
last modified time | relevance | path

Searched refs:TunerService (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunablePadding.java22 import com.android.systemui.tuner.TunerService.Tunable;
41 private final TunerService mTunerService;
43 private TunablePadding(String key, int def, int flags, View view, TunerService tunerService) { in TunablePadding()
83 private final TunerService mTunerService;
88 public TunablePaddingService(TunerService tunerService) { in TunablePaddingService()
DClockPreference.java27 public class ClockPreference extends DropDownPreference implements TunerService.Tunable {
50 Dependency.get(TunerService.class).addTunable(this, StatusBarIconController.ICON_BLACKLIST, in onAttached()
56 Dependency.get(TunerService.class).removeTunable(this); in onDetached()
87 Dependency.get(TunerService.class).setValue(Clock.CLOCK_SECONDS, SECONDS.equals(value) ? 1 in persistString()
94 Dependency.get(TunerService.class).setValue(StatusBarIconController.ICON_BLACKLIST, in persistString()
DTunerSwitch.java13 import com.android.systemui.tuner.TunerService.Tunable;
31 Dependency.get(TunerService.class).addTunable(this, getKey().split(",")); in onAttached()
36 Dependency.get(TunerService.class).removeTunable(this); in onDetached()
42 setChecked(TunerService.parseIntegerSwitch(newValue, mDefault)); in onTuningChanged()
DBatteryPreference.java32 public class BatteryPreference extends DropDownPreference implements TunerService.Tunable {
55 Dependency.get(TunerService.class).addTunable(this, StatusBarIconController.ICON_BLACKLIST); in onAttached()
60 Dependency.get(TunerService.class).removeTunable(this); in onDetached()
95 Dependency.get(TunerService.class).setValue(StatusBarIconController.ICON_BLACKLIST, in persistString()
DTunerService.java33 public abstract class TunerService { class
81 Dependency.get(TunerService.class).clearAll(); in onReceive()
97 context.sendBroadcast(new Intent(TunerService.ACTION_CLEAR)); in showResetRequest()
99 TunerService.setTunerEnabled(context, false); in showResetRequest()
DStatusBarSwitch.java31 import com.android.systemui.tuner.TunerService.Tunable;
46 Dependency.get(TunerService.class).addTunable(this, StatusBarIconController.ICON_BLACKLIST); in onAttached()
51 Dependency.get(TunerService.class).removeTunable(this); in onDetached()
DNavBarTuner.java50 import com.android.systemui.tuner.TunerService.Tunable;
99 mTunables.forEach(t -> Dependency.get(TunerService.class).removeTunable(t)); in onDestroy()
104 Dependency.get(TunerService.class).addTunable(tunable, keys); in addTunable()
118 Dependency.get(TunerService.class).setValue(NAV_BAR_VIEWS, val); in bindLayout()
215 Dependency.get(TunerService.class).setValue(setting, button); in setValue()
DShortcutPicker.java35 import com.android.systemui.tuner.TunerService.Tunable;
45 private TunerService mTunerService;
101 mTunerService = Dependency.get(TunerService.class); in onCreatePreferences()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogComponent.java38 import com.android.systemui.tuner.TunerService;
46 public class VolumeDialogComponent implements VolumeComponent, TunerService.Tunable,
90 Dependency.get(TunerService.class).addTunable(this, VOLUME_DOWN_SILENT, VOLUME_UP_SILENT, in VolumeDialogComponent()
110 TunerService.parseIntegerSwitch(newValue, DEFAULT_VOLUME_DOWN_TO_ENTER_SILENT); in onTuningChanged()
113 TunerService.parseIntegerSwitch(newValue, DEFAULT_VOLUME_UP_TO_EXIT_SILENT); in onTuningChanged()
116 TunerService.parseIntegerSwitch(newValue, DEFAULT_DO_NOT_DISTURB_WHEN_SILENT); in onTuningChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DOperatorNameView.java38 import com.android.systemui.tuner.TunerService;
39 import com.android.systemui.tuner.TunerService.Tunable;
77 Dependency.get(TunerService.class).addTunable(this, KEY_SHOW_OPERATOR_NAME); in onAttachedToWindow()
86 Dependency.get(TunerService.class).removeTunable(this); in onDetachedFromWindow()
117 boolean showOperatorName = Dependency.get(TunerService.class) in update()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DBypassHeadsUpNotifier.kt30 import com.android.systemui.tuner.TunerService in <lambda>()
46 tunerService: TunerService) : StatusBarStateController.StateListener, in <lambda>()
64 TunerService.Tunable { _, _ -> in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardBypassController.kt26 import com.android.systemui.tuner.TunerService
67 tunerService: TunerService,
89 tunerService.addTunable(object : TunerService.Tunable {
DDozeParameters.java32 import com.android.systemui.tuner.TunerService;
39 public class DozeParameters implements TunerService.Tunable,
75 Dependency.get(TunerService.class).addTunable(this, Settings.Secure.DOZE_ALWAYS_ON, in DozeParameters()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQuickQSPanel.java36 import com.android.systemui.tuner.TunerService;
37 import com.android.systemui.tuner.TunerService.Tunable;
90 Dependency.get(TunerService.class).addTunable(mNumTiles, NUM_QUICK_TILES); in onAttachedToWindow()
96 Dependency.get(TunerService.class).removeTunable(mNumTiles); in onDetachedFromWindow()
162 return Dependency.get(TunerService.class).getValue(NUM_QUICK_TILES, mDefaultMaxTiles); in getNumQuickTiles()
DQSAnimator.java31 import com.android.systemui.tuner.TunerService;
32 import com.android.systemui.tuner.TunerService.Tunable;
136 Dependency.get(TunerService.class).addTunable(this, ALLOW_FANCY_ANIMATION, in onViewAttachedToWindow()
145 Dependency.get(TunerService.class).removeTunable(this); in onViewDetachedFromWindow()
151 mAllowFancy = TunerService.parseIntegerSwitch(newValue, true); in onTuningChanged()
156 mFullRows = TunerService.parseIntegerSwitch(newValue, true); in onTuningChanged()
DQSFooterImpl.java65 import com.android.systemui.tuner.TunerService;
320 TunerService.isTunerEnabled(mContext) ? View.VISIBLE : View.INVISIBLE); in updateVisibilities()
367 if (TunerService.isTunerEnabled(mContext)) { in onClick()
368 TunerService.showResetRequest(mContext, () -> { in onClick()
375 TunerService.setTunerEnabled(mContext, true); in onClick()
DQSPanel.java54 import com.android.systemui.tuner.TunerService;
55 import com.android.systemui.tuner.TunerService.Tunable;
181 final TunerService tunerService = Dependency.get(TunerService.class); in onAttachedToWindow()
195 Dependency.get(TunerService.class).removeTunable(this); in onDetachedFromWindow()
222 view.setVisibility(TunerService.parseIntegerSwitch(newValue, true) ? VISIBLE : GONE); in updateViewVisibilityForTuningValue()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
DFakeTunerService.java20 import com.android.systemui.tuner.TunerService;
22 public class FakeTunerService extends TunerService {
DLeakCheckedTest.java40 import com.android.systemui.tuner.TunerService;
70 TunerService.class,
135 } else if (cls == TunerService.class) { in getLeakChecker()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DExtensionControllerImplTest.java40 import com.android.systemui.tuner.TunerService;
41 import com.android.systemui.tuner.TunerService.Tunable;
57 private TunerService mTunerService;
64 mTunerService = mDependency.injectMockDependency(TunerService.class); in setup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DCollapsedStatusBarFragmentTest.java38 import com.android.systemui.tuner.TunerService;
64 mSysuiContext.putComponent(TunerService.class, mock(TunerService.class)); in setup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSTileHostTest.java51 import com.android.systemui.tuner.TunerService;
80 private TunerService mTunerService;
167 PluginManager pluginManager, TunerService tunerService, in TestQSTileHost()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DExtensionControllerImpl.java26 import com.android.systemui.tuner.TunerService;
27 import com.android.systemui.tuner.TunerService.Tunable;
53 private final TunerService mTunerService;
62 TunerService tunerService, in ExtensionControllerImpl()
DClock.java55 import com.android.systemui.tuner.TunerService;
56 import com.android.systemui.tuner.TunerService.Tunable;
190 Dependency.get(TunerService.class).addTunable(this, CLOCK_SECONDS, in onAttachedToWindow()
218 Dependency.get(TunerService.class).removeTunable(this); in onDetachedFromWindow()
301 mShowSeconds = TunerService.parseIntegerSwitch(newValue, false); in onTuningChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/tuner/
DTunablePaddingTest.java43 private TunerService mTunerService;
51 mTunerService = mock(TunerService.class); in setup()

12