/frameworks/base/core/tests/coretests/src/com/android/internal/widget/ |
H A D | ActionBarContainerTest.java | 38 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 D | NestedScrollingParentHelper.java | 45 public NestedScrollingParentHelper(ViewGroup viewGroup) { argument 46 mViewGroup = viewGroup;
|
H A D | ViewCompat.java | 357 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 D | DataBoundAdapter.java | 20 public DataBoundAdapter.DataBoundViewHolder<T> onCreateViewHolder(ViewGroup viewGroup, argument 22 T binder = DataBindingUtil.inflate(LayoutInflater.from(viewGroup.getContext()), mLayoutId, 23 viewGroup, false);
|
H A D | MainActivity.java | 157 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 D | GhostView.java | 94 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 D | LayoutInflater.java | 836 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 D | PseudoGridView.java | 140 * 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 D | ViewCompatEclairMr1.java | 36 public static void setChildrenDrawingOrderEnabled(ViewGroup viewGroup, boolean enabled) { argument 47 sChildrenDrawingOrderMethod.invoke(viewGroup, enabled);
|
/frameworks/base/core/tests/coretests/src/android/animation/ |
H A D | StateListAnimatorTest.java | 64 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 D | FragmentTransitionCompat21.java | 254 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 D | ViewDataBinding.java | 633 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 D | BasicBindingTest.java | 148 ViewGroup viewGroup = (ViewGroup) mBinder.getRoot(); 150 BasicBindingBinding.inflate(getActivity().getLayoutInflater(), viewGroup, true);
|
/frameworks/base/test-runner/src/android/test/ |
H A D | TouchUtils.java | 787 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 D | RenderSessionImpl.java | 1179 * @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 D | RecyclerView.java | 4612 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 D | BackStackRecord.java | 1357 ViewGroup viewGroup = (ViewGroup) view; 1358 final int childCount = viewGroup.getChildCount(); 1360 final View child = viewGroup.getChildAt(childIndex);
|