Home
last modified time | relevance | path

Searched refs:Switch (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/av/media/codec2/sfplugin/
DCodec2InfoBuilder.cpp216 class Switch { class
223 constexpr Switch(uint8_t flags) : mFlags(flags) {} in Switch() function in android::__anon40ddd0ae0111::Switch
233 constexpr Switch operator!() const { in operator !()
234 return Switch(mFlags ^ IS_ENABLED); in operator !()
237 static constexpr Switch DISABLED() { return 0; }; in DISABLED()
238 static constexpr Switch ENABLED() { return IS_ENABLED; }; in ENABLED()
239 static constexpr Switch DISABLED_BY_DEFAULT() { return BY_DEFAULT; }; in DISABLED_BY_DEFAULT()
240 static constexpr Switch ENABLED_BY_DEFAULT() { return IS_ENABLED | BY_DEFAULT; }; in ENABLED_BY_DEFAULT()
254 const char *asString(const Switch &s, const char *def = "??") { in asString()
258 Switch isSettingEnabled( in isSettingEnabled()
[all …]
/frameworks/base/core/java/android/preference/
DSwitchPreference.java27 import android.widget.Switch;
136 if (checkableView instanceof Switch) { in onBindView()
137 final Switch switchView = (Switch) checkableView; in onBindView()
143 if (checkableView instanceof Switch) { in onBindView()
144 final Switch switchView = (Switch) checkableView; in onBindView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DPowerNotificationControlsFragment.java25 import android.widget.Switch;
51 final Switch switchWidget = (Switch) switchBar.findViewById(android.R.id.switch_widget); in onViewCreated()
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
DElementLayoutActivity.java23 import android.widget.Switch;
114 Switch button = new Switch(this); in createSwitch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DChannelEditorListView.kt34 import android.widget.Switch in <lambda>()
126 lateinit var switch: Switch
140 private lateinit var switch: Switch
/frameworks/base/core/java/android/widget/
DSwitch.java87 public class Switch extends CompoundButton { class
186 public Switch(Context context) { in Switch() method in Switch
197 public Switch(Context context, AttributeSet attrs) { in Switch() method in Switch
211 public Switch(Context context, AttributeSet attrs, int defStyleAttr) { in Switch() method in Switch
232 public Switch(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in Switch() method in Switch
242 attrs, com.android.internal.R.styleable.Switch, defStyleAttr, defStyleRes); in Switch()
243 saveAttributeDataForStyleable(context, com.android.internal.R.styleable.Switch, in Switch()
1494 return Switch.class.getName(); in getAccessibilityClassName()
1534 private static final FloatProperty<Switch> THUMB_POS = new FloatProperty<Switch>("thumbPos") {
1536 public Float get(Switch object) {
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DBatterySaverTile.java21 import android.widget.Switch;
106 state.expandedAccessibilityClassName = Switch.class.getName(); in handleUpdateState()
DRotationLockTile.java24 import android.widget.Switch;
82 state.expandedAccessibilityClassName = Switch.class.getName(); in handleUpdateState()
DColorInversionTile.java23 import android.widget.Switch;
105 state.expandedAccessibilityClassName = Switch.class.getName(); in handleUpdateState()
DWorkModeTile.java22 import android.widget.Switch;
114 state.expandedAccessibilityClassName = Switch.class.getName(); in handleUpdateState()
DUiModeNightTile.java24 import android.widget.Switch;
99 state.expandedAccessibilityClassName = Switch.class.getName(); in handleUpdateState()
DNfcTile.java28 import android.widget.Switch;
111 state.expandedAccessibilityClassName = Switch.class.getName(); in handleUpdateState()
DFlashlightTile.java23 import android.widget.Switch;
124 state.expandedAccessibilityClassName = Switch.class.getName(); in handleUpdateState()
DLocationTile.java23 import android.widget.Switch;
118 state.expandedAccessibilityClassName = Switch.class.getName(); in handleUpdateState()
DDataSaverTile.java21 import android.widget.Switch;
100 state.expandedAccessibilityClassName = Switch.class.getName(); in handleUpdateState()
DAirplaneModeTile.java29 import android.widget.Switch;
113 state.expandedAccessibilityClassName = Switch.class.getName(); in handleUpdateState()
DHotspotTile.java24 import android.widget.Switch;
136 state.expandedAccessibilityClassName = Switch.class.getName(); in handleUpdateState()
DNightDisplayTile.java32 import android.widget.Switch;
119 state.expandedAccessibilityClassName = Switch.class.getName(); in handleUpdateState()
DCellularTile.java34 import android.widget.Switch;
163 state.expandedAccessibilityClassName = Switch.class.getName(); in handleUpdateState()
DBluetoothTile.java32 import android.widget.Switch;
167 state.expandedAccessibilityClassName = Switch.class.getName(); in handleUpdateState()
DDndTile.java46 import android.widget.Switch;
268 state.expandedAccessibilityClassName = Switch.class.getName(); in handleUpdateState()
DWifiTile.java29 import android.widget.Switch;
221 state.expandedAccessibilityClassName = Switch.class.getName(); in handleUpdateState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSDetail.java34 import android.widget.Switch;
62 protected Switch mQsDetailHeaderSwitch;
102 mQsDetailHeaderSwitch = (Switch) mQsDetailHeader.findViewById(android.R.id.toggle); in onFinishInflate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileBaseView.java43 import android.widget.Switch;
285 if (Switch.class.getName().equals(mAccessibilityClass)) { in onInitializeAccessibilityEvent()
302 if (Switch.class.getName().equals(mAccessibilityClass)) { in onInitializeAccessibilityNodeInfo()
/frameworks/base/data/keyboards/
DVendor_057e_Product_2009.kl16 # Nintendo Switch Pro Controller - HAC-013 - Bluetooth

12