Searched refs:findViewById (Results 1 - 25 of 394) sorted by relevance

1234567891011>>

/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DLinearLayoutGrid.java36 return (ViewGroup) findViewById(R.id.layout);
54 return (LinearLayout) findViewById(R.id.column1);
56 return (LinearLayout) findViewById(R.id.column2);
58 return (LinearLayout) findViewById(R.id.column3);
H A DFocusAfterRemoval.java38 final LinearLayout left = (LinearLayout) findViewById(R.id.leftLayout);
41 Button topLeftButton = (Button) findViewById(R.id.topLeftButton);
51 Button bottomLeftButton = (Button) findViewById(R.id.bottomLeftButton);
60 final Button topRightButton = (Button) findViewById(R.id.topRightButton);
69 final Button bottomRightButton = (Button) findViewById(R.id.bottomRightButton);
H A DDescendantFocusability.java43 beforeDescendants = (ViewGroup) findViewById(R.id.beforeDescendants);
46 afterDescendants = (ViewGroup) findViewById(R.id.afterDescendants);
49 blocksDescendants = (ViewGroup) findViewById(R.id.blocksDescendants);
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
H A DRequestRectangleVisible.java44 final View childToMakeVisible = findViewById(R.id.childToMakeVisible);
46 final TextView topBlob = (TextView) findViewById(R.id.topBlob);
47 final TextView bottomBlob = (TextView) findViewById(R.id.bottomBlob);
58 findViewById(R.id.scrollToRectFromTop).setOnClickListener(new View.OnClickListener() {
66 findViewById(R.id.scrollToRectFromTop2).setOnClickListener(new View.OnClickListener() {
74 findViewById(R.id.scrollToRectFromBottom).setOnClickListener(new View.OnClickListener() {
82 findViewById(R.id.scrollToRectFromBottom2).setOnClickListener(new View.OnClickListener() {
/frameworks/base/core/tests/coretests/src/android/widget/
H A DRadioGroupPreCheckedTest.java38 RadioButton radio = (RadioButton) activity.findViewById(R.id.value_one);
41 RadioGroup group = (RadioGroup) activity.findViewById(R.id.group);
50 RadioButton radio = (RadioButton) activity.findViewById(R.id.value_two);
53 RadioButton old = (RadioButton) activity.findViewById(R.id.value_one);
58 RadioGroup group = (RadioGroup) activity.findViewById(R.id.group);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DViewFlipperActivity.java39 ViewFlipper flipper = (ViewFlipper) widget.findViewById(R.id.flipper);
43 ((ImageView) view.findViewById(R.id.widget_image)).setImageResource(R.drawable.sunset1);
44 ((TextView) view.findViewById(R.id.widget_text)).setText("This is a long line of text, "
49 ((ImageView) view.findViewById(R.id.widget_image)).setImageResource(R.drawable.sunset3);
50 ((TextView) view.findViewById(R.id.widget_text)).setText("Another very long line of text, "
H A DTextFadeActivity.java36 findViewById(R.id.contact_tile_name).setHorizontalFadingEdgeEnabled(true);
37 ((TextView) findViewById(R.id.contact_tile_name)).setEllipsize(TextUtils.TruncateAt.MARQUEE);
H A DTransformsAndAnimationsActivity.java58 button1 = (Button) findViewById(R.id.button1);
59 button2 = (Button) findViewById(R.id.button2);
60 button3 = (Button) findViewById(R.id.button3);
61 button1a = (Button) findViewById(R.id.button1a);
62 button2a = (Button) findViewById(R.id.button2a);
63 button3a = (Button) findViewById(R.id.button3a);
64 button1b = (Button) findViewById(R.id.button1b);
65 button2b = (Button) findViewById(R.id.button2b);
66 button3b = (Button) findViewById(R.id.button3b);
67 button4 = (Button) findViewById(
[all...]
/frameworks/base/core/tests/coretests/src/android/view/
H A DDisabled.java37 Button disabledButton = (Button) findViewById(R.id.disabledButton);
41 Button disabledButtonA = (Button) findViewById(R.id.disabledButtonA);
46 Button disabledButtonB = (Button) findViewById(R.id.disabledButtonB);
H A DDrawableBgMinSize.java61 mChangeBackgroundsButton = (Button) findViewById(R.id.change_backgrounds);
64 mTextView = (TextView) findViewById(R.id.text_view);
65 mLinearLayout = (LinearLayout) findViewById(R.id.linear_layout);
66 mRelativeLayout = (RelativeLayout) findViewById(R.id.relative_layout);
67 mFrameLayout = (FrameLayout) findViewById(R.id.frame_layout);
68 mAbsoluteLayout = (AbsoluteLayout) findViewById(R.id.absolute_layout);
H A DIncludeTest.java41 final View button1 = activity.findViewById(R.id.included_button);
44 final View button2 = activity.findViewById(R.id.included_button_overriden);
52 final View button1 = activity.findViewById(R.id.included_button);
53 final View button2 = activity.findViewById(R.id.included_button_overriden);
64 final View button1 = activity.findViewById(R.id.included_button_visibility);
73 final View button1 = activity.findViewById(R.id.included_button_with_size);
H A DStubbedView.java34 findViewById(R.id.vis).setOnClickListener(new View.OnClickListener() {
36 final View view = findViewById(R.id.viewStub);
H A DVisibility.java37 mVictim = findViewById(R.id.victim);
40 Button visibleButton = (Button) findViewById(R.id.vis);
41 Button invisibleButton = (Button) findViewById(R.id.invis);
42 Button goneButton = (Button) findViewById(R.id.gone);
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
H A DLLEditTextThenButton.java39 mLayout = (LinearLayout) findViewById(R.id.layout);
40 mEditText = (EditText) findViewById(R.id.editText);
41 mButton = (Button) findViewById(R.id.button);
H A DBaselineAlignmentZeroWidthAndWeight.java31 findViewById(R.id.show).setOnClickListener(new View.OnClickListener() {
33 findViewById(R.id.layout).setVisibility(View.VISIBLE);
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DFadingHierarchy.java37 mContainer = (ViewGroup) findViewById(R.id.container);
38 mRemovingContainer = (ViewGroup) findViewById(R.id.removingContainer);
41 mRemovingButton = (Button) findViewById(R.id.removingButton);
H A DHierarchicalMove.java42 View container = (View) findViewById(R.id.container);
45 buttons[0] = (Button) findViewById(R.id.button0);
46 buttons[1] = (Button) findViewById(R.id.button1);
47 buttons[2] = (Button) findViewById(R.id.button2);
48 buttons[3] = (Button) findViewById(R.id.button3);
49 buttons[4] = (Button) findViewById(R.id.button4);
50 buttons[5] = (Button) findViewById(R.id.button5);
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/
H A DCellSpanTest.java47 mA = activity.findViewById(R.id.a);
48 mB = activity.findViewById(R.id.b);
49 mC = activity.findViewById(R.id.c);
50 mSpanThenCell = activity.findViewById(R.id.spanThenCell);
51 mCellThenSpan = activity.findViewById(R.id.cellThenSpan);
52 mSpan = activity.findViewById(R.id.span);
H A DVerticalGravityTest.java49 mReference1 = activity.findViewById(R.id.reference1);
50 mReference2 = activity.findViewById(R.id.reference2);
51 mReference3 = activity.findViewById(R.id.reference3);
52 mTop = activity.findViewById(R.id.cell_top);
53 mCenter = activity.findViewById(R.id.cell_center);
54 mBottom = activity.findViewById(R.id.cell_bottom);
H A DHorizontalGravityTest.java46 mReference = activity.findViewById(R.id.reference);
47 mCenter = activity.findViewById(R.id.center);
48 mBottomRight = activity.findViewById(R.id.bottomRight);
49 mLeft = activity.findViewById(R.id.left);
H A DWeightTest.java45 mCell1 = activity.findViewById(R.id.cell1);
46 mCell3 = activity.findViewById(R.id.cell2);
47 mCell2 = activity.findViewById(R.id.cell3);
48 mRow = activity.findViewById(R.id.row);
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
H A DClientTest.java52 Button addpbtn = (Button) findViewById(R.id.addpkg);
53 Button procbtn = (Button) findViewById(R.id.procmsg);
54 Button delbtn = (Button) findViewById(R.id.delpkg);
60 EditText app_id = (EditText) findViewById(R.id.app_id);
61 EditText cont = (EditText) findViewById(R.id.cont);
62 EditText pkg = (EditText) findViewById(R.id.pkg);
63 EditText cls = (EditText) findViewById(R.id.cls);
64 RadioButton act = (RadioButton) findViewById(R.id.act);
65 CheckBox sig = (CheckBox) findViewById(R.id.sig);
66 CheckBox ftr = (CheckBox) findViewById(
[all...]
/frameworks/base/core/tests/coretests/src/android/animation/
H A DObjectAnimatorEventsTest.java29 Button button = (Button) activity.findViewById(R.id.animatingButton);
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListViewHeightTest.java51 final Button button1 = (Button) mActivity.findViewById(R.id.button1);
52 final Button button2 = (Button) mActivity.findViewById(R.id.button2);
53 final Button button3 = (Button) mActivity.findViewById(R.id.button3);
56 ListView list = (ListView) mActivity.findViewById(R.id.inner_list);
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
H A DObjectViewer.java101 mImportButton = (Button)findViewById(R.id.import_button);
103 mDeleteButton = (Button)findViewById(R.id.delete_button);
120 TextView view = (TextView)findViewById(R.id.name);
123 view = (TextView)findViewById(R.id.format);
125 view = (TextView)findViewById(R.id.size);
127 view = (TextView)findViewById(R.id.thumb_width);
129 view = (TextView)findViewById(R.id.thumb_height);
131 view = (TextView)findViewById(R.id.thumb_size);
133 view = (TextView)findViewById(R.id.width);
135 view = (TextView)findViewById(
[all...]

Completed in 647 milliseconds

1234567891011>>