Home
last modified time | relevance | path

Searched refs:rootView (Results 1 – 25 of 59) 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/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.java162 final View rootView = snackBar.getRootView(); in show() local
173 mPopupWindow.setContentView(rootView); in show()
249 final View rootView = snackBar.getRootView(); in dismiss() local
253 rootView.setVisibility(View.GONE); in dismiss()
287 final View rootView = snackBar.getRootView(); in measureSnackBar() local
296 rootView.measure(widthSpec, heightSpec); in measureSnackBar()
300 final View rootView = snackBar.getRootView(); in placeSnackBarOffScreen() local
302 snackBarView.setTranslationY(rootView.getMeasuredHeight()); in placeSnackBarOffScreen()
311 final View rootView = snackBar.getRootView(); in animateSnackBarOffScreen() local
313 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.java139 View rootView = inflater.inflate(R.layout.dialpad_fragment, container, false); in onCreateView() local
141 mTitleView = rootView.findViewById(R.id.title); in onCreateView()
145 mDisplayName = rootView.findViewById(R.id.display_name); in onCreateView()
146 mRecyclerView = rootView.findViewById(R.id.list_view); in onCreateView()
148 mLabel = rootView.findViewById(R.id.label); in onCreateView()
149 mAvatar = rootView.findViewById(R.id.dialpad_contact_avatar); in onCreateView()
154 View callButton = rootView.findViewById(R.id.call_button); in onCreateView()
179 mDeleteButton = rootView.findViewById(R.id.delete_button); in onCreateView()
186 return rootView; in onCreateView()
DInCallDialpadFragment.java54 ViewGroup rootView = (ViewGroup) inflater.inflate(R.layout.incall_dialpad_fragment, in onCreateView() local
58 mTitleView = rootView.findViewById(R.id.title); in onCreateView()
59 mCallStateView = rootView.findViewById(R.id.call_state); in onCreateView()
84 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.java133 View rootView = mActivity.getRootView(); in createWindowAnimation() local
134 rootView.getLocationOnScreen(loc); in createWindowAnimation()
136 loc[0] + rootView.getWidth(), loc[1] + rootView.getHeight()); in createWindowAnimation()
145 .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/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/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/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/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/apps/Car/Dialer/src/com/android/car/dialer/ui/calllog/
DCallLogAdapter.java82 View rootView = LayoutInflater.from(mContext) in onCreateViewHolder() local
84 return new CallLogViewHolder(rootView, mOnShowContactDetailListener); in onCreateViewHolder()
87 View rootView = LayoutInflater.from(mContext) in onCreateViewHolder() local
89 return new HeaderViewHolder(rootView); in onCreateViewHolder()
/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/Gallery2/src/com/android/gallery3d/app/
DMovieActivity.java69 private void setSystemUiVisibility(View rootView) { in setSystemUiVisibility() argument
71 rootView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_STABLE in setSystemUiVisibility()
85 View rootView = findViewById(R.id.movie_view_root); in onCreate() local
87 setSystemUiVisibility(rootView); in onCreate()
94 mPlayer = new MoviePlayer(rootView, this, intent.getData(), savedInstanceState, in onCreate()
/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()
/packages/apps/Settings/src/com/android/settings/applications/appops/
DBackgroundCheckSummary.java52 View rootView = mInflater.inflate(R.layout.background_check_summary, in onCreateView() local
58 ((PreferenceFrameLayout.LayoutParams) rootView.getLayoutParams()).removeBorders = true; in onCreateView()
66 return rootView; in onCreateView()

123