Home
last modified time | relevance | path

Searched refs:findViewById (Results 1 – 25 of 460) sorted by relevance

12345678910>>...19

/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
DClientTest.java52 Button addpbtn = (Button) findViewById(R.id.addpkg); in onCreate()
53 Button procbtn = (Button) findViewById(R.id.procmsg); in onCreate()
54 Button delbtn = (Button) findViewById(R.id.delpkg); in onCreate()
60 EditText app_id = (EditText) findViewById(R.id.app_id); in onCreate()
61 EditText cont = (EditText) findViewById(R.id.cont); in onCreate()
62 EditText pkg = (EditText) findViewById(R.id.pkg); in onCreate()
63 EditText cls = (EditText) findViewById(R.id.cls); in onCreate()
64 RadioButton act = (RadioButton) findViewById(R.id.act); in onCreate()
65 CheckBox sig = (CheckBox) findViewById(R.id.sig); in onCreate()
66 CheckBox ftr = (CheckBox) findViewById(R.id.ftr); in onCreate()
[all …]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DTransformsAndAnimationsActivity.java58 button1 = (Button) findViewById(R.id.button1); in onCreate()
59 button2 = (Button) findViewById(R.id.button2); in onCreate()
60 button3 = (Button) findViewById(R.id.button3); in onCreate()
61 button1a = (Button) findViewById(R.id.button1a); in onCreate()
62 button2a = (Button) findViewById(R.id.button2a); in onCreate()
63 button3a = (Button) findViewById(R.id.button3a); in onCreate()
64 button1b = (Button) findViewById(R.id.button1b); in onCreate()
65 button2b = (Button) findViewById(R.id.button2b); in onCreate()
66 button3b = (Button) findViewById(R.id.button3b); in onCreate()
67 button4 = (Button) findViewById(R.id.button4); in onCreate()
[all …]
DViewLayersActivity5.java90 ((ClipFrameLayout) findViewById(R.id.container)).setClipEnabled(true); in enableClip()
94 ((ClipFrameLayout) findViewById(R.id.container)).setClipEnabled(false); in disableClip()
98 findViewById(R.id.container).setLayerType(View.LAYER_TYPE_HARDWARE, mPaint); in enableLayer()
102 findViewById(R.id.container).setLayerType(View.LAYER_TYPE_NONE, null); in disableLayer()
106 findViewById(R.id.container).getLayoutParams().height = ViewGroup.LayoutParams.MATCH_PARENT; in growLayer()
107 findViewById(R.id.container).requestLayout(); in growLayer()
111 findViewById(R.id.container).getLayoutParams().height = 300; in shrinkLayer()
112 findViewById(R.id.container).requestLayout(); in shrinkLayer()
116 final ListView list = (ListView) findViewById(listId); in setupList()
DViewFlipperActivity.java39 ViewFlipper flipper = (ViewFlipper) widget.findViewById(R.id.flipper); in onCreate()
43 ((ImageView) view.findViewById(R.id.widget_image)).setImageResource(R.drawable.sunset1); in onCreate()
44 ((TextView) view.findViewById(R.id.widget_text)).setText("This is a long line of text, " in onCreate()
49 ((ImageView) view.findViewById(R.id.widget_image)).setImageResource(R.drawable.sunset3); in onCreate()
50 ((TextView) view.findViewById(R.id.widget_text)).setText("Another very long line of text, " in onCreate()
/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/
DFrameLayoutGravityTest.java49 mParent = activity.findViewById(R.id.parent); in setUp()
51 mLeftView = activity.findViewById(R.id.left); in setUp()
52 mRightView = activity.findViewById(R.id.right); in setUp()
53 mCenterHorizontalView = activity.findViewById(R.id.center_horizontal); in setUp()
55 mLeftCenterVerticalView = activity.findViewById(R.id.left_center_vertical); in setUp()
56 mRighCenterVerticalView = activity.findViewById(R.id.right_center_vertical); in setUp()
57 mCenterView = activity.findViewById(R.id.center); in setUp()
59 mLeftBottomView = activity.findViewById(R.id.left_bottom); in setUp()
60 mRightBottomView = activity.findViewById(R.id.right_bottom); in setUp()
61 mCenterHorizontalBottomView = activity.findViewById(R.id.center_horizontal_bottom); in setUp()
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DObjectViewer.java101 mImportButton = (Button)findViewById(R.id.import_button); in onCreate()
103 mDeleteButton = (Button)findViewById(R.id.delete_button); in onCreate()
120 TextView view = (TextView)findViewById(R.id.name); in onResume()
123 view = (TextView)findViewById(R.id.format); in onResume()
125 view = (TextView)findViewById(R.id.size); in onResume()
127 view = (TextView)findViewById(R.id.thumb_width); in onResume()
129 view = (TextView)findViewById(R.id.thumb_height); in onResume()
131 view = (TextView)findViewById(R.id.thumb_size); in onResume()
133 view = (TextView)findViewById(R.id.width); in onResume()
135 view = (TextView)findViewById(R.id.height); in onResume()
[all …]
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DEnvReverbTest.java76 ImageView playPause = (ImageView) findViewById(R.id.playPause1); in onCreate()
77 ImageView stop = (ImageView) findViewById(R.id.stop1); in onCreate()
78 textView = (TextView) findViewById(R.id.sessionText); in onCreate()
90 mSendLevelSeekBar = (SeekBar)findViewById(R.id.sendLevelSeekBar); in onCreate()
91 mSendLevelDisplay = (TextView)findViewById(R.id.sendLevelValue); in onCreate()
97 mOnOffButton = (ToggleButton)findViewById(R.id.rvbOnOff); in onCreate()
98 mReleaseButton = (ToggleButton)findViewById(R.id.rvbReleaseButton); in onCreate()
99 mAttachButton = (ToggleButton)findViewById(R.id.attachButton); in onCreate()
113 seekBar = (SeekBar)findViewById(R.id.rvbParam1SeekBar); in onCreate()
114 textView = (TextView)findViewById(R.id.rvbParam1Value); in onCreate()
[all …]
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DContactsExpansion.java52 ViewGroup contactsContainer = (ViewGroup) findViewById(R.id.contactsContainer); in onCreate()
67 ImageView thumbnailView = (ImageView) contactItem.findViewById(R.id.contact_picture); in addContact()
69 ((TextView)contactItem.findViewById(R.id.contact_name)).setText(contactsData[dataIndex++]); in addContact()
70 ((TextView)contactItem.findViewById(R.id.contact_street)). in addContact()
72 ((TextView)contactItem.findViewById(R.id.contact_city)).setText(contactsData[dataIndex++]); in addContact()
73 ((TextView)contactItem.findViewById(R.id.contact_phone)).setText(contactsData[dataIndex++]); in addContact()
74 ((TextView)contactItem.findViewById(R.id.contact_email)).setText(contactsData[dataIndex++]); in addContact()
106 View expandedContainer = currentItem.findViewById(R.id.expanded_info); in ToggleScene()
109 (ImageView) currentItem.findViewById(R.id.contact_picture); in ToggleScene()
112 ImageView arrow = (ImageView) currentItem.findViewById(R.id.contact_arrow); in ToggleScene()
DHierarchicalMove.java42 View container = (View) findViewById(R.id.container); in onCreate()
45 buttons[0] = (Button) findViewById(R.id.button0); in onCreate()
46 buttons[1] = (Button) findViewById(R.id.button1); in onCreate()
47 buttons[2] = (Button) findViewById(R.id.button2); in onCreate()
48 buttons[3] = (Button) findViewById(R.id.button3); in onCreate()
49 buttons[4] = (Button) findViewById(R.id.button4); in onCreate()
50 buttons[5] = (Button) findViewById(R.id.button5); in onCreate()
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
DRequestRectangleVisible.java44 final View childToMakeVisible = findViewById(R.id.childToMakeVisible); in onCreate()
46 final TextView topBlob = (TextView) findViewById(R.id.topBlob); in onCreate()
47 final TextView bottomBlob = (TextView) findViewById(R.id.bottomBlob); in onCreate()
58 findViewById(R.id.scrollToRectFromTop).setOnClickListener(new View.OnClickListener() { in onCreate()
66 findViewById(R.id.scrollToRectFromTop2).setOnClickListener(new View.OnClickListener() { in onCreate()
74 findViewById(R.id.scrollToRectFromBottom).setOnClickListener(new View.OnClickListener() { in onCreate()
82 findViewById(R.id.scrollToRectFromBottom2).setOnClickListener(new View.OnClickListener() { in onCreate()
DRequestRectangleVisibleTest.java60 mScrollView = (ScrollView) a.findViewById(R.id.scrollView); in setUp()
61 mClickToScrollFromAbove = (Button) a.findViewById(R.id.scrollToRectFromTop); in setUp()
62 mClickToScrollToUpperBlob = (Button) a.findViewById(R.id.scrollToRectFromTop2); in setUp()
63 mTopBlob = (TextView) a.findViewById(R.id.topBlob); in setUp()
64 mChildToScrollTo = a.findViewById(R.id.childToMakeVisible); in setUp()
65 mBottomBlob = (TextView) a.findViewById(R.id.bottomBlob); in setUp()
66 mClickToScrollToBlobLowerBlob = (Button) a.findViewById(R.id.scrollToRectFromBottom2); in setUp()
67 mClickToScrollFromBelow = (Button) a.findViewById(R.id.scrollToRectFromBottom); in setUp()
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/
DVerticalGravityTest.java49 mReference1 = activity.findViewById(R.id.reference1); in setUp()
50 mReference2 = activity.findViewById(R.id.reference2); in setUp()
51 mReference3 = activity.findViewById(R.id.reference3); in setUp()
52 mTop = activity.findViewById(R.id.cell_top); in setUp()
53 mCenter = activity.findViewById(R.id.cell_center); in setUp()
54 mBottom = activity.findViewById(R.id.cell_bottom); in setUp()
DCellSpanTest.java47 mA = activity.findViewById(R.id.a); in setUp()
48 mB = activity.findViewById(R.id.b); in setUp()
49 mC = activity.findViewById(R.id.c); in setUp()
50 mSpanThenCell = activity.findViewById(R.id.spanThenCell); in setUp()
51 mCellThenSpan = activity.findViewById(R.id.cellThenSpan); in setUp()
52 mSpan = activity.findViewById(R.id.span); in setUp()
/frameworks/base/core/tests/coretests/src/android/view/
DIncludeTest.java41 final View button1 = activity.findViewById(R.id.included_button); in testIncluded()
44 final View button2 = activity.findViewById(R.id.included_button_overriden); in testIncluded()
52 final View button1 = activity.findViewById(R.id.included_button); in testIncludedWithLayoutParams()
53 final View button2 = activity.findViewById(R.id.included_button_overriden); in testIncludedWithLayoutParams()
64 final View button1 = activity.findViewById(R.id.included_button_visibility); in testIncludedWithVisibility()
73 final View button1 = activity.findViewById(R.id.included_button_with_size); in testIncludedWithSize()
DDrawableBgMinSize.java61 mChangeBackgroundsButton = (Button) findViewById(R.id.change_backgrounds); in onCreate()
64 mTextView = (TextView) findViewById(R.id.text_view); in onCreate()
65 mLinearLayout = (LinearLayout) findViewById(R.id.linear_layout); in onCreate()
66 mRelativeLayout = (RelativeLayout) findViewById(R.id.relative_layout); in onCreate()
67 mFrameLayout = (FrameLayout) findViewById(R.id.frame_layout); in onCreate()
68 mAbsoluteLayout = (AbsoluteLayout) findViewById(R.id.absolute_layout); in onCreate()
DVisibilityCallbackTest.java50 mRefUp = (TextView) a.findViewById(R.id.refUp); in setUp()
51 mRefDown = (TextView) a.findViewById(R.id.refDown); in setUp()
52 mVictim = (VisibilityCallback.MonitoredTextView) a.findViewById(R.id.victim); in setUp()
53 mParent = (ViewGroup) a.findViewById(R.id.parent); in setUp()
54 mVisible = (Button) a.findViewById(R.id.vis); in setUp()
55 mInvisible = (Button) a.findViewById(R.id.invis); in setUp()
56 mGone = (Button) a.findViewById(R.id.gone); in setUp()
DPopupWindowVisibility.java46 mFrame = findViewById(R.id.frame); in onCreate()
48 mHide = (Button) findViewById(R.id.hide); in onCreate()
51 mShow = (Button) findViewById(R.id.show); in onCreate()
54 Spinner spinner = (Spinner) findViewById(R.id.spinner); in onCreate()
62 AutoCompleteTextView textView = (AutoCompleteTextView) findViewById(R.id.auto); in onCreate()
/frameworks/base/core/tests/coretests/src/android/widget/
DRadioGroupPreCheckedTest.java38 RadioButton radio = (RadioButton) activity.findViewById(R.id.value_one); in testRadioButtonPreChecked()
41 RadioGroup group = (RadioGroup) activity.findViewById(R.id.group); in testRadioButtonPreChecked()
50 RadioButton radio = (RadioButton) activity.findViewById(R.id.value_two); in testRadioButtonChangePreChecked()
53 RadioButton old = (RadioButton) activity.findViewById(R.id.value_one); in testRadioButtonChangePreChecked()
58 RadioGroup group = (RadioGroup) activity.findViewById(R.id.group); in testRadioButtonChangePreChecked()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DFocusAfterRemoval.java38 final LinearLayout left = (LinearLayout) findViewById(R.id.leftLayout); in onCreate()
41 Button topLeftButton = (Button) findViewById(R.id.topLeftButton); in onCreate()
51 Button bottomLeftButton = (Button) findViewById(R.id.bottomLeftButton); in onCreate()
60 final Button topRightButton = (Button) findViewById(R.id.topRightButton); in onCreate()
69 final Button bottomRightButton = (Button) findViewById(R.id.bottomRightButton); in onCreate()
DFocusAfterRemovalTest.java50 mLeftLayout = (LinearLayout) a.findViewById(R.id.leftLayout); in setUp()
51 mTopLeftButton = (Button) a.findViewById(R.id.topLeftButton); in setUp()
52 mBottomLeftButton = (Button) a.findViewById(R.id.bottomLeftButton); in setUp()
53 mTopRightButton = (Button) a.findViewById(R.id.topRightButton); in setUp()
54 mBottomRightButton = (Button) a.findViewById(R.id.bottomRightButton); in setUp()
94 getActivity().findViewById(R.id.leftLayout).getVisibility()); in testFocusLeavesWhenParentLayoutInvisible()
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DManualActivity.java106 mSoftwareView = (MainView) findViewById(R.id.software_view); in onCreate()
111 mCompareImageView = (ImageView) findViewById(R.id.compare_image_view); in onCreate()
117 mErrorTextView = (TextView) findViewById(R.id.current_error); in onCreate()
118 ((ImageButton) findViewById(R.id.next)).setOnClickListener(new OnClickListener() { in onCreate()
126 ((ImageButton) findViewById(R.id.previous)).setOnClickListener(new OnClickListener() { in onCreate()
134 ((Button) findViewById(R.id.show_hardware_version)) in onCreate()
142 ((Button) findViewById(R.id.show_software_version)) in onCreate()
150 ((Button) findViewById(R.id.show_error_heatmap)).setOnClickListener(new OnClickListener() { in onCreate()
186 LinearLayout layout = (LinearLayout) findViewById(R.id.spinner_layout); in buildSpinnerLayout()
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
DBaselineButtonsTest.java45 mCurrentTime = activity.findViewById(R.id.currenttime); in setUp()
46 mTotalTime = activity.findViewById(R.id.totaltime); in setUp()
47 mPrev = (ImageButton) activity.findViewById(R.id.prev); in setUp()
48 mNext = (ImageButton) activity.findViewById(R.id.next); in setUp()
49 mPause = (ImageButton) activity.findViewById(R.id.pause); in setUp()
50 mLayout = activity.findViewById(R.id.layout); in setUp()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DActionBarOverlayLayout.java94 mContent = findViewById(R.id.action_bar_activity_content); in pullChildren()
96 mContent = findViewById(android.R.id.content); in pullChildren()
98 mActionBarTop = findViewById(R.id.top_action_bar); in pullChildren()
99 mContainerView = (ActionBarContainer) findViewById(R.id.action_bar_container); in pullChildren()
100 mActionView = (ActionBarView) findViewById(R.id.action_bar); in pullChildren()
101 mActionBarBottom = findViewById(R.id.split_action_bar); in pullChildren()
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
DImageProcessingActivityJB.java379 mSurfaceView = (SurfaceView) findViewById(R.id.surface); in onCreate()
381 mDisplayView = (ImageView) findViewById(R.id.display); in onCreate()
384 mSpinner = (Spinner) findViewById(R.id.spinner1); in onCreate()
386 mBar1 = (SeekBar) findViewById(R.id.slider1); in onCreate()
387 mBar2 = (SeekBar) findViewById(R.id.slider2); in onCreate()
388 mBar3 = (SeekBar) findViewById(R.id.slider3); in onCreate()
389 mBar4 = (SeekBar) findViewById(R.id.slider4); in onCreate()
390 mBar5 = (SeekBar) findViewById(R.id.slider5); in onCreate()
398 mText1 = (TextView) findViewById(R.id.slider1Text); in onCreate()
399 mText2 = (TextView) findViewById(R.id.slider2Text); in onCreate()
[all …]
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
DImageProcessingActivity2.java355 mSurfaceView = (SurfaceView) findViewById(R.id.surface); in onCreate()
357 mDisplayView = (ImageView) findViewById(R.id.display); in onCreate()
360 mSpinner = (Spinner) findViewById(R.id.spinner1); in onCreate()
362 mBar1 = (SeekBar) findViewById(R.id.slider1); in onCreate()
363 mBar2 = (SeekBar) findViewById(R.id.slider2); in onCreate()
364 mBar3 = (SeekBar) findViewById(R.id.slider3); in onCreate()
365 mBar4 = (SeekBar) findViewById(R.id.slider4); in onCreate()
366 mBar5 = (SeekBar) findViewById(R.id.slider5); in onCreate()
374 mText1 = (TextView) findViewById(R.id.slider1Text); in onCreate()
375 mText2 = (TextView) findViewById(R.id.slider2Text); in onCreate()
[all …]

12345678910>>...19