Searched refs:position (Results 76 - 100 of 300) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/widget/
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 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...]
H A DListView.java54 * position - index of the items in the cursor
74 * Used to indicate a no preference for a position type.
470 int position;
472 position = lookForSelectablePosition(mItemCount - 1, false);
474 position = lookForSelectablePosition(0, true);
476 setSelectedPositionInt(position);
477 setNextSelectedPositionInt(position);
655 * @param pos The first position to put in the list
690 * @param pos The first position to put in the list
752 int position
781 fillAboveAndBelow(View sel, int position) argument
898 smoothScrollToPosition(int position) argument
1084 setup(int position, int top) argument
1165 measureScrapChild(View child, int position, int widthMeasureSpec) argument
1318 fillSpecific(int position, int top) argument
1813 makeAndAddView(int position, int y, boolean flow, int childrenLeft, boolean selected) argument
1853 setupChild(View child, int position, int y, boolean flowDown, int childrenLeft, boolean selected, boolean recycled) argument
1950 setSelection(int position) argument
1963 setSelectionFromTop(int position, int y) argument
1999 setSelectionInt(int position) argument
2033 lookForSelectablePosition(int position, boolean lookDown) argument
3025 addViewAbove(View theView, int position) argument
3034 addViewBelow(View theView, int position) argument
[all...]
H A DSlidingDrawer.java482 private void animateClose(int position) { argument
483 prepareTracking(position);
484 performFling(position, mMaximumAcceleration, true);
487 private void animateOpen(int position) { argument
488 prepareTracking(position);
489 performFling(position, -mMaximumAcceleration, true);
492 private void performFling(int position, float velocity, boolean always) { argument
493 mAnimationPosition = position;
498 (position > mTopOffset + (mVertical ? mHandleHeight : mHandleWidth) &&
501 // us to retract. Animate back to the expanded position
541 prepareTracking(int position) argument
566 moveHandle(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
892 isItemChecked(int position) argument
978 setItemChecked(int position, boolean value) argument
1048 performItemClick(View view, int position, long id) argument
1272 setVerticalScrollbarPosition(int position) argument
1525 int position; field in class:AbsListView.SavedState
2130 obtainView(int position, boolean[] isScrap) argument
2281 positionSelector(int position, View sel) argument
2711 createContextMenuInfo(View view, int position, long id) argument
4179 start(final int position) argument
4226 start(final int position, final int boundPosition) argument
4304 startWithOffset(int position, int offset) argument
4308 startWithOffset(final int position, int offset, final int duration) argument
4626 smoothScrollToPosition(int position) argument
4645 smoothScrollToPositionFromTop(int position, int offset, int duration) argument
4663 smoothScrollToPositionFromTop(int position, int offset) argument
4679 smoothScrollToPosition(int position, int boundPosition) argument
4724 smoothScrollByOffset(int position) argument
5064 setSelectionInt(int position) argument
5989 onItemCheckedStateChanged(ActionMode mode, int position, long id, boolean checked) argument
6035 onItemCheckedStateChanged(ActionMode mode, int position, long id, boolean checked) argument
6269 getActiveView(int position) argument
6280 getTransientStateView(int position) argument
6305 getScrapView(int position) argument
6322 addScrapView(View scrap, int position) argument
6509 retrieveFromScrap(ArrayList<View> scrapViews, int position) argument
[all...]
H A DActivityChooserView.java529 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
531 final int itemViewType = adapter.getItemViewType(position);
539 // The item at position zero is the default already.
540 if (position > 0) {
541 mAdapter.getDataModel().setDefaultActivity(position);
546 position = mAdapter.getShowDefaultActivity() ? position : position + 1;
547 Intent launchIntent = mAdapter.getDataModel().chooseActivity(position);
645 public int getItemViewType(int position) { argument
671 getItem(int position) argument
686 getItemId(int position) argument
690 getView(int position, View convertView, ViewGroup parent) argument
[all...]
/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/support/v4/java/android/support/v4/widget/
H A DCursorAdapter.java211 public Object getItem(int position) { argument
213 mCursor.moveToPosition(position);
223 public long getItemId(int position) { argument
225 if (mCursor.moveToPosition(position)) {
243 public View getView(int position, View convertView, ViewGroup parent) { argument
247 if (!mCursor.moveToPosition(position)) {
248 throw new IllegalStateException("couldn't move cursor to position " + position);
261 public View getDropDownView(int position, View convertView, ViewGroup parent) { argument
263 mCursor.moveToPosition(position);
[all...]
/frameworks/av/libvideoeditor/vss/src/
H A DM4AMRR_CoreReader.c587 M4OSA_UInt32 position, partSeekTime; local
637 position = (pStreamContext->m_streamType != M4SYS_kAMR)?9:6;
650 pStreamContext->m_pSeekIndex[count++]=position;
674 position += auSize ;
682 position ++;
687 pStreamContext->m_pSeekIndex[count++] = position;
713 position = (M4OSA_UInt32)(time_double / pStreamContext->m_seekInterval);
718 position = 0;
722 position=(position >
[all...]
/frameworks/support/v4/java/android/support/v4/view/
H A DViewPager.java102 int position; field in class:ViewPager.ItemInfo
111 return lhs.position - rhs.position;
189 // If the pager is at least this close to its final position, complete the scroll
230 * Indicates that the pager is in the process of settling to a final position.
252 * @param position Position index of the first page currently being displayed.
253 * Page position+1 will be visible if positionOffset is nonzero.
254 * @param positionOffset Value from [0, 1) indicating the offset from the page at position.
255 * @param positionOffsetPixels Value in pixels indicating the offset from position.
257 public void onPageScrolled(int position, floa argument
265 onPageSelected(int position) argument
287 onPageScrolled(int position, float positionOffset, int positionOffsetPixels) argument
292 onPageSelected(int position) argument
320 transformPage(View page, float position) argument
798 addNewItem(int position, int index) argument
1153 int position; field in class:ViewPager.SavedState
1276 infoForPosition(int position) argument
1597 onPageScrolled(int position, float offset, int offsetPixels) argument
2730 int position; field in class:ViewPager.LayoutParams
[all...]
/frameworks/base/core/java/android/database/
H A DAbstractCursor.java153 * to a new position, giving the subclass a chance to update any state it
155 * cursor will scroll to the beforeFirst position.
157 * @param oldPosition the position that we're moving from
158 * @param newPosition the position that we're moving to
195 public final boolean moveToPosition(int position) { argument
196 // Make sure position isn't past the end of the cursor
198 if (position >= count) {
203 // Make sure position isn't before the beginning of the cursor
204 if (position < 0) {
210 if (position
228 fillWindow(int position, CursorWindow window) argument
[all...]
/frameworks/base/core/java/com/android/internal/view/menu/
H A DExpandedMenuView.java70 public void onItemClick(AdapterView parent, View v, int position, long id) { argument
71 invokeItem((MenuItemImpl) getAdapter().getItem(position));
/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/listview/
H A DListScrollListener.java57 public void onItemSelected(AdapterView parent, View v, int position, long id) { argument
58 mText.setText("Position " + position);
/frameworks/base/services/common_time/
H A Dclock_recovery.h41 void reset(bool position, bool frequency);
96 void reset_l(bool position, bool frequency);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DViewLayersActivity3.java54 public View getView(int position, View convertView, ViewGroup parent) { argument
55 TextView v = (TextView) super.getView(position, convertView, parent);
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DTestActivity.java66 public void onListItemClick(ListView l, View v, int position, long id) argument
68 Test t = mTests[position];
/frameworks/ex/photoviewer/src/com/android/ex/photo/adapters/
H A DPhotoPagerAdapter.java42 public Fragment getItem(Context context, Cursor cursor, int position) { argument
53 return new PhotoViewFragment(builder.build(), position, this);
/frameworks/opt/mailcommon/tests/src/com/android/mailcommon/
H A DMergedAdapterTest.java57 public Object getItem(int position) { argument
58 return Integer.toString(mOffset + position);
62 public long getItemId(int position) { argument
63 return position;
67 public View getView(int position, View convertView, ViewGroup parent) { argument
69 v.setTag(getItem(position));
89 public int getItemViewType(int position) { argument
90 return position % mViewTypeCount;
/frameworks/base/core/java/com/android/internal/widget/
H A DScrollingTabContainerView.java171 public void setTabSelected(int position) { argument
172 mSelectedTabIndex = position;
176 final boolean isSelected = i == position;
179 animateToTab(position);
243 public void animateToTab(final int position) { argument
244 final View tabView = mTabLayout.getChildAt(position);
307 public void addTab(ActionBar.Tab tab, int position, boolean setSelected) { argument
309 mTabLayout.addView(tabView, position, new LinearLayout.LayoutParams(
322 public void updateTab(int position) { argument
323 ((TabView) mTabLayout.getChildAt(position))
332 removeTabAt(int position) argument
353 onItemClick(AdapterView<?> parent, View view, int position, long id) argument
496 getItem(int position) argument
501 getItemId(int position) argument
506 getView(int position, View convertView, ViewGroup parent) argument
[all...]

Completed in 1367 milliseconds

1234567891011>>