Searched refs:mRootView (Results 1 - 25 of 30) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
H A DActionButtonPreferenceTest.java43 private View mRootView; field in class:ActionButtonPreferenceTest
50 mRootView = View.inflate(mContext, R.layout.two_action_buttons, null /* parent */);
51 mHolder = PreferenceViewHolder.createInstanceForTests(mRootView);
60 assertThat(mRootView.findViewById(R.id.button1_positive).getVisibility())
62 assertThat(mRootView.findViewById(R.id.button1_negative).getVisibility())
65 assertThat(mRootView.findViewById(R.id.button2_positive).getVisibility())
67 assertThat(mRootView.findViewById(R.id.button2_negative).getVisibility())
73 assertThat(mRootView.findViewById(R.id.button1_positive).getVisibility())
75 assertThat(mRootView.findViewById(R.id.button1_negative).getVisibility())
77 assertThat(mRootView
[all...]
H A DDisabledCheckBoxPreferenceTest.java47 private View mRootView; field in class:DisabledCheckBoxPreferenceTest
54 mRootView = View.inflate(mContext, R.layout.preference, null /* parent */);
55 mHolder = PreferenceViewHolder.createInstanceForTests(mRootView);
70 assertThat(mRootView.findViewById(android.R.id.checkbox).isEnabled()).isFalse();
81 mPref.performClick(mRootView);
94 mPref.performClick(mRootView);
H A DAppSwitchPreferenceTest.java37 private View mRootView; field in class:AppSwitchPreferenceTest
44 mRootView = View.inflate(mContext, R.layout.preference_app, null /* parent */);
45 mHolder = PreferenceViewHolder.createInstanceForTests(mRootView);
H A DAppPreferenceTest.java37 private View mRootView; field in class:AppPreferenceTest
44 mRootView = View.inflate(mContext, R.layout.preference_app, null /* parent */);
45 mHolder = PreferenceViewHolder.createInstanceForTests(mRootView);
/packages/apps/Car/Radio/src/com/android/car/radio/
H A DMainRadioFragment.java39 private View mRootView; field in class:MainRadioFragment
57 mRootView = inflater.inflate(R.layout.radio_fragment, container, false);
59 mMainDisplay = mRootView.findViewById(R.id.radio_station_display_container);
61 mRootView.findViewById(R.id.radio_presets_list).setOnClickListener(v -> {
67 return mRootView;
93 mRadioController.initialize(mRootView);
/packages/apps/Settings/src/com/android/settings/deviceinfo/firmwareversion/
H A DFirmwareVersionDialogFragment.java36 private View mRootView; field in class:FirmwareVersionDialogFragment
57 mRootView = LayoutInflater.from(getActivity()).inflate(
62 return builder.setView(mRootView).create();
66 final TextView view = mRootView.findViewById(viewId);
73 final View view = mRootView.findViewById(viewId);
80 final View view = mRootView.findViewById(viewId);
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/television/
H A DGrantPermissionsViewHandlerImpl.java33 private LinearLayout mRootView; field in class:GrantPermissionsViewHandlerImpl
53 mRootView = (LinearLayout) LayoutInflater.from(mContext)
56 mMessageView = (TextView) mRootView.findViewById(R.id.permission_message);
57 mIconView = (ImageView) mRootView.findViewById(R.id.permission_icon);
58 mCurrentGroupView = (TextView) mRootView.findViewById(R.id.current_page_text);
59 mAllowButton = (Button) mRootView.findViewById(R.id.permission_allow_button);
60 mSoftDenyButton = (Button) mRootView.findViewById(R.id.permission_deny_button);
61 mHardDenyButton = (Button) mRootView.findViewById(
68 return mRootView;
/packages/apps/Camera2/src/com/android/camera/
H A DCaptureModuleUI.java48 private final View mRootView; field in class:CaptureModuleUI
82 mRootView = parent;
84 ViewGroup moduleRoot = (ViewGroup) mRootView.findViewById(R.id.module_layout);
87 mPreviewView = (TextureView) mRootView.findViewById(R.id.preview_content);
89 mPreviewOverlay = (PreviewOverlay) mRootView.findViewById(R.id.preview_overlay);
90 mProgressOverlay = (ProgressOverlay) mRootView.findViewById(R.id.progress_overlay);
92 mFocusRing = (FocusRing) mRootView.findViewById(R.id.focus_ring);
93 mCountdownView = (CountDownView) mRootView.findViewById(R.id.count_down_view);
H A DVideoUI.java47 private final View mRootView; field in class:VideoUI
89 mRootView = parent;
90 ViewGroup moduleRoot = (ViewGroup) mRootView.findViewById(R.id.module_layout);
94 mPreviewOverlay = (PreviewOverlay) mRootView.findViewById(R.id.preview_overlay);
98 mFocusRing = (FocusRing) mRootView.findViewById(R.id.focus_ring);
140 mReviewImage = (ImageView) mRootView.findViewById(R.id.review_image);
141 mRecordingTimeView = (TextView) mRootView.findViewById(R.id.recording_time);
142 mRecordingTimeRect = (RotateLayout) mRootView.findViewById(R.id.recording_time_rect);
145 mLabelsLinearLayout = (LinearLayout) mRootView.findViewById(R.id.labels);
249 return new Point(mRootView
[all...]
H A DPhotoUI.java58 private final View mRootView; field in class:PhotoUI
198 mRootView = parent;
200 ViewGroup moduleRoot = (ViewGroup) mRootView.findViewById(R.id.module_layout);
204 mFocusRing = (FocusRing) mRootView.findViewById(R.id.focus_ring);
205 mPreviewOverlay = (PreviewOverlay) mRootView.findViewById(R.id.preview_overlay);
206 mCountdownView = (CountDownView) mRootView.findViewById(R.id.count_down_view);
209 mFaceView = (FaceView) mRootView.findViewById(R.id.face_view);
220 mIntentReviewImageView = (ImageView) mRootView.findViewById(R.id.intent_review_imageview);
/packages/apps/Settings/src/com/android/settings/deviceinfo/imei/
H A DImeiInfoDialogFragment.java43 private View mRootView; field in class:ImeiInfoDialogFragment
72 mRootView = LayoutInflater.from(builder.getContext())
75 return builder.setView(mRootView).create();
79 final View view = mRootView.findViewById(viewId);
86 final TextView textView = mRootView.findViewById(viewId);
/packages/apps/Settings/src/com/android/settings/deviceinfo/simstatus/
H A DSimStatusDialogFragment.java40 private View mRootView; field in class:SimStatusDialogFragment
70 mRootView = LayoutInflater.from(builder.getContext())
73 return builder.setView(mRootView).create();
77 final View view = mRootView.findViewById(viewId);
84 final TextView textView = mRootView.findViewById(viewId);
/packages/apps/Settings/src/com/android/settings/inputmethod/
H A DUserDictionaryAddWordFragment.java46 private View mRootView; field in class:UserDictionaryAddWordFragment
60 mRootView = inflater.inflate(R.layout.user_dictionary_add_word_fullscreen, null);
65 mContents = new UserDictionaryAddWordContents(mRootView, getArguments());
72 mContents = new UserDictionaryAddWordContents(mRootView,
77 return mRootView;
/packages/apps/Settings/src/com/android/settings/applications/
H A DLayoutPreference.java41 View mRootView; field in class:LayoutPreference
91 mRootView = view;
107 ViewGroup parent = (ViewGroup) mRootView.getParent();
109 parent.removeView(mRootView);
111 layout.addView(mRootView);
115 return mRootView.findViewById(id);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
H A DUserDictionaryAddWordFragment.java56 private View mRootView; field in class:UserDictionaryAddWordFragment
71 mRootView = inflater.inflate(R.layout.user_dictionary_add_word_fullscreen, null);
76 mContents = new UserDictionaryAddWordContents(mRootView, getArguments());
83 mContents = new UserDictionaryAddWordContents(mRootView,
88 return mRootView;
136 (Spinner)mRootView.findViewById(R.id.user_dictionary_add_locale);
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
H A DPowerGaugePreferenceTest.java46 private View mRootView; field in class:PowerGaugePreferenceTest
55 mRootView = LayoutInflater.from(mContext).inflate(R.layout.preference_app, null);
58 final LinearLayout widgetFrame = mRootView.findViewById(android.R.id.widget_frame);
61 mPreferenceViewHolder = PreferenceViewHolder.createInstanceForTests(mRootView);
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/
H A DGrantPermissionsViewHandlerImpl.java78 private ManualLayoutFrame mRootView; field in class:GrantPermissionsViewHandlerImpl
145 mRootView.onConfigurationChanged();
275 mRootView = (ManualLayoutFrame) LayoutInflater.from(mActivity)
277 mButtonBar = (ButtonBarLayout) mRootView.findViewById(R.id.button_group);
279 mMessageView = (TextView) mRootView.findViewById(R.id.permission_message);
280 mIconView = (ImageView) mRootView.findViewById(R.id.permission_icon);
281 mCurrentGroupView = (TextView) mRootView.findViewById(R.id.current_page_text);
282 mDoNotAskCheckbox = (CheckBox) mRootView.findViewById(R.id.do_not_ask_checkbox);
284 mAllowButton = (Button) mRootView.findViewById(R.id.permission_allow_button);
288 mMoreInfoButton = (Button) mRootView
[all...]
/packages/apps/Camera2/src/com/android/camera/captureintent/
H A DCaptureIntentModuleUI.java50 private final View mRootView; field in class:CaptureIntentModuleUI
91 mRootView = parent;
93 mIntentReviewImageView = (ImageView) mRootView.findViewById(R.id.intent_review_imageview);
97 ViewGroup moduleRoot = (ViewGroup) mRootView.findViewById(R.id.module_layout);
100 mPreviewOverlay = (PreviewOverlay) mRootView.findViewById(R.id.preview_overlay);
101 mProgressOverlay = (ProgressOverlay) mRootView.findViewById(R.id.progress_overlay);
102 mFocusRing = (FocusRing) mRootView.findViewById(R.id.focus_ring);
103 mCountdownView = (CountDownView) mRootView.findViewById(R.id.count_down_view);
/packages/apps/Messaging/src/com/android/messaging/ui/
H A DSnackBar.java190 private final View mRootView; field in class:SnackBar
207 mRootView = LayoutInflater.from(mContext).inflate(R.layout.snack_bar,
209 mSnackBarView = mRootView.findViewById(R.id.snack_bar);
221 mActionTextView = (TextView) mRootView.findViewById(R.id.snack_bar_action);
222 mMessageView = (TextView) mRootView.findViewById(R.id.snack_bar_message);
223 mMessageWrapper = (FrameLayout) mRootView.findViewById(R.id.snack_bar_message_wrapper);
234 return mRootView;
/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DSharePopup.java65 private View mRootView; field in class:SharePopup
145 mRootView = sharePopup.findViewById(R.id.root);
146 LayoutParams params = mRootView.getLayoutParams();
149 mRootView.setLayoutParams(params);
166 int hPaddingRootView = mRootView.getPaddingLeft() + mRootView.getPaddingRight();
167 int vPaddingRootView = mRootView.getPaddingTop() + mRootView.getPaddingBottom();
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DConversationOverlayItem.java42 protected View mRootView; field in class:ConversationOverlayItem
196 return mRootView;
H A DConversationViewAdapter.java198 mRootView = v;
204 mRootView = view;
209 return mRootView.findViewById(R.id.reply_button);
293 mRootView = v;
298 return mRootView.findViewById(R.id.upper_header);
391 mRootView = view;
431 mRootView = v;
505 mRootView = v;
773 if (mItems.get(i).mRootView == curr) {
779 if (item.mRootView !
[all...]
/packages/apps/Car/Media/src/com/android/car/media/
H A DPlaybackFragment.java68 private ConstraintLayout mRootView; field in class:PlaybackFragment
156 mRootView = view.findViewById(R.id.playback_container);
180 mPlaybackControls.setAnimationViewGroup(mRootView);
247 TransitionManager.beginDelayedTransition(mRootView, transition);
249 constraintSet.clone(mRootView.getContext(),
251 constraintSet.applyTo(mRootView);
/packages/apps/Contacts/src/com/android/contacts/preference/
H A DDisplayOptionsPreferenceFragment.java143 private ViewGroup mRootView; field in class:DisplayOptionsPreferenceFragment
191 mRootView = new FrameLayout(getActivity());
192 final View list = super.onCreateView(inflater, mRootView, savedInstanceState);
193 mRootView.addView(list);
194 return mRootView;
261 mRootView = null;
432 Snackbar.make(mRootView, getResources().getQuantityString(
436 Snackbar.make(mRootView, R.string.sim_import_failed_toast,
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DDeviceProfilesSettings.java73 private View mRootView; field in class:DeviceProfilesSettings
100 mRootView = LayoutInflater.from(getContext()).inflate(R.layout.device_profiles_settings,
102 mProfileContainer = (ViewGroup) mRootView.findViewById(R.id.profiles_section);
103 mProfileLabel = (TextView) mRootView.findViewById(R.id.profiles_label);
104 final EditText deviceName = (EditText) mRootView.findViewById(R.id.name);
107 .setView(mRootView)
118 EditText deviceName = (EditText) mRootView.findViewById(R.id.name);
333 final EditText deviceNameField = (EditText) mRootView.findViewById(R.id.name);

Completed in 443 milliseconds

12