Home
last modified time | relevance | path

Searched refs:rootView (Results 1 – 25 of 70) sorted by relevance

123

/packages/apps/Car/Launcher/src/com/android/car/carlauncher/
DContextualFragment.java36 View rootView = inflater.inflate(R.layout.contextual_fragment, container, false); in onCreateView() local
37 ImageView iconView = rootView.findViewById(R.id.icon); in onCreateView()
38 TextView topLineView = rootView.findViewById(R.id.top_line); in onCreateView()
39 TextView bottomLineView = rootView.findViewById(R.id.bottom_line); in onCreateView()
40 View dateDividerView = rootView.findViewById(R.id.date_divider); in onCreateView()
41 View dateView = rootView.findViewById(R.id.date); in onCreateView()
42 View bottomLineContainerView = rootView.findViewById(R.id.bottom_line_container); in onCreateView()
74 rootView.setOnClickListener(listener); in onCreateView()
75 rootView.setClickable(listener != null); in onCreateView()
78 return rootView; in onCreateView()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DSecureConversationViewController.java83 View rootView = inflater.inflate(R.layout.secure_conversation_view, container, false); in onCreateView() local
84 mScrollView = (MessageScrollView) rootView.findViewById(R.id.scroll_view); in onCreateView()
85 mConversationHeaderView = (ConversationViewHeader) rootView.findViewById(R.id.conv_header); in onCreateView()
86 mMessageHeaderView = (MessageHeaderView) rootView.findViewById(R.id.message_header); in onCreateView()
87 mSnapHeaderView = (MessageHeaderView) rootView.findViewById(R.id.snap_header); in onCreateView()
88 mMessageFooterView = (MessageFooterView) rootView.findViewById(R.id.message_footer); in onCreateView()
96 final int color = rootView.getResources().getColor( in onCreateView()
104 mProgressController.instantiateProgressIndicators(rootView); in onCreateView()
105 mWebView = (MessageWebView) rootView.findViewById(R.id.webview); in onCreateView()
128 return rootView; in onCreateView()
DConversationListFragment.java508 View rootView = inflater.inflate(R.layout.conversation_list, null); in onCreateView() local
509 mEmptyView = (ConversationListEmptyView) rootView.findViewById(R.id.empty_view); in onCreateView()
510 mSecurityHoldView = rootView.findViewById(R.id.security_hold_view); in onCreateView()
511 mSecurityHoldText = (TextView) rootView.findViewById(R.id.security_hold_text); in onCreateView()
512 mSecurityHoldButton = rootView.findViewById(R.id.security_hold_button); in onCreateView()
514 mLoadingView = rootView.findViewById(R.id.conversation_list_loading_view); in onCreateView()
515 mListView = (SwipeableListView) rootView.findViewById(R.id.conversation_list_view); in onCreateView()
532 ((ViewGroup) rootView.findViewById(R.id.conversation_list_parent_frame)) in onCreateView()
543 (MailSwipeRefreshLayout) rootView.findViewById(R.id.swipe_refresh_widget); in onCreateView()
550 return rootView; in onCreateView()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DAddNetworkFragment.java67 final View rootView = inflater.inflate(R.layout.wifi_add_network_view, container, false); in onCreateView() local
69 final Button neutral = rootView.findViewById(android.R.id.button3); in onCreateView()
74 mSubmitBtn = rootView.findViewById(SUBMIT_BUTTON_ID); in onCreateView()
75 mCancelBtn = rootView.findViewById(CANCEL_BUTTON_ID); in onCreateView()
76 final ImageButton ssidScannerButton = rootView.findViewById(SSID_SCANNER_BUTTON_ID); in onCreateView()
77 final ImageButton passwordScannerButton = rootView.findViewById(PASSWORD_SCANNER_BUTTON_ID); in onCreateView()
82 mUIController = new WifiConfigController(this, rootView, null, getMode()); in onCreateView()
84 return rootView; in onCreateView()
/packages/apps/Settings/src/com/android/settings/wifi/
DAddNetworkFragment.java67 final View rootView = inflater.inflate(R.layout.wifi_add_network_view, container, false); in onCreateView() local
69 final Button neutral = rootView.findViewById(android.R.id.button3); in onCreateView()
74 mSubmitBtn = rootView.findViewById(SUBMIT_BUTTON_ID); in onCreateView()
75 mCancelBtn = rootView.findViewById(CANCEL_BUTTON_ID); in onCreateView()
76 final ImageButton ssidScannerButton = rootView.findViewById(SSID_SCANNER_BUTTON_ID); in onCreateView()
77 final ImageButton passwordScannerButton = rootView.findViewById(PASSWORD_SCANNER_BUTTON_ID); in onCreateView()
82 mUIController = new WifiConfigController(this, rootView, null, getMode()); in onCreateView()
84 return rootView; in onCreateView()
/packages/apps/Messaging/src/com/android/messaging/ui/
DSnackBarManager.java144 final View rootView = snackBar.getRootView(); in show() local
155 mPopupWindow.setContentView(rootView); in show()
230 final View rootView = snackBar.getRootView(); in dismiss() local
234 rootView.setVisibility(View.GONE); in dismiss()
266 final View rootView = snackBar.getRootView(); in measureSnackBar() local
275 rootView.measure(widthSpec, heightSpec); in measureSnackBar()
279 final View rootView = snackBar.getRootView(); in placeSnackBarOffScreen() local
281 snackBarView.setTranslationY(rootView.getMeasuredHeight()); in placeSnackBarOffScreen()
290 final View rootView = snackBar.getRootView(); in animateSnackBarOffScreen() local
292 return normalizeAnimator(snackBarView.animate()).translationY(rootView.getHeight()); in animateSnackBarOffScreen()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DPermissionsFrameFragment.java74 ViewGroup rootView = (ViewGroup) inflater.inflate(R.layout.permissions_frame, container, in onCreateView() local
76 mPrefsView = (ViewGroup) rootView.findViewById(R.id.prefs_container); in onCreateView()
78 mPrefsView = rootView; in onCreateView()
82 mLoadingView = rootView.findViewById(R.id.loading_container); in onCreateView()
87 mNestedScrollView = rootView.requireViewById(R.id.nested_scroll_view); in onCreateView()
88 mProgressHeader = rootView.requireViewById(R.id.progress_bar_animation); in onCreateView()
89 mProgressView = rootView.requireViewById(R.id.progress_bar_background); in onCreateView()
92 return rootView; in onCreateView()
/packages/apps/PermissionController/src/com/android/packageinstaller/auto/
DAutoSettingsFrameFragment.java49 View rootView = super.onCreateView(inflater, container, savedInstanceState); in onCreateView() local
51 View backButton = rootView.findViewById(R.id.back_button); in onCreateView()
54 mLabelView = rootView.findViewById(R.id.label); in onCreateView()
57 mProgressBar = rootView.findViewById(R.id.progress_bar); in onCreateView()
60 mAction = rootView.findViewById(R.id.action); in onCreateView()
63 return rootView; in onCreateView()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/dialpad/
DDialpadFragment.java117 View rootView = inflater.inflate(R.layout.dialpad_fragment, container, false); in onCreateView() local
119 rootView.setPadding(0, getTopOffset(), 0, 0); in onCreateView()
121 mTitleView = rootView.findViewById(R.id.title); in onCreateView()
125 mDisplayName = rootView.findViewById(R.id.display_name); in onCreateView()
127 View callButton = rootView.findViewById(R.id.call_button); in onCreateView()
152 mDeleteButton = rootView.findViewById(R.id.delete_button); in onCreateView()
159 return rootView; in onCreateView()
DInCallDialpadFragment.java52 ViewGroup rootView = (ViewGroup) inflater.inflate(R.layout.incall_dialpad_fragment, in onCreateView() local
56 mTitleView = rootView.findViewById(R.id.title); in onCreateView()
57 mCallStateView = rootView.findViewById(R.id.call_state); in onCreateView()
78 return rootView; in onCreateView()
/packages/apps/Dialer/java/com/android/dialer/postcall/
DPostCall.java54 public static void promptUserForMessageIfNecessary(Activity activity, View rootView) { in promptUserForMessageIfNecessary() argument
57 promptUserToViewSentMessage(activity, rootView); in promptUserForMessageIfNecessary()
59 promptUserToSendMessage(activity, rootView); in promptUserForMessageIfNecessary()
73 private static void promptUserToSendMessage(Activity activity, View rootView) { in promptUserToSendMessage() argument
104 Snackbar.make(rootView, message, durationMs) in promptUserToSendMessage()
117 private static void promptUserToViewSentMessage(Activity activity, View rootView) { in promptUserToViewSentMessage() argument
134 Snackbar.make(rootView, message, Snackbar.LENGTH_LONG) in promptUserToViewSentMessage()
/packages/apps/Messaging/src/com/android/messaging/util/
DChangeDefaultSmsAppHelper.java52 final View composeView, final View rootView, in warnOfMissingActionConditions() argument
71 composeView, rootView, activity); in warnOfMissingActionConditions()
82 final View composeView, final View rootView, in promptToChangeDefaultSmsApp() argument
90 if (rootView == null) { in promptToChangeDefaultSmsApp()
95 rootView, in promptToChangeDefaultSmsApp()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DAppToOverviewAnimationProvider.java131 View rootView = mActivity.getRootView(); in createWindowAnimation() local
132 rootView.getLocationOnScreen(loc); in createWindowAnimation()
134 loc[0] + rootView.getWidth(), loc[1] + rootView.getHeight()); in createWindowAnimation()
143 .setSyncTransactionApplier(new SyncRtSurfaceTransactionApplierCompat(rootView)); in createWindowAnimation()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DToolbarFragment.java65 public void setUpToolbar(View rootView) { in setUpToolbar() argument
66 mToolbar = rootView.findViewById(R.id.toolbar); in setUpToolbar()
86 public void setUpToolbar(View rootView, @MenuRes int menuResId) { in setUpToolbar() argument
87 setUpToolbar(rootView); in setUpToolbar()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/television/
DPermissionsFrameFragment.java62 ViewGroup rootView = (ViewGroup) inflater.inflate(R.layout.permissions_frame, container, in onCreateView() local
64 mPrefsView = (ViewGroup) rootView.findViewById(R.id.prefs_container); in onCreateView()
66 mPrefsView = rootView; in onCreateView()
68 mLoadingView = rootView.findViewById(R.id.loading_container); in onCreateView()
73 return rootView; in onCreateView()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DBlockReportSpamListener.java42 private final View rootView; field in BlockReportSpamListener
52 View rootView, in BlockReportSpamListener() argument
57 this.rootView = rootView; in BlockReportSpamListener()
228 spamBlockingPromoHelper.showModifySettingOnCompleteSnackbar(rootView, success); in showSpamBlockingPromoDialog()
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
DGroupMmsSettingDialog.java68 final View rootView = inflater.inflate(R.layout.group_mms_setting_dialog, null, false); in createView() local
70 rootView.findViewById(R.id.disable_group_mms_button); in createView()
72 rootView.findViewById(R.id.enable_group_mms_button); in createView()
90 return rootView; in createView()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningServices.java51 View rootView = inflater.inflate(R.layout.manage_applications_running, null); in onCreateView() local
52 mRunningProcessesView = rootView.findViewById(R.id.running_processes); in onCreateView()
54 mLoadingContainer = rootView.findViewById(R.id.loading_container); in onCreateView()
58 return rootView; in onCreateView()
DRunningProcessesView.java158 public View rootView; field in RunningProcessesView.ViewHolder
166 rootView = v; in ViewHolder()
178 PackageManager pm = rootView.getContext().getPackageManager(); in bind()
191 ai.mRootView = rootView; in bind()
196 description.setText(rootView.getContext().getText(R.string.cached)); in bind()
201 icon.setImageDrawable(item.loadIcon(rootView.getContext(), state)); in bind()
203 ai.updateTime(rootView.getContext(), builder); in bind()
DConfirmConvertToFbe.java35 View rootView = inflater.inflate(R.layout.confirm_convert_fbe, null); in onCreateView() local
37 final Button button = (Button) rootView.findViewById(R.id.button_confirm_convert_fbe); in onCreateView()
48 return rootView; in onCreateView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DRunningServices.java51 View rootView = inflater.inflate(R.layout.manage_applications_running, null); in onCreateView() local
52 mRunningProcessesView = rootView.findViewById(R.id.running_processes); in onCreateView()
54 mLoadingContainer = rootView.findViewById(R.id.loading_container); in onCreateView()
58 return rootView; in onCreateView()
DRunningProcessesView.java158 public View rootView; field in RunningProcessesView.ViewHolder
166 rootView = v; in ViewHolder()
178 PackageManager pm = rootView.getContext().getPackageManager(); in bind()
191 ai.mRootView = rootView; in bind()
196 description.setText(rootView.getContext().getText(R.string.cached)); in bind()
201 icon.setImageDrawable(item.loadIcon(rootView.getContext(), state)); in bind()
203 ai.updateTime(rootView.getContext(), builder); in bind()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DMovieActivity.java66 private void setSystemUiVisibility(View rootView) { in setSystemUiVisibility() argument
68 rootView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_STABLE in setSystemUiVisibility()
82 View rootView = findViewById(R.id.movie_view_root); in onCreate() local
84 setSystemUiVisibility(rootView); in onCreate()
91 mPlayer = new MoviePlayer(rootView, this, intent.getData(), savedInstanceState, in onCreate()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/warning/
DNoHfpFragmentTest.java89 View rootView = mNoHfpFragment.getView(); in createView_displayErrorMsg() local
90 TextView errorMsgView = rootView.findViewById(R.id.error_string); in createView_displayErrorMsg()
98 View rootView = mNoHfpFragment.getView(); in setErrorMsg_updateErrorMsgView() local
99 TextView errorMsgView = rootView.findViewById(R.id.error_string); in setErrorMsg_updateErrorMsgView()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DConversationListFragment.java173 final ViewGroup rootView = (ViewGroup) inflater.inflate(R.layout.conversation_list_fragment, in onCreateView() local
175 mRecyclerView = (RecyclerView) rootView.findViewById(android.R.id.list); in onCreateView()
176 mEmptyListMessageView = (ListEmptyView) rootView.findViewById(R.id.no_conversations_view); in onCreateView()
221 mStartNewConversationButton = (ImageView) rootView.findViewById( in onCreateView()
240 ViewGroupCompat.setTransitionGroup(rootView, false); in onCreateView()
243 return rootView; in onCreateView()

123