Home
last modified time | relevance | path

Searched refs:buttonView (Results 1 – 25 of 40) sorted by relevance

12

/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DButtonProvider.java72 ImageView buttonView = new ImageView(mContext); in getButtonForDrawable() local
73 buttonView.setImageResource(drawableId); in getButtonForDrawable()
74 buttonView.setBackgroundResource(R.drawable.taskbar_icon_click_feedback_roundrect); in getButtonForDrawable()
75 buttonView.setPadding(mMarginLeftRight, 0, mMarginLeftRight, 0); in getButtonForDrawable()
76 buttonView.setOnClickListener(view -> mContext.onNavigationButtonClick(buttonType)); in getButtonForDrawable()
77 return buttonView; in getButtonForDrawable()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DTtsEnginePreference.java108 private void onRadioButtonClicked(final Checkable buttonView, in onRadioButtonClicked() argument
111 if (mSharedState.getCurrentChecked() == buttonView) { in onRadioButtonClicked()
122 makeCurrentEngine(buttonView); in onRadioButtonClicked()
129 buttonView.setChecked(false); in onRadioButtonClicked()
134 makeCurrentEngine(buttonView); in onRadioButtonClicked()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/homescreen/
DHomeCardFragment.java217 ImageButton buttonView) { in updateControlBarButton() argument
219 buttonView.setImageDrawable(buttonContent.getIcon()); in updateControlBarButton()
220 buttonView.setOnClickListener(buttonContent.getOnClickListener()); in updateControlBarButton()
221 buttonView.setVisibility(View.VISIBLE); in updateControlBarButton()
223 buttonView.setVisibility(View.GONE); in updateControlBarButton()
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
DApnPreference.java106 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCheckedChanged() argument
116 mCurrentChecked = buttonView; in onCheckedChanged()
123 buttonView.setContentDescription(getTitle()); in onCheckedChanged()
/packages/services/Car/tests/NetworkPreferenceApp/src/com/google/android/car/networking/preferenceupdater/fragments/
DManagerFragment.java203 (buttonView, isChecked) -> in defineButtonActions()
206 (buttonView, isChecked) -> in defineButtonActions()
211 (buttonView, isChecked) -> updateNetworkRequestFor(true /*isOemPaid*/, isChecked)); in defineButtonActions()
213 (buttonView, isChecked) -> updateNetworkRequestFor(false /*isOemPaid*/, isChecked)); in defineButtonActions()
/packages/apps/TV/partner_support/samples/src/com/example/partnersupportsampletvinput/
DChannelScanFragment.java76 View buttonView = getButtonActionItemView(position); in onCreateView()
77 buttonView.setFocusable(true); in onCreateView()
78 buttonView.requestFocus(); in onCreateView()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/rotary/
DRotaryFragment.java114 (buttonView, isChecked) -> enableRotaryService(getContext(), isChecked)); in onViewCreated()
116 (buttonView, isChecked) -> enableApplication(getContext(), ROTARY_IME_PACKAGE, in onViewCreated()
119 (buttonView, isChecked) -> enableApplication(getContext(), in onViewCreated()
/packages/apps/Settings/src/com/android/settings/network/apn/
DApnPreference.java120 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCheckedChanged() argument
130 sCurrentChecked = buttonView; in onCheckedChanged()
/packages/services/Telephony/testapps/TelephonyRegistryTestApp/src/com/android/phone/testapps/telephonyregistry/
DTelephonyRegistryTestApp.java107 box.setOnCheckedChangeListener((buttonView, isChecked) -> { in onCreate() argument
108 if (buttonView.isChecked()) { in onCreate()
/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/present/
DPresentTestFragment.java159 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in setupListeners()
160 if (buttonView == mShowAllDisplaysCheckbox) { in setupListeners()
165 final Display display = (Display) buttonView.getTag(); in setupListeners()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DBottomActionBar.java276 View buttonView = mActionMap.get(bottomAction); in setActionClickListener() local
277 if (buttonView.hasOnClickListeners()) { in setActionClickListener()
281 buttonView.setOnClickListener(view -> { in setActionClickListener()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapSettingsAdapter.java123 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in getChildView()
253 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in getGroupView()
/packages/services/Telephony/src/com/android/phone/settings/
DRadioInfo.java1469 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
1495 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
1510 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
1525 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
1536 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
1774 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
/packages/apps/ThemePicker/src/com/android/customization/picker/themedicon/
DThemedIconSectionView.java44 mSwitchView.setOnCheckedChangeListener((buttonView, isChecked) -> viewActivated(isChecked)); in onFinishInflate()
/packages/apps/ThemePicker/src/com/android/customization/picker/mode/
DDarkModeSectionView.java45 switchView.setOnCheckedChangeListener((buttonView, isChecked) -> in onFinishInflate()
/packages/services/Telecomm/testapps/callaudiotest/src/com/android/server/telecom/callaudiotest/
DCallAudioTestActivity.java47 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCreate()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DPasswordEditTextPreferenceDialogFragment.java60 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onBindDialogView()
/packages/apps/Camera2/src/com/android/camera/widget/
DLocationDialogLayout.java82 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in updateSubviewReferences()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DInLineSettingSwitch.java36 public void onCheckedChanged(CompoundButton buttonView, boolean desiredState) {
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiPasswordDialog.java76 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onBindDialogView()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/
DCarUiRadioButtonListItemAdapter.java145 (buttonView, isChecked) -> { in bind() argument
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModeScheduleDaysSelection.java65 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in ZenModeScheduleDaysSelection()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/manageapplications/
DApplicationViewHolderTest.java131 mHolder.updateSwitch((buttonView, isChecked) -> latch.countDown(), true, true); in updateSwitch()
/packages/apps/Messaging/src/com/android/messaging/ui/debug/
DDebugMmsConfigItemView.java94 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCheckedChanged() argument
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationLockscreenPreference.java159 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCheckedChanged() argument

12