/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/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | AddPrinterActivity.java | 262 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { in onItemClick() 334 private @NonNull Pair<ActionAdapter, Integer> getSubAdapter(int position) { in getSubAdapter() 350 public int getItemViewType(int position) { in getItemViewType() 381 public View getView(int position, View convertView, ViewGroup parent) { in getView() 388 public Object getItem(int position) { in getItem() 395 public long getItemId(int position) { in getItemId() 400 public boolean isEnabled(int position) { in isEnabled() 453 public int getItemViewType(int position) { in getItemViewType() 471 public Object getItem(int position) { in getItem() 480 public boolean isEnabled(int position) { in isEnabled() [all …]
|
/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/CompanionDeviceManager/src/com/android/companiondevicemanager/ |
D | DeviceListAdapter.java | 53 public DeviceFilterPair<?> getItem(int position) { in getItem() 77 public void onBindViewHolder(ViewHolder holder, int position) { in onBindViewHolder() 84 public int getItemViewType(int position) { in getItemViewType() 89 public long getItemId(int position) { in getItemId() 98 public void setSelectedPosition(int position) { in setSelectedPosition() 117 private boolean isWifiDevice(int position) { in isWifiDevice() 122 void onItemClick(int position); in onItemClick()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | ListScenario.java | 86 private boolean isItemAtPositionSelectable(int position) { in isItemAtPositionSelectable() 158 int position, double itemScreenSizeFactor) { in setPositionScreenSizeFactorOverride() 168 public Params setPositionUnselectable(int position) { in setPositionUnselectable() 283 protected void positionClicked(int position) { in positionClicked() 292 protected void positionLongClicked(int position) { in positionLongClicked() 488 public final String getValueAtPosition(int position) { in getValueAtPosition() 498 public int getHeightForPosition(int position) { in getHeightForPosition() 538 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() 546 public View convertView(int position, View convertView, ViewGroup parent) { in convertView() 586 public int getItemViewType(int position) { in getItemViewType() [all …]
|
/frameworks/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() 127 public View getDropDownView(int position, View convertView, ViewGroup parent) { in getDropDownView()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
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/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 | 39 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() 56 public View convertView(int position, View convertView, ViewGroup parent) { in convertView() 72 public int getItemViewType(int position) { in getItemViewType()
|
D | ListTakeFocusFromSide.java | 55 public Object getItem(int position) { in getItem() 59 public long getItemId(int position) { in getItemId() 63 public View getView(int position, View convertView, ViewGroup parent) { in getView()
|
/frameworks/base/core/java/android/widget/ |
D | Adapter.java | 64 Object getItem(int position); in getItem() 72 long getItemId(int position); in getItemId() 100 View getView(int position, View convertView, ViewGroup parent); in getView() 124 int getItemViewType(int position); in getItemViewType()
|
D | YearPickerView.java | 98 public void setSelectionCentered(int position) { in setSelectionCentered() 150 public Integer getItem(int position) { in getItem() 155 public long getItemId(int position) { in getItemId() 163 public int getYearForPosition(int position) { in getYearForPosition() 173 public View getView(int position, View convertView, ViewGroup parent) { in getView() 201 public int getItemViewType(int position) { in getItemViewType() 221 public boolean isEnabled(int position) { in isEnabled()
|
D | DayPickerPagerAdapter.java | 112 final int position = getPositionForDay(day); in getBoundsForDate() local 204 private int getMonthForPosition(int position) { in getMonthForPosition() 208 private int getYearForPosition(int position) { in getYearForPosition() 220 final int position = yearOffset * MONTHS_IN_YEAR + monthOffset; in getPositionForDay() local 225 public Object instantiateItem(ViewGroup container, int position) { in instantiateItem() 285 public void destroyItem(ViewGroup container, int position, Object object) { in destroyItem() 299 public CharSequence getPageTitle(int position) { in getPageTitle() 329 public final int position; field in DayPickerPagerAdapter.ViewHolder 333 public ViewHolder(int position, View container, SimpleMonthView calendar) { in ViewHolder()
|
/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/base/core/tests/coretests/src/com/android/internal/view/ |
D | ListViewCaptureHelperTest.java | 47 protected void setInitialScrollPosition(ListView target, ScrollPosition position) { in setInitialScrollPosition() 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()
|
/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/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/ |
D | DividerSnapAlgorithm.java | 176 public SnapTarget calculateSnapTarget(int position, float velocity) { in calculateSnapTarget() 185 public SnapTarget calculateSnapTarget(int position, float velocity, boolean hardDismiss) { in calculateSnapTarget() 202 public SnapTarget calculateNonDismissingSnapTarget(int position) { in calculateNonDismissingSnapTarget() 228 public float calculateDismissingFraction(int position) { in calculateDismissingFraction() 239 public SnapTarget getClosestDismissTarget(int position) { in getClosestDismissTarget() 284 private boolean shouldApplyFreeSnapMode(int position) { in shouldApplyFreeSnapMode() 294 private SnapTarget snap(int position, boolean hardDismiss) { in snap() 384 private void maybeAddTarget(int position, int smallerSize, @SnapPosition int snapPosition) { in maybeAddTarget() 391 int position = DockedDividerUtils.calculateMiddlePosition(isHorizontalDivision, in addMiddleTarget() local 399 int position = mTaskHeightInMinimizedMode + mInsets.top; in addMinimizedTarget() local [all …]
|
/frameworks/base/core/java/com/android/internal/globalactions/ |
D | ActionsAdapter.java | 66 public boolean isEnabled(int position) { in isEnabled() 76 public Action getItem(int position) { in getItem() 103 public long getItemId(int position) { in getItemId() 108 public View getView(int position, View convertView, ViewGroup parent) { in getView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/ |
D | ComplicationLayoutParams.java | 114 public ComplicationLayoutParams(int width, int height, @Position int position, in ComplicationLayoutParams() 132 public ComplicationLayoutParams(int width, int height, @Position int position, in ComplicationLayoutParams() 153 public ComplicationLayoutParams(int width, int height, @Position int position, in ComplicationLayoutParams() 174 public ComplicationLayoutParams(int width, int height, @Position int position, in ComplicationLayoutParams() 200 public ComplicationLayoutParams(int width, int height, @Position int position, in ComplicationLayoutParams() 238 private static boolean validateDirection(@Position int position, @Direction int direction) { in validateDirection() 263 public static void iteratePositions(Consumer<Integer> consumer, @Position int position) { in iteratePositions() 272 private static boolean validatePosition(@Position int position) { in validatePosition()
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
D | BiDiTestGalleryImages.java | 52 public Object getItem(int position) { in getItem() 57 public long getItemId(int position) { in getItemId() 62 public View getView(int position, View convertView, ViewGroup parent) { in getView()
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
D | StorageBrowser.java | 64 public Object getItem(int position) { in getItem() 68 public long getItemId(int position) { in getItemId() 72 public View getView(int position, View convertView, ViewGroup parent) { in getView() 114 protected void onListItemClick(ListView l, View v, int position, long id) { in onListItemClick()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
D | MenuAnimationController.java | 109 void moveToPosition(PointF position) { in moveToPosition() 114 void moveToPosition(PointF position, boolean animateMovement) { in moveToPosition() 189 void moveAndPersistPosition(PointF position) { in moveAndPersistPosition() 330 final PointF position = mMenuView.getMenuPosition(); in getTuckedMenuPosition() local 340 final PointF position = mMenuView.getMenuPosition(); in moveToEdgeAndHide() local 358 PointF position = mMenuView.getMenuPosition(); in moveOutEdgeAndShow() local 423 private void onSpringAnimationsEnd(PointF position, boolean writeToPosition) { in onSpringAnimationsEnd() 432 private void constrainPositionAndUpdate(PointF position, boolean writeToPosition) { in constrainPositionAndUpdate()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | SuggestedLocaleAdapter.java | 107 public boolean isEnabled(int position) { in isEnabled() 114 public int getItemViewType(int position) { in getItemViewType() 169 public Object getItem(int position) { in getItem() 182 private boolean isHeaderPosition(int position) { in isHeaderPosition() 187 public long getItemId(int position) { in getItemId() 217 public View getView(int position, View convertView, ViewGroup parent) { in getView() 269 View convertView, ViewGroup parent, int itemType, int position) { in getNewViewIfNeeded() 426 private void updateTextView(View convertView, TextView text, int position) { in updateTextView()
|
/frameworks/base/core/java/com/android/internal/accessibility/dialog/ |
D | ButtonTargetAdapter.java | 46 public Object getItem(int position) { in getItem() 51 public long getItemId(int position) { in getItemId() 56 public View getView(int position, View convertView, ViewGroup parent) { in getView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumePanelSlicesAdapter.java | 68 public void onBindViewHolder(@NonNull SliceRowViewHolder sliceRowViewHolder, int position) { in onBindViewHolder() 69 sliceRowViewHolder.onBind(mSliceLiveData.get(position), position); in onBindViewHolder() local 78 public int getItemViewType(int position) { in getItemViewType() 111 public void onBind(LiveData<Slice> sliceLiveData, int position) { in onBind()
|