/frameworks/base/core/tests/coretests/src/android/view/ |
D | IncludeTest.java | 39 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()
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
D | DelayedTransition.java | 39 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()
|
D | InterruptionTest.java | 58 changeBounds2.addTarget(R.id.button1); in onCreate()
|
D | HierarchicalMove.java | 46 buttons[1] = (Button) findViewById(R.id.button1); in onCreate()
|
D | CrossfadeMultiple.java | 99 case R.id.button1: in sendMessage()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/ |
D | ActionButtonsPreferenceTest.java | 65 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() 190 assertThat(mRootView.findViewById(R.id.button1).isEnabled()).isTrue(); in onBindViewHolder_setEnabled_shouldEnableButton() 205 assertThat(((Button) mRootView.findViewById(R.id.button1)).getText()) in onBindViewHolder_setText_shouldShowSameText() 222 ((Button) mRootView.findViewById(R.id.button1)) in onBindViewHolder_setButtonIcon_iconMustDisplayAboveText() [all …]
|
D | LayoutPreferenceTest.java | 75 mPreference.findViewById(android.R.id.button1).setEnabled(false); in disableSomeView_shouldMaintainStateAfterBind() 80 assertThat(mPreference.findViewById(android.R.id.button1).isEnabled()).isFalse(); in disableSomeView_shouldMaintainStateAfterBind()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListViewHeightTest.java | 51 final Button button1 = (Button) mActivity.findViewById(R.id.button1); in testButtons() local 62 button1.performClick(); in testButtons()
|
D | ListViewHeight.java | 47 mButton1 = findViewById(R.id.button1); in onCreate()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/ |
D | ZenDurationDialog.java | 232 final ImageView button1 = (ImageView) row.findViewById(android.R.id.button1); in updateButtons() local 233 button1.setOnClickListener(new View.OnClickListener() { in updateButtons() 251 button1.setVisibility(View.VISIBLE); in updateButtons() 254 button1.setEnabled(time > MIN_BUCKET_MINUTES); in updateButtons() 257 button1.setAlpha(button1.isEnabled() ? 1f : .5f); in updateButtons() 260 button1.setVisibility(View.GONE); in updateButtons()
|
D | EnableZenModeDialog.java | 362 final ImageView button1 = (ImageView) row.findViewById(android.R.id.button1); in updateUi() local 363 button1.setOnClickListener(new View.OnClickListener() { in updateUi() 381 button1.setVisibility(View.VISIBLE); in updateUi() 384 button1.setEnabled(mBucketIndex > 0); in updateUi() 388 button1.setEnabled(span > MIN_BUCKET_MINUTES * MINUTES_MS); in updateUi() 394 button1.setAlpha(button1.isEnabled() ? 1f : .5f); in updateUi() 397 button1.setVisibility(View.GONE); in updateUi()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | TransformsAndAnimationsActivity.java | 35 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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | ZenModePanel.java | 695 final ImageView button1 = (ImageView) row.findViewById(android.R.id.button1); in bind() local 696 button1.setOnClickListener(new OnClickListener() { in bind() 719 button1.setVisibility(VISIBLE); in bind() 722 button1.setEnabled(mBucketIndex > 0); in bind() 726 button1.setEnabled(span > MIN_BUCKET_MINUTES * MINUTES_MS); in bind() 732 button1.setAlpha(button1.isEnabled() ? 1f : .5f); in bind() 735 button1.setVisibility(GONE); in bind() 742 Interaction.register(button1, mInteractionCallback); in bind()
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
D | LLOfButtons1.java | 40 mFirstButton = findViewById(R.id.button1); in onCreate()
|
D | LLOfTwoFocusableInTouchMode.java | 41 mButton1 = findViewById(R.id.button1); in onCreate()
|
D | BaselineAlignmentCenterGravityTest.java | 43 mButton1 = (Button) activity.findViewById(R.id.button1); in setUp()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BaseErrorDialog.java | 63 Button b = (Button)findViewById(R.id.button1); in setEnabled()
|
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/ |
D | SoundTriggerTestActivity.java | 138 public int compare(RadioButton button0, RadioButton button1) { in addModel() 139 return button0.getText().toString().compareTo(button1.getText().toString()); in addModel()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | TunerZenModePanel.java | 67 mDone = mButtons.findViewById(android.R.id.button1); in init()
|
/frameworks/base/packages/SettingsLib/ActionButtonsPreference/src/com/android/settingslib/widget/ |
D | ActionButtonsPreference.java | 89 mButton1Info.mButton = (Button) holder.findViewById(R.id.button1); in onBindViewHolder()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSDetail.java | 102 mDetailDoneButton = findViewById(android.R.id.button1); in onFinishInflate()
|
/frameworks/base/core/java/android/app/ |
D | LauncherActivity.java | 379 Button cancelButton = (Button) findViewById(com.android.internal.R.id.button1); in updateButtonText()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | BiometricDialogView.java | 210 mPositiveButton = mLayout.findViewById(R.id.button1); in BiometricDialogView()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | AlertController.java | 752 mButtonPositive = (Button) buttonPanel.findViewById(R.id.button1); in setupButtons()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 1674 field public static final int button1 = 16908313; // 0x1020019
|