Home
last modified time | relevance | path

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

12345678910>>...41

/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardPINView.java82 mContainer = findViewById(R.id.container); in onFinishInflate()
83 mRow0 = findViewById(R.id.row0); in onFinishInflate()
84 mRow1 = findViewById(R.id.row1); in onFinishInflate()
85 mRow2 = findViewById(R.id.row2); in onFinishInflate()
86 mRow3 = findViewById(R.id.row3); in onFinishInflate()
87 mDivider = findViewById(R.id.divider); in onFinishInflate()
93 findViewById(R.id.key1), findViewById(R.id.key2), in onFinishInflate()
94 findViewById(R.id.key3) in onFinishInflate()
97 findViewById(R.id.key4), findViewById(R.id.key5), in onFinishInflate()
98 findViewById(R.id.key6) in onFinishInflate()
[all …]
DKeyguardPinBasedInputView.java174 mPasswordEntry = findViewById(getPasswordTextViewId()); in onFinishInflate()
187 mOkButton = findViewById(R.id.key_enter); in onFinishInflate()
201 mDeleteButton = findViewById(R.id.delete_button); in onFinishInflate()
225 mButton0 = findViewById(R.id.key0); in onFinishInflate()
226 mButton1 = findViewById(R.id.key1); in onFinishInflate()
227 mButton2 = findViewById(R.id.key2); in onFinishInflate()
228 mButton3 = findViewById(R.id.key3); in onFinishInflate()
229 mButton4 = findViewById(R.id.key4); in onFinishInflate()
230 mButton5 = findViewById(R.id.key5); in onFinishInflate()
231 mButton6 = findViewById(R.id.key6); in onFinishInflate()
[all …]
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
DClientTest.java52 Button addpbtn = findViewById(R.id.addpkg); in onCreate()
53 Button procbtn = findViewById(R.id.procmsg); in onCreate()
54 Button delbtn = findViewById(R.id.delpkg); in onCreate()
60 EditText app_id = findViewById(R.id.app_id); in onCreate()
61 EditText cont = findViewById(R.id.cont); in onCreate()
62 EditText pkg = findViewById(R.id.pkg); in onCreate()
63 EditText cls = findViewById(R.id.cls); in onCreate()
64 RadioButton act = findViewById(R.id.act); in onCreate()
65 CheckBox sig = findViewById(R.id.sig); in onCreate()
66 CheckBox ftr = findViewById(R.id.ftr); in onCreate()
[all …]
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/
DAppCompatTextViewTest.java59 final AppCompatTextView textView1 = mContainer.findViewById(R.id.text_view_caps1); in testAllCaps()
60 final AppCompatTextView textView2 = mContainer.findViewById(R.id.text_view_caps2); in testAllCaps()
86 mContainer.findViewById(R.id.text_view_app_allcaps_false); in testAppCompatAllCapsFalseOnButton()
93 final TextView textView = mContainer.findViewById(R.id.view_text_color_hex); in testTextColorSetHex()
99 final TextView textView = mContainer.findViewById(R.id.view_text_color_csl); in testTextColorSetColorStateList()
112 final TextView textView = mContainer.findViewById(R.id.view_text_color_primary); in testTextColorSetThemeAttrHex()
118 final TextView textView = mContainer.findViewById(R.id.view_text_color_secondary); in testTextColorSetThemeAttrColorStateList()
139 verifyTextLinkColor((TextView) mContainer.findViewById(R.id.view_text_link_enabled)); in testTextLinkColor()
140 verifyTextLinkColor((TextView) mContainer.findViewById(R.id.view_text_link_disabled)); in testTextLinkColor()
146 mContainer.findViewById(R.id.textview_fontresource_fontfamily_string_resource); in testFontResources_setInStringFamilyName()
[all …]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DTransformsAndAnimationsActivity.java58 button1 = findViewById(R.id.button1); in onCreate()
59 button2 = findViewById(R.id.button2); in onCreate()
60 button3 = findViewById(R.id.button3); in onCreate()
61 button1a = findViewById(R.id.button1a); in onCreate()
62 button2a = findViewById(R.id.button2a); in onCreate()
63 button3a = findViewById(R.id.button3a); in onCreate()
64 button1b = findViewById(R.id.button1b); in onCreate()
65 button2b = findViewById(R.id.button2b); in onCreate()
66 button3b = findViewById(R.id.button3b); in onCreate()
67 button4 = 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 = findViewById(listId); in setupList()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/test/
DRecyclerViewTest.java76 view = (RecyclerView) getActivity().findViewById(R.id.clipToPaddingUndefined); in inflation()
78 view = (RecyclerView) getActivity().findViewById(R.id.clipToPaddingYes); in inflation()
80 view = (RecyclerView) getActivity().findViewById(R.id.clipToPaddingNo); in inflation()
83 view = (RecyclerView) getActivity().findViewById(R.id.recyclerView); in inflation()
94 view = (RecyclerView) getActivity().findViewById(R.id.recyclerView2); in inflation()
106 view = (RecyclerView) getActivity().findViewById(R.id.recyclerView3); in inflation()
113 view = (RecyclerView) getActivity().findViewById(R.id.recyclerView4); in inflation()
120 view = (RecyclerView) getActivity().findViewById(R.id.recyclerView5); in inflation()
124 view = (RecyclerView) getActivity().findViewById(R.id.recyclerView6); in inflation()
129 view = (RecyclerView) getActivity().findViewById(R.id.focusability_undefined); in inflation()
[all …]
/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 = findViewById(R.id.playPause1); in onCreate()
77 ImageView stop = findViewById(R.id.stop1); in onCreate()
78 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/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/support/percent/tests/java/android/support/percent/
DPercentRelativeTest.java70 mPercentRelativeLayout = (PercentRelativeLayout) activity.findViewById(R.id.container); in setUp()
77 final View childToTest = mPercentRelativeLayout.findViewById(R.id.child_top); in testTopChild()
98 final View childToTest = mPercentRelativeLayout.findViewById(R.id.child_left); in testLeftChild()
119 final View childToTest = mPercentRelativeLayout.findViewById(R.id.child_bottom); in testBottomChild()
140 final View childToTest = mPercentRelativeLayout.findViewById(R.id.child_right); in testRightChild()
161 final View childToTest = mPercentRelativeLayout.findViewById(R.id.child_center); in testCenterChild()
168 final View leftChild = mPercentRelativeLayout.findViewById(R.id.child_left); in testCenterChild()
172 final View topChild = mPercentRelativeLayout.findViewById(R.id.child_top); in testCenterChild()
176 final View rightChild = mPercentRelativeLayout.findViewById(R.id.child_right); in testCenterChild()
180 final View bottomChild = mPercentRelativeLayout.findViewById(R.id.child_bottom); in testCenterChild()
DPercentRelativeRtlTest.java110 mPercentRelativeLayout = (PercentRelativeLayout) activity.findViewById(R.id.container); in setUp()
134 final View childToTest = mPercentRelativeLayout.findViewById(R.id.child_top); in testTopChild()
166 final View childToTest = mPercentRelativeLayout.findViewById(R.id.child_start); in testStartChild()
199 final View childToTest = mPercentRelativeLayout.findViewById(R.id.child_bottom); in testBottomChild()
233 final View childToTest = mPercentRelativeLayout.findViewById(R.id.child_end); in testEndChild()
266 final View childToTest = mPercentRelativeLayout.findViewById(R.id.child_center); in testCenterChild()
279 ? mPercentRelativeLayout.findViewById(R.id.child_end) in testCenterChild()
280 : mPercentRelativeLayout.findViewById(R.id.child_start); in testCenterChild()
284 final View topChild = mPercentRelativeLayout.findViewById(R.id.child_top); in testCenterChild()
289 ? mPercentRelativeLayout.findViewById(R.id.child_start) in testCenterChild()
[all …]
DPercentDynamicLayoutTest.java111 (PercentFrameLayout) mActivityTestRule.getActivity().findViewById(
121 final View child1 = percentFrameLayout.findViewById(R.id.child1);
122 final View child2 = percentFrameLayout.findViewById(R.id.child2);
141 (PercentFrameLayout) mActivityTestRule.getActivity().findViewById(
151 final View child1 = percentFrameLayout.findViewById(R.id.child1);
152 final View child2 = percentFrameLayout.findViewById(R.id.child2);
171 (PercentRelativeLayout) mActivityTestRule.getActivity().findViewById(
181 final View child1 = percentRelativeLayout.findViewById(R.id.child1);
182 final View child2 = percentRelativeLayout.findViewById(R.id.child2);
201 (PercentRelativeLayout) mActivityTestRule.getActivity().findViewById(
[all …]
/frameworks/support/samples/SupportTransitionDemos/src/com/example/android/support/transition/widget/
DChangeImageTransformUsage.java48 mRoot = findViewById(R.id.container); in onCreate()
49 mPhoto = findViewById(R.id.photo); in onCreate()
80 findViewById(R.id.fit_xy).setOnClickListener(listener); in onCreate()
81 findViewById(R.id.center).setOnClickListener(listener); in onCreate()
82 findViewById(R.id.center_crop).setOnClickListener(listener); in onCreate()
83 findViewById(R.id.fit_start).setOnClickListener(listener); in onCreate()
84 findViewById(R.id.fit_end).setOnClickListener(listener); in onCreate()
85 findViewById(R.id.matrix).setOnClickListener(listener); in onCreate()
/frameworks/support/v7/preference/src/android/support/v7/preference/
DPreferenceViewHolder.java39 mCachedViews.put(android.R.id.title, itemView.findViewById(android.R.id.title)); in PreferenceViewHolder()
40 mCachedViews.put(android.R.id.summary, itemView.findViewById(android.R.id.summary)); in PreferenceViewHolder()
41 mCachedViews.put(android.R.id.icon, itemView.findViewById(android.R.id.icon)); in PreferenceViewHolder()
42 mCachedViews.put(R.id.icon_frame, itemView.findViewById(R.id.icon_frame)); in PreferenceViewHolder()
44 itemView.findViewById(AndroidResources.ANDROID_R_ICON_FRAME)); in PreferenceViewHolder()
60 public View findViewById(@IdRes int id) { in findViewById() method in PreferenceViewHolder
65 final View v = itemView.findViewById(id); in findViewById()
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DContactsExpansion.java52 ViewGroup contactsContainer = 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()
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
DRequestRectangleVisible.java44 final View childToMakeVisible = findViewById(R.id.childToMakeVisible); in onCreate()
46 final TextView topBlob = findViewById(R.id.topBlob); in onCreate()
47 final TextView bottomBlob = 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()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/graphics/
DPaletteActivity.java191 ImageView imageView = (ImageView) view.findViewById(R.id.image); in bindView()
194 ViewCompat.setBackground(view.findViewById(R.id.text_vibrant), null); in bindView()
195 ViewCompat.setBackground(view.findViewById(R.id.text_muted), null); in bindView()
196 ViewCompat.setBackground(view.findViewById(R.id.text_light_vibrant), null); in bindView()
197 ViewCompat.setBackground(view.findViewById(R.id.text_light_muted), null); in bindView()
198 ViewCompat.setBackground(view.findViewById(R.id.text_dark_vibrant), null); in bindView()
199 ViewCompat.setBackground(view.findViewById(R.id.text_dark_muted), null); in bindView()
212 view.findViewById(R.id.text_vibrant), in bindView()
215 view.findViewById(R.id.text_muted), in bindView()
218 view.findViewById(R.id.text_light_vibrant), in bindView()
[all …]
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/
DMainActivity.java59 mShowStartView = findViewById(R.id.onstart_textview); in onCreate()
60 mShowStopView = findViewById(R.id.onstop_textview); in onCreate()
61 mParamsTextView = findViewById(R.id.task_params); in onCreate()
62 mDelayEditText = findViewById(R.id.delay_time); in onCreate()
63 mDeadlineEditText = findViewById(R.id.deadline_time); in onCreate()
64 mWiFiConnectivityRadioButton = findViewById(R.id.checkbox_unmetered); in onCreate()
65 mAnyConnectivityRadioButton = findViewById(R.id.checkbox_any); in onCreate()
66 mCellConnectivityRadioButton = findViewById(R.id.checkbox_metered); in onCreate()
67 mRequiresChargingCheckBox = findViewById(R.id.checkbox_charging); in onCreate()
68 mRequiresIdleCheckbox = findViewById(R.id.checkbox_idle); in onCreate()
[all …]
/frameworks/support/fragment/tests/java/android/support/v4/app/
DFragmentReplaceTest.java67 assertNotNull(activity.findViewById(R.id.textA)); in testReplaceFragment()
68 assertNull(activity.findViewById(R.id.textB)); in testReplaceFragment()
69 assertNull(activity.findViewById(R.id.textC)); in testReplaceFragment()
77 assertNotNull(activity.findViewById(R.id.textA)); in testReplaceFragment()
78 assertNotNull(activity.findViewById(R.id.textB)); in testReplaceFragment()
79 assertNull(activity.findViewById(R.id.textC)); in testReplaceFragment()
86 assertNull(activity.findViewById(R.id.textA)); in testReplaceFragment()
87 assertNull(activity.findViewById(R.id.textB)); in testReplaceFragment()
88 assertNotNull(activity.findViewById(R.id.textC)); in testReplaceFragment()
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
DMLandActivity.java33 mLand = findViewById(R.id.world); in onCreate()
34 mLand.setScoreFieldHolder(findViewById(R.id.scores)); in onCreate()
35 final View welcome = findViewById(R.id.welcome); in onCreate()
45 final View minus = findViewById(R.id.player_minus_button); in updateSplashPlayers()
46 final View plus = findViewById(R.id.player_plus_button); in updateSplashPlayers()
87 findViewById(R.id.player_minus_button).setVisibility(View.INVISIBLE); in startButtonPressed()
88 findViewById(R.id.player_plus_button).setVisibility(View.INVISIBLE); in startButtonPressed()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/
DToolbarDisplayOptions.java45 Toolbar toolbar = findViewById(R.id.toolbar); in onCreate()
48 findViewById(R.id.toggle_home_as_up).setOnClickListener(this); in onCreate()
49 findViewById(R.id.toggle_show_home).setOnClickListener(this); in onCreate()
50 findViewById(R.id.toggle_use_logo).setOnClickListener(this); in onCreate()
51 findViewById(R.id.toggle_show_title).setOnClickListener(this); in onCreate()
52 findViewById(R.id.toggle_show_custom).setOnClickListener(this); in onCreate()
53 findViewById(R.id.cycle_custom_gravity).setOnClickListener(this); in onCreate()
54 findViewById(R.id.toggle_visibility).setOnClickListener(this); in onCreate()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/widget/
DContentLoadingProgressBarActivity.java57 mBar = (ContentLoadingProgressBar)findViewById(R.id.progressbar); in onCreate()
58 mShowButton = (Button)findViewById(R.id.show); in onCreate()
60 mHideButton = (Button)findViewById(R.id.hide); in onCreate()
63 mShowText = (TextView)findViewById(R.id.show_text); in onCreate()
64 mShowTextDone = (TextView)findViewById(R.id.show_text_done); in onCreate()
65 mHideText = (TextView)findViewById(R.id.hide_text); in onCreate()
66 mHideTextDone = (TextView)findViewById(R.id.hide_text_done); in onCreate()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/view/
DCardViewActivity.java111 mInfoText = findViewById(R.id.info_text); in onCreate()
112 mCardView = findViewById(R.id.card_view); in onCreate()
113 mCornerRadiusSeekBar = findViewById(R.id.corner_radius_seek_bar); in onCreate()
117 mWidthSeekBar = findViewById(R.id.width_seek_bar); in onCreate()
122 mHeightSeekBar = findViewById(R.id.height_seek_bar); in onCreate()
126 mElevationSeekBar = findViewById(R.id.elevation_seek_bar); in onCreate()
130 mMaxElevationSeekBar = findViewById(R.id.max_elevation_seek_bar); in onCreate()
134 mAlphaSeekBar = findViewById(R.id.alpha_seek_bar); in onCreate()
138 RadioGroup rb = findViewById(R.id.select_target_radio); in onCreate()
150 View content = findViewById(android.R.id.content); in onCreate()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerZenModePanel.java56 mHeaderSwitch = findViewById(R.id.tuner_zen_switch); in init()
59 ((TextView) mHeaderSwitch.findViewById(android.R.id.title)).setText( in init()
61 mZenModePanel = (ZenModePanel) findViewById(R.id.zen_mode_panel); in init()
63 mButtons = findViewById(R.id.tuner_zen_buttons); in init()
64 mMoreSettings = mButtons.findViewById(android.R.id.button2); in init()
67 mDone = mButtons.findViewById(android.R.id.button1); in init()
71 ViewGroup detail_header = findViewById(R.id.tuner_zen_switch); in init()
74 findViewById(R.id.edit_container).setBackground(null); in init()
136 ((Checkable) mHeaderSwitch.findViewById(android.R.id.toggle)).setChecked(zenOn); in updatePanel()

12345678910>>...41