Home
last modified time | relevance | path

Searched refs:child1 (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DTableLayoutTest.java378 View child1 = new TextView(mContext); in testAddView1() local
379 tableLayout.addView(child1); in testAddView1()
380 assertSame(child1, tableLayout.getChildAt(0)); in testAddView1()
387 assertSame(child1, tableLayout.getChildAt(0)); in testAddView1()
396 assertSame(child1, tableLayout.getChildAt(0)); in testAddView1()
414 View child1 = new TextView(mContext); in testAddView2() local
415 tableLayout.addView(child1, 0); in testAddView2()
416 assertSame(child1, tableLayout.getChildAt(0)); in testAddView2()
424 assertSame(child1, tableLayout.getChildAt(1)); in testAddView2()
433 assertSame(child1, tableLayout.getChildAt(1)); in testAddView2()
[all …]
DGridViewTest.java268 View child1 = mGridView.getChildAt(1); in testSetHorizontalSpacing() local
270 assertEquals(0, child1.getLeft() - child0.getRight()); in testSetHorizontalSpacing()
272 assertEquals(0, child0.getLeft() - child1.getRight()); in testSetHorizontalSpacing()
283 child1 = mGridView.getChildAt(1); in testSetHorizontalSpacing()
285 assertEquals(5, child1.getLeft() - child0.getRight()); in testSetHorizontalSpacing()
287 assertEquals(5, child0.getLeft() - child1.getRight()); in testSetHorizontalSpacing()
304 View child1 = mGridView.getChildAt(1); in testSetVerticalSpacing() local
305 assertEquals(0, child1.getTop() - child0.getBottom()); in testSetVerticalSpacing()
315 child1 = mGridView.getChildAt(1); in testSetVerticalSpacing()
316 assertEquals(5, child1.getTop() - child0.getBottom()); in testSetVerticalSpacing()
[all …]
DScrollViewTest.java111 TextView child1 = new TextView(mActivity); in testAddView() local
113 scrollView.addView(child1); in testAddView()
128 TextView child1 = new TextView(mActivity); in testAddViewWithIndex() local
130 scrollView.addView(child1, 1); in testAddViewWithIndex()
143 child1 = new TextView(mActivity); in testAddViewWithIndex()
145 scrollView.addView(child1, -1); in testAddViewWithIndex()
171 TextView child1 = new TextView(mActivity); in testAddViewWithLayoutParams() local
173 scrollView.addView(child1, new ViewGroup.LayoutParams(200, 100)); in testAddViewWithLayoutParams()
200 TextView child1 = new TextView(mActivity); in testAddViewWithIndexAndLayoutParams() local
202 scrollView.addView(child1, 0, new ViewGroup.LayoutParams(200, 100)); in testAddViewWithIndexAndLayoutParams()
[all …]
DHorizontalScrollViewTest.java93 TextView child1 = new TextView(mActivity); in testAddView() local
95 scrollView.addView(child1); in testAddView()
110 TextView child1 = new TextView(mActivity); in testAddViewWithIndex() local
112 scrollView.addView(child1, 1); in testAddViewWithIndex()
125 child1 = new TextView(mActivity); in testAddViewWithIndex()
127 scrollView.addView(child1, -1); in testAddViewWithIndex()
153 TextView child1 = new TextView(mActivity); in testAddViewWithLayoutParams() local
155 scrollView.addView(child1, new ViewGroup.LayoutParams(200, 100)); in testAddViewWithLayoutParams()
182 TextView child1 = new TextView(mActivity); in testAddViewWithIndexAndLayoutParams() local
184 scrollView.addView(child1, 0, new ViewGroup.LayoutParams(200, 100)); in testAddViewWithIndexAndLayoutParams()
[all …]
DLayoutDirectionTest.java109 ViewGroup child1 = (ViewGroup) getActivity().findViewById(child1Id); in checkDirectionForOneLayoutFromXml() local
110 assertEquals(child1ResDir, child1.getLayoutDirection()); in checkDirectionForOneLayoutFromXml()
/cts/tests/tests/view/src/android/view/animation/cts/
DGridLayoutAnimationControllerTest.java120 private void assertChildrenDelay(Animation child1, Animation child2, Animation child3) { in assertChildrenDelay() argument
121 long startTime = child1.getStartTime(); in assertChildrenDelay()
122 long offsetTime1 = child1.getStartOffset(); in assertChildrenDelay()
134 child1.getTransformation(startTime + 500, transformation1); in assertChildrenDelay()
142 child1.getTransformation(startTime + 1200, transformation1); in assertChildrenDelay()
150 child1.getTransformation(startTime + 2000, transformation1); in assertChildrenDelay()
158 child1.getTransformation(startTime + 2700, transformation1); in assertChildrenDelay()
166 child1.getTransformation(startTime + 3500, transformation1); in assertChildrenDelay()
293 final View child1 = mGridView.getChildAt(INDEX_OF_CHILD1);
304 child1.setLayoutParams(layoutParams1);
[all …]
DAnimatorInflaterTest.java99 final ObjectAnimator child1 = (ObjectAnimator) set.getChildAnimations().get(0); in testLoadAnimator() local
105 for (ObjectAnimator animator : new ObjectAnimator[]{child1, child2}) { in testLoadAnimator()
DLayoutAnimationControllerTest.java354 final View child1 = mListView.getChildAt(INDEX_OF_CHILD1);
359 child1.setLayoutParams(layoutParams1);
368 assertEquals(0, controller.getDelayForView(child1));
/cts/suite/cts/deviceTests/browserbench/assets/octane/
Dbox2d.js80 …(var f=this.m_root,m=0;f.IsLeaf()==false;){f=this.m_path>>m&1?f.child2:f.child1;m=m+1&31}++this.m_…
81 …-m];if(r.aabb.TestOverlap(e))if(r.IsLeaf()){if(!b(r))break}else{f[m++]=r.child1;f[m++]=r.child2}}}…
82 …perBound.x=Math.max(f.x,x);t.upperBound.y=Math.max(f.y,C)}}else{J[T++]=v.child1;J[T++]=v.child2}}}…
83child1=null;b.child2=null;return b}return new H};u.prototype.FreeNode=function(b){b.parent=this.m_…
84child1==f)e.child1=m;else e.child2=m;m.child1=f;m.child2=b;f.parent=m;b.parent=m;do{if(e.aabb.Cont…
85 …=e.child1==b?e.child2:e.child1;if(f){if(f.child1==e)f.child1=b;else f.child2=b;b.parent=f;for(this…
89 …de=function(){this.aabb=new B};H.prototype.IsLeaf=function(){return this.child1==null};O.b2Dynamic…