Home
last modified time | relevance | path

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

123

/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/
DCustomUuidEirFragment.java35 import android.widget.Switch;
89 Switch mAdvertisingToggle;
90 Switch mBtAdapterToggle;
93 List<Switch> mUuidSwitches;
112 mAdvertisingToggle = (Switch) v.findViewById(R.id.advertising_toggle); in onCreateView()
113 mBtAdapterToggle = (Switch) v.findViewById(R.id.bt_adapter_toggle); in onCreateView()
146 (Switch) v.findViewById(R.id.uuid1_toggle), in onCreateView()
147 (Switch) v.findViewById(R.id.uuid2_toggle), in onCreateView()
148 (Switch) v.findViewById(R.id.uuid3_toggle), in onCreateView()
149 (Switch) v.findViewById(R.id.uuid4_toggle)); in onCreateView()
[all …]
/packages/apps/ThemePicker/src/com/android/customization/picker/themedicon/
DThemedIconSectionView.java20 import android.widget.Switch;
32 private Switch mSwitchView;
52 public Switch getSwitch() { in getSwitch()
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/ui/menu/
DSwitchItemViewHolder.kt20 import android.widget.Switch
27 private val switch = itemView.requireViewById<Switch>(R.id.menu_switch)
30 model as MenuItem.Switch in bindTo()
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/ui/panel/items/
DPanelSwitchViewHolder.kt20 import android.widget.Switch
30 private val switch = itemView.requireViewById<Switch>(R.id.panel_switch_toggle)
33 model as PanelItem.Switch in bindTo()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DInLineSettingSwitch.java29 import android.widget.Switch;
33 private Switch mSwitch;
48 mSwitch = (Switch) findViewById(R.id.setting_switch); in onFinishInflate()
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/settings/activitydelegates/
DMeasurementActivityActionDelegate.java19 import android.widget.Switch;
67 switchBar -> mMeasurementViewModel.consentSwitchClickHandlerOnR((Switch) switchBar), in initRvc()
69 switchBar -> ((Switch) switchBar)::setChecked); in initRvc()
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/settings/delegates/
DMeasurementActionDelegate.java21 import android.widget.Switch;
131 Switch measurementSwitchBar = in configureMeasurementConsentSwitchOnR()
138 mMeasurementViewModel.consentSwitchClickHandlerOnR((Switch) switchBar)); in configureMeasurementConsentSwitchOnR()
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DTelecomDeveloperMenu.java21 import android.widget.Switch;
31 private Switch mEnhancedCallingSwitch;
/packages/apps/ThemePicker/src/com/android/customization/picker/notifications/ui/binder/
DNotificationSectionBinder.kt22 import android.widget.Switch
41 val switch: Switch = view.requireViewById(R.id.switcher) in bind()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DMultiTargetSwitchPreference.java21 import android.widget.Switch;
52 Switch switchView = holder.itemView.findViewById(android.R.id.switch_widget); in onBindViewHolder()
DPermissionPreference.java31 import android.widget.Switch;
187 Switch switchView = (Switch) v; in updateUi()
227 Switch switchView = (Switch) v; in updateUi()
/packages/apps/Messaging/src/com/android/messaging/ui/debug/
DDebugMmsConfigItemView.java31 import android.widget.Switch;
47 private Switch mSwitch;
61 mSwitch = (Switch) findViewById(R.id.switch_button); in onFinishInflate()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/customizationtool/
DCustomizationToolFragment.java23 import android.widget.Switch;
37 private Switch mCustomizationToolSwitch;
/packages/apps/ThemePicker/src/com/android/customization/picker/mode/
DDarkModeSectionView.java21 import android.widget.Switch;
43 Switch switchView = findViewById(R.id.dark_mode_toggle); in onFinishInflate()
/packages/services/Car/tests/NetworkPreferenceApp/src/com/google/android/car/networking/preferenceupdater/fragments/
DManagerFragment.java43 import android.widget.Switch;
98 private Switch mReapplyPANSOnBootSwitch;
99 private Switch mReapplyWifiSuggestionsOnBootSwitch;
104 private Switch mConnectToOemPaidWifiSwitch;
106 private Switch mConnectToOemPrivateWifiSwitch;
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/rotary/
DRotaryFragment.java34 import android.widget.Switch;
66 private Switch mRotaryServiceToggle;
67 private Switch mRotaryImeToggle;
68 private Switch mRotaryPlaygroundToggle;
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/floatingsheetcontent/
DWallpaperActionsToggleAdapter.kt21 import android.widget.Switch in <lambda>()
38 val switchView: Switch in <lambda>()
/packages/services/Telephony/src/com/android/phone/settings/
DRadioInfo.java99 import android.widget.Switch;
304 private Switch mRadioPowerOnSwitch;
305 private Switch mSimulateOutOfServiceSwitch;
306 private Switch mMockSatellite;
315 private Switch mImsVolteProvisionedSwitch;
316 private Switch mImsVtProvisionedSwitch;
317 private Switch mImsWfcProvisionedSwitch;
318 private Switch mEabProvisionedSwitch;
319 private Switch mCbrsDataSwitch;
320 private Switch mDsdsSwitch;
[all …]
/packages/apps/TvFeedbackConsent/src/com/android/tv/feedbackconsent/
DTvFeedbackConsentActivity.java34 import android.widget.Switch;
147 sendLogs = ((Switch) requireViewById(R.id.system_logs_switch)).isChecked(); in onSendFeedbackButtonClicked()
148 sendBugreport = ((Switch) requireViewById(R.id.bugreport_switch)).isChecked(); in onSendFeedbackButtonClicked()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/input/
DDisplayInputLockListAdapter.java26 import android.widget.Switch;
40 public Switch mInputLockSwitch;
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/rro/unbundled/apprro/
DUnbundledRroPanelReducer.kt53 PanelItem.Switch( in <lambda>()
89 if (item is PanelItem.Switch && item.text == action.rroPackage) { in <lambda>()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DColoredTwoActionSwitchPreferenceTest.java25 import android.widget.Switch;
80 assertTrue(((Switch) mRootView.findViewById( in setSecondaryActionChecked_setToTrue_switchSetToTrue()
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/settings/viewmodels/
DMeasurementViewModel.java20 import android.widget.Switch;
143 public void consentSwitchClickHandlerOnR(Switch measurementSwitchBar) { in consentSwitchClickHandlerOnR()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DAutoAllAppPermissionsFragment.java36 import android.widget.Switch;
322 Switch switchView = (Switch) v; in MyMultiTargetSwitchPreference()
386 Switch switchView = holder.itemView.findViewById(android.R.id.switch_widget); in onBindViewHolder()
/packages/services/Car/tests/CustomizationTool/tests/src/com/android/car/customization/tool/domain/
DTestData.kt76 internal val secondLevelSwitch1 = MenuItem.Switch(
82 internal val secondLevelSwitch2 = MenuItem.Switch(

123