Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/tests/coretests/src/android/view/
H A DIncludeTest.java42 final View button2 = activity.findViewById(R.id.included_button_overriden); in testIncluded() local
43 assertNotNull("The layout include_button was not included with overriden id", button2); in testIncluded()
51 final View button2 = activity.findViewById(R.id.included_button_overriden); in testIncludedWithLayoutParams() local
54 button1.getLayoutParams().width != button2.getLayoutParams().width); in testIncludedWithLayoutParams()
56 button1.getLayoutParams().height != button2.getLayoutParams().height); in testIncludedWithLayoutParams()
/aosp14/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DDelayedTransition.java40 final Button button2 = (Button) findViewById(R.id.button2); in onCreate() local
52 button2.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, in onCreate()
59 button2.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, in onCreate()
H A DHierarchicalMove.java47 buttons[2] = (Button) findViewById(R.id.button2); in onCreate()
H A DCrossfadeMultiple.java105 case R.id.button2: in sendMessage()
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListViewHeightTest.java52 final Button button2 = (Button) mActivity.findViewById(R.id.button2); in testButtons() local
71 button2.performClick(); in testButtons()
H A DListViewHeight.java48 mButton2 = findViewById(R.id.button2); in onCreate()
/aosp14/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DTransformsAndAnimationsActivity.java36 Button button2; field in TransformsAndAnimationsActivity
59 button2 = findViewById(R.id.button2); in onCreate()
130 button2.startAnimation(alphaAnim); in onCreate()
152 button2.setLayerType(layerType, null); in setLayerType()
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
H A DActionButtonsPreferenceTest.java67 assertThat(mRootView.findViewById(R.id.button2).getVisibility()) in onBindViewHolder_setTitle_shouldShowButtonByDefault()
86 assertThat(mRootView.findViewById(R.id.button2).getVisibility()) in onBindViewHolder_setIcon_shouldShowButtonByDefault()
100 assertThat(mRootView.findViewById(R.id.button2).getVisibility()) in onBindViewHolder_notSetTitleOrIcon_shouldNotShowButtonByDefault()
119 assertThat(mRootView.findViewById(R.id.button2).getVisibility()) in onBindViewHolder_setVisibleIsGoneAndSetTitle_shouldNotShowButton()
138 assertThat(mRootView.findViewById(R.id.button2).getVisibility()) in onBindViewHolder_setVisibleIsGoneAndSetIcon_shouldNotShowButton()
157 assertThat(mRootView.findViewById(R.id.button2).getVisibility()) in onBindViewHolder_setVisibility_shouldUpdateButtonVisibility()
173 assertThat(mRootView.findViewById(R.id.button2).getVisibility()) in onBindViewHolder_setVisibility_shouldUpdateButtonVisibility()
191 assertThat(mRootView.findViewById(R.id.button2).isEnabled()).isFalse(); in onBindViewHolder_setEnabled_shouldEnableButton()
207 assertThat(((Button) mRootView.findViewById(R.id.button2)).getText()) in onBindViewHolder_setText_shouldShowSameText()
H A DLayoutPreferenceTest.java76 mPreference.findViewById(android.R.id.button2).setEnabled(true); in disableSomeView_shouldMaintainStateAfterBind()
81 assertThat(mPreference.findViewById(android.R.id.button2).isEnabled()).isTrue(); in disableSomeView_shouldMaintainStateAfterBind()
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
H A DLLOfTwoFocusableInTouchMode.java42 mButton2 = findViewById(R.id.button2); in onCreate()
H A DBaselineAlignmentCenterGravityTest.java44 mButton2 = (Button) activity.findViewById(R.id.button2); in setUp()
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DBaseErrorDialog.java101 b = (Button)findViewById(R.id.button2); in setEnabled()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenrecord/
H A DScreenRecordPermissionDialogTest.kt124 dialog.requireViewById<View>(android.R.id.button2).performClick()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
H A DBaseScreenSharePermissionDialog.kt61 cancelButton = requireViewById(android.R.id.button2)
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
H A DZenDurationDialog.java236 final ImageView plusButton = (ImageView) row.findViewById(android.R.id.button2); in updateButtons()
H A DEnableZenModeDialog.java380 final ImageView plusButton = (ImageView) row.findViewById(android.R.id.button2); in updateUi()
/aosp14/frameworks/base/packages/SettingsLib/ActionButtonsPreference/src/com/android/settingslib/widget/
H A DActionButtonsPreference.java125 mButton2Info.mButton = (Button) holder.findViewById(R.id.button2); in onBindViewHolder()
/aosp14/frameworks/base/core/java/android/accounts/
H A DChooseTypeAndAccountActivity.java248 mOkButton = findViewById(android.R.id.button2); in onCreate()
/aosp14/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
H A DAlertController.java559 mButtonNegative = buttonPanel.findViewById(R.id.button2); in setupButtons()
/aosp14/frameworks/base/core/java/com/android/internal/app/
H A DAlertController.java795 mButtonNegative = (Button) buttonPanel.findViewById(R.id.button2); in setupButtons()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt2336 field public static final int button2 = 16908314; // 0x102001a
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt77823 Lcom/android/internal/R$id;->button2:I