Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DPopupMenuTest.java339 View itemView = null; in testItemViewAttributes() local
342 itemView = menuItemList.getChildAt(i); in testItemViewAttributes()
343 assertNotNull(itemView); in testItemViewAttributes()
353 if (itemView != null) { in testItemViewAttributes()
355 assertNull(itemView.getTooltipText()); in testItemViewAttributes()
356 assertEquals(item.getContentDescription(), itemView.getContentDescription()); in testItemViewAttributes()
380 View itemView = menuItemList.getChildAt(i); in testGroupDivider() local
382 ImageView groupDivider = itemView.findViewById( in testGroupDivider()
DListPopupWindowTest.java946 View itemView = null; in getContentWidth() local
953 itemView = null; in getContentWidth()
955 itemView = listAdapter.getView(i, itemView, null); in getContentWidth()
956 if (itemView.getLayoutParams() == null) { in getContentWidth()
957 itemView.setLayoutParams(new ViewGroup.LayoutParams( in getContentWidth()
961 itemView.measure(View.MeasureSpec.UNSPECIFIED, View.MeasureSpec.UNSPECIFIED); in getContentWidth()
962 width = Math.max(width, itemView.getMeasuredWidth()); in getContentWidth()