Searched refs:position (Results 51 - 75 of 277) sorted by relevance

1234567891011>>

/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/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);
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListSimple.java45 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument
46 View view = super.createView(position, parent, desiredHeight);
H A DListWithEmptyView.java42 public long getItemId(int position) { argument
43 if (position < 0 || position >= this.getCount()) {
46 return super.getItemId(position);
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 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 DAdjacentListsWithAdjacentISVsInside.java113 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 DCameraBrowser.java64 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 DObjectBrowser.java71 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 DSimpleAdapter.java99 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 DAdapterView.java64 * 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 DArrayAdapter.java336 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 DExpandableListConnector.java34 * <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 DRemoteViewsService.java90 * @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 DAbsListView.java250 * 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 DCursorAdapter.java205 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 DStackActivity.java45 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 DMenuScenario.java68 // 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 DIMIDITime.c39 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 DListMenuPresenter.java165 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 DCursorToBulkCursorAdaptor.java155 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 DA3DSelector.java87 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 DFileSelector.java87 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 DLauncherActivity.java116 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 DPositionDependentOption.h51 inline unsigned position() const function in class:mcld::PositionDependentOption

Completed in 367 milliseconds

1234567891011>>