Home
last modified time | relevance | path

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

12345678910>>...28

/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardPINView.java85 mContainer = findViewById(R.id.container); in onFinishInflate()
86 mRow0 = findViewById(R.id.row0); in onFinishInflate()
87 mRow1 = findViewById(R.id.row1); in onFinishInflate()
88 mRow2 = findViewById(R.id.row2); in onFinishInflate()
89 mRow3 = findViewById(R.id.row3); in onFinishInflate()
90 mDivider = findViewById(R.id.divider); in onFinishInflate()
96 findViewById(R.id.key1), findViewById(R.id.key2), in onFinishInflate()
97 findViewById(R.id.key3) in onFinishInflate()
100 findViewById(R.id.key4), findViewById(R.id.key5), in onFinishInflate()
101 findViewById(R.id.key6) in onFinishInflate()
[all …]
DKeyguardPinBasedInputView.java176 mPasswordEntry = findViewById(getPasswordTextViewId()); in onFinishInflate()
189 mOkButton = findViewById(R.id.key_enter); in onFinishInflate()
203 mDeleteButton = findViewById(R.id.delete_button); in onFinishInflate()
227 mButton0 = findViewById(R.id.key0); in onFinishInflate()
228 mButton1 = findViewById(R.id.key1); in onFinishInflate()
229 mButton2 = findViewById(R.id.key2); in onFinishInflate()
230 mButton3 = findViewById(R.id.key3); in onFinishInflate()
231 mButton4 = findViewById(R.id.key4); in onFinishInflate()
232 mButton5 = findViewById(R.id.key5); in onFinishInflate()
233 mButton6 = findViewById(R.id.key6); in onFinishInflate()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DActionButtonsPreferenceTest.java65 assertThat(mRootView.findViewById(R.id.button1).getVisibility()) in onBindViewHolder_setTitle_shouldShowButtonByDefault()
67 assertThat(mRootView.findViewById(R.id.button2).getVisibility()) in onBindViewHolder_setTitle_shouldShowButtonByDefault()
69 assertThat(mRootView.findViewById(R.id.button3).getVisibility()) in onBindViewHolder_setTitle_shouldShowButtonByDefault()
71 assertThat(mRootView.findViewById(R.id.button4).getVisibility()) in onBindViewHolder_setTitle_shouldShowButtonByDefault()
84 assertThat(mRootView.findViewById(R.id.button1).getVisibility()) in onBindViewHolder_setIcon_shouldShowButtonByDefault()
86 assertThat(mRootView.findViewById(R.id.button2).getVisibility()) in onBindViewHolder_setIcon_shouldShowButtonByDefault()
88 assertThat(mRootView.findViewById(R.id.button3).getVisibility()) in onBindViewHolder_setIcon_shouldShowButtonByDefault()
90 assertThat(mRootView.findViewById(R.id.button4).getVisibility()) in onBindViewHolder_setIcon_shouldShowButtonByDefault()
98 assertThat(mRootView.findViewById(R.id.button1).getVisibility()) in onBindViewHolder_notSetTitleOrIcon_shouldNotShowButtonByDefault()
100 assertThat(mRootView.findViewById(R.id.button2).getVisibility()) in onBindViewHolder_notSetTitleOrIcon_shouldNotShowButtonByDefault()
[all …]
DAppEntitiesHeaderControllerTest.java74 final TextView view = mAppEntitiesHeaderView.findViewById(R.id.header_title); in setHeaderTitleRes_setTextRes_shouldSetToTitleView()
82 final TextView view = mAppEntitiesHeaderView.findViewById(R.id.header_details); in setHeaderDetailsRes_setTextRes_shouldSetToDetailsView()
90 final TextView view = mAppEntitiesHeaderView.findViewById(R.id.header_details); in setHeaderDetails_onlyDetailsTextSet_shouldSetToDetailsView()
99 final TextView view = mAppEntitiesHeaderView.findViewById(R.id.header_details); in setHeaderDetails_detailsTextAndResBothSet_shouldSetTextToDetailsView()
108 final TextView view = mAppEntitiesHeaderView.findViewById(R.id.header_details); in setHeaderDetailsClickListener_setClickListener_detailsViewAttachClickListener()
130 final View app1View = mAppEntitiesHeaderView.findViewById(R.id.app1_view); in setAppEntity_addAppToIndex0_shouldShowAppView1()
131 final ImageView appIconView = app1View.findViewById(R.id.app_icon); in setAppEntity_addAppToIndex0_shouldShowAppView1()
132 final TextView appTitle = app1View.findViewById(R.id.app_title); in setAppEntity_addAppToIndex0_shouldShowAppView1()
133 final TextView appSummary = app1View.findViewById(R.id.app_summary); in setAppEntity_addAppToIndex0_shouldShowAppView1()
145 final View app2View = mAppEntitiesHeaderView.findViewById(R.id.app2_view); in setAppEntity_addAppToIndex1_shouldShowAppView2()
[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/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/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationInfoTest.java182 () -> VISIBLE == mNotificationInfo.findViewById(R.id.confirmation).getVisibility()); in waitForUndoButton()
187 () -> GONE == mNotificationInfo.findViewById(R.id.confirmation).getVisibility() in ensureNoUndoButton()
193 () -> VISIBLE == mNotificationInfo.findViewById(R.id.prompt).getVisibility()); in waitForStopButton()
214 final TextView textView = mNotificationInfo.findViewById(R.id.pkgname); in testBindNotification_SetsTextApplicationName()
216 assertEquals(VISIBLE, mNotificationInfo.findViewById(R.id.header).getVisibility()); in testBindNotification_SetsTextApplicationName()
239 final ImageView iconView = mNotificationInfo.findViewById(R.id.pkgicon); in testBindNotification_SetsPackageIcon()
260 final TextView nameView = mNotificationInfo.findViewById(R.id.delegate_name); in testBindNotification_noDelegate()
262 final TextView dividerView = mNotificationInfo.findViewById(R.id.pkg_divider); in testBindNotification_noDelegate()
291 final TextView nameView = mNotificationInfo.findViewById(R.id.delegate_name); in testBindNotification_delegate()
294 final TextView dividerView = mNotificationInfo.findViewById(R.id.pkg_divider); in testBindNotification_delegate()
[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/cmds/statsd/tools/dogfood/src/com/android/statsd/dogfood/
DMainActivity.java53 findViewById(R.id.app_a_wake_lock_acquire1).setOnClickListener( in onCreate()
61 findViewById(R.id.app_b_wake_lock_acquire1).setOnClickListener( in onCreate()
69 findViewById(R.id.app_a_wake_lock_acquire2).setOnClickListener( in onCreate()
77 findViewById(R.id.app_b_wake_lock_acquire2).setOnClickListener( in onCreate()
85 findViewById(R.id.app_a_wake_lock_release1).setOnClickListener( in onCreate()
94 findViewById(R.id.app_b_wake_lock_release1).setOnClickListener( in onCreate()
102 findViewById(R.id.app_a_wake_lock_release2).setOnClickListener( in onCreate()
111 findViewById(R.id.app_b_wake_lock_release2).setOnClickListener( in onCreate()
120 findViewById(R.id.plug).setOnClickListener(new View.OnClickListener() { in onCreate()
128 findViewById(R.id.unplug).setOnClickListener(new View.OnClickListener() { in onCreate()
[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/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationInfo.java227 mPriorityDescriptionView = findViewById(R.id.alert_summary); in onFinishInflate()
228 mSilentDescriptionView = findViewById(R.id.silence_summary); in onFinishInflate()
334 findViewById(R.id.inline_controls).setVisibility(GONE); in bindBlockingHelper()
335 findViewById(R.id.blocking_helper).setVisibility(VISIBLE); in bindBlockingHelper()
337 findViewById(R.id.undo).setOnClickListener(mOnUndo); in bindBlockingHelper()
339 View turnOffButton = findViewById(R.id.blocking_helper_turn_off_notifications); in bindBlockingHelper()
343 TextView keepShowing = findViewById(R.id.keep_showing); in bindBlockingHelper()
346 View deliverSilently = findViewById(R.id.deliver_silently); in bindBlockingHelper()
351 findViewById(R.id.inline_controls).setVisibility(VISIBLE); in bindInlineControls()
352 findViewById(R.id.blocking_helper).setVisibility(GONE); in bindInlineControls()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/
DFrameLayoutGravityTest.java50 mParent = activity.findViewById(R.id.parent); in setUp()
52 mLeftView = activity.findViewById(R.id.left); in setUp()
53 mRightView = activity.findViewById(R.id.right); in setUp()
54 mCenterHorizontalView = activity.findViewById(R.id.center_horizontal); in setUp()
56 mLeftCenterVerticalView = activity.findViewById(R.id.left_center_vertical); in setUp()
57 mRighCenterVerticalView = activity.findViewById(R.id.right_center_vertical); in setUp()
58 mCenterView = activity.findViewById(R.id.center); in setUp()
60 mLeftBottomView = activity.findViewById(R.id.left_bottom); in setUp()
61 mRightBottomView = activity.findViewById(R.id.right_bottom); in setUp()
62 mCenterHorizontalBottomView = activity.findViewById(R.id.center_horizontal_bottom); in setUp()
/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()
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 = 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/base/packages/SystemUI/src/com/android/systemui/egg/
DMLandActivity.java32 mLand = findViewById(R.id.world); in onCreate()
33 mLand.setScoreFieldHolder(findViewById(R.id.scores)); in onCreate()
34 final View welcome = findViewById(R.id.welcome); in onCreate()
44 final View minus = findViewById(R.id.player_minus_button); in updateSplashPlayers()
45 final View plus = findViewById(R.id.player_plus_button); in updateSplashPlayers()
86 findViewById(R.id.player_minus_button).setVisibility(View.INVISIBLE); in startButtonPressed()
87 findViewById(R.id.player_plus_button).setVisibility(View.INVISIBLE); in startButtonPressed()
/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/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()
/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.java39 final View button1 = activity.findViewById(R.id.included_button); in testIncluded()
42 final View button2 = activity.findViewById(R.id.included_button_overriden); in testIncluded()
50 final View button1 = activity.findViewById(R.id.included_button); in testIncludedWithLayoutParams()
51 final View button2 = activity.findViewById(R.id.included_button_overriden); in testIncludedWithLayoutParams()
62 final View button1 = activity.findViewById(R.id.included_button_visibility); in testIncludedWithVisibility()
71 final View button1 = activity.findViewById(R.id.included_button_with_size); in testIncludedWithSize()
DDrawableBgMinSize.java60 mChangeBackgroundsButton = findViewById(R.id.change_backgrounds); in onCreate()
63 mTextView = findViewById(R.id.text_view); in onCreate()
64 mLinearLayout = findViewById(R.id.linear_layout); in onCreate()
65 mRelativeLayout = findViewById(R.id.relative_layout); in onCreate()
66 mFrameLayout = findViewById(R.id.frame_layout); in onCreate()
67 mAbsoluteLayout = findViewById(R.id.absolute_layout); in onCreate()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAppProgressFragment.java47 View snippetView = root.findViewById(R.id.app_snippet); in onCreateView()
50 mDeviceManagerButton = (Button) root.findViewById(R.id.device_manager_button); in onCreateView()
51 mUsersButton = (Button) root.findViewById(R.id.users_button); in onCreateView()
75 mOkButton = (Button) root.findViewById(R.id.ok_button); in onCreateView()
103 root.findViewById(R.id.progress_view).setVisibility(View.GONE); in showCompletion()
104 root.findViewById(R.id.status_view).setVisibility(View.VISIBLE); in showCompletion()
105 ((TextView) root.findViewById(R.id.status_text)).setText(statusText); in showCompletion()
106 root.findViewById(R.id.ok_panel).setVisibility(View.VISIBLE); in showCompletion()
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
DMainActivity.java61 mDimenWidthView = findViewById(R.id.dimen_width); in onCreate()
63 mDimenHeightView = findViewById(R.id.dimen_height); in onCreate()
66 mWallOffXView = findViewById(R.id.walloff_x); in onCreate()
68 mWallOffYView = findViewById(R.id.walloff_y); in onCreate()
71 mPaddingLeftView = findViewById(R.id.padding_left); in onCreate()
73 mPaddingRightView = findViewById(R.id.padding_right); in onCreate()
75 mPaddingTopView = findViewById(R.id.padding_top); in onCreate()
77 mPaddingBottomView = findViewById(R.id.padding_bottom); in onCreate()
80 mDispOffXView = findViewById(R.id.dispoff_x); in onCreate()
82 mDispOffYView = findViewById(R.id.dispoff_y); in onCreate()

12345678910>>...28