/frameworks/base/core/java/android/widget/ |
H A D | ListAdapter.java | 37 * Returns true if the item at the specified position is not a separator. 40 * The result is unspecified if position is invalid. An {@link ArrayIndexOutOfBoundsException} 43 * @param position Index of the item 46 boolean isEnabled(int position); argument
|
H A D | SpinnerAdapter.java | 31 * the data at the specified position in the data set.</p> 33 * @param position index of the item whose view we want. 40 * specified position. 42 public View getDropDownView(int position, View convertView, ViewGroup parent); argument
|
H A D | SectionIndexer.java | 39 * @return the starting position of that section. If the section is out of bounds, the 40 * position must be clipped to fall within the size of the list. 45 * This is a reverse mapping to fetch the section index for a given position 47 * @param position the position for which to return the section 48 * @return the section index. If the position is out of bounds, the section index 51 int getSectionForPosition(int position); argument
|
H A D | Adapter.java | 58 * Get the data item associated with the specified position in the data set. 60 * @param position Position of the item whose data we want within the adapter's 62 * @return The data at the specified position. 64 Object getItem(int position); argument 67 * Get the row id associated with the specified position in the list. 69 * @param position The position of the item within the adapter's data set whose row id we want. 70 * @return The id of the item at the specified position. 72 long getItemId(int position); argument 83 * Get a View that displays the data at the specified position i 97 getView(int position, View convertView, ViewGroup parent) argument 121 getItemViewType(int position) argument [all...] |
H A D | BaseAdapter.java | 61 public boolean isEnabled(int position) { argument 65 public View getDropDownView(int position, View convertView, ViewGroup parent) { argument 66 return getView(position, convertView, parent); 69 public int getItemViewType(int position) { argument
|
/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
|
H A D | ListSimple.java | 45 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument 46 View view = super.createView(position, parent, desiredHeight);
|
/frameworks/base/core/java/android/accounts/ |
H A D | ChooseAccountActivity.java | 62 protected void onListItemClick(ListView l, View v, int position, long id) { argument 63 Account account = (Account) mAccounts[position];
|
/frameworks/base/core/java/android/webkit/ |
H A D | PluginList.java | 102 public synchronized void pluginClicked(Context context, int position) { argument 104 Plugin plugin = mPlugins.get(position);
|
/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...] |
H A D | ListItemFactory.java | 37 * @param position The position within the list. 42 public static View twoButtonsSeparatedByFiller(int position, Context context, int desiredHeight) { argument 59 topButton.setText("top (position " + position + ")"); 71 bottomButton.setText("bottom (position " + position + ")"); 149 * @param position The position within the list. 155 public static View button(int position, Contex argument 176 convertButton(View convertView, String text, int position) argument 195 text(int position, Context context, String text, int desiredHeight) argument 216 convertText(View convertView, String text, int position) argument 236 doubleText(int position, Context context, String text, int desiredHeight) argument 279 convertDoubleText(View convertView, String text, int position) argument [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);
|
/frameworks/base/test-runner/src/android/test/ |
H A D | TestBrowserController.java | 29 Intent getIntentForTestAt(int position); argument
|
H A D | TestCaseUtil.java | 142 public static Test getTestAtIndex(TestSuite testSuite, int position) { argument 147 if (index == position) {
|