Searched defs:position (Results 1 - 25 of 340) 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/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);
H A DListButtonsDiagonalAcrossItems.java50 protected View createView(int position, ViewGroup parent, argument
52 final Slot slot = position == 0 ? Slot.Left :
53 (position == 1 ? Slot.Middle : Slot.Right);
H A DListHeterogeneous.java40 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument
41 switch (position % 3) {
44 position, parent.getContext(), getValueAtPosition(position), desiredHeight);
47 position, parent.getContext(), getValueAtPosition(position), desiredHeight);
50 position, parent.getContext(), getValueAtPosition(position), desiredHeight);
57 public View convertView(int position, View convertView, ViewGroup parent) { argument
58 switch (position
73 getItemViewType(int position) argument
[all...]
H A DListHorizontalFocusWithinItemWins.java51 protected View createView(int position, ViewGroup parent, argument
54 if (position == 0) {
57 } else if (position == 1) {
61 throw new IllegalArgumentException("expecting position 0 or 1");
H A DListInterleaveFocusables.java43 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument
44 if (mFocusablePositions.contains(position)) {
46 position, parent.getContext(), getValueAtPosition(position), desiredHeight);
48 return super.createView(position, parent, desiredHeight);
53 public int getItemViewType(int position) { argument
54 return mFocusablePositions.contains(position) ? 0 : 1;
H A DListItemFocusablesClose.java50 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument
52 position, parent.getContext(), desiredHeight);
H A DListItemsExpandOnSelection.java41 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument
45 result.setText(getValueAtPosition(position));
55 public View convertView(int position, View convertView, ViewGroup parent) { argument
56 ((ExpandWhenSelectedView)convertView).setText(getValueAtPosition(position));
H A DListManagedCursor.java55 public void onItemClick(AdapterView parent, View view, int position, long id) { argument
/frameworks/base/media/java/android/media/
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/av/media/libmedia/
H A DAudioPolicy.cpp102 size_t position = parcel->dataPosition(); local
104 parcel->setDataPosition(position);
109 size_t position = parcel->dataPosition(); local
112 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/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);
/frameworks/base/core/tests/coretests/src/android/util/
H A DListUtil.java43 * Set the selected position of the list view.
44 * @param pos The desired position.
70 * Arrow (up or down as appropriate) to the desired position in the list.
71 * @param desiredPos The desired position
72 * @throws IllegalStateException if the position can't be reached within 20 presses.
82 private void arrowDownToSelectedPosition(int position) { argument
84 while(mListView.getSelectedItemPosition() < position && --maxDowns > 0) {
87 if (position != mListView.getSelectedItemPosition()) {
93 private void arrowUpToSelectedPosition(int position) { argument
95 while(mListView.getSelectedItemPosition() > position
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DListOfButtons.java63 public View getView(int position, View convertView, ViewGroup parent) { argument
64 String label = getItem(position);
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
H A DGridSimple.java49 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument
50 View view = super.createView(position, parent, desiredHeight);

Completed in 342 milliseconds

1234567891011>>