/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/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/core/tests/coretests/src/android/widget/listview/ |
H A D | ListSimple.java | 45 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument 46 View view = super.createView(position, parent, desiredHeight);
|
H A D | ListWithEmptyView.java | 42 public long getItemId(int position) { argument 43 if (position < 0 || position >= this.getCount()) { 46 return super.getItemId(position);
|
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 | 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 | AdjacentListsWithAdjacentISVsInside.java | 113 public Object getItem(int position) { argument 114 return position; 117 public long getItemId(int position) { argument 118 return position; 121 public View getView(int position, View convertView, ViewGroup parent) { argument
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
H A D | CameraBrowser.java | 64 public Object getItem(int position) { argument 65 return mDeviceList.get(position); 68 public long getItemId(int position) { argument 69 return position; 72 public View getView(int position, View convertView, ViewGroup parent) { argument 83 MtpDevice device = mDeviceList.get(position); 117 protected void onListItemClick(ListView l, View v, int position, long id) { argument 119 intent.putExtra("device", mDeviceList.get(position).getDeviceName());
|
H A D | ObjectBrowser.java | 71 public Object getItem(int position) { argument 72 return mObjectList.get(position); 75 public long getItemId(int position) { argument 76 return position; 79 public View getView(int position, View convertView, ViewGroup parent) { argument 88 MtpObjectInfo info = mObjectList.get(position); 133 protected void onListItemClick(ListView l, View v, int position, long id) { argument 134 MtpObjectInfo info = mObjectList.get(position);
|
/frameworks/base/core/java/android/widget/ |
H A D | SimpleAdapter.java | 99 public Object getItem(int position) { argument 100 return mData.get(position); 106 public long getItemId(int position) { argument 107 return position; 113 public View getView(int position, View convertView, ViewGroup parent) { argument 114 return createViewFromResource(position, convertView, parent, mResource); 117 private View createViewFromResource(int position, View convertView, argument 126 bindView(position, v); 142 public View getDropDownView(int position, View convertView, ViewGroup parent) { argument 143 return createViewFromResource(position, convertVie 146 bindView(int position, View view) argument [all...] |
H A D | AdapterView.java | 64 * The position of the first child displayed 96 * Indicates whether to sync based on the selection or position. Possible 148 * The position within the adapter's data set of the item to select 160 * The position within the adapter's data set of the currently selected item. 187 * Represents an invalid position. All valid positions are in the range 0 to 1 less than the 198 * The last selected position we used when notifying 203 * The id of the last selected position we used when notifying 253 * Implementers can call getItemAtPosition(position) if they need 259 * @param position The position o 262 onItemClick(AdapterView<?> parent, View view, int position, long id) argument 292 performItemClick(View view, int position, long id) argument 324 onItemLongClick(AdapterView<?> parent, View view, int position, long id) argument 368 onItemSelected(AdapterView<?> parent, View view, int position, long id) argument 403 AdapterContextMenuInfo(View targetView, int position, long id) argument 419 public int position; field in class:AdapterView.AdapterContextMenuInfo 643 setSelection(int position) argument 761 getItemAtPosition(int position) argument 766 getItemIdAtPosition(int position) argument 1144 lookForSelectablePosition(int position, boolean lookDown) argument 1152 setSelectedPositionInt(int position) argument 1162 setNextSelectedPositionInt(int position) argument [all...] |
H A D | ArrayAdapter.java | 336 public T getItem(int position) { argument 337 return mObjects.get(position); 341 * Returns the position of the specified item in the array. 343 * @param item The item to retrieve the position of. 345 * @return The position of the specified item. 354 public long getItemId(int position) { argument 355 return position; 361 public View getView(int position, View convertView, ViewGroup parent) { argument 362 return createViewFromResource(position, convertView, parent, mResource); 365 private View createViewFromResource(int position, Vie argument 414 getDropDownView(int position, View convertView, ViewGroup parent) argument [all...] |
H A D | ExpandableListConnector.java | 34 * <li> flPos - Flat list position, the position used by ListView 35 * <li> gPos - Group position, the position of a group among all the groups 36 * <li> cPos - Child position, the position of a child among all the children 46 * Internally, this connector translates the flat list position that the 96 * Translates a flat list position to either a) group pos if the specified 97 * flat list position corresponds to a group, or b) child pos if it 102 * @param flPos the flat list position t 961 public ExpandableListPosition position; field in class:ExpandableListConnector.PositionMetadata [all...] |
H A D | RemoteViewsService.java | 90 * @param position The position of the item within the Factory's data set of the item whose 92 * @return A RemoteViews object corresponding to the data at the specified position. 94 public RemoteViews getViewAt(int position); argument 115 * @param position The position of the item within the data set whose row id we want. 116 * @return The id of the item at the specified position. 118 public long getItemId(int position); argument 161 public synchronized RemoteViews getViewAt(int position) { argument 164 rv = mFactory.getViewAt(position); 194 getItemId(int position) argument [all...] |
H A D | AbsListView.java | 250 * and the value holds the last known position in the adapter for that id. 295 * The current position of the selector in the list. 358 * The position of the view that received the down motion event 437 * Optional callback to notify client when scroll position has changed 452 * Indicates whether to use pixels-based or position-based scrollbar 473 * The position to resurrect the selected position to. 491 * find a checked item with a stable ID that moved position across 629 * the top of the first position in the adapter, based on the last time 636 * the bottom of the last position i 884 isItemChecked(int position) argument 970 setItemChecked(int position, boolean value) argument 1034 performItemClick(View view, int position, long id) argument 1258 setVerticalScrollbarPosition(int position) argument 1655 int position; field in class:AbsListView.SavedState 2238 obtainView(int position, boolean[] isScrap) argument 2387 positionSelector(int position, View sel) argument 2817 createContextMenuInfo(View view, int position, long id) argument 4285 start(final int position) argument 4332 start(final int position, final int boundPosition) argument 4410 startWithOffset(int position, int offset) argument 4414 startWithOffset(final int position, int offset, final int duration) argument 4732 smoothScrollToPosition(int position) argument 4751 smoothScrollToPositionFromTop(int position, int offset, int duration) argument 4769 smoothScrollToPositionFromTop(int position, int offset) argument 4785 smoothScrollToPosition(int position, int boundPosition) argument 4830 smoothScrollByOffset(int position) argument 5170 setSelectionInt(int position) argument 6075 onItemCheckedStateChanged(ActionMode mode, int position, long id, boolean checked) argument 6117 onItemCheckedStateChanged(ActionMode mode, int position, long id, boolean checked) argument 6351 getActiveView(int position) argument 6362 getTransientStateView(int position) argument 6387 getScrapView(int position) argument 6404 addScrapView(View scrap, int position) argument 6591 retrieveFromScrap(ArrayList<View> scrapViews, int position) argument [all...] |
H A D | CursorAdapter.java | 205 public Object getItem(int position) { argument 207 mCursor.moveToPosition(position); 217 public long getItemId(int position) { argument 219 if (mCursor.moveToPosition(position)) { 237 public View getView(int position, View convertView, ViewGroup parent) { argument 241 if (!mCursor.moveToPosition(position)) { 242 throw new IllegalStateException("couldn't move cursor to position " + position); 255 public View getDropDownView(int position, View convertView, ViewGroup parent) { argument 257 mCursor.moveToPosition(position); [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | StackActivity.java | 45 public View getView(int position, View convertView, ViewGroup parent) { 52 getItem(position % getCount())); 53 ((TextView) item.findViewById(R.id.mini_text)).setText("" + position);
|
/frameworks/base/core/tests/coretests/src/android/view/menu/ |
H A D | MenuScenario.java | 68 // Add a default item for this position if the subclasses 98 * @param itemPosition The position of the item to add (only for your 120 final int position = findItemPosition(item); 121 if (position < 0) return false; 123 mWasItemClicked[position] = true; 128 public boolean wasItemClicked(int position) { argument 129 return mWasItemClicked[position]; 133 * Finds the position for a given Item. 136 * @return The position, or -1 if not found.
|
/frameworks/wilhelm/src/itf/ |
H A D | IMIDITime.c | 39 static SLresult IMIDITime_SetPosition(SLMIDITimeItf self, SLuint32 position) argument 45 if (!(position < thiz->mDuration)) { 49 thiz->mPosition = position; 67 SLuint32 position = thiz->mPosition; local 69 *pPosition = position;
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | ListMenuPresenter.java | 165 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument 166 mMenu.performItemAction(mAdapter.getItem(position), 0); 238 public MenuItemImpl getItem(int position) { argument 240 position += mItemIndexOffset; 241 if (mExpandedIndex >= 0 && position >= mExpandedIndex) { 242 position++; 244 return items.get(position); 247 public long getItemId(int position) { argument 248 // Since a menu item's ID is optional, we'll use the position as an 250 return position; 253 getView(int position, View convertView, ViewGroup parent) argument [all...] |
/frameworks/base/core/java/android/database/ |
H A D | CursorToBulkCursorAdaptor.java | 155 public CursorWindow getWindow(int position) { argument 159 if (!mCursor.moveToPosition(position)) { 172 } else if (position < window.getStartPosition() 173 || position >= window.getStartPosition() + window.getNumRows()) { 176 mCursor.fillWindow(position, window); 189 public void onMove(int position) { argument 193 mCursor.onMove(mCursor.getPosition(), position);
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
H A D | A3DSelector.java | 87 protected void onListItemClick(ListView l, View v, int position, long id) { argument 88 if (position == 0) { 98 File selectedFile = mCurrentSubList[position - 1];
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
H A D | FileSelector.java | 87 protected void onListItemClick(ListView l, View v, int position, long id) { argument 88 if (position == 0) { 98 File selectedFile = mCurrentSubList[position - 1];
|
/frameworks/base/core/java/android/app/ |
H A D | LauncherActivity.java | 116 public Intent intentForPosition(int position) { argument 122 ListItem item = mActivitiesList.get(position); 130 public ListItem itemForPosition(int position) { argument 135 return mActivitiesList.get(position); 142 public Object getItem(int position) { argument 143 return position; 146 public long getItemId(int position) { argument 147 return position; 150 public View getView(int position, View convertView, ViewGroup parent) { argument 158 bindView(view, mActivitiesList.get(position)); 402 onListItemClick(ListView l, View v, int position, long id) argument 412 intentForPosition(int position) argument 422 itemForPosition(int position) argument [all...] |
/frameworks/compile/mclinker/include/mcld/Support/ |
H A D | PositionDependentOption.h | 51 inline unsigned position() const function in class:mcld::PositionDependentOption
|