Home
last modified time | relevance | path

Searched refs:button1 (Results 1 – 25 of 27) sorted by relevance

12

/aosp14/frameworks/base/core/tests/coretests/src/android/view/
H A DIncludeTest.java39 final View button1 = activity.findViewById(R.id.included_button); in testIncluded() local
40 assertNotNull("The layout include_button was not included", button1); in testIncluded()
50 final View button1 = activity.findViewById(R.id.included_button); in testIncludedWithLayoutParams() local
54 button1.getLayoutParams().width != button2.getLayoutParams().width); in testIncludedWithLayoutParams()
56 button1.getLayoutParams().height != button2.getLayoutParams().height); in testIncludedWithLayoutParams()
62 final View button1 = activity.findViewById(R.id.included_button_visibility); in testIncludedWithVisibility() local
64 … assertEquals("Included button should be invisible", View.INVISIBLE, button1.getVisibility()); in testIncludedWithVisibility()
71 final View button1 = activity.findViewById(R.id.included_button_with_size); in testIncludedWithSize() local
73 final ViewGroup.LayoutParams lp = button1.getLayoutParams(); in testIncludedWithSize()
/aosp14/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DDelayedTransition.java39 final Button button1 = (Button) findViewById(R.id.button1); in onCreate() local
42 button1.setOnClickListener(new View.OnClickListener() { in onCreate()
45 int buttonWidth = button1.getWidth(); in onCreate()
49 button1.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, in onCreate()
56 button1.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, in onCreate()
H A DInterruptionTest.java58 changeBounds2.addTarget(R.id.button1); in onCreate()
H A DHierarchicalMove.java46 buttons[1] = (Button) findViewById(R.id.button1); in onCreate()
H A DCrossfadeMultiple.java99 case R.id.button1: in sendMessage()
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListViewHeightTest.java51 final Button button1 = (Button) mActivity.findViewById(R.id.button1); in testButtons() local
62 button1.performClick(); in testButtons()
H A DListViewHeight.java47 mButton1 = findViewById(R.id.button1); in onCreate()
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
H A DActionButtonsPreferenceTest.java65 assertThat(mRootView.findViewById(R.id.button1).getVisibility()) in onBindViewHolder_setTitle_shouldShowButtonByDefault()
84 assertThat(mRootView.findViewById(R.id.button1).getVisibility()) in onBindViewHolder_setIcon_shouldShowButtonByDefault()
98 assertThat(mRootView.findViewById(R.id.button1).getVisibility()) in onBindViewHolder_notSetTitleOrIcon_shouldNotShowButtonByDefault()
117 assertThat(mRootView.findViewById(R.id.button1).getVisibility()) in onBindViewHolder_setVisibleIsGoneAndSetTitle_shouldNotShowButton()
136 assertThat(mRootView.findViewById(R.id.button1).getVisibility()) in onBindViewHolder_setVisibleIsGoneAndSetIcon_shouldNotShowButton()
155 assertThat(mRootView.findViewById(R.id.button1).getVisibility()) in onBindViewHolder_setVisibility_shouldUpdateButtonVisibility()
171 assertThat(mRootView.findViewById(R.id.button1).getVisibility()) in onBindViewHolder_setVisibility_shouldUpdateButtonVisibility()
205 assertThat(((Button) mRootView.findViewById(R.id.button1)).getText()) in onBindViewHolder_setText_shouldShowSameText()
222 ((Button) mRootView.findViewById(R.id.button1)) in onBindViewHolder_setButtonIcon_iconMustDisplayAboveText()
235 ((Button) mRootView.findViewById(R.id.button1)) in setButtonIcon_iconResourceIdIsZero_shouldNotDisplayIcon()
[all …]
H A DLayoutPreferenceTest.java75 mPreference.findViewById(android.R.id.button1).setEnabled(false); in disableSomeView_shouldMaintainStateAfterBind()
80 assertThat(mPreference.findViewById(android.R.id.button1).isEnabled()).isFalse(); in disableSomeView_shouldMaintainStateAfterBind()
/aosp14/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DTransformsAndAnimationsActivity.java35 Button button1; field in TransformsAndAnimationsActivity
58 button1 = findViewById(R.id.button1); in onCreate()
129 button1.startAnimation(alphaAnim); in onCreate()
151 button1.setLayerType(layerType, null); in setLayerType()
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
H A DLLOfButtons1.java40 mFirstButton = findViewById(R.id.button1); in onCreate()
H A DLLOfTwoFocusableInTouchMode.java41 mButton1 = findViewById(R.id.button1); in onCreate()
H A DBaselineAlignmentCenterGravityTest.java43 mButton1 = (Button) activity.findViewById(R.id.button1); in setUp()
/aosp14/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
H A DSoundTriggerTestActivity.java133 public int compare(RadioButton button0, RadioButton button1) { in addModel()
134 return button0.getText().toString().compareTo(button1.getText().toString()); in addModel()
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DBaseErrorDialog.java97 Button b = (Button)findViewById(R.id.button1); in setEnabled()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
H A DBaseScreenSharePermissionDialog.kt60 startButton = requireViewById(android.R.id.button1)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/fontscaling/
H A DFontScalingDialog.kt89 doneButton = requireViewById(com.android.internal.R.id.button1)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/fontscaling/
H A DFontScalingDialogTest.kt299 val doneButton: Button = fontScalingDialog.findViewById(com.android.internal.R.id.button1)!!
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
H A DZenDurationDialog.java235 final ImageView minusButton = (ImageView) row.findViewById(android.R.id.button1); in updateButtons()
H A DEnableZenModeDialog.java379 final ImageView minusButton = (ImageView) row.findViewById(android.R.id.button1); in updateUi()
/aosp14/frameworks/base/packages/SettingsLib/ActionButtonsPreference/src/com/android/settingslib/widget/
H A DActionButtonsPreference.java124 mButton1Info.mButton = (Button) holder.findViewById(R.id.button1); in onBindViewHolder()
/aosp14/frameworks/base/core/java/android/app/
H A DLauncherActivity.java379 Button cancelButton = (Button) findViewById(com.android.internal.R.id.button1); in updateButtonText()
/aosp14/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
H A DAlertController.java548 mButtonPositive = buttonPanel.findViewById(R.id.button1); in setupButtons()
/aosp14/frameworks/base/core/java/com/android/internal/app/
H A DAlertController.java784 mButtonPositive = (Button) buttonPanel.findViewById(R.id.button1); 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 ...

12