Home
last modified time | relevance | path

Searched refs:btn (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Car/Radio/src/com/android/car/radio/widget/
DBandSelectorFlat.java88 Button btn = (Button) inflater.inflate(R.layout.band_selector_flat_button, null); in setSupportedProgramTypes() local
89 btn.setText(pt.getLocalizedName()); in setSupportedProgramTypes()
90 btn.setTag(pt); in setSupportedProgramTypes()
91 btn.setOnClickListener(v -> switchTo(pt)); in setSupportedProgramTypes()
92 addView(btn); in setSupportedProgramTypes()
93 mButtons.add(btn); in setSupportedProgramTypes()
106 for (Button btn : mButtons) { in setType()
107 boolean active = btn.getTag() == ptype; in setType()
108 btn.setTextColor(ctx.getColor(active in setType()
111 btn.setBackground(ctx.getDrawable(active in setType()
/packages/apps/Car/Radio/src/com/android/car/radio/
DManualTunerController.java72 View btn = dialpad.findViewWithTag(Integer.toString(i)); in ManualTunerController() local
73 btn.setOnClickListener(digitClickListener); in ManualTunerController()
74 mDigitButtons.add(i, btn); in ManualTunerController()
93 private void onDigitClick(View btn) { in onDigitClick() argument
94 int digit = Integer.parseInt((String) btn.getTag()); in onDigitClick()
102 private void onBackspaceClick(View btn) { in onBackspaceClick() argument
109 private void onDoneClick(View btn) { in onDoneClick() argument
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/appstyledview/
DAppStyledViewSampleActivity.java71 Button btn = findViewById(R.id.show_app_styled_fragment); in onCreate() local
72 btn.setOnClickListener(v -> { in onCreate()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/vhal/
DVehicleHalFragment.java186 infoButton.setOnClickListener(btn -> { in getView()
194 valueButton.setOnClickListener(btn -> { in getView()
/packages/apps/Settings/src/com/android/settings/password/
DSetupChooseLockPattern.java83 mOptionsButton.setOnClickListener((btn) -> in onCreateView()
DSetupChooseLockPassword.java98 mOptionsButton.setOnClickListener((btn) -> in onViewCreated()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageList.java164 mHeader.findViewById(R.id.filter_settings).setOnClickListener(btn -> { in onViewCreated()