/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 | 52 public DeviceFilterPair<?> getItem(int position) { in getItem() 72 public void onBindViewHolder(ViewHolder holder, int position) { in onBindViewHolder() 79 public int getItemViewType(int position) { in getItemViewType() 84 public long getItemId(int position) { in getItemId() 93 public void setSelectedPosition(int position) { in setSelectedPosition() 112 private boolean isWifiDevice(int position) { in isWifiDevice() 117 void onItemClick(int position); in onItemClick()
|
/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 | ListScenario.java | 91 private boolean isItemAtPositionSelectable(int position) { in isItemAtPositionSelectable() 163 int position, double itemScreenSizeFactor) { in setPositionScreenSizeFactorOverride() 173 public Params setPositionUnselectable(int position) { in setPositionUnselectable() 288 protected void positionClicked(int position) { in positionClicked() 297 protected void positionLongClicked(int position) { in positionLongClicked() 493 public final String getValueAtPosition(int position) { in getValueAtPosition() 503 public int getHeightForPosition(int position) { in getHeightForPosition() 543 protected View createView(int position, ViewGroup parent, int desiredHeight) { in createView() 551 public View convertView(int position, View convertView, ViewGroup parent) { in convertView() 591 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/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 | RemoteViewsListAdapter.java | 77 public Object getItem(int position) { in getItem() 82 public long getItemId(int position) { in getItemId() 87 public View getView(int position, View convertView, ViewGroup parent) { in getView() 106 public 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()
|
/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/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/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/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/core/java/com/android/internal/policy/ |
D | DividerSnapAlgorithm.java | 161 public SnapTarget calculateSnapTarget(int position, float velocity) { in calculateSnapTarget() 170 public SnapTarget calculateSnapTarget(int position, float velocity, boolean hardDismiss) { in calculateSnapTarget() 187 public SnapTarget calculateNonDismissingSnapTarget(int position) { in calculateNonDismissingSnapTarget() 198 public float calculateDismissingFraction(int position) { in calculateDismissingFraction() 209 public SnapTarget getClosestDismissTarget(int position) { in getClosestDismissTarget() 254 private boolean shouldApplyFreeSnapMode(int position) { in shouldApplyFreeSnapMode() 264 private SnapTarget snap(int position, boolean hardDismiss) { in snap() 352 private void maybeAddTarget(int position, int smallerSize) { in maybeAddTarget() 359 int position = DockedDividerUtils.calculateMiddlePosition(isHorizontalDivision, in addMiddleTarget() local 367 int position = mTaskHeightInMinimizedMode + mInsets.top; in addMinimizedTarget() local [all …]
|
/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/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationRecordLoggerFake.java | 34 public int position = INVALID, buzzBeepBlink = INVALID; field in NotificationRecordLoggerFake.CallRecord 38 CallRecord(NotificationRecord r, NotificationRecord old, int position, in CallRecord() 48 CallRecord(NotificationRecord r, int position, int buzzBeepBlink, InstanceId groupId) { in CallRecord() 82 int position, int buzzBeepBlink, InstanceId groupId) { in maybeLogNotificationPosted() 87 public void logNotificationAdjusted(NotificationRecord r, int position, int buzzBeepBlink, in logNotificationAdjusted()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/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() 152 public ComplicationLayoutParams(int width, int height, @Position int position, in ComplicationLayoutParams() 173 public ComplicationLayoutParams(int width, int height, @Position int position, in ComplicationLayoutParams() 199 public ComplicationLayoutParams(int width, int height, @Position int position, in ComplicationLayoutParams() 236 private static boolean validateDirection(@Position int position, @Direction int direction) { in validateDirection() 261 public static void iteratePositions(Consumer<Integer> consumer, @Position int position) { in iteratePositions() 270 private static boolean validatePosition(@Position int position) { in validatePosition()
|
/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()
|
D | ShortcutTargetAdapter.java | 48 public Object getItem(int position) { in getItem() 53 public long getItemId(int position) { in getItemId() 58 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/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()
|