Home
last modified time | relevance | path

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

12345678910>>...15

/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
DSendTestBroadcastActivity.java26 import android.widget.Button;
106 Button etwsEarthquakeTypeButton = (Button) findViewById(R.id.button_etws_earthquake_type); in onCreate()
121 Button etwsTsunamiTypeButton = (Button) findViewById(R.id.button_etws_tsunami_type); in onCreate()
136 Button etwsEarthquakeTsunamiTypeButton = (Button) in onCreate()
152 Button etwsOtherTypeButton = (Button) findViewById(R.id.button_etws_other_type); in onCreate()
167 Button etwsCancelTypeButton = (Button) findViewById(R.id.button_etws_cancel_type); in onCreate()
182 Button etwsTestTypeButton = (Button) findViewById(R.id.button_etws_test_type); in onCreate()
197 Button CdmaCmasPresAlertButton = findViewById(R.id.button_cmas_pres_alert); in onCreate()
212 Button CdmaCmasExtremeAlertButton = findViewById(R.id.button_cmas_extreme_alert); in onCreate()
227 Button CdmaCmasSevereAlertButton = findViewById(R.id.button_cmas_severe_alert); in onCreate()
[all …]
/packages/services/Telephony/testapps/EmbmsTestDownloadApp/src/com/android/phone/testapps/embmsdownload/
DEmbmsTestDownloadApp.java38 import android.widget.Button;
208 Button bindButton = (Button) findViewById(R.id.bind_button); in onCreate()
213 Button setTempFileRootButtonExternal = in onCreate()
214 (Button) findViewById(R.id.set_temp_root_button_external); in onCreate()
225 Button setTempFileRootButtonInternal = in onCreate()
226 (Button) findViewById(R.id.set_temp_root_button_internal); in onCreate()
237 Button getFileServicesButton = (Button) findViewById(R.id.get_file_services_button); in onCreate()
245 Button requestDlButton = (Button) findViewById(R.id.request_dl_button); in onCreate()
263 Button requestCleanupButton = (Button) findViewById(R.id.request_cleanup_button); in onCreate()
267 Button requestSpuriousTempFilesButton = in onCreate()
[all …]
/packages/services/Telephony/testapps/TestRcsApp/TestApp/src/com/google/android/sample/rcsclient/
DMainActivity.java27 import android.widget.Button;
35 private Button mProvisionButton;
36 private Button mDelegateButton;
37 private Button mUceButton;
38 private Button mGbaButton;
39 private Button mMessageClientButton;
40 private Button mFileUploadButton;
52 mProvisionButton = (Button) this.findViewById(R.id.provision); in onCreate()
53 mDelegateButton = (Button) this.findViewById(R.id.delegate); in onCreate()
54 mMessageClientButton = (Button) this.findViewById(R.id.msgClient); in onCreate()
[all …]
/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/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DSelfManagedCallingActivity.java38 import android.widget.Button;
59 private Button mPlaceOutgoingCallButton;
60 private Button mPlaceSelfManagedOutgoingCallButton;
61 private Button mPlaceSelfManagedIncomingCallButton;
62 private Button mPlaceIncomingCallButton;
63 private Button mHandoverFrom;
64 private Button mRequestCallScreeningRole;
65 private Button mEnableCarMode;
66 private Button mDisableCarMode;
122 mPlaceOutgoingCallButton = (Button) findViewById(R.id.placeOutgoingCallButton); in onCreate()
[all …]
DIncomingSelfManagedCallActivity.java25 import android.widget.Button;
35 private Button mAnswerCallButton;
36 private Button mRejectCallButton;
48 mAnswerCallButton = (Button) findViewById(R.id.answerCallButton); in onCreate()
55 mRejectCallButton = (Button) findViewById(R.id.rejectCallButton); in onCreate()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/
DBluetoothHeadsetFragment.java41 import android.widget.Button;
61 Button mDevicePicker;
62 Button mConnect;
63 Button mScoConnect;
64 Button mScoDisconnect;
65 Button mHoldCall;
66 Button mStartOutgoingCall;
67 Button mEndOutgoingCall;
84 mDevicePicker = (Button) v.findViewById(R.id.bluetooth_pick_device); in onCreateView()
85 mConnect = (Button) v.findViewById(R.id.bluetooth_headset_connect); in onCreateView()
[all …]
DMapMceTestFragment.java40 import android.widget.Button;
125 Button mDevicePicker;
126 Button mDeviceDisconnect;
161 Button reply = (Button) v.findViewById(R.id.reply); in onCreateView()
163 Button sendNewMsgShort = (Button) v.findViewById(R.id.sms_new_message); in onCreateView()
164 Button sendNewMsgLong = (Button) v.findViewById(R.id.mms_new_message); in onCreateView()
165 Button resetSendNewMsgCounter = (Button) v.findViewById(R.id.reset_message_counter); in onCreateView()
174 mDevicePicker = (Button) v.findViewById(R.id.bluetooth_pick_device); in onCreateView()
175 mDeviceDisconnect = (Button) v.findViewById(R.id.bluetooth_disconnect_device); in onCreateView()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DGrantPermissionsViewHandlerImpl.java24 import android.widget.Button;
56 private Button mAllowButton;
57 private Button mAllowAlwaysButton;
58 private Button mAllowForegroundOnlyButton;
59 private Button mAllowOneTimeButton;
60 private Button mSoftDenyButton;
61 private Button mHardDenyButton;
86 mAllowButton = (Button) mRootView.findViewById(R.id.permission_allow_button); in createView()
87 mAllowAlwaysButton = (Button) mRootView.findViewById(R.id.permission_allow_always_button); in createView()
89 (Button) mRootView.findViewById(R.id.permission_allow_foreground_only_button); in createView()
[all …]
/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()
152 final Button leftButton = (Button) view.findViewById(R.id.left_button); in updateDisplayedAccounts()
153 final Button rightButton = (Button) view.findViewById(R.id.right_button); in updateDisplayedAccounts()
180 final Button leftButton = (Button) view.findViewById(R.id.left_button); in updateDisplayedAccounts()
181 final Button rightButton = (Button) view.findViewById(R.id.right_button); in updateDisplayedAccounts()
/packages/apps/DeskClock/tests/src/com/android/deskclock/widget/
DMockFabContainer.java21 import android.widget.Button;
38 private Button leftButton;
39 private Button rightButton;
44 leftButton = new Button(context); in MockFabContainer()
45 rightButton = new Button(context); in MockFabContainer()
90 public Button getLeftButton() { in getLeftButton()
94 public Button getRightButton() { in getRightButton()
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/tests/
DBluetoothRequestPermissionTest.java31 import android.widget.Button;
58 Button scanButton = (Button) v; in onClick()
75 Button enable = (Button) findViewById(R.id.enable); in onCreate()
78 Button discoverable = (Button) findViewById(R.id.discoverable); in onCreate()
81 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/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DTestActivity.java47 import android.widget.Button;
143 Button mInsertRecord = (Button) findViewById(R.id.insert_record); in onCreate()
144 Button mDeleteRecord = (Button) findViewById(R.id.delete_record); in onCreate()
145 Button mUpdateRecord = (Button) findViewById(R.id.update_record); in onCreate()
147 Button mAckRecord = (Button) findViewById(R.id.ack_record); in onCreate()
149 Button mDeleteAllRecord = (Button) findViewById(R.id.deleteAll_record); in onCreate()
164 Button mStartTcpServer = (Button) findViewById(R.id.start_server); in onCreate()
167 Button mNotifyTcpServer = (Button) findViewById(R.id.notify_server); in onCreate()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/hvac/
DHvacTestFragment.java33 import android.widget.Button;
67 private Button mTbPowerAndAc;
393 Button btnFanSpeedUp = (Button) v.findViewById(R.id.btnFanSpeedUp); in configureFanSpeed()
397 Button btnFanSpeedDn = (Button) v.findViewById(R.id.btnFanSpeedDn); in configureFanSpeed()
439 Button btnDTempUp = (Button) v.findViewById(R.id.btnDTempUp); in configureTempSetpoint()
459 Button btnDTempDn = (Button) v.findViewById(R.id.btnDTempDn); in configureTempSetpoint()
466 Button btnPTempUp = (Button) v.findViewById(R.id.btnPTempUp); in configureTempSetpoint()
485 Button btnPTempDn = (Button) v.findViewById(R.id.btnPTempDn); in configureTempSetpoint()
492 Button btnATempUp = (Button) v.findViewById(R.id.btnATempUp); in configureTempSetpoint()
500 Button btnATempDn = (Button) v.findViewById(R.id.btnATempDn); in configureTempSetpoint()
[all …]
/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/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/
DPreviewFragment.java31 import android.widget.Button;
187 final Button addOrSelectButton = view.findViewById(R.id.preview_add_or_select_button); in setUpPreviewLayoutForLongPress()
217 final Button addOrSelectButton = view.findViewById(R.id.preview_add_or_select_button); in setUpPreviewLayoutForViewSelected()
220 final Button viewSelectedAddButton = view.findViewById(R.id.preview_add_button); in setUpPreviewLayoutForViewSelected()
228 final Button selectedCheckButton = view.findViewById(R.id.preview_selected_check_button); in setUpPreviewLayoutForViewSelected()
277 private void onClickSelectButton(@NonNull Button selectButton) { in onClickSelectButton()
282 private void onClickSelectedCheckButton(@NonNull Button selectedCheckButton) { in onClickSelectedCheckButton()
309 private final Button mSelectedCheckButton;
311 public OnPageChangeCallback(@NonNull Button selectedCheckButton) { in OnPageChangeCallback()
331 private static void updateSelectButtonText(@NonNull Button selectButton, in updateSelectButtonText()
[all …]
/packages/services/Telephony/testapps/EmbmsTestStreamingApp/src/com/android/phone/testapps/embmsfrontend/
DEmbmsTestStreamingApp.java33 import android.widget.Button;
154 Button bindButton = (Button) findViewById(R.id.bind_button); in onCreate()
160 Button getStreamingServicesButton = (Button) in onCreate()
196 Button startStreamingButton = (Button) findViewById(R.id.start_streaming_button); in onCreate()
218 Button stopStreamingButton = (Button) findViewById(R.id.stop_streaming_button); in onCreate()
229 Button disposeManagerButton = (Button) findViewById(R.id.dispose_manager_button); in onCreate()
/packages/apps/DeskClock/src/com/android/deskclock/
DFabController.kt20 import android.widget.Button
52 fun onUpdateFabButtons(left: Button, right: Button)
66 fun onLeftButtonClick(left: Button)
73 fun onRightButtonClick(right: Button)
/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/services/Car/tests/ThemePlayground/src/com/android/car/themeplayground/
DDialogSamples.java21 import android.widget.Button;
37 Button showDialogButton = findViewById(R.id.showDialogBT); in onCreate()
38 Button showDialogOnlyPositiveButton = findViewById(R.id.showDialogOnlyPositiveBT); in onCreate()
39 Button showDialogWithoutTitleButton = findViewById(R.id.showDialogWithoutTitle); in onCreate()
40 Button showDialogWithCheckboxButton = findViewById(R.id.showDialogWithCheckboxBT); in onCreate()
46 Button showToast = findViewById(R.id.showToast); in onCreate()
/packages/apps/Settings/src/com/android/settings/wifi/
DAddNetworkFragment.java28 import android.widget.Button;
55 private Button mSubmitBtn;
56 private Button mCancelBtn;
73 final Button neutral = rootView.findViewById(android.R.id.button3); in onCreateView()
178 public Button getSubmitButton() { in getSubmitButton()
183 public Button getCancelButton() { in getCancelButton()
188 public Button getForgetButton() { in getForgetButton()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/orientation/
DOrientationTestFragment.java24 import android.widget.Button;
36 Button portrait = (Button) v.findViewById(R.id.portrait); in onCreateView()
44 Button landscape = (Button) v.findViewById(R.id.landscape); in onCreateView()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/admin/
DDevicePolicyFragment.java45 import android.widget.Button;
82 private Button mCreateUserButton;
86 private Button mResetPasswordButton;
89 private Button mRemoveUserButton;
90 private Button mStartUserInBackgroundButton;
91 private Button mStopUserButton;
92 private Button mLockNowButton;
94 private Button mWipeDataButton;
97 private Button mCheckLockTasksButton;
98 private Button mStartLockTasksButton;
[all …]

12345678910>>...15