Searched refs:view2 (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/ |
D | GlobalActionsLayoutTest.java | 176 View view2 = new View(mContext, null); in testOnUpdateList_oneSeparatedOneList() local 181 doReturn(view2).when(mAdapter).getView(eq(1), any(), any()); in testOnUpdateList_oneSeparatedOneList() 189 assertEquals(view2, mLayout.mListViews.get(0)); in testOnUpdateList_oneSeparatedOneList() 198 View view2 = new View(mContext, null); in testOnUpdateList_twoSeparatedItems() local 202 doReturn(view2).when(mAdapter).getView(eq(1), any(), any()); in testOnUpdateList_twoSeparatedItems() 211 assertEquals(view2, mLayout.mSeparatedViews.get(1)); in testOnUpdateList_twoSeparatedItems() 223 View view2 = new View(mContext, null); in testOnUpdateList_twoSeparatedItems_reverse() local 228 doReturn(view2).when(mAdapter).getView(eq(1), any(), any()); in testOnUpdateList_twoSeparatedItems_reverse() 238 assertEquals(view2, mLayout.mSeparatedViews.get(1)); in testOnUpdateList_twoSeparatedItems_reverse() 246 View view2 = new View(mContext, null); in testOnUpdateList_fourInList() local [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | BackgroundFallback.java | 177 private boolean viewsCoverEntireWidth(View view1, View view2, int width) { in viewsCoverEntireWidth() argument 179 && view1.getRight() >= view2.getLeft() in viewsCoverEntireWidth() 180 && view2.getRight() >= width; in viewsCoverEntireWidth()
|