Home
last modified time | relevance | path

Searched refs:view1 (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
DGlobalActionsLayoutTest.java175 View view1 = new View(mContext, null); in testOnUpdateList_oneSeparatedOneList() local
178 doReturn(view1).when(mAdapter).getView(eq(0), any(), any()); in testOnUpdateList_oneSeparatedOneList()
188 assertEquals(view1, mLayout.mSeparatedViews.get(0)); in testOnUpdateList_oneSeparatedOneList()
197 View view1 = new View(mContext, null); in testOnUpdateList_twoSeparatedItems() local
200 doReturn(view1).when(mAdapter).getView(eq(0), any(), any()); in testOnUpdateList_twoSeparatedItems()
210 assertEquals(view1, mLayout.mSeparatedViews.get(0)); in testOnUpdateList_twoSeparatedItems()
222 View view1 = new View(mContext, null); in testOnUpdateList_twoSeparatedItems_reverse() local
225 doReturn(view1).when(mAdapter).getView(eq(0), any(), any()); in testOnUpdateList_twoSeparatedItems_reverse()
237 assertEquals(view1, mLayout.mSeparatedViews.get(0)); in testOnUpdateList_twoSeparatedItems_reverse()
245 View view1 = new View(mContext, null); in testOnUpdateList_fourInList() local
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DBackgroundFallback.java177 private boolean viewsCoverEntireWidth(View view1, View view2, int width) { in viewsCoverEntireWidth() argument
178 return view1.getLeft() <= 0 in viewsCoverEntireWidth()
179 && view1.getRight() >= view2.getLeft() in viewsCoverEntireWidth()