Searched defs:position (Results 1 - 25 of 695) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/widget/
H A DListAdapter.java41 * Returns true if the item at the specified position is not a separator.
44 * The result is unspecified if position is invalid. An {@link ArrayIndexOutOfBoundsException}
47 * @param position Index of the item
53 boolean isEnabled(int position); argument
H A DSpinnerAdapter.java32 * the data at the specified position in the data set.
34 * @param position index of the item whose view we want.
41 * specified position.
43 public View getDropDownView(int position, View convertView, ViewGroup parent); argument
H A DSectionIndexer.java29 * section/position.
49 * the starting position of that section within the adapter.
51 * If the section's starting position is outside of the adapter bounds, the
52 * position must be clipped to fall within the size of the adapter.
56 * @return the starting position of that section within the adapter,
62 * Given a position within the adapter, returns the index of the
69 * starts at adapter position 100. Calling this method with position 10,
72 * @param position the position withi
77 getSectionForPosition(int position) argument
[all...]
/frameworks/compile/mclinker/include/mcld/MC/
H A DInputAction.h32 unsigned int position() const { return m_Position; } function in class:mcld::InputAction
35 return (position() < pOther.position());
/frameworks/support/car/src/main/java/androidx/car/drawer/
H A DDrawerItemClickListener.java26 * @param position Adapter position of the clicked item.
28 void onItemClick(int position); argument
/frameworks/base/core/java/android/database/
H A DCrossProcessCursor.java45 * row position until all of the data in the cursor is exhausted
54 * The current position of the cursor, as returned by {@link #getPosition},
58 * @param position The zero-based index of the first row to copy into the window.
61 void fillWindow(int position, CursorWindow window); argument
65 * to a new position, giving the subclass a chance to update any state it
67 * cursor will scroll to the beforeFirst position.
73 * @param oldPosition The position that we're moving from.
74 * @param newPosition The position that we're moving to.
H A DCrossProcessCursorWrapper.java46 public void fillWindow(int position, CursorWindow window) { argument
49 crossProcessCursor.fillWindow(position, window);
53 DatabaseUtils.cursorFillWindow(mCursor, position, window);
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListItemFocusableAboveUnfocusable.java40 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument
41 if (position == 0) {
43 position, parent.getContext(), getValueAtPosition(position), desiredHeight);
45 return super.createView(position, parent, desiredHeight);
H A DListItemFocusablesFarApart.java40 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument
42 position, parent.getContext(), desiredHeight);
H A DListItemISVAndButton.java42 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument
48 final InternalSelectionView isv = new InternalSelectionView(context, 8, "ISV postion " + position);
61 topButton.setText("button " + position + ")");
H A DListOfTouchables.java41 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument
43 b.setText("Position " + position);
44 b.setId(position);
/frameworks/base/media/java/android/media/
H A DMedia2DataSource.java37 * Called to request data from the given position.
46 * @param position the position in the data source to read from.
53 public abstract int readAt(long position, byte[] buffer, int offset, int size) argument
H A DMediaDataSource.java35 * Called to request data from the given position.
44 * @param position the position in the data source to read from.
51 public abstract int readAt(long position, byte[] buffer, int offset, int size) argument
/frameworks/support/car/src/main/java/androidx/car/widget/
H A DListItemProvider.java27 * Returns {@link ListItem} at requested position.
29 public abstract ListItem get(int position); argument
47 public ListItem get(int position) { argument
48 return mItems.get(position);
/frameworks/support/dynamic-animation/src/main/java/androidx/dynamicanimation/animation/
H A DForce.java23 // Acceleration based on position.
24 float getAcceleration(float position, float velocity); argument
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DOnChildLaidOutListener.java30 * @param position The position of the view in the adapter.
33 void onChildLaidOut(ViewGroup parent, View view, int position, long id); argument
H A DOnChildSelectedListener.java33 * @param position The position of the view in the adapter, or NO_POSITION
38 void onChildSelected(ViewGroup parent, View view, int position, long id); argument
H A DOnChildViewHolderSelectedListener.java36 * might change the size of the child and the position of the child is not finalized. To get
37 * the final layout position of child, overide {@link #onChildViewHolderSelectedAndPositioned(
43 * @param position The position of the view in the adapter, or NO_POSITION
49 int position, int subposition) {
59 * @param position The position of the view in the adapter, or NO_POSITION
65 RecyclerView.ViewHolder child, int position, int subposition) {
48 onChildViewHolderSelected(RecyclerView parent, RecyclerView.ViewHolder child, int position, int subposition) argument
64 onChildViewHolderSelectedAndPositioned(RecyclerView parent, RecyclerView.ViewHolder child, int position, int subposition) argument
/frameworks/support/media/src/main/java/androidx/media/
H A DMedia2DataSource.java36 * Called to request data from the given position.
45 * @param position the position in the data source to read from.
52 public abstract int readAt(long position, byte[] buffer, int offset, int size) argument
/frameworks/support/recyclerview-selection/src/androidTest/java/androidx/recyclerview/selection/testing/
H A DTestItemDetailsLookup.java41 public TestItemDetails initAt(int position) { argument
43 doc.at(position);
/frameworks/av/media/libaudioclient/
H A DAudioPolicy.cpp104 size_t position = parcel->dataPosition(); local
106 parcel->setDataPosition(position);
111 size_t position = parcel->dataPosition(); local
114 parcel->setDataPosition(position);
/frameworks/base/core/java/android/content/
H A DSyncActivityTooManyDeletes.java61 // the order of these must match up with the constants for position used in onItemClick
109 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
110 // the constants for position correspond to the items options array in onCreate()
111 if (position == 0) startSyncReallyDelete();
112 else if (position == 1) startSyncUndoDeletes();
/frameworks/base/core/java/android/util/apk/
H A DMemoryMappedFileDataSource.java43 * @param position start position of the region in the file.
46 MemoryMappedFileDataSource(FileDescriptor fd, long position, long size) { argument
48 mFilePosition = position;
/frameworks/base/core/java/android/webkit/
H A DPluginList.java109 public synchronized void pluginClicked(Context context, int position) { argument
111 Plugin plugin = mPlugins.get(position);
/frameworks/base/core/java/com/android/internal/app/
H A DNavItemSelectedListener.java36 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { argument
38 mListener.onNavigationItemSelected(position, id);

Completed in 405 milliseconds

1234567891011>>