/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/ |
D | MultiTargetSwitchPreference.java | 52 Switch switchView = holder.itemView.findViewById(android.R.id.switch_widget); in onBindViewHolder() local 53 if (switchView != null) { in onBindViewHolder() 54 switchView.setOnClickListener(mSwitchOnClickLister); in onBindViewHolder() 58 - switchView.getMeasuredHeight()) / 2 + 0.5f); in onBindViewHolder() 59 switchView.setPaddingRelative(padding, padding, 0, padding); in onBindViewHolder()
|
D | PermissionPreference.java | 229 Switch switchView = (Switch) v; in updateUi() 230 requestChange(switchView.isChecked(), CHANGE_BOTH); in updateUi() 266 Switch switchView = (Switch) v; in updateUi() 268 if (switchView.isChecked()) { in updateUi()
|
D | AllAppPermissionsFragment.java | 281 Switch switchView = (Switch) v; in MyMultiTargetSwitchPreference() 282 if (switchView.isChecked()) { in MyMultiTargetSwitchPreference()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/mode/ |
D | DarkModeSectionView.java | 43 Switch switchView = findViewById(R.id.dark_mode_toggle); in onFinishInflate() local 44 switchView.setChecked(mIsDarkModeActivated); in onFinishInflate() 45 switchView.setOnCheckedChangeListener((buttonView, isChecked) -> in onFinishInflate() 46 switchView.setChecked(mIsDarkModeActivated) in onFinishInflate()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | FilterTouchesRestrictedSwitchPreference.java | 53 final View switchView = holder.findViewById(android.R.id.switch_widget); in onBindViewHolder() local 54 if (switchView != null) { in onBindViewHolder() 55 final View rootView = switchView.getRootView(); in onBindViewHolder()
|
D | FilterTouchesSwitchPreference.java | 51 final View switchView = holder.findViewById(android.R.id.switch_widget); in onBindViewHolder() local 52 if (switchView != null) { in onBindViewHolder() 53 final View rootView = switchView.getRootView(); in onBindViewHolder()
|
D | SettingsMainSwitchBar.java | 48 boolean onBeforeCheckedChanged(Switch switchView, boolean isChecked); in onBeforeCheckedChanged() argument 77 addOnSwitchChangeListener((switchView, isChecked) -> logMetrics(isChecked)); in SettingsMainSwitchBar()
|
D | SwitchBar.java | 61 void onSwitchChanged(Switch switchView, boolean isChecked); in onSwitchChanged() argument 141 (switchView, isChecked) -> setTextViewLabelAndBackground(isChecked)); in SwitchBar()
|
D | SettingsMainSwitchPreferenceController.java | 52 public void onSwitchChanged(Switch switchView, boolean isChecked) { in onSwitchChanged() argument
|
D | SwitchBarController.java | 75 public void onSwitchChanged(Switch switchView, boolean isChecked) { in onSwitchChanged() argument
|
D | MainSwitchBarController.java | 77 public void onSwitchChanged(Switch switchView, boolean isChecked) { in onSwitchChanged() argument
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | DividerSwitchPreference.java | 48 final View switchView = holder.itemView.findViewById(android.R.id.widget_frame); in onBindViewHolder() local 49 if (switchView != null) { in onBindViewHolder() 50 switchView.setVisibility(mSwitchVisibility); in onBindViewHolder()
|
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/ |
D | SyncPreference.java | 51 View switchView = view.findViewById(com.android.internal.R.id.switch_widget); in onBindViewHolder() local 53 switchView.setVisibility(View.GONE); in onBindViewHolder() 63 switchView.setVisibility(View.VISIBLE); in onBindViewHolder()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
D | SyncStateSwitchPreference.java | 73 View switchView = view.findViewById(R.id.switch_widget_container); in onBindViewHolder() local 75 switchView.setVisibility(View.GONE); in onBindViewHolder() 85 switchView.setVisibility(View.VISIBLE); in onBindViewHolder()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/ |
D | AutoAllAppPermissionsFragment.java | 317 Switch switchView = (Switch) v; in MyMultiTargetSwitchPreference() 318 if (switchView.isChecked()) { in MyMultiTargetSwitchPreference() 381 Switch switchView = holder.itemView.findViewById(android.R.id.switch_widget); in onBindViewHolder() local 382 if (switchView != null) { in onBindViewHolder() 383 switchView.setOnClickListener(mSwitchOnClickLister); in onBindViewHolder()
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | SyncStateSwitchPreference.java | 87 View switchView = view.findViewById(com.android.internal.R.id.switch_widget); in onBindViewHolder() local 89 switchView.setVisibility(View.GONE); in onBindViewHolder() 99 switchView.setVisibility(View.VISIBLE); in onBindViewHolder()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | CellDataPreference.java | 173 final View switchView = holder.findViewById(android.R.id.switch_widget); in onBindViewHolder() local 174 switchView.setClickable(false); in onBindViewHolder() 175 ((Checkable) switchView).setChecked(mChecked); in onBindViewHolder()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
D | AppRestrictionsFragment.java | 205 View switchView = holder.findViewById(android.R.id.switch_widget); in onBindViewHolder() local 206 syncSwitchView(switchView); in onBindViewHolder() 211 final Switch switchView = (Switch) view; in syncSwitchView() local 212 switchView.setOnCheckedChangeListener(null); in syncSwitchView() 218 final Switch switchView = (Switch) view; in syncSwitchView() local 219 switchView.setOnCheckedChangeListener(mListener); in syncSwitchView()
|
/packages/apps/ThemePicker/src/com/android/customization/model/mode/ |
D | DarkModeSectionController.java | 121 Switch switchView = mDarkModeSectionView.findViewById(R.id.dark_mode_toggle); in onViewActivated() local 122 if (!switchView.isEnabled()) { in onViewActivated()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | PeopleActivity.java | 428 switchView(ContactsView.GROUP_VIEW); in onNewIntent() 447 switchView(ContactsView.GROUP_VIEW); in onNewIntent() 977 switchView(ContactsView.GROUP_VIEW); in switchToOrUpdateGroupView() 982 switchView(ContactsView.ASSISTANT); in launchAssistant() 985 private void switchView(ContactsView contactsView) { in switchView() method in PeopleActivity
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | AutoBrightnessDetailPreferenceController.java | 61 public void onSwitchChanged(Switch switchView, boolean isChecked) { in onSwitchChanged() argument
|
/packages/services/Telephony/src/com/android/phone/ |
D | EmergencyDialer.java | 432 switchView(mEmergencyShortcutView, mDialpadView, true); in onBackPressed() 531 switchView(mDialpadView, mEmergencyShortcutView, true); in onClick() 988 switchView(mEmergencyShortcutView, mDialpadView, false); in setupEmergencyShortcutsView() 1110 private void switchView(View displayView, View hideView, boolean hasAnimation) { in switchView() method in EmergencyDialer
|
/packages/apps/Settings/src/com/android/settings/location/ |
D | BluetoothScanningMainSwitchPreferenceController.java | 71 public void onSwitchChanged(Switch switchView, boolean isChecked) { in onSwitchChanged() argument
|
D | WifiScanningMainSwitchPreferenceController.java | 72 public void onSwitchChanged(Switch switchView, boolean isChecked) { in onSwitchChanged() argument
|
/packages/apps/Settings/src/com/android/settings/emergency/ |
D | EmergencyGesturePreferenceController.java | 75 public void onSwitchChanged(Switch switchView, boolean isChecked) { in onSwitchChanged() argument
|