HomeSort by relevance Sort by last modified time
    Searched full:adapteritem (Results 1 - 6 of 6) sorted by null

  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
AdapterItem.java 28 final class AdapterItem {
33 private List<AdapterItem> mChildren;
35 protected AdapterItem(DataBindingItem item, int type, int fullPosition,
43 void addChild(AdapterItem child) {
45 mChildren = new ArrayList<AdapterItem>();
51 List<AdapterItem> getChildren() {
FakeExpandableAdapter.java 41 protected final List<AdapterItem> mItems = new ArrayList<AdapterItem>();
84 AdapterItem item = new AdapterItem(dataBindingItem, typeIndex, mItems.size(),
102 private AdapterItem getChildItem(int groupPosition, int childPosition) {
103 AdapterItem item = mItems.get(groupPosition);
105 List<AdapterItem> children = item.getChildren();
118 AdapterItem item = mItems.get(groupPosition);
136 AdapterItem item = mItems.get(groupPosition);
147 AdapterItem parentItem = mItems.get(groupPosition)
    [all...]
FakeAdapter.java 47 private final List<AdapterItem> mItems = new ArrayList<AdapterItem>();
79 mItems.add(new AdapterItem(dataBindingItem, typeIndex, mItems.size(), index++));
113 AdapterItem item = mItems.get(position);
AdapterHelper.java 42 static Pair<View, Boolean> getView(AdapterItem item, AdapterItem parentItem, ViewGroup parent,
67 private static void fillView(BridgeContext context, View view, AdapterItem item,
68 AdapterItem parentItem, IProjectCallback callback, ResourceReference adapterRef) {
  /packages/apps/Settings/src/com/android/settings/users/
RestrictedProfileSettings.java 345 final List<AdapterItem> items = new ArrayList<AdapterItem>();
349 AdapterItem item = new AdapterItem(title, POPUP_LIST_ITEM_ID_TAKE_PHOTO);
355 AdapterItem item = new AdapterItem(title, POPUP_LIST_ITEM_ID_CHOOSE_PHOTO);
365 ListAdapter adapter = new ArrayAdapter<AdapterItem>(context,
376 AdapterItem item = items.get(position);
530 private static final class AdapterItem {
534 public AdapterItem(String title, int id)
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
ConversationContainer.java 518 ConversationOverlayItem adapterItem = mOverlayAdapter.getItem(adapterIndex);
520 OverlayPosition itemPos = calculatePosition(adapterItem, spacerTop, spacerBottom,
524 itemPos.top, itemPos.bottom, adapterItem);
531 adapterItem = mOverlayAdapter.getItem(adapterIndex);
532 if (spacerIndex > 0 && !adapterItem.isContiguous()) {
541 itemPos = calculatePosition(adapterItem, regionTop, regionBottom, forceGravity);
544 adapterIndex, itemPos.top, itemPos.bottom, adapterItem);
592 private static OverlayPosition calculatePosition(final ConversationOverlayItem adapterItem,
594 if (adapterItem.getHeight() == 0) {
602 forceGravity : adapterItem.getGravity()) & Gravity.VERTICAL_GRAVITY_MASK
    [all...]

Completed in 676 milliseconds