/frameworks/base/core/java/com/android/internal/widget/ |
D | PagerAdapter.java | 109 public Object instantiateItem(ViewGroup container, int position) { in instantiateItem() 123 public void destroyItem(ViewGroup container, int position, Object object) { in destroyItem() 124 destroyItem((View) container, position, object); in destroyItem() local 136 public void setPrimaryItem(ViewGroup container, int position, Object object) { in setPrimaryItem() 137 setPrimaryItem((View) container, position, object); in setPrimaryItem() local 174 public Object instantiateItem(View container, int position) { in instantiateItem() 191 public void destroyItem(View container, int position, Object object) { in destroyItem() 206 public void setPrimaryItem(View container, int position, Object object) { in setPrimaryItem() 306 public CharSequence getPageTitle(int position) { in getPageTitle() 317 public float getPageWidth(int position) { in getPageWidth()
|
/frameworks/support/v4/java/android/support/v4/view/ |
D | PagerAdapter.java | 110 public Object instantiateItem(ViewGroup container, int position) { in instantiateItem() 124 public void destroyItem(ViewGroup container, int position, Object object) { in destroyItem() 125 destroyItem((View) container, position, object); in destroyItem() local 137 public void setPrimaryItem(ViewGroup container, int position, Object object) { in setPrimaryItem() 138 setPrimaryItem((View) container, position, object); in setPrimaryItem() local 177 public Object instantiateItem(View container, int position) { in instantiateItem() 195 public void destroyItem(View container, int position, Object object) { in destroyItem() 211 public void setPrimaryItem(View container, int position, Object object) { in setPrimaryItem() 323 public CharSequence getPageTitle(int position) { in getPageTitle() 334 public float getPageWidth(int position) { in getPageWidth()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/ |
D | BaseCursorPagerAdapter.java | 67 public abstract Fragment getItem(Context context, Cursor cursor, int position); in getItem() 72 public Fragment getItem(int position) { in getItem() 89 public Object instantiateItem(View container, int position) { in instantiateItem() 110 public void destroyItem(View container, int position, Object object) { in destroyItem() 123 final int position = mItemPosition.get(rowId, POSITION_NONE); in getItemPosition() local 144 public Object getDataItem(int position) { in getDataItem() 155 public long getItemId(int position) { in getItemId() 220 private boolean moveCursorTo(int position) { in moveCursorTo() 253 final int position = mCursor.getPosition(); in setItemPosition() local
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | AddPrinterActivity.java | 220 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { in onItemClick() 292 private @NonNull Pair<ActionAdapter, Integer> getSubAdapter(int position) { in getSubAdapter() 308 public int getItemViewType(int position) { in getItemViewType() 339 public View getView(int position, View convertView, ViewGroup parent) { in getView() 346 public Object getItem(int position) { in getItem() 353 public long getItemId(int position) { in getItemId() 358 public boolean isEnabled(int position) { in isEnabled() 411 public int getItemViewType(int position) { in getItemViewType() 429 public Object getItem(int position) { in getItem() 438 public boolean isEnabled(int position) { in isEnabled() [all …]
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/ |
D | TestInputEvent.java | 15 public int position = Integer.MIN_VALUE; field in TestInputEvent 19 public TestInputEvent(int position) { in TestInputEvent() 68 public static TestInputEvent tap(int position) { in tap() 72 public static TestInputEvent shiftTap(int position) { in shiftTap() 78 public static TestInputEvent click(int position) { in click() 84 public static TestInputEvent shiftClick(int position) { in shiftClick()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/ |
D | FakeAdapter.java | 85 public boolean isEnabled(int position) { in isEnabled() 95 public Object getItem(int position) { in getItem() 100 public long getItemId(int position) { in getItemId() 105 public int getItemViewType(int position) { in getItemViewType() 110 public View getView(int position, View convertView, ViewGroup parent) { in getView() 128 public View getDropDownView(int position, View convertView, ViewGroup parent) { in getDropDownView()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | ListScenario.java | 90 private boolean isItemAtPositionSelectable(int position) { in isItemAtPositionSelectable() 162 int position, double itemScreenSizeFactor) { in setPositionScreenSizeFactorOverride() 172 public Params setPositionUnselectable(int position) { in setPositionUnselectable() 287 protected void positionClicked(int position) { in positionClicked() 296 protected void positionLongClicked(int position) { in positionLongClicked() 490 public final String getValueAtPosition(int position) { in getValueAtPosition() 500 public int getHeightForPosition(int position) { in getHeightForPosition() 540 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() 548 public View convertView(int position, View convertView, ViewGroup parent) { in convertView() 588 public int getItemViewType(int position) { in getItemViewType() [all …]
|
D | ListItemFactory.java | 42 … public static View twoButtonsSeparatedByFiller(int position, Context context, int desiredHeight) { in twoButtonsSeparatedByFiller() 155 public static View button(int position, Context context, String text, int desiredHeight) { in button() 176 public static View convertButton(View convertView, String text, int position) { in convertButton() 195 public static View text(int position, Context context, String text, int desiredHeight) { in text() 216 public static View convertText(View convertView, String text, int position) { in convertText() 236 public static View doubleText(int position, Context context, String text, int desiredHeight) { in doubleText() 279 public static View convertDoubleText(View convertView, String text, int position) { in convertDoubleText()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/ |
D | SettingsDrawerAdapter.java | 67 public Tile getTile(int position) { in getTile() 77 public Object getItem(int position) { in getItem() 82 public long getItemId(int position) { in getItemId() 87 public boolean isEnabled(int position) { in isEnabled() 92 public View getView(int position, View convertView, ViewGroup parent) { in getView()
|
D | UserAdapter.java | 89 public UserHandle getUserHandle(int position) { in getUserHandle() 97 public View getDropDownView(int position, View convertView, ViewGroup parent) { in getDropDownView() 136 public UserDetails getItem(int position) { in getItem() 141 public long getItemId(int position) { in getItemId() 151 public View getView(int position, View convertView, ViewGroup parent) { in getView() 156 public int getItemViewType(int position) { in getItemViewType() 176 public boolean isEnabled(int position) { in isEnabled()
|
/frameworks/base/core/java/android/widget/ |
D | Adapter.java | 63 Object getItem(int position); in getItem() 71 long getItemId(int position); in getItemId() 99 View getView(int position, View convertView, ViewGroup parent); in getView() 123 int getItemViewType(int position); in getItemViewType()
|
D | RemoteViewsListAdapter.java | 75 public Object getItem(int position) { in getItem() 80 public long getItemId(int position) { in getItemId() 85 public View getView(int position, View convertView, ViewGroup parent) { in getView() 104 public int getItemViewType(int position) { in getItemViewType()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListThrasher.java | 79 public Object getItem(int position) { in getItem() 83 public long getItemId(int position) { in getItemId() 87 public View getView(int position, View convertView, ViewGroup parent) { in getView() 101 int position = mRandomizer.nextInt(getCount()); in bumpVersion() local 124 public void onItemSelected(AdapterView parent, View v, int position, long id) { in onItemSelected()
|
D | ListHeterogeneous.java | 40 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() 57 public View convertView(int position, View convertView, ViewGroup parent) { in convertView() 73 public int getItemViewType(int position) { in getItemViewType()
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
D | GridThrasher.java | 81 public Object getItem(int position) { in getItem() 85 public long getItemId(int position) { in getItemId() 89 public View getView(int position, View convertView, ViewGroup parent) { in getView() 103 int position = mRandomizer.nextInt(getCount()); in bumpVersion() local 128 public void onItemSelected(AdapterView parent, View v, int position, long id) { in onItemSelected()
|
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
D | ObservableListAdapter.java | 101 public Object getItem(int position) { in getItem() 106 public long getItemId(int position) { in getItemId() 111 public View getView(int position, View convertView, ViewGroup parent) { in getView() 116 public View getDropDownView(int position, View convertView, ViewGroup parent) { in getDropDownView() 120 public View getViewForResource(int resourceId, int position, View convertView, in getViewForResource()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
D | ItemAdapter.java | 47 public IItem getItem(int position) { in getItem() 52 public long getItemId(int position) { in getItemId() 57 public int getItemViewType(int position) { in getItemViewType() 76 public View getView(int position, View convertView, ViewGroup parent) { in getView() 93 public boolean isEnabled(int position) { in isEnabled()
|
/frameworks/ex/common/java/com/android/common/widget/ |
D | CompositeCursorAdapter.java | 242 public int getPartitionForPosition(int position) { in getPartitionForPosition() 259 public int getOffsetInPartition(int position) { in getOffsetInPartition() 281 int position = 0; in getPositionForPartition() local 306 protected int getItemViewType(int partition, int position) { in getItemViewType() 311 public int getItemViewType(int position) { in getItemViewType() 333 public View getView(int position, View convertView, ViewGroup parent) { in getView() 394 protected View getView(int partition, Cursor cursor, int position, View convertView, in getView() 410 protected abstract View newView(Context context, int partition, Cursor cursor, int position, in newView() 417 protected abstract void bindView(View v, int partition, Cursor cursor, int position); in bindView() 422 public Object getItem(int position) { in getItem() [all …]
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | SectionedListAdapter.java | 64 public Object getItem(int position) { in getItem() 84 public long getItemId(int position) { in getItemId() 89 public View getView(int position, View convertView, ViewGroup parent) { in getView() 114 public boolean isEnabled(int position) { in isEnabled() 134 public int getItemViewType(int position) { in getItemViewType()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DividerSnapAlgorithm.java | 133 public SnapTarget calculateSnapTarget(int position, float velocity) { in calculateSnapTarget() 142 public SnapTarget calculateSnapTarget(int position, float velocity, boolean hardDismiss) { in calculateSnapTarget() 159 public SnapTarget calculateNonDismissingSnapTarget(int position) { in calculateNonDismissingSnapTarget() 170 public float calculateDismissingFraction(int position) { in calculateDismissingFraction() 181 public SnapTarget getClosestDismissTarget(int position) { in getClosestDismissTarget() 226 private SnapTarget snap(int position, boolean hardDismiss) { in snap() 306 private void maybeAddTarget(int position, int smallerSize) { in maybeAddTarget() 313 int position = DockedDividerUtils.calculateMiddlePosition(isHorizontalDivision, in addMiddleTarget() local 379 public final int position; field in DividerSnapAlgorithm.SnapTarget 395 public SnapTarget(int position, int taskPosition, int flag) { in SnapTarget() [all …]
|
/frameworks/base/tests/MusicBrowserDemo/src/com/example/android/musicbrowserdemo/ |
D | AppListFragment.java | 58 public void onListItemClick(ListView l, View v, int position, long id) { in onListItemClick() 115 public Item getItem(int position) { in getItem() 120 public long getItemId(int position) { in getItemId() 125 public int getItemViewType(int position) { in getItemViewType() 130 public View getView(int position, View convertView, ViewGroup parent) { in getView()
|
/frameworks/support/v13/java/android/support/v13/app/ |
D | FragmentPagerAdapter.java | 80 public abstract Fragment getItem(int position); in getItem() 91 public Object instantiateItem(ViewGroup container, int position) { in instantiateItem() 119 public void destroyItem(ViewGroup container, int position, Object object) { in destroyItem() 129 public void setPrimaryItem(ViewGroup container, int position, Object object) { in setPrimaryItem() 176 public long getItemId(int position) { in getItemId()
|
/frameworks/support/v4/java/android/support/v4/app/ |
D | FragmentPagerAdapter.java | 76 public abstract Fragment getItem(int position); in getItem() 87 public Object instantiateItem(ViewGroup container, int position) { in instantiateItem() 115 public void destroyItem(ViewGroup container, int position, Object object) { in destroyItem() 125 public void setPrimaryItem(ViewGroup container, int position, Object object) { in setPrimaryItem() 171 public long getItemId(int position) { in getItemId()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/ |
D | AsyncListUtilTest.java | 115 final int position = 30; in itemChanged() local 138 private void scrollAndExpectTiles(int position, String context, int... positions) in scrollAndExpectTiles() 161 final int position, in assertLoadedItemsOnUiThread() 171 private void scrollOnUiThread(final int position) throws Throwable { in scrollOnUiThread() 256 public void onItemLoaded(int position) { in onItemLoaded() 280 public void scrollTo(int position) { in scrollTo() 315 void expectRange(int position, int count) { in expectRange() 323 void countDown(int position) { in countDown()
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/util/ |
D | SortedListAdapterCallback.java | 41 public void onInserted(int position, int count) { in onInserted() 46 public void onRemoved(int position, int count) { in onRemoved() 56 public void onChanged(int position, int count) { in onChanged()
|