Home
last modified time | relevance | path

Searched refs:viewGroup (Results 1 – 25 of 52) sorted by relevance

123

/packages/apps/Dialer/java/com/android/incallui/sessiondata/
DMultimediaFragment.java109 LayoutInflater layoutInflater, @Nullable ViewGroup viewGroup, @Nullable Bundle bundle) { in onCreateView() argument
116 return layoutInflater.inflate(R.layout.fragment_spam, viewGroup, false); in onCreateView()
127 R.layout.fragment_composer_text_image_frag, viewGroup, false); in onCreateView()
130 return layoutInflater.inflate(R.layout.fragment_composer_image_frag, viewGroup, false); in onCreateView()
134 return layoutInflater.inflate(R.layout.fragment_composer_text_frag, viewGroup, false); in onCreateView()
137 return layoutInflater.inflate(R.layout.fragment_composer_frag, viewGroup, false); in onCreateView()
142 return layoutInflater.inflate(R.layout.fragment_composer_text_image, viewGroup, false); in onCreateView()
145 return layoutInflater.inflate(R.layout.fragment_composer_image, viewGroup, false); in onCreateView()
149 return layoutInflater.inflate(R.layout.fragment_composer_text, viewGroup, false); in onCreateView()
/packages/apps/Car/Settings/src/com/android/car/settings/common/rotary/
DDirectManipulationState.java72 ViewGroup viewGroup = (ViewGroup) mViewInDirectManipulationMode; in enable() local
73 mOriginalDescendantFocusability = viewGroup.getDescendantFocusability(); in enable()
74 viewGroup.setDescendantFocusability(FOCUS_AFTER_DESCENDANTS); in enable()
89 ViewGroup viewGroup = (ViewGroup) mViewInDirectManipulationMode; in disable() local
90 viewGroup.setDescendantFocusability(mOriginalDescendantFocusability); in disable()
/packages/apps/Car/tests/RotaryPlayground/src/com/android/car/rotaryplayground/
DDirectManipulationState.java75 ViewGroup viewGroup = (ViewGroup) mViewInDirectManipulationMode; in enable() local
76 mOriginalDescendantFocusability = viewGroup.getDescendantFocusability(); in enable()
77 viewGroup.setDescendantFocusability(FOCUS_AFTER_DESCENDANTS); in enable()
94 ViewGroup viewGroup = (ViewGroup) mViewInDirectManipulationMode; in disable() local
95 viewGroup.setDescendantFocusability(ViewGroup.FOCUS_BLOCK_DESCENDANTS); in disable()
DScrollFragment.java93 @NonNull ViewGroup viewGroup, int viewType) { in onCreateViewHolder()
98 R.layout.rotary_scroll_button, viewGroup, false); in onCreateViewHolder()
103 R.layout.rotary_scroll_text, viewGroup, false); in onCreateViewHolder()
/packages/apps/Launcher3/src/com/android/launcher3/anim/
DAlphaUpdateListener.java61 ViewGroup viewGroup = ((ViewGroup) view); in updateVisibility() local
62 int oldFocusability = viewGroup.getDescendantFocusability(); in updateVisibility()
63 viewGroup.setDescendantFocusability(ViewGroup.FOCUS_BLOCK_DESCENDANTS); in updateVisibility()
64 viewGroup.setVisibility(View.VISIBLE); in updateVisibility()
65 viewGroup.setDescendantFocusability(oldFocusability); in updateVisibility()
/packages/apps/Settings/tests/componenttests/src/com/android/settings/notification/
DAppNotificationComponentTest.java104 ViewGroup viewGroup = (ViewGroup) recyclerView; in test_special_app_could_not_disable_notification()
106 for (int i = 0; i < viewGroup.getChildCount(); i++) { in test_special_app_could_not_disable_notification()
107 if (viewGroup.getChildAt(i) instanceof LinearLayout) { in test_special_app_could_not_disable_notification()
111 View sWidget = viewGroup.getChildAt(i).findViewById( in test_special_app_could_not_disable_notification()
113 TextView sText = viewGroup.getChildAt(i).findViewById( in test_special_app_could_not_disable_notification()
/packages/apps/Contacts/src/com/android/contacts/drawer/
DDrawerAdapter.java188 public View getView(int position, View view, ViewGroup viewGroup) { in getView() argument
192 return getPrimaryItemView((PrimaryItem) drawerItem, view, viewGroup); in getView()
194 return getHeaderItemView((HeaderItem) drawerItem, view, viewGroup); in getView()
196 return getDrawerItemView(drawerItem, view, viewGroup); in getView()
198 return getGroupEntryView((GroupEntryItem) drawerItem, view, viewGroup); in getView()
200 return getAccountItemView((AccountEntryItem) drawerItem, view, viewGroup); in getView()
202 return getDrawerItemView(drawerItem, view, viewGroup); in getView()
204 return getBaseItemView(R.layout.nav_drawer_spacer, view, viewGroup); in getView()
206 return getBaseItemView(R.layout.drawer_horizontal_divider, view, viewGroup); in getView()
/packages/apps/Settings/src/com/android/settings/panel/
DPanelSlicesAdapter.java70 public SliceRowViewHolder onCreateViewHolder(@NonNull ViewGroup viewGroup, int viewType) { in onCreateViewHolder() argument
71 final Context context = viewGroup.getContext(); in onCreateViewHolder()
75 view = inflater.inflate(R.layout.panel_slice_slider_row, viewGroup, false); in onCreateViewHolder()
77 view = inflater.inflate(R.layout.panel_slice_row, viewGroup, false); in onCreateViewHolder()
/packages/apps/Dialer/java/com/android/dialer/enrichedcall/simulator/
DSessionsAdapter.java37 public SessionViewHolder onCreateViewHolder(ViewGroup viewGroup, int i) { in onCreateViewHolder() argument
38 LayoutInflater inflater = LayoutInflater.from(viewGroup.getContext()); in onCreateViewHolder()
39 return new SessionViewHolder(inflater.inflate(R.layout.session_view_holder, viewGroup, false)); in onCreateViewHolder()
/packages/apps/Settings/src/com/android/settings/security/
DCredentialManagementAppAdapter.java248 public RecyclerView.ViewHolder onCreateViewHolder(@NonNull ViewGroup viewGroup, int viewType) { in onCreateViewHolder() argument
251 view = LayoutInflater.from(viewGroup.getContext()) in onCreateViewHolder()
252 .inflate(R.layout.request_manage_credentials_header, viewGroup, false); in onCreateViewHolder()
256 view = LayoutInflater.from(viewGroup.getContext()) in onCreateViewHolder()
257 .inflate(R.layout.app_authentication_item, viewGroup, false); in onCreateViewHolder()
/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/main/java/com/android/car/ui/utils/
DViewUtils.java183 ViewGroup viewGroup = (ViewGroup) parent; in getAncestorScrollableContainer() local
184 if (isScrollableContainer(viewGroup)) { in getAncestorScrollableContainer()
185 return viewGroup; in getAncestorScrollableContainer()
425 ViewGroup viewGroup = (ViewGroup) parent; in isImplicitDefaultFocusView() local
426 if (isRotaryContainer(viewGroup)) { in isImplicitDefaultFocusView()
427 rotaryContainer = viewGroup; in isImplicitDefaultFocusView()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DPortraitPagedViewHandler.java294 LinearLayout viewGroup, DeviceProfile deviceProfile) { in setLayoutParamsForTaskMenuOptionItem() argument
297 viewGroup.setOrientation(LinearLayout.VERTICAL); in setLayoutParamsForTaskMenuOptionItem()
300 Utilities.setStartMarginForView(viewGroup.findViewById(R.id.text), 0); in setLayoutParamsForTaskMenuOptionItem()
301 Utilities.setStartMarginForView(viewGroup.findViewById(R.id.icon), 0); in setLayoutParamsForTaskMenuOptionItem()
304 viewGroup.setOrientation(LinearLayout.HORIZONTAL); in setLayoutParamsForTaskMenuOptionItem()
DLandscapePagedViewHandler.java282 LinearLayout viewGroup, DeviceProfile deviceProfile) { in setLayoutParamsForTaskMenuOptionItem() argument
284 viewGroup.setOrientation(LinearLayout.VERTICAL); in setLayoutParamsForTaskMenuOptionItem()
288 Utilities.setStartMarginForView(viewGroup.findViewById(R.id.text), 0); in setLayoutParamsForTaskMenuOptionItem()
289 Utilities.setStartMarginForView(viewGroup.findViewById(R.id.icon), 0); in setLayoutParamsForTaskMenuOptionItem()
/packages/apps/Settings/src/com/android/settings/widget/
DCheckableRelativeLayout.java72 private static View findFirstCheckableView(@NonNull ViewGroup viewGroup) { in findFirstCheckableView() argument
73 final int childCount = viewGroup.getChildCount(); in findFirstCheckableView()
75 final View child = viewGroup.getChildAt(i); in findFirstCheckableView()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/
DCheckableLinearLayout.java99 private static void updateChildrenChecked(@NonNull ViewGroup viewGroup, boolean checked) { in updateChildrenChecked() argument
100 int count = viewGroup.getChildCount(); in updateChildrenChecked()
102 View child = viewGroup.getChildAt(i); in updateChildrenChecked()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/
DTestNotificationService.java213 ViewGroup viewGroup = (ViewGroup)view; in getProgressBarImpl() local
214 if (viewGroup.getChildCount() <= 0) { in getProgressBarImpl()
219 for (int i = 0; i < viewGroup.getChildCount(); i++) { in getProgressBarImpl()
220 View v = viewGroup.getChildAt(i); in getProgressBarImpl()
/packages/apps/TV/src/com/android/tv/guide/
DGuideUtils.java144 ViewGroup viewGroup = (ViewGroup) v; in findFocusables() local
145 for (int i = 0; i < viewGroup.getChildCount(); ++i) { in findFocusables()
146 findFocusables(viewGroup.getChildAt(i), outFocusable); in findFocusables()
/packages/apps/Dialer/java/com/android/dialer/calllog/ui/
DNewCallLogAdapter.java182 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, @RowType int viewType) { in onCreateViewHolder() argument
188 R.layout.new_call_log_promotion_card, viewGroup, /* attachToRoot = */ false), in onCreateViewHolder()
195 .inflate(R.layout.new_call_log_header, viewGroup, /* attachToRoot = */ false)); in onCreateViewHolder()
200 .inflate(R.layout.new_call_log_entry, viewGroup, /* attachToRoot = */ false), in onCreateViewHolder()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/
DButtonRoleHolderController.java84 ViewGroup viewGroup = (ViewGroup) v; in addAllButtonsWithRoleName() local
85 for (int i = 0; i < viewGroup.getChildCount(); i++) { in addAllButtonsWithRoleName()
86 addAllButtonsWithRoleName(viewGroup.getChildAt(i)); in addAllButtonsWithRoleName()
DButtonSelectionStateController.java83 ViewGroup viewGroup = (ViewGroup) v; in addAllButtonsWithSelectionState() local
84 for (int i = 0; i < viewGroup.getChildCount(); i++) { in addAllButtonsWithSelectionState()
85 addAllButtonsWithSelectionState(viewGroup.getChildAt(i)); in addAllButtonsWithSelectionState()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DPlayerAdapter.java108 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) { in onCreateViewHolder() argument
109 View playerView = LayoutInflater.from(viewGroup.getContext()) in onCreateViewHolder()
110 .inflate(R.layout.audio_player_item, viewGroup, false); in onCreateViewHolder()
/packages/apps/Contacts/tests/src/com/android/contacts/test/
DIntegrationTestUtils.java185 ViewGroup viewGroup = (ViewGroup) parent;
186 for (int i = 0; i < viewGroup.getChildCount(); ++i) {
187 results.addAll(getAllViews(clazz, viewGroup.getChildAt(i)));
/packages/apps/Car/libs/car-ui-lib/referencedesign/sharedlibrary/src/main/java/com/chassis/car/ui/sharedlibrary/toolbar/
DMenuItemView.java133 ViewGroup viewGroup = ((ViewGroup) view); in recursiveSetEnabledAndDrawableState() local
134 for (int i = 0; i < viewGroup.getChildCount(); i++) { in recursiveSetEnabledAndDrawableState()
135 recursiveSetEnabledAndDrawableState(viewGroup.getChildAt(i)); in recursiveSetEnabledAndDrawableState()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/toolbar/
DMenuItemRenderer.java178 ViewGroup viewGroup = ((ViewGroup) view); in recursiveSetEnabledAndDrawableState() local
179 for (int i = 0; i < viewGroup.getChildCount(); i++) { in recursiveSetEnabledAndDrawableState()
180 recursiveSetEnabledAndDrawableState(viewGroup.getChildAt(i)); in recursiveSetEnabledAndDrawableState()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/
DHvacController.java211 ViewGroup viewGroup = (ViewGroup) v; in addTemperatureViewToController() local
212 for (int i = 0; i < viewGroup.getChildCount(); i++) { in addTemperatureViewToController()
213 addTemperatureViewToController(viewGroup.getChildAt(i)); in addTemperatureViewToController()

123