Home
last modified time | relevance | path

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

12345678910>>...16

/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
DBaseFragmentPagerAdapter.java64 public abstract Fragment getItem(int position); in getItem()
71 public Object instantiateItem(View container, int position) { in instantiateItem()
94 makeFragmentName(container.getId(), position)); in instantiateItem() local
104 public void destroyItem(View container, int position, Object object) { in destroyItem()
125 public void setPrimaryItem(View container, int position, Object object) { in setPrimaryItem()
/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()
128 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.java75 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()
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()
DDayPickerPagerAdapter.java112 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/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/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/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 …]
DGroupingListAdapter.java268 public void obtainPositionMetadata(PositionMetadata metadata, int position) { in obtainPositionMetadata()
388 public boolean isGroupHeader(int position) { in isGroupHeader()
397 public int getGroupSize(int position) { in getGroupSize()
405 public void toggleGroup(int position) { in toggleGroup()
427 public int getItemViewType(int position) { in getItemViewType()
432 public Object getItem(int position) { in getItem()
445 public long getItemId(int position) { in getItemId()
454 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/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()
DObjectBrowser.java71 public Object getItem(int position) { in getItem()
75 public long getItemId(int position) { in getItemId()
79 public View getView(int position, View convertView, ViewGroup parent) { in getView()
133 protected void onListItemClick(ListView l, View v, int position, long id) { in onListItemClick()
/frameworks/base/core/java/com/android/internal/policy/
DDividerSnapAlgorithm.java157 public SnapTarget calculateSnapTarget(int position, float velocity) { in calculateSnapTarget()
166 public SnapTarget calculateSnapTarget(int position, float velocity, boolean hardDismiss) { in calculateSnapTarget()
183 public SnapTarget calculateNonDismissingSnapTarget(int position) { in calculateNonDismissingSnapTarget()
194 public float calculateDismissingFraction(int position) { in calculateDismissingFraction()
205 public SnapTarget getClosestDismissTarget(int position) { in getClosestDismissTarget()
250 private SnapTarget snap(int position, boolean hardDismiss) { in snap()
337 private void maybeAddTarget(int position, int smallerSize) { in maybeAddTarget()
344 int position = DockedDividerUtils.calculateMiddlePosition(isHorizontalDivision, in addMiddleTarget() local
352 int position = mTaskHeightInMinimizedMode + mInsets.top; in addMinimizedTarget() local
432 public final int position; field in DividerSnapAlgorithm.SnapTarget
[all …]
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DEffectsTest.java121 public Object getItem(int position) { in getItem()
127 public long getItemId(int position) { in getItemId()
131 public View getView(int position, View convertView, ViewGroup parent) { in getView()
180 public void set(int position) { in set()
/frameworks/base/core/java/android/preference/
DPreferenceGroupAdapter.java220 public Preference getItem(int position) { in getItem()
225 public long getItemId(int position) { in getItemId()
233 public void setHighlighted(int position) { in setHighlighted()
244 public View getView(int position, View convertView, ViewGroup parent) { in getView()
267 public boolean isEnabled(int position) { in isEnabled()
298 public int getItemViewType(int position) { in getItemViewType()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DItemAdapter.java47 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()
114 public boolean isEnabled(int position) { in isEnabled()

12345678910>>...16