/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/ |
D | UtilitiesKtTest.kt | 42 private val rootView = LinearLayout(context).apply { addView(midView) } in <lambda>() constant 46 assertThat(rootView.clipChildren).isTrue() in set_clipChildren_false() 49 modifyAttributesOnViewTree(childView, rootView, CLIP_CHILDREN_FALSE_MODIFIER) in set_clipChildren_false() 51 assertThat(rootView.clipChildren).isFalse() in set_clipChildren_false() 57 assertThat(rootView.clipChildren).isTrue() in restore_clipChildren_true() 59 modifyAttributesOnViewTree(childView, rootView, CLIP_CHILDREN_FALSE_MODIFIER) in restore_clipChildren_true() 60 assertThat(rootView.clipChildren).isFalse() in restore_clipChildren_true() 63 restoreAttributesOnViewTree(childView, rootView, CLIP_CHILDREN_FALSE_MODIFIER) in restore_clipChildren_true() 65 assertThat(rootView.clipChildren).isTrue() in restore_clipChildren_true() 71 assertThat(rootView.clipChildren).isTrue() in restore_clipChildren_skipRestoreMidView() [all …]
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/v34/ |
D | PermissionRationaleViewHandlerImpl.kt | 60 private var rootView: ViewGroup? = null variable in com.android.permissioncontroller.permission.ui.handheld.v34.PermissionRationaleViewHandlerImpl 108 if (rootView != null) { in updateUi() 127 TransitionManager.beginDelayedTransition(rootView, growShrinkToNewContentSize) in updateAll() 131 val rootView = in createView() constant 136 rootView.requireViewById<LinearLayout>(R.id.permission_rationale_singleton).gravity in createView() 141 rootView.findViewById<View>(R.id.permission_rationale_singleton)!!.setOnClickListener(this) in createView() 143 rootView.findViewById<View>(R.id.permission_rationale_dialog)!!.setOnClickListener(this) in createView() 145 titleView = rootView.findViewById(R.id.permission_rationale_title) in createView() 147 dataSharingSourceMessageView = rootView.findViewById(R.id.data_sharing_source_message) in createView() 150 purposeTitleView = rootView.findViewById(R.id.purpose_title) in createView() [all …]
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/ui/ |
D | CustomizationPickerActivity2.kt | 87 val rootView = requireViewById<MotionLayout>(R.id.picker_motion_layout) in <lambda>() constant 90 rootView.requireViewById<FrameLayout>(R.id.customization_picker_bottom_sheet), in <lambda>() 93 rootView.setTransitionListener( in <lambda>() 100 rootView.setTransition(R.id.transition_primary) in <lambda>() 118 val collapsedHeaderHeight = rootView.height - optionContainer.height - navBarHeight in <lambda>() 125 rootView in <lambda>() 128 rootView.setTransition(R.id.transition_primary) in <lambda>() 134 view = rootView, in <lambda>() 141 if (rootView.currentState == R.id.secondary) { in <lambda>() 142 rootView.transitionToState( in <lambda>() [all …]
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/terms/adapters/ |
D | TermsListAdapter.java | 76 View rootView = null; in onCreateViewHolder() local 79 rootView = createGeneralDisclaimerView(parent); in onCreateViewHolder() 82 rootView = createRegularDisclaimerView(parent); in onCreateViewHolder() 85 return new TermsViewHolder(rootView); in onCreateViewHolder() 89 View rootView = mInflater.inflate( in createRegularDisclaimerView() local 91 mStylerHelper.applyListItemStyling(rootView, in createRegularDisclaimerView() 92 new LinearLayout.LayoutParams(rootView.getLayoutParams())); in createRegularDisclaimerView() 93 return rootView; in createRegularDisclaimerView() 97 View rootView = mInflater.inflate( in createGeneralDisclaimerView() local 99 TextView textView = rootView.findViewById(R.id.terms_disclaimer_general); in createGeneralDisclaimerView() [all …]
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | PaletteListPreference.java | 123 private void initPaletteView(Context context, ViewGroup rootView) { in initPaletteView() argument 124 if (rootView.getChildCount() > 0) { in initPaletteView() 125 rootView.removeAllViews(); in initPaletteView() 149 textView.setBackground(createGradientDrawable(rootView, paletteColors.get(i))); in initPaletteView() 151 rootView.addView(textView); in initPaletteView() 154 updateFirstAndLastItemsBackground(context, rootView, paletteData.size()); in initPaletteView() 157 private GradientDrawable createGradientDrawable(ViewGroup rootView, @ColorInt int color) { in createGradientDrawable() argument 172 private void updateFirstAndLastItemsBackground(Context context, ViewGroup rootView, int size) { in updateFirstAndLastItemsBackground() argument 178 (GradientDrawable) rootView.getChildAt(0).getBackground(); in updateFirstAndLastItemsBackground() 180 (GradientDrawable) rootView.getChildAt(lastIndex).getBackground(); in updateFirstAndLastItemsBackground()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/profiles/ |
D | ProfileDescriptor.java | 58 ViewGroup rootView, in ProfileDescriptor() argument 65 mRootView = rootView; in ProfileDescriptor() 67 mEmptyStateView = rootView.findViewById(com.android.internal.R.id.resolver_empty_state); in ProfileDescriptor() 68 mView = (PageViewT) rootView.findViewById(com.android.internal.R.id.resolver_list); in ProfileDescriptor() 70 rootView, in ProfileDescriptor()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | SnackBarManager.java | 162 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/Settings/src/com/android/settings/privatespace/ |
D | PrivateSpaceSetLockFragment.java | 63 GlifLayout rootView = in onCreateView() local 66 rootView.getHeaderTextView().setBreakStrategy(BREAK_STRATEGY_SIMPLE); in onCreateView() 67 rootView.getHeaderTextView().setMaxLines(HEADER_TEXT_MAX_LINES); in onCreateView() 68 final FooterBarMixin mixin = rootView.getMixin(FooterBarMixin.class); in onCreateView() 92 LottieAnimationView lottieAnimationView = rootView.findViewById(R.id.lottie_animation); in onCreateView() 95 return rootView; in onCreateView()
|
D | PrivateSpaceEducation.java | 56 GlifLayout rootView = in onCreateView() local 59 final FooterBarMixin mixin = rootView.getMixin(FooterBarMixin.class); in onCreateView() 74 LottieAnimationView lottieAnimationView = rootView.findViewById(R.id.lottie_animation); in onCreateView() 77 TextView infoTextView = rootView.findViewById(R.id.learn_more); in onCreateView() 84 return rootView; in onCreateView()
|
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/calmmode/ |
D | CalmModeFragment.java | 78 View rootView = inflater.inflate(R.layout.calm_mode_fragment, container, false); in onCreateView() local 82 mContainerView = rootView.findViewById(R.id.calm_mode_container); in onCreateView() 83 mClockView = rootView.findViewById(R.id.clock); in onCreateView() 84 mDateView = rootView.findViewById(R.id.date); in onCreateView() 85 mNavStateView = rootView.findViewById(R.id.nav_state); in onCreateView() 86 mNavStateIconView = rootView.findViewById(R.id.nav_state_icon); in onCreateView() 87 mTemperatureIconView = rootView.findViewById(R.id.temperature_icon); in onCreateView() 88 mTemperatureView = rootView.findViewById(R.id.temperature); in onCreateView() 89 mMediaTitleView = rootView.findViewById(R.id.media_title); in onCreateView() 100 return rootView; in onCreateView()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/ |
D | PermissionsFrameFragment.java | 77 ViewGroup rootView = (ViewGroup) inflater.inflate(R.layout.permissions_frame, container, in onCreateView() local 79 mPrefsView = (ViewGroup) rootView.findViewById(R.id.prefs_container); in onCreateView() 81 mPrefsView = rootView; in onCreateView() 85 mLoadingView = rootView.findViewById(R.id.loading_container); in onCreateView() 90 mProgressHeader = rootView.requireViewById( in onCreateView() 92 mProgressView = rootView.requireViewById( in onCreateView() 96 return rootView; in onCreateView()
|
D | GrantPermissionsViewHandlerImpl.kt | 122 private var rootView: ViewGroup? = null variable in com.android.permissioncontroller.permission.ui.handheld.GrantPermissionsViewHandlerImpl 198 TransitionManager.beginDelayedTransition(rootView, growShrinkToNewContentSize) in updateAll() 204 val rootView = in createView() constant 212 this.rootView = rootView in createView() 215 val gravity = rootView.requireViewById<LinearLayout>(R.id.grant_singleton).gravity in createView() 220 rootView.findViewById<View>(R.id.grant_singleton)!!.setOnClickListener(this) in createView() 222 rootView.findViewById<View>(R.id.grant_dialog)!!.setOnClickListener(this) in createView() 224 messageView = rootView.findViewById(R.id.permission_message) in createView() 225 detailMessageView = rootView.findViewById(R.id.detail_message) in createView() 227 iconView = rootView.findViewById(R.id.permission_icon) in createView() [all …]
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/ |
D | AudioStreamsDialogFragment.java | 206 View rootView = in build() local 210 AlertDialog dialog = mBuilder.setView(rootView).setCancelable(false).create(); in build() 213 TextView title = rootView.requireViewById(R.id.dialog_title); in build() 217 TextView subTitle1 = rootView.requireViewById(R.id.dialog_subtitle); in build() 222 TextView subTitle2 = rootView.requireViewById(R.id.dialog_subtitle_2); in build() 227 Button leftButton = rootView.requireViewById(R.id.left_button); in build() 238 Button rightButton = rootView.requireViewById(R.id.right_button); in build()
|
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/settings/fragments/ |
D | AdServicesSettingsTopicsFragment.java | 75 private void setupViewModel(View rootView) { in setupViewModel() argument 86 RecyclerView recyclerView = rootView.findViewById(R.id.topics_list); in setupViewModel() 90 View noTopicsMessage = rootView.findViewById(R.id.no_topics_message); in setupViewModel() 91 View emptyTopicsHiddenSection = rootView.findViewById(R.id.empty_topics_hidden_section); in setupViewModel() 92 View blockedTopicsButton = rootView.findViewById(R.id.blocked_topics_button); in setupViewModel() 118 rootView.findViewById(R.id.blocked_topics_when_empty_state_button); in setupViewModel()
|
D | AdServicesSettingsAppsFragment.java | 74 private void setupViewModel(View rootView) { in setupViewModel() argument 84 RecyclerView recyclerView = rootView.findViewById(R.id.apps_list); in setupViewModel() 88 View noAppsMessage = rootView.findViewById(R.id.no_apps_message); in setupViewModel() 89 View emptyAppsHiddenSection = rootView.findViewById(R.id.empty_apps_hidden_section); in setupViewModel() 90 View blockedAppsBtn = rootView.findViewById(R.id.blocked_apps_button); in setupViewModel() 115 rootView.findViewById(R.id.blocked_apps_when_empty_state_button); in setupViewModel()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/element/ |
D | CarSystemBarElementInitializer.java | 64 ViewGroup rootView) { in initializeCarSystemBarElements() argument 65 List<ElementViewControllerData> elementData = findSystemBarElements(rootView); in initializeCarSystemBarElements() 90 private static List<ElementViewControllerData> findSystemBarElements(ViewGroup rootView) { in findSystemBarElements() argument 92 for (int i = 0; i < rootView.getChildCount(); i++) { in findSystemBarElements() 93 View v = rootView.getChildAt(i); in findSystemBarElements()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/request/ |
D | PermissionsFragment.kt | 51 val rootView = inflater.inflate(R.layout.fragment_permissions_request, container, false) in onCreateView() constant 52 prefView = rootView.findViewById(R.id.preference_container) in onCreateView() 57 allowButton = rootView.findViewById(R.id.allow) in onCreateView() 58 dontAllowButton = rootView.findViewById(R.id.dont_allow) in onCreateView() 66 return rootView in onCreateView()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | AddNetworkFragment.java | 85 final View rootView = inflater.inflate(R.layout.wifi_add_network_view, container, false); in onCreateView() local 87 final Button neutral = rootView.findViewById(android.R.id.button3); in onCreateView() 92 mSubmitBtn = rootView.findViewById(SUBMIT_BUTTON_ID); in onCreateView() 93 mCancelBtn = rootView.findViewById(CANCEL_BUTTON_ID); in onCreateView() 94 final ImageButton ssidScannerButton = rootView.findViewById(SSID_SCANNER_BUTTON_ID); in onCreateView() 98 mUIController = new WifiConfigController2(this, rootView, null, getMode()); in onCreateView() 104 return rootView; in onCreateView()
|
D | ConfigureWifiEntryFragment.java | 102 final View rootView = inflater.inflate(R.layout.wifi_add_network_view, in onCreateView() local 105 final Button neutral = rootView.findViewById(android.R.id.button3); in onCreateView() 110 mSubmitBtn = rootView.findViewById(SUBMIT_BUTTON_ID); in onCreateView() 111 mCancelBtn = rootView.findViewById(CANCEL_BUTTON_ID); in onCreateView() 115 mUiController = new WifiConfigController2(this, rootView, mWifiEntry, getMode()); in onCreateView() 132 return rootView; in onCreateView()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/ |
D | TutorialController.java | 143 RootSandboxLayout rootView = tutorialFragment.getRootView(); in TutorialController() local 144 mSkipButton = rootView.findViewById(R.id.gesture_tutorial_fragment_close_button); in TutorialController() 146 mFeedbackView = rootView.findViewById(R.id.gesture_tutorial_fragment_feedback_view); in TutorialController() 151 mEdgeGestureVideoView = rootView.findViewById(R.id.gesture_tutorial_edge_gesture_video); in TutorialController() 152 mFakeLauncherView = rootView.findViewById(R.id.gesture_tutorial_fake_launcher_view); in TutorialController() 153 mFakeHotseatView = rootView.findViewById(R.id.gesture_tutorial_fake_hotseat_view); in TutorialController() 154 mFakeIconView = rootView.findViewById(R.id.gesture_tutorial_fake_icon_view); in TutorialController() 155 mFakeTaskView = rootView.findViewById(R.id.gesture_tutorial_fake_task_view); in TutorialController() 157 ? null : rootView.findViewById(R.id.gesture_tutorial_fake_taskbar_view); in TutorialController() 159 rootView.findViewById(R.id.gesture_tutorial_fake_previous_task_view); in TutorialController() [all …]
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/ |
D | SafetyCenterQsFragment.java | 183 private void maybeEnableView(@Nullable View rootView) { in maybeEnableView() argument 184 if (rootView == null) { in maybeEnableView() 188 rootView.setVisibility(View.VISIBLE); in maybeEnableView() 202 private void addPermissionUsageInformation(@Nullable View rootView) { in addPermissionUsageInformation() argument 203 if (rootView == null) { in addPermissionUsageInformation() 206 View permissionSectionTitleView = rootView.findViewById(R.id.permission_section_title); in addPermissionUsageInformation() 207 View statusSectionTitleView = rootView.findViewById(R.id.status_section_title); in addPermissionUsageInformation() 215 LinearLayout usageLayout = rootView.findViewById(R.id.permission_usage); in addPermissionUsageInformation() 405 View rootView = getView(); in setIndicatorExpansionBehavior() local 406 if (rootView == null) { in setIndicatorExpansionBehavior() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | ChangeDefaultSmsAppHelper.java | 52 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/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | AppbarFragment.java | 118 public void setUpToolbar(View rootView) { in setUpToolbar() argument 119 setUpToolbar(rootView, /* upArrow= */ true, false); in setUpToolbar() 130 protected void setUpToolbar(View rootView, boolean upArrow, boolean transparentToolbar) { in setUpToolbar() argument 132 mToolbar = rootView.findViewById(getToolbarId()); in setUpToolbar() 220 public void setUpToolbar(View rootView, @MenuRes int menuResId) { in setUpToolbar() argument 221 setUpToolbar(rootView); in setUpToolbar()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/ |
D | PermissionsFrameFragment.java | 63 ViewGroup rootView = (ViewGroup) inflater.inflate(R.layout.permissions_frame, container, in onCreateView() local 65 mPrefsView = (ViewGroup) rootView.findViewById(R.id.prefs_container); in onCreateView() 67 mPrefsView = rootView; in onCreateView() 69 mLoadingView = rootView.findViewById(R.id.loading_container); in onCreateView() 70 mEmptyView = (TextView) rootView.findViewById(R.id.no_permissions); in onCreateView() 75 return rootView; in onCreateView()
|
/packages/apps/Dialer/java/com/android/dialer/postcall/ |
D | PostCall.java | 54 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()
|