Home
last modified time | relevance | path

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

/cts/tests/leanbackjank/app/src/android/leanbackjank/app/presenter/
DIconHeaderItemPresenter.java37 public ViewHolder onCreateViewHolder(ViewGroup viewGroup) { in onCreateViewHolder() argument
38 mUnselectedAlpha = viewGroup.getResources() in onCreateViewHolder()
40 LayoutInflater inflater = (LayoutInflater) viewGroup.getContext() in onCreateViewHolder()
/cts/tests/tests/widget/src/android/widget/cts/
DLinearLayoutTest.java402 private void checkBounds(final ViewGroup viewGroup, final View view, in checkBounds() argument
405viewGroup.getViewTreeObserver().addOnPreDrawListener(new ViewTreeObserver.OnPreDrawListener() { in checkBounds()
413 viewGroup.getViewTreeObserver().removeOnPreDrawListener(this); in checkBounds()
437 final ViewGroup viewGroup = (ViewGroup) mActivity.findViewById(R.id.linearlayout_root); in testVisibilityAffectsLayout() local
442 viewGroup.removeAllViews(); in testVisibilityAffectsLayout()
443 viewGroup.addView(parent); in testVisibilityAffectsLayout()
446 checkBounds(viewGroup, child1, countDownLatch1, 0, 0, childWidth, childHeight); in testVisibilityAffectsLayout()
447 checkBounds(viewGroup, child2, countDownLatch1, in testVisibilityAffectsLayout()
457 checkBounds(viewGroup, child2, countDownLatch2, 0, 0, childWidth, childHeight); in testVisibilityAffectsLayout()
466 checkBounds(viewGroup, child1, countDownLatch3, 0, 0, childWidth, childHeight); in testVisibilityAffectsLayout()
[all …]
DSimpleCursorAdapterTest.java329 ViewGroup viewGroup = (ViewGroup) layoutInflater.inflate( in testNewView() local
331 View result = simpleCursorAdapter.newView(mContext, null, viewGroup); in testNewView()
345 ViewGroup viewGroup = (ViewGroup) layoutInflater.inflate( in testNewDropDownView() local
347 View result = simpleCursorAdapter.newDropDownView(null, null, viewGroup); in testNewDropDownView()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java454 ViewGroup viewGroup = (ViewGroup) mActivity.findViewById(R.id.viewlayout_root); in testAccessTag() local
462 viewGroup.setTag(viewData); in testAccessTag()
463 viewGroup.setFocusable(true); in testAccessTag()
464 assertSame(viewData, viewGroup.getTag()); in testAccessTag()
471 scrollView.setTag(viewGroup); in testAccessTag()
472 assertSame(viewGroup, scrollView.getTag()); in testAccessTag()
474 assertSame(viewGroup, viewGroup.findViewWithTag(viewData)); in testAccessTag()
475 assertSame(mockView, viewGroup.findViewWithTag(tag)); in testAccessTag()
476 assertSame(scrollView, viewGroup.findViewWithTag(viewGroup)); in testAccessTag()
483 final ViewGroup viewGroup = (ViewGroup) mActivity.findViewById(R.id.viewlayout_root); in testOnSizeChanged() local
[all …]
/cts/tests/tests/animation/src/android/animation/cts/
DAnimationActivity.java78 ViewGroup viewGroup = (ViewGroup) findViewById(R.id.container); in onCreate() local
79 viewGroup.addView(view); in onCreate()
/cts/tests/tests/transition/src/android/transition/cts/
DTransitionTest.java435 public long getStartDelay(ViewGroup viewGroup, Transition transition, in testPropagation()