Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/view/
DIncludeTest.java41 final View button1 = activity.findViewById(R.id.included_button); in testIncluded() local
42 assertNotNull("The layout include_button was not included", button1); in testIncluded()
52 final View button1 = activity.findViewById(R.id.included_button); in testIncludedWithLayoutParams() local
56 button1.getLayoutParams().width != button2.getLayoutParams().width); in testIncludedWithLayoutParams()
58 button1.getLayoutParams().height != button2.getLayoutParams().height); in testIncludedWithLayoutParams()
64 final View button1 = activity.findViewById(R.id.included_button_visibility); in testIncludedWithVisibility() local
66 … assertEquals("Included button should be invisible", View.INVISIBLE, button1.getVisibility()); in testIncludedWithVisibility()
73 final View button1 = activity.findViewById(R.id.included_button_with_size); in testIncludedWithSize() local
75 final ViewGroup.LayoutParams lp = button1.getLayoutParams(); in testIncludedWithSize()
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
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()
DInterruptionTest.java58 changeBounds2.addTarget(R.id.button1); in onCreate()
DHierarchicalMove.java46 buttons[1] = (Button) findViewById(R.id.button1); in onCreate()
DCrossfadeMultiple.java99 case R.id.button1: in sendMessage()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListViewHeightTest.java51 final Button button1 = (Button) mActivity.findViewById(R.id.button1); in testButtons() local
62 button1.performClick(); in testButtons()
DListViewHeight.java47 mButton1 = findViewById(R.id.button1); in onCreate()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/
DAppCompatButtonTest.java50 final AppCompatButton button1 = in testAllCaps() local
59 button1.getLayout().getText()); in testAllCaps()
70 button1.getLayout().getText()); in testAllCaps()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DTransformsAndAnimationsActivity.java35 Button button1; field in TransformsAndAnimationsActivity
58 button1 = (Button) findViewById(R.id.button1); in onCreate()
129 button1.startAnimation(alphaAnim); in onCreate()
151 button1.setLayerType(layerType, null); in setLayerType()
/frameworks/base/docs/html/training/keyboard-input/
Dnavigation.jd105 android:id="@+id/button1"
112 android:layout_below="@id/button1"
113 android:nextFocusForward="@+id/button1"
125 <p>Now instead of sending focus from {@code button1} to {@code button2} then {@code editText1}, the
127 {@code button1} to {@code editText1} then {@code button2}.</p>
156 android:id="@+id/button1"
162 android:nextFocusLeft="@id/button1"
167 android:nextFocusUp="@id/button1"
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DZenModePanel.java668 final ImageView button1 = (ImageView) row.findViewById(android.R.id.button1); in bind() local
669 button1.setOnClickListener(new OnClickListener() { in bind()
692 button1.setVisibility(VISIBLE); in bind()
695 button1.setEnabled(mBucketIndex > 0); in bind()
699 button1.setEnabled(span > MIN_BUCKET_MINUTES * MINUTES_MS); in bind()
705 button1.setAlpha(button1.isEnabled() ? 1f : .5f); in bind()
708 button1.setVisibility(GONE); in bind()
715 Interaction.register(button1, mInteractionCallback); in bind()
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
DLLOfButtons1.java40 mFirstButton = (Button) findViewById(R.id.button1); in onCreate()
DLLOfTwoFocusableInTouchMode.java41 mButton1 = findViewById(R.id.button1); in onCreate()
DBaselineAlignmentCenterGravityTest.java43 mButton1 = (Button) activity.findViewById(R.id.button1); in setUp()
/frameworks/base/services/core/java/com/android/server/am/
DBaseErrorDialog.java62 Button b = (Button)findViewById(R.id.button1); in setEnabled()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DPickFragment.java71 mPick = (Button) mContainer.findViewById(android.R.id.button1); in onCreateView()
DSaveFragment.java102 mSave = (Button) view.findViewById(android.R.id.button1); in onCreateView()
/frameworks/support/v7/gridlayout/
DREADME.txt39 android:id="@+id/button1"
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerZenModePanel.java66 mDone = mButtons.findViewById(android.R.id.button1); in init()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSDetail.java92 mDetailDoneButton = (TextView) findViewById(android.R.id.button1); in onFinishInflate()
/frameworks/base/core/java/android/app/
DLauncherActivity.java375 Button cancelButton = (Button) findViewById(com.android.internal.R.id.button1); in updateButtonText()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAlertController.java719 mButtonPositive = (Button) buttonPanel.findViewById(android.R.id.button1); in setupButtons()
/frameworks/base/core/java/com/android/internal/app/
DAlertController.java688 mButtonPositive = (Button) buttonPanel.findViewById(R.id.button1); in setupButtons()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteControllerDialog.java105 private static final int BUTTON_STOP_RES_ID = android.R.id.button1;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt1674 field public static final int button1 = 16908313; // 0x1020019

12