/packages/apps/PermissionController/src/com/android/packageinstaller/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 | 233 Switch switchView = (Switch) v; in updateUi() 234 requestChange(switchView.isChecked(), CHANGE_BOTH); in updateUi() 270 Switch switchView = (Switch) v; in updateUi() 272 if (switchView.isChecked()) { in updateUi()
|
D | AllAppPermissionsFragment.java | 335 Switch switchView = (Switch) v; in MyMultiTargetSwitchPreference() 336 if (switchView.isChecked()) { in MyMultiTargetSwitchPreference()
|
/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/PermissionController/src/com/android/packageinstaller/permission/ui/auto/ |
D | AutoAllAppPermissionsFragment.java | 317 Switch switchView = (Switch) v; in MyMultiTargetSwitchPreference() 318 if (switchView.isChecked()) { in MyMultiTargetSwitchPreference() 380 Switch switchView = holder.itemView.findViewById(android.R.id.switch_widget); in onBindViewHolder() local 381 if (switchView != null) { in onBindViewHolder() 382 switchView.setOnClickListener(mSwitchOnClickLister); 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/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/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/Settings/src/com/android/settings/datausage/ |
D | CellDataPreference.java | 193 View switchView = holder.findViewById(android.R.id.switch_widget); in onBindViewHolder() local 194 switchView.setClickable(false); in onBindViewHolder() 195 ((Checkable) switchView).setChecked(mChecked); in onBindViewHolder()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/ |
D | CellDataPreference.java | 193 View switchView = holder.findViewById(android.R.id.switch_widget); in onBindViewHolder() local 194 switchView.setClickable(false); in onBindViewHolder() 195 ((Checkable) switchView).setChecked(mChecked); in onBindViewHolder()
|
/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/services/Telephony/src/com/android/phone/ |
D | EmergencyDialer.java | 426 switchView(mEmergencyShortcutView, mDialpadView, true); in onBackPressed() 525 switchView(mDialpadView, mEmergencyShortcutView, true); in onClick() 982 switchView(mEmergencyShortcutView, mDialpadView, false); in setupEmergencyShortcutsView() 1104 private void switchView(View displayView, View hideView, boolean hasAnimation) { in switchView() method in EmergencyDialer
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | SwitchBar.java | 61 void onSwitchChanged(Switch switchView, boolean isChecked); in onSwitchChanged() argument 143 (switchView, isChecked) -> setTextViewLabelAndBackground(isChecked)); in SwitchBar()
|
D | SwitchBarController.java | 76 public void onSwitchChanged(Switch switchView, boolean isChecked) { in onSwitchChanged() argument
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | SwitchBar.java | 63 void onSwitchChanged(Switch switchView, boolean isChecked); in onSwitchChanged() argument 139 (switchView, isChecked) -> setTextViewLabelAndBackground(isChecked)); in SwitchBar()
|
D | SwitchBarController.java | 76 public void onSwitchChanged(Switch switchView, boolean isChecked) { in onSwitchChanged() argument
|
/packages/apps/Settings/src/com/android/settings/deletionhelper/ |
D | AutomaticStorageManagerSwitchBarController.java | 66 public void onSwitchChanged(Switch switchView, boolean isChecked) { in onSwitchChanged() argument
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/location/ |
D | LocationSwitchBarController.java | 96 public void onSwitchChanged(Switch switchView, boolean isChecked) { in onSwitchChanged() argument
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deletionhelper/ |
D | AutomaticStorageManagerSwitchBarController.java | 66 public void onSwitchChanged(Switch switchView, boolean isChecked) { in onSwitchChanged() argument
|
/packages/apps/Settings/src/com/android/settings/location/ |
D | LocationSwitchBarController.java | 96 public void onSwitchChanged(Switch switchView, boolean isChecked) { in onSwitchChanged() argument
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | ZenAutomaticRuleSwitchPreferenceController.java | 91 public void onSwitchChanged(Switch switchView, boolean isChecked) { in onSwitchChanged() argument
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | ZenAutomaticRuleSwitchPreferenceController.java | 91 public void onSwitchChanged(Switch switchView, boolean isChecked) { in onSwitchChanged() argument
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/ |
D | DevelopmentSettingsDashboardFragment.java | 214 public void onSwitchChanged(Switch switchView, boolean isChecked) { in onSwitchChanged() argument 215 if (switchView != mSwitchBar.getSwitch()) { in onSwitchChanged()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | DevelopmentSettingsDashboardFragment.java | 214 public void onSwitchChanged(Switch switchView, boolean isChecked) { in onSwitchChanged() argument 215 if (switchView != mSwitchBar.getSwitch()) { in onSwitchChanged()
|