Home
last modified time | relevance | path

Searched defs:position (Results 1 – 25 of 488) sorted by relevance

12345678910>>...20

/frameworks/base/core/java/com/android/internal/widget/
DPagerAdapter.java109 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/
DAddPrinterActivity.java262 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/
DBaseCursorPagerAdapter.java67 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/
DDeviceListAdapter.java52 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/
DFakeAdapter.java85 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/
DListScenario.java91 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 …]
DListItemFactory.java42 … 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/
DAdapter.java64 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()
DRemoteViewsListAdapter.java77 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()
DYearPickerView.java98 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/
DListThrasher.java79 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()
DListHeterogeneous.java39 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()
DListTakeFocusFromSide.java55 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/
DGridThrasher.java81 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/
DListViewCaptureHelperTest.java47 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/
DActionsAdapter.java66 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/
DBiDiTestGalleryImages.java52 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/
DDividerSnapAlgorithm.java161 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/
DCompositeCursorAdapter.java242 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/
DNotificationRecordLoggerFake.java34 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/
DComplicationLayoutParams.java114 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/
DButtonTargetAdapter.java46 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()
DShortcutTargetAdapter.java48 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/
DStorageBrowser.java64 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/
DVolumePanelSlicesAdapter.java68 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()

12345678910>>...20