Home
last modified time | relevance | path

Searched refs:button2 (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/
DNavigatorTest.java111 AccessibilityNodeInfo button2 = createNode("button2"); in testFindRotateTarget() local
118 assertThat(target.node).isEqualTo(button2); in testFindRotateTarget()
147 AccessibilityNodeInfo button2 = createNode("button2"); in testFindRotateTargetNoWrapAround() local
152 FindRotateTargetResult target = mNavigator.findRotateTarget(button2, direction, 1); in testFindRotateTargetNoWrapAround()
172 AccessibilityNodeInfo button2 = createNode("button2"); in testFindRotateTargetNoWrapAroundWithGenericFpv() local
177 FindRotateTargetResult target = mNavigator.findRotateTarget(button2, direction, 1); in testFindRotateTargetNoWrapAroundWithGenericFpv()
195 AccessibilityNodeInfo button2 = createNode("button2"); in testFindRotateTargetNoWrapAround2() local
200 FindRotateTargetResult target = mNavigator.findRotateTarget(button2, direction, 1); in testFindRotateTargetNoWrapAround2()
218 AccessibilityNodeInfo button2 = createNode("button2"); in testFindRotateTargetNoWrapAround2WithGenericFpv() local
223 FindRotateTargetResult target = mNavigator.findRotateTarget(button2, direction, 1); in testFindRotateTargetNoWrapAround2WithGenericFpv()
[all …]
DRotaryServiceTest.java377 AccessibilityNodeInfo button2 = mNodeBuilder in testInitFocus_focusOnHostNode() local
388 assertThat(mRotaryService.getFocusedNode()).isEqualTo(button2); in testInitFocus_focusOnHostNode()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DActionButtonsPreferenceTest.java87 assertThat(mRootView.findViewById(R.id.button2).getVisibility()) in onBindViewHolder_setTitle_shouldShowButtonByDefault()
106 assertThat(mRootView.findViewById(R.id.button2).getVisibility()) in onBindViewHolder_setIcon_shouldShowButtonByDefault()
120 assertThat(mRootView.findViewById(R.id.button2).getVisibility()) in onBindViewHolder_notSetTitleOrIcon_shouldNotShowButtonByDefault()
139 assertThat(mRootView.findViewById(R.id.button2).getVisibility()) in onBindViewHolder_setVisibleIsGoneAndSetTitle_shouldNotShowButton()
158 assertThat(mRootView.findViewById(R.id.button2).getVisibility()) in onBindViewHolder_setVisibleIsGoneAndSetIcon_shouldNotShowButton()
177 assertThat(mRootView.findViewById(R.id.button2).getVisibility()) in onBindViewHolder_setVisibility_shouldUpdateButtonVisibility()
193 assertThat(mRootView.findViewById(R.id.button2).getVisibility()) in onBindViewHolder_setVisibility_shouldUpdateButtonVisibility()
213 assertThat(mRootView.findViewById(R.id.button2).isEnabled()).isFalse(); in onBindViewHolder_setEnabled_shouldEnableButton()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DConfirmDeletionDialogTest.java40 Button button2 = alertDialog.getDialog().findViewById(android.R.id.button2); in testOnCreateDialog_saysCorrectStrings() local
44 assertThat(button2.getText().toString()).isEqualTo("Cancel"); in testOnCreateDialog_saysCorrectStrings()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DAddAccessoryContentFragment.java107 String button2 = context.getResources().getString(R.string.accessories_pairing_button2); in getExtraInstructionContentDescription() local
109 || TextUtils.isEmpty(button2)) { in getExtraInstructionContentDescription()
113 .getString(R.string.accessories_add_bluetooth_inst_extra, button1, button2); in getExtraInstructionContentDescription()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DEntityHeaderControllerTest.java158 assertThat(view.findViewById(android.R.id.button2).getVisibility()).isEqualTo(View.GONE); in bindButton_hasEditClickListener_shouldShowButton()
177 assertThat(view.findViewById(android.R.id.button2).getVisibility()).isEqualTo(View.GONE); in bindButton_noEditClickListener_shouldNotShowButton()
198 assertThat(appLinks.findViewById(android.R.id.button2).getVisibility()) in bindButton_noAppInfo_shouldNotAttachClickListener()
269 assertThat(appLinks.findViewById(android.R.id.button2).getVisibility()) in bindButton_hasAppNotifIntent_shouldShowButton()
/packages/apps/Settings/src/com/android/settings/widget/
DEntityHeaderController.java269 final ImageButton button2 = mHeader.findViewById(android.R.id.button2); in bindHeaderButtons() local
272 bindButton(button2, mAction2); in bindHeaderButtons()
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/
DTaskOverlayFactoryGo.java345 Button button2 = view.findViewById(R.id.niu_actions_dialog_button_2); in showDialog() local
346 button2.setText(button2TextID); in showDialog()
347 button2.setOnClickListener(button2Callback); in showDialog()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/testutils/
DDialogTestUtils.java45 com.android.internal.R.id.button2); in clickNegativeButton()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DDialogTestUtils.java45 com.android.internal.R.id.button2); in clickNegativeButton()
/packages/modules/Permission/PermissionController/src/android/support/wearable/view/
DAcceptDenyDialog.java91 mNegativeButton = (ImageButton) findViewById(android.R.id.button2); in AcceptDenyDialog()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DActionButtonsPreference.java116 .setButtonView(holder.findViewById(R.id.button2)) in onBindViewHolder()
/packages/apps/Settings/src/com/android/settings/wifi/
DAddNetworkFragment.java48 final static int CANCEL_BUTTON_ID = android.R.id.button2;
DConfigureWifiEntryFragment.java61 private static final int CANCEL_BUTTON_ID = android.R.id.button2;
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDetailsButtonsControllerTest.java57 mConnectButton = buttons.findViewById(R.id.button2); in setUp()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickFragment.java118 mCancel = (Button) mContainer.findViewById(android.R.id.button2); in onCreateView()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DUiBot.java276 onView(withId(android.R.id.button2)).perform(click()); in clickDialogCancelButton()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DProvisioningActivityTest.java317 onView(withId(android.R.id.button2)) in testCancelDeviceOwner()