Home
last modified time | relevance | path

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

123

/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/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/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/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/
DPreviewAdapter.java55 public BaseViewHolder onCreateViewHolder(@NonNull ViewGroup viewGroup, int viewType) { in onCreateViewHolder() argument
57 return new PreviewImageHolder(viewGroup.getContext(), viewGroup, mImageLoader); in onCreateViewHolder()
59 return new PreviewVideoHolder(viewGroup.getContext(), viewGroup, mImageLoader, in onCreateViewHolder()
DPhotosTabAdapter.java62 public BaseViewHolder onCreateViewHolder(@NonNull ViewGroup viewGroup, int viewType) { in onCreateViewHolder() argument
64 return new DateHeaderHolder(viewGroup.getContext(), viewGroup); in onCreateViewHolder()
66 return new PhotoGridHolder(viewGroup.getContext(), viewGroup, mImageLoader, in onCreateViewHolder()
DAlbumsTabAdapter.java55 public BaseViewHolder onCreateViewHolder(@NonNull ViewGroup viewGroup, int viewType) { in onCreateViewHolder() argument
56 return new AlbumGridHolder(viewGroup.getContext(), viewGroup, mImageLoader, in onCreateViewHolder()
/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/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/panel/
DPanelSlicesAdapter.java72 public SliceRowViewHolder onCreateViewHolder(@NonNull ViewGroup viewGroup, int viewType) { in onCreateViewHolder() argument
73 final Context context = viewGroup.getContext(); in onCreateViewHolder()
77 view = inflater.inflate(R.layout.panel_slice_slider_row, viewGroup, false); in onCreateViewHolder()
79 view = inflater.inflate(R.layout.panel_slice_row, viewGroup, false); in onCreateViewHolder()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/
DHvacController.java237 ViewGroup viewGroup = (ViewGroup) rootView; in registerHvacViews() local
238 for (int i = 0; i < viewGroup.getChildCount(); i++) { in registerHvacViews()
239 registerHvacViews(viewGroup.getChildAt(i)); in registerHvacViews()
257 ViewGroup viewGroup = (ViewGroup) rootView; in unregisterViews() local
258 for (int i = 0; i < viewGroup.getChildCount(); i++) { in unregisterViews()
259 unregisterViews(viewGroup.getChildAt(i)); in unregisterViews()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsTransitionController.java460 ViewGroup viewGroup = (ViewGroup) v;
461 boolean oldClipChildren = viewGroup.getClipChildren();
464 viewGroup.setClipChildren(clipChildren);
494 ViewGroup viewGroup = (ViewGroup) v;
495 Object viewTag = viewGroup.getTag(R.id.saved_clip_children_tag_id);
497 viewGroup.setClipChildren((boolean) viewTag);
498 viewGroup.setTag(R.id.saved_clip_children_tag_id, null);
/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/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/Settings/src/com/android/settings/dream/
DDreamAdapter.java169 public RecyclerView.ViewHolder onCreateViewHolder(@NonNull ViewGroup viewGroup, in onCreateViewHolder() argument
171 View view = LayoutInflater.from(viewGroup.getContext()) in onCreateViewHolder()
172 .inflate(mLayouts.get(viewType), viewGroup, false); in onCreateViewHolder()
173 return new DreamViewHolder(view, viewGroup.getContext()); in onCreateViewHolder()
/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/ThemePicker/src/com/android/customization/picker/color/ui/binder/
DColorPickerBinder.kt66 val viewGroup = foregroundView as? ViewGroup in <lambda>() constant
67 viewGroup?.let { ColorOptionIconBinder.bind(viewGroup, colorIcon) } in <lambda>()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/window/
DOverlayViewController.java188 ViewGroup viewGroup = (ViewGroup) mLayout; in setAllowRotaryFocus() local
192 if (viewGroup.getDescendantFocusability() == newFocusability) { in setAllowRotaryFocus()
195 viewGroup.setDescendantFocusability(newFocusability); in setAllowRotaryFocus()
/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()
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/fragment/
DClockCustomDemoFragment.kt69 override fun onCreateViewHolder(viewGroup: ViewGroup, viewType: Int): ViewHolder { in onCreateViewHolder()
70 val rootView = FrameLayout(viewGroup.context) in onCreateViewHolder()
72 TextView(ContextThemeWrapper(viewGroup.context, R.style.SectionTitleTextStyle)) 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/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()

123