Home
last modified time | relevance | path

Searched refs:Button (Results 1 – 25 of 226) sorted by relevance

12345678910

/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
DSendTestBroadcastActivity.java26 import android.widget.Button;
103 Button etwsEarthquakeTypeButton = (Button) findViewById(R.id.button_etws_earthquake_type); in onCreate()
117 Button etwsTsunamiTypeButton = (Button) findViewById(R.id.button_etws_tsunami_type); in onCreate()
131 Button etwsEarthquakeTsunamiTypeButton = (Button) in onCreate()
146 Button etwsOtherTypeButton = (Button) findViewById(R.id.button_etws_other_type); in onCreate()
160 Button etwsCancelTypeButton = (Button) findViewById(R.id.button_etws_cancel_type); in onCreate()
174 Button etwsTestTypeButton = (Button) findViewById(R.id.button_etws_test_type); in onCreate()
188 Button cmasPresAlertButton = (Button) findViewById(R.id.button_cmas_pres_alert); in onCreate()
202 Button cmasExtremeAlertButton = (Button) findViewById(R.id.button_cmas_extreme_alert); in onCreate()
216 Button cmasSevereAlertButton = (Button) findViewById(R.id.button_cmas_severe_alert); in onCreate()
[all …]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioTestFragment.java40 import android.widget.Button;
58 private Button mNavPlayOnce;
59 private Button mVrPlayOnce;
60 private Button mSystemPlayOnce;
61 private Button mMediaPlay;
62 private Button mMediaPlayOnce;
63 private Button mMediaStop;
64 private Button mWavPlay;
65 private Button mWavStop;
66 private Button mNavStart;
[all …]
/packages/experimental/StrictModeTest/src/com/android/strictmodetest/
DStrictModeActivity.java53 import android.widget.Button;
109 final Button readButton = (Button) findViewById(R.id.read_button); in onCreate()
126 final Button writeButton = (Button) findViewById(R.id.write_button); in onCreate()
135 final Button writeLoopButton = (Button) findViewById(R.id.write_loop_button); in onCreate()
150 final Button dnsButton = (Button) findViewById(R.id.dns_button); in onCreate()
177 final Button httpButton = (Button) findViewById(R.id.http_button); in onCreate()
195 final Button http2Button = (Button) findViewById(R.id.http2_button); in onCreate()
211 final Button http3Button = (Button) findViewById(R.id.http3_button); in onCreate()
226 final Button binderLocalButton = (Button) findViewById(R.id.binder_local_button); in onCreate()
238 final Button binderRemoteButton = (Button) findViewById(R.id.binder_remote_button); in onCreate()
[all …]
/packages/apps/Car/Radio/src/com/android/car/radio/
DManualTunerController.java22 import android.widget.Button;
48 private final List<Button> mManualTunerButtons = new ArrayList<>(NUM_OF_MANUAL_TUNER_BUTTONS);
180 Button numberZero = (Button) container.findViewById(R.id.manual_tuner_0); in initializeManualTunerButtons()
185 Button numberOne = (Button) container.findViewById(R.id.manual_tuner_1); in initializeManualTunerButtons()
190 Button numberTwo = (Button) container.findViewById(R.id.manual_tuner_2); in initializeManualTunerButtons()
195 Button numberThree = (Button) container.findViewById(R.id.manual_tuner_3); in initializeManualTunerButtons()
200 Button numberFour = (Button) container.findViewById(R.id.manual_tuner_4); in initializeManualTunerButtons()
205 Button numberFive = (Button) container.findViewById(R.id.manual_tuner_5); in initializeManualTunerButtons()
210 Button numberSix = (Button) container.findViewById(R.id.manual_tuner_6); in initializeManualTunerButtons()
215 Button numberSeven = (Button) container.findViewById(R.id.manual_tuner_7); in initializeManualTunerButtons()
[all …]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/radio/
DRadioTestFragment.java41 import android.widget.Button;
110 private Button mOpenRadio;
111 private Button mCloseRadio;
112 private Button mGetRadioFocus;
113 private Button mReleaseRadioFocus;
114 private Button mGetFocus;
115 private Button mReleaseFocus;
116 private Button mRadioNext;
117 private Button mRadioPrev;
118 private Button mRadioScanCancel;
[all …]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/
DBluetoothHeadsetFragment.java38 import android.widget.Button;
54 Button mDevicePicker;
55 Button mConnect;
56 Button mDisconnect;
57 Button mScoConnect;
58 Button mScoDisconnect;
59 Button mEnableQuietMode;
72 mDevicePicker = (Button) v.findViewById(R.id.bluetooth_pick_device); in onCreateView()
73 mConnect = (Button) v.findViewById(R.id.bluetooth_headset_connect); in onCreateView()
74 mDisconnect = (Button) v.findViewById(R.id.bluetooth_headset_disconnect); in onCreateView()
[all …]
DMapMceTestFragment.java37 import android.widget.Button;
51 Button mDevicePicker;
52 Button mDeviceDisconnect;
71 Button reply = (Button) v.findViewById(R.id.reply); in onCreateView()
72 Button checkMessages = (Button) v.findViewById(R.id.check_messages); in onCreateView()
81 mDevicePicker = (Button) v.findViewById(R.id.bluetooth_pick_device); in onCreateView()
82 mDeviceDisconnect = (Button) v.findViewById(R.id.bluetooth_disconnect_device); in onCreateView()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
DColorGridDialog.java25 import android.widget.Button;
40 Button sel = (Button) findViewById(R.id.filtershow_cp_custom); in ColorGridDialog()
41 ArrayList<Button> b = getButtons((ViewGroup) getWindow().getDecorView()); in ColorGridDialog()
45 for (Button button : b) { in ColorGridDialog()
73 private ArrayList<Button> getButtons(ViewGroup vg) { in getButtons()
74 ArrayList<Button> list = new ArrayList<Button>(); in getButtons()
77 if (v instanceof Button) { in getButtons()
78 list.add((Button) v); in getButtons()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/
DColorChooser.java11 import android.widget.Button;
28 private Vector<Button> mIconButton = new Vector<Button>();
41 private Button[] mButton = new Button[mButtonsID.length];
65 final Button button = (Button) mTopView.findViewById(mButtonsID[i]); in setUp()
83 Button button = (Button) mTopView.findViewById(R.id.draw_color_popupbutton); in setUp()
115 final Button button = mButton[i]; in resetBorders()
151 final Button button = mButton[mSelectedButton]; in changeSelectedColor()
/packages/apps/Contacts/src/com/android/contacts/activities/
DContactEditorAccountsChangedActivity.java29 import android.widget.Button;
136 final Button button = (Button) view.findViewById(R.id.add_account_button); in updateDisplayedAccounts()
151 final Button leftButton = (Button) view.findViewById(R.id.left_button); in updateDisplayedAccounts()
152 final Button rightButton = (Button) view.findViewById(R.id.right_button); in updateDisplayedAccounts()
179 final Button leftButton = (Button) view.findViewById(R.id.left_button); in updateDisplayedAccounts()
180 final Button rightButton = (Button) view.findViewById(R.id.right_button); in updateDisplayedAccounts()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DTestActivity.java47 import android.widget.Button;
144 Button mInsertRecord = (Button)findViewById(R.id.insert_record); in onCreate()
145 Button mDeleteRecord = (Button)findViewById(R.id.delete_record); in onCreate()
146 Button mUpdateRecord = (Button)findViewById(R.id.update_record); in onCreate()
148 Button mAckRecord = (Button)findViewById(R.id.ack_record); in onCreate()
150 Button mDeleteAllRecord = (Button)findViewById(R.id.deleteAll_record); in onCreate()
165 Button mStartTcpServer = (Button)findViewById(R.id.start_server); in onCreate()
168 Button mNotifyTcpServer = (Button)findViewById(R.id.notify_server); in onCreate()
/packages/apps/DevCamera/src/com/android/devcamera/
DDevCameraActivity.java38 import android.widget.Button;
72 private Button mButtonNoiseMode; // Noise reduction mode
73 private Button mButtonEdgeModeReprocess; // Edge mode
74 private Button mButtonNoiseModeReprocess; // Noise reduction mode for reprocessing
75 private Button mButtonEdgeMode; // Edge mode for reprocessing
151 Button mAfTriggerButton = (Button) findViewById(R.id.af_trigger); in onCreate()
157 mButtonNoiseMode = (Button) findViewById(R.id.button_noise); in onCreate()
158 mButtonEdgeMode = (Button) findViewById(R.id.button_edge); in onCreate()
159 mButtonNoiseModeReprocess = (Button) findViewById(R.id.button_noise_reprocess); in onCreate()
160 mButtonEdgeModeReprocess = (Button) findViewById(R.id.button_edge_reprocess); in onCreate()
[all …]
/packages/apps/Settings/tests/app/src/com/android/settings/tests/
DBluetoothRequestPermissionTest.java31 import android.widget.Button;
56 Button scanButton = (Button) v; in onClick()
73 Button enable = (Button) findViewById(R.id.enable); in onCreate()
76 Button discoverable = (Button) findViewById(R.id.discoverable); in onCreate()
79 Button scanButton = (Button) findViewById(R.id.scan); in onCreate()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DButtonSwitcher.java25 import android.widget.Button;
47 private Button mInstallButton;
48 private Button mCancelButton;
49 private Button mDeleteButton;
71 mInstallButton = (Button)findViewById(R.id.dict_install_button); in onLayout()
72 mCancelButton = (Button)findViewById(R.id.dict_cancel_button); in onLayout()
73 mDeleteButton = (Button)findViewById(R.id.dict_delete_button); in onLayout()
85 private Button getButton(final int status) { in getButton()
/packages/services/Car/TrustAgent/src/com/android/car/trust/
DMainActivity.java23 import android.widget.Button;
31 private Button mCarEnrolmentButton;
32 private Button mPhoneEnrolmentButton;
33 private Button mPhoneUnlockButton;
39 mCarEnrolmentButton = (Button) findViewById(R.id.car_button); in onCreate()
40 mPhoneEnrolmentButton = (Button) findViewById(R.id.phone_enrolment_button); in onCreate()
41 mPhoneUnlockButton = (Button) findViewById(R.id.phone_unlock_button); in onCreate()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
DEditorDrawTabletUI.java27 import android.widget.Button;
54 private Button[] mColorButton;
100 Button clearButton = (Button) lp.findViewById(R.id.clearButton); in EditorDrawTabletUI()
159 Button b = (Button) lp.findViewById(R.id.draw_color_popupbutton); in EditorDrawTabletUI()
173 mColorButton = new Button[ids.length]; in EditorDrawTabletUI()
175 mColorButton[i] = (Button) lp.findViewById(ids[i]); in EditorDrawTabletUI()
236 Button b = mColorButton[mSelectedColorButton]; in EditorDrawTabletUI()
271 final Button button = mColorButton[i]; in resetBorders()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/hvac/
DHvacTestFragment.java35 import android.widget.Button;
374 Button btnFanSpeedUp = (Button) v.findViewById(R.id.btnFanSpeedUp); in configureFanSpeed()
389 Button btnFanSpeedDn = (Button) v.findViewById(R.id.btnFanSpeedDn); in configureFanSpeed()
431 Button btnDTempUp = (Button) v.findViewById(R.id.btnDTempUp); in configureTempSetpoint()
460 Button btnDTempDn = (Button) v.findViewById(R.id.btnDTempDn); in configureTempSetpoint()
479 Button btnPTempUp = (Button) v.findViewById(R.id.btnPTempUp); in configureTempSetpoint()
508 Button btnPTempDn = (Button) v.findViewById(R.id.btnPTempDn); in configureTempSetpoint()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/
DContactsDumpActivity.java30 import android.widget.Button;
42 private Button mConfirmButton;
43 private Button mCancelButton;
44 private Button mDeleteButton;
58 mConfirmButton = (Button) findViewById(R.id.confirm); in onCreate()
59 mCancelButton = (Button) findViewById(R.id.cancel); in onCreate()
60 mDeleteButton = (Button) findViewById(R.id.delete); in onCreate()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAppProgressFragment.java28 import android.widget.Button;
38 private Button mOkButton;
39 private Button mDeviceManagerButton;
40 private Button mUsersButton;
50 mDeviceManagerButton = (Button) root.findViewById(R.id.device_manager_button); in onCreateView()
51 mUsersButton = (Button) root.findViewById(R.id.users_button); in onCreateView()
75 mOkButton = (Button) root.findViewById(R.id.ok_button); in onCreateView()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/television/
DGrantPermissionsViewHandlerImpl.java12 import android.widget.Button;
37 private Button mAllowButton;
38 private Button mSoftDenyButton;
39 private Button mHardDenyButton;
59 mAllowButton = (Button) mRootView.findViewById(R.id.permission_allow_button); in createView()
60 mSoftDenyButton = (Button) mRootView.findViewById(R.id.permission_deny_button); in createView()
61 mHardDenyButton = (Button) mRootView.findViewById( in createView()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/
DVolumeAdapter.java24 import android.widget.Button;
59 vh.upButton = (Button) convertView.findViewById(R.id.volume_up); in getView()
60 vh.downButton = (Button) convertView.findViewById(R.id.volume_down); in getView()
61 vh.requestButton = (Button) convertView.findViewById(R.id.request); in getView()
124 Button upButton;
125 Button downButton;
126 Button requestButton;
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarDebugActivity.java30 import android.widget.Button;
47 private Button mConfirmButton;
48 private Button mCancelButton;
49 private Button mDeleteButton;
66 mConfirmButton = (Button) findViewById(R.id.confirm); in onCreate()
67 mCancelButton = (Button) findViewById(R.id.cancel); in onCreate()
68 mDeleteButton = (Button) findViewById(R.id.delete); in onCreate()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/job/
DJobSchedulerFragment.java31 import android.widget.Button;
46 private Button mScheduleButton;
47 private Button mRefreshButton;
48 private Button mCancelButton;
62 mScheduleButton = (Button) v.findViewById(R.id.schedule_button); in onCreateView()
69 mRefreshButton = (Button) v.findViewById(R.id.refresh_button); in onCreateView()
87 mCancelButton = (Button) v.findViewById(R.id.cancel_button); in onCreateView()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DInstalledAppDetailsTest.java35 import android.widget.Button;
279 final Button uninstallButton = mock(Button.class); in instantApps_noUninstallButton()
301 final Button forceStopButton = mock(Button.class); in instantApps_noForceStop()
481 final Button button = mock(Button.class); in handleDisableable_appIsHomeApp_buttonShouldNotWork()
503 final Button button = mock(Button.class); in handleDisableable_appIsEnabled_buttonShouldWork()
529 final Button button = mock(Button.class); in handleDisableable_appIsEnabledAndInKeepEnabledWhitelist_buttonShouldNotWork()
/packages/apps/DeskClock/src/com/android/deskclock/
DFabController.java5 import android.widget.Button;
38 void onUpdateFabButtons(@NonNull Button left, @NonNull Button right); in onUpdateFabButtons()
52 void onLeftButtonClick(@NonNull Button left); in onLeftButtonClick()
59 void onRightButtonClick(@NonNull Button right); in onRightButtonClick()

12345678910