/frameworks/base/core/java/android/widget/ |
H A D | ListAdapter.java | 41 * 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 D | SpinnerAdapter.java | 32 * 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 D | SectionIndexer.java | 29 * 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 D | InputAction.h | 32 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 D | CrossProcessCursor.java | 45 * 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 D | CrossProcessCursorWrapper.java | 46 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 D | ListItemFocusableAboveUnfocusable.java | 40 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 D | ListItemFocusablesFarApart.java | 40 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument 42 position, parent.getContext(), desiredHeight);
|
H A D | ListItemISVAndButton.java | 42 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 D | ListOfTouchables.java | 41 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument 43 b.setText("Position " + position); 44 b.setId(position);
|
H A D | ListButtonsDiagonalAcrossItems.java | 50 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 D | ListHeterogeneous.java | 40 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 D | ListHorizontalFocusWithinItemWins.java | 51 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 D | ListInterleaveFocusables.java | 43 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 D | ListItemFocusablesClose.java | 50 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument 52 position, parent.getContext(), desiredHeight);
|
H A D | ListItemsExpandOnSelection.java | 41 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 D | ListManagedCursor.java | 55 public void onItemClick(AdapterView parent, View view, int position, long id) { argument
|
/frameworks/base/media/java/android/media/ |
H A D | MediaDataSource.java | 35 * 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 D | AudioPolicy.cpp | 104 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 D | SyncActivityTooManyDeletes.java | 61 // 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 D | PluginList.java | 109 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 D | NavItemSelectedListener.java | 36 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 D | ListUtil.java | 43 * 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 D | ListOfButtons.java | 63 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 D | GridSimple.java | 49 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument 50 View view = super.createView(position, parent, desiredHeight);
|