HomeSort by relevance Sort by last modified time
    Searched refs:Switch (Results 26 - 50 of 607) sorted by null

12 3 4 5 6 7 8 91011>>

  /packages/apps/Settings/src/com/android/settings/notification/
NotificationAppPreference.java 22 import android.widget.Switch;
29 * Shows an app icon, title and summary. Has a second switch touch target.
33 private Switch mSwitch;
81 mSwitch = (Switch) view.findViewById(R.id.switchWidget);
108 * If admin is not null, disables the switch.
115 public Switch getSwitch() {
  /packages/apps/Settings/src/com/android/settings/widget/
MasterSwitchPreference.java 24 import android.widget.Switch;
31 * A custom preference that provides inline switch toggle. It has a mandatory field for title, and
36 private Switch mSwitch;
83 mSwitch = (Switch) holder.findViewById(R.id.switchWidget);
110 * If admin is not null, disables the switch.
117 public Switch getSwitch() {
  /packages/apps/LegacyCamera/src/com/android/camera/ui/
InLineSettingSwitch.java 29 import android.widget.Switch;
31 /* A switch setting control which turns on/off the setting. */
33 private Switch mSwitch;
48 mSwitch = (Switch) findViewById(R.id.setting_switch);
  /sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/
BooleanEditor.java 23 import android.widget.Switch;
34 final Switch booleanEditor = (Switch) booleanEditorStub.inflate();
  /external/jsilver/src/com/google/clearsilver/jsilver/syntax/
SyntaxTreeBuilder.java 25 import com.google.clearsilver.jsilver.syntax.node.Switch;
40 * {@link Start#apply(com.google.clearsilver.jsilver.syntax.node.Switch)}.
73 protected final Switch typeResolver = new TypeResolver();
74 protected final Switch sequenceOptimizer = new SequenceOptimizer();
75 protected final Switch inlineRewriter = new InlineRewriter();
76 protected final Switch varOptimizer = new VarOptimizer(Arrays.asList("html", "js", "url"));
  /frameworks/support/samples/SupportEmojiDemos/src/main/java/com/example/android/support/text/emoji/
ConfigLayout.java 25 import android.widget.Switch;
33 private Switch mEnableEmojiCompat;
34 private Switch mReplaceAll;
35 private Switch mDownloadable;
36 private Switch mIndicator;
  /frameworks/base/core/java/android/preference/
SwitchPreference.java 26 import android.widget.Switch;
42 // Switch text for on and off states
127 if (checkableView instanceof Switch) {
128 final Switch switchView = (Switch) checkableView;
134 if (checkableView instanceof Switch) {
135 final Switch switchView = (Switch) checkableView;
146 * Set the text displayed on the switch widget in the on state.
157 * Set the text displayed on the switch widget in the off state
    [all...]
  /frameworks/support/preference/src/main/java/androidx/preference/
SwitchPreference.java 28 import android.widget.Switch;
47 // Switch text for on and off states
149 * Set the text displayed on the switch widget in the on state.
160 * Set the text displayed on the switch widget in the off state.
171 * Set the text displayed on the switch widget in the on state.
181 * Set the text displayed on the switch widget in the off state.
191 * @return The text that will be displayed on the switch widget in the on state
198 * @return The text that will be displayed on the switch widget in the off state
230 if (view instanceof Switch) {
231 final Switch switchView = (Switch) view
    [all...]
  /packages/apps/Car/libs/car-list/src/com/android/car/list/
ToggleLineItem.java 24 import android.widget.Switch;
70 public final Switch toggle;
76 toggle = (Switch) view.findViewById(R.id.toggle_switch);
  /packages/apps/Settings/src/com/android/settings/location/
LocationSwitchBarController.java 18 import android.widget.Switch;
30 private final Switch mSwitch;
62 // Restricted user can't change the location mode, so disable the master switch. But in some
63 // corner cases, the location might still be enabled. In such case the master switch should
71 // Disable the whole switch bar instead of the switch itself. If we disabled the switch
72 // only, it would be re-enabled again if the switch bar is not disabled.
92 * Listens to the state change of the location master switch.
95 public void onSwitchChanged(Switch switchView, boolean isChecked)
    [all...]
  /developers/build/prebuilts/gradle/BluetoothAdvertisements/Application/src/main/java/com/example/android/bluetoothadvertisements/
AdvertiserFragment.java 29 import android.widget.Switch;
40 private Switch mSwitch;
67 switch (errorCode) {
101 mSwitch = (Switch) view.findViewById(R.id.advertise_switch);
108 * When app comes on screen, check if BLE Advertisements are running, set switch accordingly,
144 * Called when switch is toggled - starts or stops advertising.
149 boolean on = ((Switch) v).isChecked();
  /developers/samples/android/connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/java/com/example/android/bluetoothadvertisements/
AdvertiserFragment.java 29 import android.widget.Switch;
40 private Switch mSwitch;
67 switch (errorCode) {
101 mSwitch = (Switch) view.findViewById(R.id.advertise_switch);
108 * When app comes on screen, check if BLE Advertisements are running, set switch accordingly,
144 * Called when switch is toggled - starts or stops advertising.
149 boolean on = ((Switch) v).isChecked();
  /development/samples/browseable/BluetoothAdvertisements/src/com.example.android.bluetoothadvertisements/
AdvertiserFragment.java 29 import android.widget.Switch;
40 private Switch mSwitch;
67 switch (errorCode) {
101 mSwitch = (Switch) view.findViewById(R.id.advertise_switch);
108 * When app comes on screen, check if BLE Advertisements are running, set switch accordingly,
144 * Called when switch is toggled - starts or stops advertising.
149 boolean on = ((Switch) v).isChecked();
  /external/jsilver/src/com/google/clearsilver/jsilver/syntax/node/
ANoopCommand.java 22 public void apply(Switch sw)
ANoopExpression.java 22 public void apply(Switch sw)
TAlt.java 28 public void apply(Switch sw)
TAnd.java 28 public void apply(Switch sw)
TArgWhitespace.java 28 public void apply(Switch sw)
TAssignment.java 28 public void apply(Switch sw)
TAutoescape.java 28 public void apply(Switch sw)
TBang.java 28 public void apply(Switch sw)
TBracketClose.java 28 public void apply(Switch sw)
TBracketOpen.java 28 public void apply(Switch sw)
TCall.java 28 public void apply(Switch sw)
TComma.java 28 public void apply(Switch sw)

Completed in 626 milliseconds

12 3 4 5 6 7 8 91011>>