Home
last modified time | relevance | path

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

12345678910>>...35

/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardPINView.java78 mContainer = (ViewGroup) findViewById(R.id.container); in onFinishInflate()
79 mRow0 = (ViewGroup) findViewById(R.id.row0); in onFinishInflate()
80 mRow1 = (ViewGroup) findViewById(R.id.row1); in onFinishInflate()
81 mRow2 = (ViewGroup) findViewById(R.id.row2); in onFinishInflate()
82 mRow3 = (ViewGroup) findViewById(R.id.row3); in onFinishInflate()
83 mDivider = findViewById(R.id.divider); in onFinishInflate()
89 findViewById(R.id.key1), findViewById(R.id.key2), in onFinishInflate()
90 findViewById(R.id.key3) in onFinishInflate()
93 findViewById(R.id.key4), findViewById(R.id.key5), in onFinishInflate()
94 findViewById(R.id.key6) in onFinishInflate()
[all …]
DKeyguardPinBasedInputView.java173 mPasswordEntry = (PasswordTextView) findViewById(getPasswordTextViewId()); in onFinishInflate()
186 mOkButton = findViewById(R.id.key_enter); in onFinishInflate()
200 mDeleteButton = findViewById(R.id.delete_button); in onFinishInflate()
224 mButton0 = findViewById(R.id.key0); in onFinishInflate()
225 mButton1 = findViewById(R.id.key1); in onFinishInflate()
226 mButton2 = findViewById(R.id.key2); in onFinishInflate()
227 mButton3 = findViewById(R.id.key3); in onFinishInflate()
228 mButton4 = findViewById(R.id.key4); in onFinishInflate()
229 mButton5 = findViewById(R.id.key5); in onFinishInflate()
230 mButton6 = findViewById(R.id.key6); in onFinishInflate()
[all …]
/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()
/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/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/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/support/v4/tests/java/android/support/v4/app/
DFragmentReplaceTest.java52 assertNotNull(mActivity.findViewById(R.id.textA)); in testReplaceFragment()
53 assertNull(mActivity.findViewById(R.id.textB)); in testReplaceFragment()
54 assertNull(mActivity.findViewById(R.id.textC)); in testReplaceFragment()
62 assertNotNull(mActivity.findViewById(R.id.textA)); in testReplaceFragment()
63 assertNotNull(mActivity.findViewById(R.id.textB)); in testReplaceFragment()
64 assertNull(mActivity.findViewById(R.id.textC)); in testReplaceFragment()
71 assertNull(mActivity.findViewById(R.id.textA)); in testReplaceFragment()
72 assertNull(mActivity.findViewById(R.id.textB)); in testReplaceFragment()
73 assertNotNull(mActivity.findViewById(R.id.textC)); in testReplaceFragment()
/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.java112 mPercentRelativeLayout = (PercentRelativeLayout) activity.findViewById(R.id.container); in setUp()
133 final View childToTest = mPercentRelativeLayout.findViewById(R.id.child_top); in testTopChild()
162 final View childToTest = mPercentRelativeLayout.findViewById(R.id.child_start); in testStartChild()
192 final View childToTest = mPercentRelativeLayout.findViewById(R.id.child_bottom); in testBottomChild()
223 final View childToTest = mPercentRelativeLayout.findViewById(R.id.child_end); in testEndChild()
253 final View childToTest = mPercentRelativeLayout.findViewById(R.id.child_center); in testCenterChild()
266 ? mPercentRelativeLayout.findViewById(R.id.child_end) in testCenterChild()
267 : mPercentRelativeLayout.findViewById(R.id.child_start); in testCenterChild()
271 final View topChild = mPercentRelativeLayout.findViewById(R.id.child_top); in testCenterChild()
276 ? mPercentRelativeLayout.findViewById(R.id.child_start) in testCenterChild()
[all …]
DPercentDynamicLayoutTest.java113 (PercentFrameLayout) mActivityTestRule.getActivity().findViewById(
123 final View child1 = percentFrameLayout.findViewById(R.id.child1);
124 final View child2 = percentFrameLayout.findViewById(R.id.child2);
143 (PercentFrameLayout) mActivityTestRule.getActivity().findViewById(
153 final View child1 = percentFrameLayout.findViewById(R.id.child1);
154 final View child2 = percentFrameLayout.findViewById(R.id.child2);
173 (PercentRelativeLayout) mActivityTestRule.getActivity().findViewById(
183 final View child1 = percentRelativeLayout.findViewById(R.id.child1);
184 final View child2 = percentRelativeLayout.findViewById(R.id.child2);
203 (PercentRelativeLayout) mActivityTestRule.getActivity().findViewById(
[all …]
DPercentFrameTest.java47 mPercentFrameLayout = (PercentFrameLayout) activity.findViewById(R.id.container); in setUp()
54 View childToTest = mPercentFrameLayout.findViewById(R.id.child_width_height); in testWidthHeight()
67 View childToTest = mPercentFrameLayout.findViewById(R.id.child_width_ratio); in testWidthAspectRatio()
80 View childToTest = mPercentFrameLayout.findViewById(R.id.child_height_ratio); in testHeightAspectRatio()
93 View childToTest = mPercentFrameLayout.findViewById(R.id.child_margins_single); in testMarginsSingle()
112 View childToTest = mPercentFrameLayout.findViewById(R.id.child_margins_multiple); in testMarginsMultiple()
131 View childToTest = mPercentFrameLayout.findViewById(R.id.child_margins_top_left); in testMarginsTopLeft()
150 View childToTest = mPercentFrameLayout.findViewById(R.id.child_margins_bottom_right); in testMarginsBottomRight()
169 View childToTest = mPercentFrameLayout.findViewById(R.id.child_margin_start); in testMarginStart()
179 View childToTest = mPercentFrameLayout.findViewById(R.id.child_margin_start); in testMarginStartRtl()
[all …]
/frameworks/base/packages/Keyguard/test/SampleTrustAgent/src/com/android/trustagent/test/
DSampleTrustAgentSettings.java49 findViewById(R.id.enable_trust).setOnClickListener(this); in onCreate()
50 findViewById(R.id.revoke_trust).setOnClickListener(this); in onCreate()
51 findViewById(R.id.crash).setOnClickListener(this); in onCreate()
52 findViewById(R.id.check_device_locked).setOnClickListener(this); in onCreate()
54 mReportUnlockAttempts = (CheckBox) findViewById(R.id.report_unlock_attempts); in onCreate()
57 mReportDeviceLocked = (CheckBox) findViewById(R.id.report_device_locked); in onCreate()
60 mManagingTrust = (CheckBox) findViewById(R.id.managing_trust); in onCreate()
63 mCheckDeviceLockedResult = (TextView) findViewById(R.id.check_device_locked_result); in onCreate()
/frameworks/support/v7/preference/src/android/support/v7/preference/
DPreferenceViewHolder.java38 mCachedViews.put(android.R.id.title, itemView.findViewById(android.R.id.title)); in PreferenceViewHolder()
39 mCachedViews.put(android.R.id.summary, itemView.findViewById(android.R.id.summary)); in PreferenceViewHolder()
40 mCachedViews.put(android.R.id.icon, itemView.findViewById(android.R.id.icon)); in PreferenceViewHolder()
41 mCachedViews.put(R.id.icon_frame, itemView.findViewById(R.id.icon_frame)); in PreferenceViewHolder()
43 itemView.findViewById(AndroidResources.ANDROID_R_ICON_FRAME)); in PreferenceViewHolder()
53 public View findViewById(@IdRes int id) { in findViewById() method in PreferenceViewHolder
58 final View v = itemView.findViewById(id); in findViewById()
/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()
/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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
DMLandActivity.java33 mLand = (MLand) findViewById(R.id.world); in onCreate()
34 mLand.setScoreFieldHolder((ViewGroup) 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/base/packages/SettingsLib/src/com/android/settingslib/graph/
DUsageView.java38 mUsageGraph = (UsageGraph) findViewById(R.id.usage_graph); in UsageView()
40 (TextView) findViewById(R.id.label_bottom), in UsageView()
41 (TextView) findViewById(R.id.label_middle), in UsageView()
42 (TextView) findViewById(R.id.label_top), in UsageView()
45 (TextView) findViewById(R.id.label_start), in UsageView()
46 (TextView) findViewById(R.id.label_end), in UsageView()
67 LinearLayout layout = (LinearLayout) findViewById(R.id.graph_label_group); in UsageView()
68 LinearLayout labels = (LinearLayout) findViewById(R.id.label_group); in UsageView()
75 LinearLayout bottomLabels = (LinearLayout) findViewById(R.id.bottom_label_group); in UsageView()
116 View v = findViewById(id); in setWeight()
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
DMainActivity.java61 mDimenWidthView = (TextView) findViewById(R.id.dimen_width); in onCreate()
63 mDimenHeightView = (TextView) findViewById(R.id.dimen_height); in onCreate()
66 mWallOffXView = (TextView) findViewById(R.id.walloff_x); in onCreate()
68 mWallOffYView = (TextView) findViewById(R.id.walloff_y); in onCreate()
71 mPaddingLeftView = (TextView) findViewById(R.id.padding_left); in onCreate()
73 mPaddingRightView = (TextView) findViewById(R.id.padding_right); in onCreate()
75 mPaddingTopView = (TextView) findViewById(R.id.padding_top); in onCreate()
77 mPaddingBottomView = (TextView) findViewById(R.id.padding_bottom); in onCreate()
80 mDispOffXView = (TextView) findViewById(R.id.dispoff_x); in onCreate()
82 mDispOffYView = (TextView) findViewById(R.id.dispoff_y); in onCreate()
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/
DMainActivity.java59 mShowStartView = (TextView) findViewById(R.id.onstart_textview); in onCreate()
60 mShowStopView = (TextView) findViewById(R.id.onstop_textview); in onCreate()
61 mParamsTextView = (TextView) findViewById(R.id.task_params); in onCreate()
62 mDelayEditText = (EditText) findViewById(R.id.delay_time); in onCreate()
63 mDeadlineEditText = (EditText) findViewById(R.id.deadline_time); in onCreate()
64 mWiFiConnectivityRadioButton = (RadioButton) findViewById(R.id.checkbox_unmetered); in onCreate()
65 mAnyConnectivityRadioButton = (RadioButton) findViewById(R.id.checkbox_any); in onCreate()
66 mRequiresChargingCheckBox = (CheckBox) findViewById(R.id.checkbox_charging); in onCreate()
67 mRequiresIdleCheckbox = (CheckBox) findViewById(R.id.checkbox_idle); in onCreate()
68 mIsPersistedCheckbox = (CheckBox) findViewById(R.id.checkbox_persisted); in onCreate()
/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()
/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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DBatteryTile.java209 ((ImageView) mCurrentView.findViewById(android.R.id.icon)).setImageDrawable(mDrawable); in bindView()
210 Checkable checkbox = (Checkable) mCurrentView.findViewById(android.R.id.toggle); in bindView()
221 (TextView) mCurrentView.findViewById(android.R.id.title); in bindView()
223 (TextView) mCurrentView.findViewById(android.R.id.summary); in bindView()
225 mCurrentView.findViewById(R.id.switch_container).setAlpha(.7f); in bindView()
228 mCurrentView.findViewById(android.R.id.toggle).setVisibility(View.GONE); in bindView()
229 mCurrentView.findViewById(R.id.switch_container).setClickable(false); in bindView()
231 mCurrentView.findViewById(R.id.switch_container).setAlpha(1); in bindView()
235 mCurrentView.findViewById(android.R.id.toggle).setVisibility(View.VISIBLE); in bindView()
236 mCurrentView.findViewById(R.id.switch_container).setClickable(true); in bindView()
[all …]

12345678910>>...35