Searched refs:viewGroup (Results 1 - 17 of 17) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
H A DActionBarContainerTest.java38 TestViewGroup viewGroup = new TestViewGroup(mContext);
39 viewGroup.addView(mActionBarContainer);
46 assertFalse(viewGroup.isStartActionModeForChildTypedCalled);
47 assertFalse(viewGroup.isStartActionModeForChildTypelessCalled);
53 assertFalse(viewGroup.isStartActionModeForChildTypedCalled);
54 assertFalse(viewGroup.isStartActionModeForChildTypelessCalled);
58 TestViewGroup viewGroup = new TestViewGroup(mContext);
59 viewGroup.addView(mActionBarContainer);
66 assertTrue(viewGroup.isStartActionModeForChildTypedCalled);
/frameworks/support/v4/java/android/support/v4/view/
H A DNestedScrollingParentHelper.java45 public NestedScrollingParentHelper(ViewGroup viewGroup) { argument
46 mViewGroup = viewGroup;
H A DViewCompat.java357 public void setChildrenDrawingOrderEnabled(ViewGroup viewGroup, boolean enabled); argument
779 public void setChildrenDrawingOrderEnabled(ViewGroup viewGroup, boolean enabled) { argument
975 public void setChildrenDrawingOrderEnabled(ViewGroup viewGroup, boolean enabled) { argument
976 ViewCompatEclairMr1.setChildrenDrawingOrderEnabled(viewGroup, enabled);
2628 public static void setChildrenDrawingOrderEnabled(ViewGroup viewGroup, boolean enabled) { argument
2629 IMPL.setChildrenDrawingOrderEnabled(viewGroup, enabled);
/frameworks/data-binding/samples/BindingDemo/app/src/main/java/com/android/example/bindingdemo/
H A DDataBoundAdapter.java20 public DataBoundAdapter.DataBoundViewHolder<T> onCreateViewHolder(ViewGroup viewGroup, argument
22 T binder = DataBindingUtil.inflate(LayoutInflater.from(viewGroup.getContext()), mLayoutId,
23 viewGroup, false);
H A DMainActivity.java157 public DataBoundViewHolder<ListItemBinding> onCreateViewHolder(ViewGroup viewGroup, int type) { argument
158 DataBoundViewHolder<ListItemBinding> vh = super.onCreateViewHolder(viewGroup, type);
/frameworks/base/core/java/android/view/
H A DGhostView.java94 public static GhostView addGhost(View view, ViewGroup viewGroup, Matrix matrix) { argument
98 ViewGroupOverlay overlay = viewGroup.getOverlay();
114 calculateMatrix(view, viewGroup, matrix);
120 copySize(viewGroup, parent);
121 copySize(viewGroup, ghostView);
134 public static GhostView addGhost(View view, ViewGroup viewGroup) { argument
135 return addGhost(view, viewGroup, null);
167 private static int moveGhostViewsToTop(ViewGroup viewGroup, ArrayList<View> tempViews) { argument
168 final int numChildren = viewGroup.getChildCount();
171 } else if (isGhostWrapper(viewGroup
213 insertIntoOverlay(ViewGroup viewGroup, ViewGroup wrapper, GhostView ghostView, ArrayList<View> tempParents, int firstGhost) argument
[all...]
H A DLayoutInflater.java836 final ViewGroup viewGroup = (ViewGroup) parent;
837 final ViewGroup.LayoutParams params = viewGroup.generateLayoutParams(attrs);
839 viewGroup.addView(view, params);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DPseudoGridView.java140 * Usage: {@code ViewGroupAdapterBridge.link(viewGroup, adapter)}
150 public static void link(ViewGroup viewGroup, BaseAdapter adapter) { argument
151 new ViewGroupAdapterBridge(viewGroup, adapter);
154 private ViewGroupAdapterBridge(ViewGroup viewGroup, BaseAdapter adapter) { argument
155 mViewGroup = new WeakReference<>(viewGroup);
166 ViewGroup viewGroup = mViewGroup.get();
167 if (viewGroup == null) {
171 final int childCount = viewGroup.getChildCount();
178 oldView = viewGroup.getChildAt(i);
180 View newView = mAdapter.getView(i, oldView, viewGroup);
[all...]
/frameworks/support/v4/eclair-mr1/android/support/v4/view/
H A DViewCompatEclairMr1.java36 public static void setChildrenDrawingOrderEnabled(ViewGroup viewGroup, boolean enabled) { argument
47 sChildrenDrawingOrderMethod.invoke(viewGroup, enabled);
/frameworks/base/core/tests/coretests/src/android/animation/
H A DStateListAnimatorTest.java64 ViewGroup viewGroup = (ViewGroup) getActivity().findViewById(android.R.id.content);
66 viewGroup.addView(view);
78 viewGroup.removeView(view);
/frameworks/support/v4/api21/android/support/v4/app/
H A DFragmentTransitionCompat21.java254 ViewGroup viewGroup = (ViewGroup) view;
255 final int childCount = viewGroup.getChildCount();
257 final View child = viewGroup.getChildAt(childIndex);
308 ViewGroup viewGroup = (ViewGroup) view;
309 if (viewGroup.isTransitionGroup()) {
310 transitioningViews.add(viewGroup);
312 int count = viewGroup.getChildCount();
314 View child = viewGroup.getChildAt(i);
331 ViewGroup viewGroup = (ViewGroup) view;
332 int count = viewGroup
[all...]
/frameworks/data-binding/library/src/main/java/android/databinding/
H A DViewDataBinding.java633 final ViewGroup viewGroup = (ViewGroup) view;
634 final int count = viewGroup.getChildCount();
637 final View child = viewGroup.getChildAt(i);
651 int lastMatchingIndex = findLastMatching(viewGroup, i);
659 included[j] = viewGroup.getChildAt(i + j);
691 private static int findLastMatching(ViewGroup viewGroup, int firstIncludedIndex) { argument
692 final View firstView = viewGroup.getChildAt(firstIncludedIndex);
697 final int count = viewGroup.getChildCount();
700 final View view = viewGroup.getChildAt(i);
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DBasicBindingTest.java148 ViewGroup viewGroup = (ViewGroup) mBinder.getRoot();
150 BasicBindingBinding.inflate(getActivity().getLayoutInflater(), viewGroup, true);
/frameworks/base/test-runner/src/android/test/
H A DTouchUtils.java787 private ViewStateSnapshot(ViewGroup viewGroup) { argument
788 mChildCount = viewGroup.getChildCount();
793 mFirst = viewGroup.getChildAt(0);
794 mLast = viewGroup.getChildAt(mChildCount - 1);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderSessionImpl.java1179 * @param viewGroup the root View
1186 private List<ViewInfo> visitAllChildren(ViewGroup viewGroup, int offset, argument
1188 if (viewGroup == null) {
1193 offset += viewGroup.getTop();
1196 int childCount = viewGroup.getChildCount();
1197 if (viewGroup == mContentRoot) {
1201 ViewInfo[] childViewInfo = visitContentRoot(viewGroup.getChildAt(i), offset,
1211 children.add(visit(viewGroup.getChildAt(i), offset, setExtendedInfo,
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DRecyclerView.java4612 private void invalidateDisplayListInt(ViewGroup viewGroup, boolean invalidateThis) { argument
4613 for (int i = viewGroup.getChildCount() - 1; i >= 0; i--) {
4614 final View view = viewGroup.getChildAt(i);
4623 if (viewGroup.getVisibility() == View.INVISIBLE) {
4624 viewGroup.setVisibility(View.VISIBLE);
4625 viewGroup.setVisibility(View.INVISIBLE);
4627 final int visibility = viewGroup.getVisibility();
4628 viewGroup.setVisibility(View.INVISIBLE);
4629 viewGroup.setVisibility(visibility);
/frameworks/base/core/java/android/app/
H A DBackStackRecord.java1357 ViewGroup viewGroup = (ViewGroup) view;
1358 final int childCount = viewGroup.getChildCount();
1360 final View child = viewGroup.getChildAt(childIndex);

Completed in 948 milliseconds