Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/view/
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()
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
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()
DHierarchicalMove.java47 buttons[2] = (Button) findViewById(R.id.button2); in onCreate()
DCrossfadeMultiple.java105 case R.id.button2: in sendMessage()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListViewHeightTest.java52 final Button button2 = (Button) mActivity.findViewById(R.id.button2); in testButtons() local
71 button2.performClick(); in testButtons()
DListViewHeight.java48 mButton2 = findViewById(R.id.button2); in onCreate()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DZenDurationDialog.java241 final ImageView button2 = (ImageView) row.findViewById(android.R.id.button2); in updateButtons() local
242 button2.setOnClickListener(new View.OnClickListener() { in updateButtons()
252 button2.setVisibility(View.VISIBLE); in updateButtons()
255 button2.setEnabled(tag.countdownZenDuration != MAX_BUCKET_MINUTES); in updateButtons()
258 button2.setAlpha(button2.isEnabled() ? 1f : .5f); in updateButtons()
261 button2.setVisibility(View.GONE); in updateButtons()
DEnableZenModeDialog.java371 final ImageView button2 = (ImageView) row.findViewById(android.R.id.button2); in updateUi() local
372 button2.setOnClickListener(new View.OnClickListener() { in updateUi()
382 button2.setVisibility(View.VISIBLE); in updateUi()
385 button2.setEnabled(mBucketIndex < MINUTE_BUCKETS.length - 1); in updateUi()
391 button2.setEnabled(!Objects.equals(condition.summary, maxCondition.summary)); in updateUi()
395 button2.setAlpha(button2.isEnabled() ? 1f : .5f); in updateUi()
398 button2.setVisibility(View.GONE); in updateUi()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
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()
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()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
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()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/items/
DButtonItemTest.java108 final Button button2 = item.createButton(parent); in testCreateButtonTwice() local
109 assertWithMessage("createButton should be reused").that(button2).isSameAs(button); in testCreateButtonTwice()
111 .that(button2.getParent()) in testCreateButtonTwice()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSDetailTest.java95 mQsDetail.findViewById(android.R.id.button2).performClick(); in testMoreSettingsButton()
109 mQsDetail.findViewById(android.R.id.button2).performClick(); in testNullAdapterClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DZenModePanel.java703 final ImageView button2 = (ImageView) row.findViewById(android.R.id.button2); in bind() local
704 button2.setOnClickListener(new OnClickListener() { in bind()
720 button2.setVisibility(VISIBLE); in bind()
723 button2.setEnabled(mBucketIndex < MINUTE_BUCKETS.length - 1); in bind()
729 button2.setEnabled(!Objects.equals(condition.summary, maxCondition.summary)); in bind()
733 button2.setAlpha(button2.isEnabled() ? 1f : .5f); in bind()
736 button2.setVisibility(GONE); in bind()
743 Interaction.register(button2, mInteractionCallback); in bind()
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/android/layoutlib/test/myapplication/
DR$id.class ... action_settings public static final int button public static final int button2 public static final int checkBox public static final int checkedTextView ...
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
DLLOfTwoFocusableInTouchMode.java42 mButton2 = findViewById(R.id.button2); in onCreate()
DBaselineAlignmentCenterGravityTest.java44 mButton2 = (Button) activity.findViewById(R.id.button2); in setUp()
/frameworks/base/services/core/java/com/android/server/am/
DBaseErrorDialog.java67 b = (Button)findViewById(R.id.button2); in setEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerZenModePanel.java64 mMoreSettings = mButtons.findViewById(android.R.id.button2); in init()
/frameworks/base/packages/SettingsLib/ActionButtonsPreference/src/com/android/settingslib/widget/
DActionButtonsPreference.java90 mButton2Info.mButton = (Button) holder.findViewById(R.id.button2); in onBindViewHolder()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSDetail.java101 mDetailSettingsButton = findViewById(android.R.id.button2); in onFinishInflate()
/frameworks/base/core/java/android/accounts/
DChooseTypeAndAccountActivity.java252 mOkButton = findViewById(android.R.id.button2); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DBiometricDialogView.java209 mNegativeButton = mLayout.findViewById(R.id.button2); in BiometricDialogView()
/frameworks/base/core/java/com/android/internal/app/
DAlertController.java763 mButtonNegative = (Button) buttonPanel.findViewById(R.id.button2); in setupButtons()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt1675 field public static final int button2 = 16908314; // 0x102001a

12