Home
last modified time | relevance | path

Searched refs:listItem (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/hardware/biometrics/
DPromptVerticalListContentView.java179 public Builder addListItem(@NonNull PromptContentItem listItem) { in addListItem() argument
180 mContentList.add((PromptContentItemParcelable) listItem); in addListItem()
181 checkItemLimits(listItem); in addListItem()
195 public Builder addListItem(@NonNull PromptContentItem listItem, int index) { in addListItem() argument
196 mContentList.add(index, (PromptContentItemParcelable) listItem); in addListItem()
197 checkItemLimits(listItem); in addListItem()
201 private void checkItemLimits(@NonNull PromptContentItem listItem) { in checkItemLimits() argument
202 if (doesListItemExceedsCharLimit(listItem)) { in checkItemLimits()
213 private boolean doesListItemExceedsCharLimit(PromptContentItem listItem) { in doesListItemExceedsCharLimit() argument
214 if (listItem instanceof PromptContentItemPlainText) { in doesListItemExceedsCharLimit()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
DListItemFocusablesFarApartTest.java57 ViewGroup listItem = (ViewGroup) mListView.getChildAt(listIndex); in getTopOfChildOfItem() local
58 View child = listItem.getChildAt(index); in getTopOfChildOfItem()
59 return child.getTop() + listItem.getTop(); in getTopOfChildOfItem()
63 ViewGroup listItem = (ViewGroup) mListView.getChildAt(listIndex); in getBottomOfChildOfItem() local
64 View child = listItem.getChildAt(index); in getBottomOfChildOfItem()
65 return child.getBottom() + listItem.getTop(); in getBottomOfChildOfItem()
/frameworks/base/libs/hwui/tests/common/
DTestListViewSceneBase.cpp66 auto listItem = mListItems[(ci + itemIndexOffset) % mListItems.size()]; in doFrame() local
68 listItem->mutateStagingProperties().setLeftTopRightBottom( in doFrame()
70 listItem->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame()
/frameworks/base/telephony/java/android/telephony/
DCarrierRestrictionRules.java322 for (CarrierIdentifier listItem : list) { in isCarrierIdInList()
324 if (!patternMatch(id.getMcc(), listItem.getMcc()) in isCarrierIdInList()
325 || !patternMatch(id.getMnc(), listItem.getMnc())) { in isCarrierIdInList()
331 String listItemValue = convertNullToEmpty(listItem.getSpn()); in isCarrierIdInList()
340 listItemValue = convertNullToEmpty(listItem.getImsi()); in isCarrierIdInList()
349 listItemValue = convertNullToEmpty(listItem.getGid1()); in isCarrierIdInList()
358 listItemValue = convertNullToEmpty(listItem.getGid2()); in isCarrierIdInList()
/frameworks/opt/car/services/builtInServices/tests/src/com/android/car/rotary/
DActivityResolverTest.java171 UiObject listItem = mDevice.findObject(new UiSelector() in testClickListItem_threeItems() local
173 waitAndAssertFocused(listItem); in testClickListItem_threeItems()
231 UiObject listItem = mDevice.findObject(new UiSelector() in testClickListItem_twoItems() local
233 waitAndAssertFocused(listItem); in testClickListItem_twoItems()
/frameworks/base/core/java/android/widget/
DAdapterView.java639 View listItem = view; in getPositionForView() local
642 while ((v = (View) listItem.getParent()) != null && !v.equals(this)) { in getPositionForView()
643 listItem = v; in getPositionForView()
650 if (listItem != null) { in getPositionForView()
654 if (getChildAt(i).equals(listItem)) { in getPositionForView()
/frameworks/base/core/tests/coretests/src/android/widget/
DRemoteViewsTest.java331 RemoteViews listItem = new RemoteViews(mPackage, R.layout.remote_view_host);
332 listItem.addView(R.id.container, nested);
333 listItem.addFlags(RemoteViews.FLAG_WIDGET_IS_COLLECTION_CHILD);
335 View view = listItem.apply(mContext, mContainer);
350 RemoteViews listItem = new RemoteViews(inner, inner);
351 listItem.addFlags(RemoteViews.FLAG_WIDGET_IS_COLLECTION_CHILD);
353 View view = listItem.apply(mContext, mContainer);
368 RemoteViews listItem = new RemoteViews(
370 listItem.addFlags(RemoteViews.FLAG_WIDGET_IS_COLLECTION_CHILD);
372 View view = listItem.apply(mContext, mContainer);
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DControlsUiControllerImpl.kt636 val listItem = parent.getItemAtPosition(pos) as SelectionItem in <lambda>() constant
637 this@ControlsUiControllerImpl.switchAppOrStructure(listItem) in <lambda>()