/frameworks/support/core/ktx/src/androidTest/java/androidx/core/view/ |
H A D | ViewGroupTest.kt | 35 private val viewGroup = LinearLayout(context) 39 viewGroup.addView(view1) 41 viewGroup.addView(view2) 43 assertSame(view1, viewGroup[0]) 44 assertSame(view2, viewGroup[1]) 47 viewGroup[-1] 51 viewGroup[2] 57 viewGroup.addView(view1) 58 assertTrue(view1 in viewGroup) 59 assertFalse(view1 !in viewGroup) [all...] |
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/ |
H A D | ActionBarContainerTest.java | 40 TestViewGroup viewGroup = new TestViewGroup(mContext); 41 viewGroup.addView(mActionBarContainer); 48 assertFalse(viewGroup.isStartActionModeForChildTypedCalled); 49 assertFalse(viewGroup.isStartActionModeForChildTypelessCalled); 55 assertFalse(viewGroup.isStartActionModeForChildTypedCalled); 56 assertFalse(viewGroup.isStartActionModeForChildTypelessCalled); 60 TestViewGroup viewGroup = new TestViewGroup(mContext); 61 viewGroup.addView(mActionBarContainer); 66 assertTrue(viewGroup.isStartActionModeForChildTypedCalled);
|
/frameworks/support/transition/src/main/java/androidx/transition/ |
H A D | GhostViewUtils.java | 26 static GhostViewImpl addGhost(View view, ViewGroup viewGroup, Matrix matrix) { argument 28 return GhostViewApi21.addGhost(view, viewGroup, matrix); 30 return GhostViewApi14.addGhost(view, viewGroup);
|
H A D | GhostViewImpl.java | 30 void reserveEndViewTransition(ViewGroup viewGroup, View view); argument
|
H A D | ViewGroupOverlayApi14.java | 31 static ViewGroupOverlayApi14 createFrom(ViewGroup viewGroup) { argument 32 return (ViewGroupOverlayApi14) ViewOverlayApi14.createFrom(viewGroup);
|
H A D | GhostViewApi14.java | 45 static GhostViewImpl addGhost(View view, ViewGroup viewGroup) { argument 48 FrameLayout frameLayout = findFrameLayout(viewGroup); 76 * viewGroup}. 78 private static FrameLayout findFrameLayout(ViewGroup viewGroup) { argument 79 while (!(viewGroup instanceof FrameLayout)) { 80 ViewParent parent = viewGroup.getParent(); 84 viewGroup = (ViewGroup) parent; 86 return (FrameLayout) viewGroup; 181 public void reserveEndViewTransition(ViewGroup viewGroup, View view) { argument 182 mStartParent = viewGroup; [all...] |
H A D | GhostViewApi21.java | 42 static GhostViewImpl addGhost(View view, ViewGroup viewGroup, Matrix matrix) { argument 47 (View) sAddGhostMethod.invoke(null, view, viewGroup, matrix)); 83 public void reserveEndViewTransition(ViewGroup viewGroup, View view) { argument
|
/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);
|
/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...] |
/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/base/apct-tests/perftests/core/src/android/widget/ |
H A D | LayoutPerfTest.java | 91 ViewGroup viewGroup = (ViewGroup) activity.findViewById(mViewId); 93 List<View> allNodes = gatherViewTree(viewGroup); 102 viewGroup.measure(mMeasureSpecs[i % length], mMeasureSpecs[i % length]); 103 viewGroup.layout(0, 0, viewGroup.getMeasuredWidth(), viewGroup.getMeasuredHeight());
|
/frameworks/support/compat/src/main/java/androidx/core/view/ |
H A D | NestedScrollingParentHelper.java | 50 public NestedScrollingParentHelper(@NonNull ViewGroup viewGroup) { argument 51 mViewGroup = viewGroup;
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/ |
H A D | RvArrayAdapter.java | 46 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) { argument 48 mLayoutInflater = LayoutInflater.from(viewGroup.getContext()); 50 View v = mLayoutInflater.inflate(android.R.layout.simple_list_item_1, viewGroup, false);
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/ |
H A D | ListViewActivity.java | 58 public View getView(int i, View view, ViewGroup viewGroup) { 61 view = LayoutInflater.from(viewGroup.getContext()).inflate( 62 R.layout.list_view_item, viewGroup, false);
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/ |
H A D | ListViewActivity.java | 58 public View getView(int i, View view, ViewGroup viewGroup) { 61 view = LayoutInflater.from(viewGroup.getContext()).inflate( 62 R.layout.list_view_item, viewGroup, false);
|
/frameworks/support/frameworks/support/samples/SupportLeanbackJank/src/main/java/com/google/android/leanbackjank/presenter/ |
H A D | HeaderItemPresenter.java | 39 public ViewHolder onCreateViewHolder(ViewGroup viewGroup) { argument 40 mUnselectedAlpha = viewGroup.getResources() 42 LayoutInflater inflater = (LayoutInflater) viewGroup.getContext()
|
/frameworks/support/samples/SupportLeanbackJank/src/main/java/com/google/android/leanbackjank/presenter/ |
H A D | HeaderItemPresenter.java | 39 public ViewHolder onCreateViewHolder(ViewGroup viewGroup) { argument 40 mUnselectedAlpha = viewGroup.getResources() 42 LayoutInflater inflater = (LayoutInflater) viewGroup.getContext()
|
/frameworks/support/fragment/src/main/java/androidx/fragment/app/ |
H A D | FragmentTransitionImpl.java | 191 ViewGroup viewGroup = (ViewGroup) view; 192 if (ViewGroupCompat.isTransitionGroup(viewGroup)) { 193 transitioningViews.add(viewGroup); 195 int count = viewGroup.getChildCount(); 197 View child = viewGroup.getChildAt(i); 218 ViewGroup viewGroup = (ViewGroup) view; 219 int count = viewGroup.getChildCount(); 221 View child = viewGroup.getChildAt(i); 319 ViewGroup viewGroup = (ViewGroup) view; 320 final int childCount = viewGroup [all...] |
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/ |
H A D | OnboardingDemoFragment.java | 80 protected View onCreateBackgroundView(LayoutInflater layoutInflater, ViewGroup viewGroup) { argument 81 mBackgroundView = layoutInflater.inflate(R.layout.onboarding_image, viewGroup, false); 86 protected View onCreateContentView(LayoutInflater layoutInflater, ViewGroup viewGroup) { argument 87 mContentView = layoutInflater.inflate(R.layout.onboarding_content, viewGroup, false); 94 protected View onCreateForegroundView(LayoutInflater layoutInflater, ViewGroup viewGroup) { argument
|
H A D | OnboardingDemoSupportFragment.java | 83 protected View onCreateBackgroundView(LayoutInflater layoutInflater, ViewGroup viewGroup) { argument 84 mBackgroundView = layoutInflater.inflate(R.layout.onboarding_image, viewGroup, false); 89 protected View onCreateContentView(LayoutInflater layoutInflater, ViewGroup viewGroup) { argument 90 mContentView = layoutInflater.inflate(R.layout.onboarding_content, viewGroup, false); 97 protected View onCreateForegroundView(LayoutInflater layoutInflater, ViewGroup viewGroup) { argument
|
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/ |
H A D | OnboardingDemoFragment.java | 80 protected View onCreateBackgroundView(LayoutInflater layoutInflater, ViewGroup viewGroup) { argument 81 mBackgroundView = layoutInflater.inflate(R.layout.onboarding_image, viewGroup, false); 86 protected View onCreateContentView(LayoutInflater layoutInflater, ViewGroup viewGroup) { argument 87 mContentView = layoutInflater.inflate(R.layout.onboarding_content, viewGroup, false); 94 protected View onCreateForegroundView(LayoutInflater layoutInflater, ViewGroup viewGroup) { argument
|
H A D | OnboardingDemoSupportFragment.java | 83 protected View onCreateBackgroundView(LayoutInflater layoutInflater, ViewGroup viewGroup) { argument 84 mBackgroundView = layoutInflater.inflate(R.layout.onboarding_image, viewGroup, false); 89 protected View onCreateContentView(LayoutInflater layoutInflater, ViewGroup viewGroup) { argument 90 mContentView = layoutInflater.inflate(R.layout.onboarding_content, viewGroup, false); 97 protected View onCreateForegroundView(LayoutInflater layoutInflater, ViewGroup viewGroup) { argument
|
/frameworks/base/core/tests/coretests/src/android/animation/ |
H A D | StateListAnimatorTest.java | 65 ViewGroup viewGroup = (ViewGroup) getActivity().findViewById(android.R.id.content); 67 viewGroup.addView(view); 79 viewGroup.removeView(view);
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
H A D | FloatingToolbarEspressoUtils.java | 163 ViewGroup viewGroup = (ViewGroup) view; 164 for (int i = 0; i < viewGroup.getChildCount(); i++) { 165 collectMenuItemIds(viewGroup.getChildAt(i)); 213 ViewGroup viewGroup = (ViewGroup) view; 214 for (int i = 0; i < viewGroup.getChildCount(); i++) { 215 if (containsItem(viewGroup.getChildAt(i))) {
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/ |
H A D | VolumeDialogImplTest.java | 103 ViewGroup viewGroup = (ViewGroup) view; 104 for (int i = 0; i < viewGroup.getChildCount(); i++) { 105 navigateViews(viewGroup.getChildAt(i), condition);
|