Home
last modified time | relevance | path

Searched refs:mRootView (Results 1 – 25 of 33) sorted by relevance

12

/packages/apps/Launcher3/src/com/android/launcher3/
DFirstFrameAnimatorHelper.java38 private View mRootView; field in FirstFrameAnimatorHelper
60 mRootView = view.getRootView(); in onViewAttachedToWindow()
61 mRootView.getViewTreeObserver().addOnDrawListener(this); in onViewAttachedToWindow()
66 if (mRootView != null) { in onViewDetachedFromWindow()
67 mRootView.getViewTreeObserver().removeOnDrawListener(this); in onViewDetachedFromWindow()
68 mRootView = null; in onViewDetachedFromWindow()
91 mRootView != null && in onAnimationUpdate()
92 mRootView.getWindowVisibility() == View.VISIBLE && in onAnimationUpdate()
106 mRootView.invalidate(); in onAnimationUpdate()
112 int singleFrameMS = getSingleFrameMs(mRootView.getContext()); in onAnimationUpdate()
[all …]
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DGrantPermissionsViewHandlerImpl.java88 private ViewGroup mRootView; field in GrantPermissionsViewHandlerImpl
158 TransitionManager.beginDelayedTransition(mRootView, growShrinkToNewContentSize); in updateAll()
163 mRootView = (ViewGroup) LayoutInflater.from(mActivity) in createView()
167 mRootView.setMinimumHeight(h); in createView()
169 mMessageView = (TextView) mRootView.findViewById(R.id.permission_message); in createView()
170 mDetailMessageView = (TextView) mRootView.findViewById(R.id.detail_message); in createView()
171 mIconView = (ImageView) mRootView.findViewById(R.id.permission_icon); in createView()
172 mAllowButton = (Button) mRootView.findViewById(R.id.permission_allow_button); in createView()
174 mAllowAlwaysButton = (Button) mRootView.findViewById(R.id.permission_allow_always_button); in createView()
177 (Button) mRootView.findViewById(R.id.permission_allow_foreground_only_button); in createView()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DLauncherPreviewRenderer.java140 private final InsettableFrameLayout mRootView;
152 mRootView = (InsettableFrameLayout) mHomeElementInflater.inflate(
154 mRootView.setInsets(mInsets);
155 measureView(mRootView, mDp.widthPx, mDp.heightPx);
157 mHotseat = mRootView.findViewById(R.id.hotseat);
160 mWorkspace = mRootView.findViewById(R.id.workspace);
274 mRootView.findViewById(R.id.search_container_all_apps);
275 mRootView.findViewById(R.id.apps_view).setTranslationY(
278 measureView(mRootView, mDp.widthPx, mDp.heightPx);
279 dispatchVisibilityAggregated(mRootView, true);
[all …]
/packages/apps/Camera2/src/com/android/camera/
DVideoUI.java47 private final View mRootView; field in VideoUI
89 mRootView = parent; in VideoUI()
90 ViewGroup moduleRoot = (ViewGroup) mRootView.findViewById(R.id.module_layout); in VideoUI()
94 mPreviewOverlay = (PreviewOverlay) mRootView.findViewById(R.id.preview_overlay); in VideoUI()
98 mFocusRing = (FocusRing) mRootView.findViewById(R.id.focus_ring); in VideoUI()
140 mReviewImage = (ImageView) mRootView.findViewById(R.id.review_image); in initializeMiscControls()
141 mRecordingTimeView = (TextView) mRootView.findViewById(R.id.recording_time); in initializeMiscControls()
142 mRecordingTimeRect = (RotateLayout) mRootView.findViewById(R.id.recording_time_rect); in initializeMiscControls()
145 mLabelsLinearLayout = (LinearLayout) mRootView.findViewById(R.id.labels); in initializeMiscControls()
249 return new Point(mRootView.getMeasuredWidth(), mRootView.getMeasuredHeight()); in getPreviewScreenSize()
DCaptureModuleUI.java48 private final View mRootView; field in CaptureModuleUI
82 mRootView = parent; in CaptureModuleUI()
84 ViewGroup moduleRoot = (ViewGroup) mRootView.findViewById(R.id.module_layout); in CaptureModuleUI()
87 mPreviewView = (TextureView) mRootView.findViewById(R.id.preview_content); in CaptureModuleUI()
89 mPreviewOverlay = (PreviewOverlay) mRootView.findViewById(R.id.preview_overlay); in CaptureModuleUI()
90 mProgressOverlay = (ProgressOverlay) mRootView.findViewById(R.id.progress_overlay); in CaptureModuleUI()
92 mFocusRing = (FocusRing) mRootView.findViewById(R.id.focus_ring); in CaptureModuleUI()
93 mCountdownView = (CountDownView) mRootView.findViewById(R.id.count_down_view); in CaptureModuleUI()
DPhotoUI.java58 private final View mRootView; field in PhotoUI
198 mRootView = parent; in PhotoUI()
200 ViewGroup moduleRoot = (ViewGroup) mRootView.findViewById(R.id.module_layout); in PhotoUI()
204 mFocusRing = (FocusRing) mRootView.findViewById(R.id.focus_ring); in PhotoUI()
205 mPreviewOverlay = (PreviewOverlay) mRootView.findViewById(R.id.preview_overlay); in PhotoUI()
206 mCountdownView = (CountDownView) mRootView.findViewById(R.id.count_down_view); in PhotoUI()
209 mFaceView = (FaceView) mRootView.findViewById(R.id.face_view); in PhotoUI()
220 mIntentReviewImageView = (ImageView) mRootView.findViewById(R.id.intent_review_imageview); in initIntentReviewImageView()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/television/
DGrantPermissionsViewHandlerImpl.java35 private LinearLayout mRootView; field in GrantPermissionsViewHandlerImpl
55 mRootView = (LinearLayout) LayoutInflater.from(mContext) in createView()
58 mMessageView = (TextView) mRootView.findViewById(R.id.permission_message); in createView()
59 mIconView = (ImageView) mRootView.findViewById(R.id.permission_icon); in createView()
60 mCurrentGroupView = (TextView) mRootView.findViewById(R.id.current_page_text); in createView()
61 mAllowButton = (Button) mRootView.findViewById(R.id.permission_allow_button); in createView()
62 mSoftDenyButton = (Button) mRootView.findViewById(R.id.permission_deny_button); in createView()
63 mHardDenyButton = (Button) mRootView.findViewById( in createView()
70 return mRootView; in createView()
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/
DLeanbackKeyboardContainer.java391 private RelativeLayout mRootView; field in LeanbackKeyboardContainer
569 mRootView = (RelativeLayout) mContext.getLayoutInflater() in LeanbackKeyboardContainer()
571 mKeyboardsContainer = mRootView.findViewById(R.id.keyboard); in LeanbackKeyboardContainer()
572 mSuggestionsBg = mRootView.findViewById(R.id.candidate_background); in LeanbackKeyboardContainer()
574 (HorizontalScrollView) mRootView.findViewById(R.id.suggestions_container); in LeanbackKeyboardContainer()
577 mMainKeyboardView = (LeanbackKeyboardView) mRootView.findViewById(R.id.main_keyboard); in LeanbackKeyboardContainer()
578 mVoiceButtonView = (RecognizerView) mRootView.findViewById(R.id.voice); in LeanbackKeyboardContainer()
580 mActionButtonView = (Button) mRootView.findViewById(R.id.enter); in LeanbackKeyboardContainer()
582 mSelector = mRootView.findViewById(R.id.selector); in LeanbackKeyboardContainer()
789 return mRootView; in getView()
[all …]
/packages/apps/Camera2/src/com/android/camera/captureintent/
DCaptureIntentModuleUI.java50 private final View mRootView; field in CaptureIntentModuleUI
91 mRootView = parent; in CaptureIntentModuleUI()
93 mIntentReviewImageView = (ImageView) mRootView.findViewById(R.id.intent_review_imageview); in CaptureIntentModuleUI()
97 ViewGroup moduleRoot = (ViewGroup) mRootView.findViewById(R.id.module_layout); in CaptureIntentModuleUI()
100 mPreviewOverlay = (PreviewOverlay) mRootView.findViewById(R.id.preview_overlay); in CaptureIntentModuleUI()
101 mProgressOverlay = (ProgressOverlay) mRootView.findViewById(R.id.progress_overlay); in CaptureIntentModuleUI()
102 mFocusRing = (FocusRing) mRootView.findViewById(R.id.focus_ring); in CaptureIntentModuleUI()
103 mCountdownView = (CountDownView) mRootView.findViewById(R.id.count_down_view); in CaptureIntentModuleUI()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DDisabledCheckBoxPreferenceTest.java46 private View mRootView; field in DisabledCheckBoxPreferenceTest
53 mRootView = View.inflate(mContext, R.layout.preference, null /* parent */); in setUp()
54 mHolder = PreferenceViewHolder.createInstanceForTests(mRootView); in setUp()
69 assertThat(mRootView.findViewById(android.R.id.checkbox).isEnabled()).isFalse(); in onBindViewHolder_checkboxDisabled()
80 mPref.performClick(mRootView); in checkboxOnClick_checkboxDisabled()
93 mPref.performClick(mRootView); in checkboxOnClick_checkboxEnabled()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
DUserDictionaryAddWordFragment.java56 private View mRootView; field in UserDictionaryAddWordFragment
71 mRootView = inflater.inflate(R.layout.user_dictionary_add_word_fullscreen, null); in onCreateView()
76 mContents = new UserDictionaryAddWordContents(mRootView, getArguments()); in onCreateView()
83 mContents = new UserDictionaryAddWordContents(mRootView, in onCreateView()
88 return mRootView; in onCreateView()
136 (Spinner)mRootView.findViewById(R.id.user_dictionary_add_locale); in updateSpinner()
/packages/apps/Messaging/src/com/android/messaging/ui/
DSnackBar.java190 private final View mRootView; field in SnackBar
207 mRootView = LayoutInflater.from(mContext).inflate(R.layout.snack_bar, in SnackBar()
209 mSnackBarView = mRootView.findViewById(R.id.snack_bar); in SnackBar()
221 mActionTextView = (TextView) mRootView.findViewById(R.id.snack_bar_action); in SnackBar()
222 mMessageView = (TextView) mRootView.findViewById(R.id.snack_bar_message); in SnackBar()
223 mMessageWrapper = (FrameLayout) mRootView.findViewById(R.id.snack_bar_message_wrapper); in SnackBar()
234 return mRootView; in getRootView()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DSharePopup.java65 private View mRootView; field in SharePopup
145 mRootView = sharePopup.findViewById(R.id.root); in SharePopup()
146 LayoutParams params = mRootView.getLayoutParams(); in SharePopup()
149 mRootView.setLayoutParams(params); in SharePopup()
166 int hPaddingRootView = mRootView.getPaddingLeft() + mRootView.getPaddingRight(); in setOrientation()
167 int vPaddingRootView = mRootView.getPaddingTop() + mRootView.getPaddingBottom(); in setOrientation()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DUserDictionaryAddWordFragment.java46 private View mRootView; field in UserDictionaryAddWordFragment
60 mRootView = inflater.inflate(R.layout.user_dictionary_add_word_fullscreen, null); in onCreateView()
65 mContents = new UserDictionaryAddWordContents(mRootView, getArguments()); in onCreateView()
72 mContents = new UserDictionaryAddWordContents(mRootView, in onCreateView()
77 return mRootView; in onCreateView()
/packages/apps/Settings/src/com/android/settings/deviceinfo/simstatus/
DSimStatusDialogFragment.java41 private View mRootView; field in SimStatusDialogFragment
71 mRootView = LayoutInflater.from(builder.getContext()) in onCreateDialog()
74 return builder.setView(mRootView).create(); in onCreateDialog()
84 final View view = mRootView.findViewById(viewId); in removeSettingFromScreen()
91 final TextView textView = mRootView.findViewById(viewId); in setText()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/inputmethod/
DUserDictionaryAddWordFragment.java46 private View mRootView; field in UserDictionaryAddWordFragment
60 mRootView = inflater.inflate(R.layout.user_dictionary_add_word_fullscreen, null); in onCreateView()
65 mContents = new UserDictionaryAddWordContents(mRootView, getArguments()); in onCreateView()
72 mContents = new UserDictionaryAddWordContents(mRootView, in onCreateView()
77 return mRootView; in onCreateView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/imei/
DImeiInfoDialogFragment.java44 private View mRootView; field in ImeiInfoDialogFragment
73 mRootView = LayoutInflater.from(builder.getContext()) in onCreateDialog()
76 return builder.setView(mRootView).create(); in onCreateDialog()
80 final View view = mRootView.findViewById(viewId); in removeViewFromScreen()
87 final TextView textView = mRootView.findViewById(viewId); in setText()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/simstatus/
DSimStatusDialogFragment.java41 private View mRootView; field in SimStatusDialogFragment
71 mRootView = LayoutInflater.from(builder.getContext()) in onCreateDialog()
74 return builder.setView(mRootView).create(); in onCreateDialog()
78 final View view = mRootView.findViewById(viewId); in removeSettingFromScreen()
85 final TextView textView = mRootView.findViewById(viewId); in setText()
/packages/apps/Settings/src/com/android/settings/deviceinfo/imei/
DImeiInfoDialogFragment.java44 private View mRootView; field in ImeiInfoDialogFragment
73 mRootView = LayoutInflater.from(builder.getContext()) in onCreateDialog()
76 return builder.setView(mRootView).create(); in onCreateDialog()
80 final View view = mRootView.findViewById(viewId); in removeViewFromScreen()
87 final TextView textView = mRootView.findViewById(viewId); in setText()
/packages/apps/Contacts/src/com/android/contacts/preference/
DDisplayOptionsPreferenceFragment.java143 private ViewGroup mRootView; field in DisplayOptionsPreferenceFragment
191 mRootView = new FrameLayout(getActivity()); in onCreateView()
192 final View list = super.onCreateView(inflater, mRootView, savedInstanceState); in onCreateView()
193 mRootView.addView(list); in onCreateView()
194 return mRootView; in onCreateView()
261 mRootView = null; in onDestroyView()
432 Snackbar.make(mRootView, getResources().getQuantityString(
436 Snackbar.make(mRootView, R.string.sim_import_failed_toast,
/packages/apps/Settings/tests/robotests/src/com/android/settings/tts/
DTtsEnginePreferenceTest.java44 private View mRootView; field in TtsEnginePreferenceTest
59 mRootView = View.inflate(mContext, mPreference.getLayoutResource(), null /* parent */); in setUp()
60 final ViewGroup widgetFrame = mRootView.findViewById(android.R.id.widget_frame); in setUp()
62 mViewHolder = PreferenceViewHolder.createInstanceForTests(mRootView); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DPowerGaugePreferenceTest.java47 private View mRootView; field in PowerGaugePreferenceTest
56 mRootView = LayoutInflater.from(mContext).inflate(R.layout.preference_app, null); in setUp()
59 final LinearLayout widgetFrame = mRootView.findViewById(android.R.id.widget_frame); in setUp()
62 mPreferenceViewHolder = PreferenceViewHolder.createInstanceForTests(mRootView); in setUp()
/packages/services/Car/tests/MultiDisplaySecondaryHomeTestLauncher/src/com/android/car/multidisplay/launcher/
DLauncherActivity.java70 private View mRootView; field in LauncherActivity
86 mRootView = findViewById(R.id.RootView); in onCreate()
91 mRootView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION in onCreate()
93 mRootView.setOnApplyWindowInsetsListener((view, insets) -> { in onCreate()
94 mRootView.setPadding(0, 0, 0, insets.getSystemWindowInsetBottom()); in onCreate()
/packages/apps/Car/Radio/src/com/android/car/radio/
DBrowseFragment.java40 private View mRootView; field in BrowseFragment
46 mRootView = inflater.inflate(R.layout.browse_fragment, container, false); in onCreateView()
47 return mRootView; in onCreateView()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningServiceDetails.java73 View mRootView; field in RunningServiceDetails
86 View mRootView; field in RunningServiceDetails.ActiveDetail
265 detail.mRootView = root; in addServiceDetailsView()
341 detail.mRootView = root; in addProcessDetailsView()
427 mAllDetails.removeView(mActiveDetails.get(i).mRootView);
517 mRootView = view;

12