Searched refs:position (Results 101 - 125 of 430) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/widget/
H A DListView.java58 * position - index of the items in the cursor
78 * Used to indicate a no preference for a position type.
495 int position;
497 position = lookForSelectablePosition(mItemCount - 1, false);
499 position = lookForSelectablePosition(0, true);
501 setSelectedPositionInt(position);
502 setNextSelectedPositionInt(position);
679 * @param pos The first position to put in the list
714 * @param pos The first position to put in the list
776 int position
805 fillAboveAndBelow(View sel, int position) argument
922 smoothScrollToPosition(int position) argument
1108 setup(int position, int top) argument
1189 measureScrapChild(View child, int position, int widthMeasureSpec) argument
1342 fillSpecific(int position, int top) argument
1846 makeAndAddView(int position, int y, boolean flow, int childrenLeft, boolean selected) argument
1886 setupChild(View child, int position, int y, boolean flowDown, int childrenLeft, boolean selected, boolean recycled) argument
1987 setSelection(int position) argument
1997 setSelectionInt(int position) argument
2031 lookForSelectablePosition(int position, boolean lookDown) argument
2071 lookForSelectablePositionAfter(int current, int position, boolean lookDown) argument
3119 addViewAbove(View theView, int position) argument
3128 addViewBelow(View theView, int position) argument
3807 getHeightForPosition(int position) argument
3893 onInitializeAccessibilityNodeInfoForItem( View view, int position, AccessibilityNodeInfo info) 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.java209 public Object getItem(int position) { argument
211 mCursor.moveToPosition(position);
221 public long getItemId(int position) { argument
223 if (mCursor.moveToPosition(position)) {
241 public View getView(int position, View convertView, ViewGroup parent) { argument
245 if (!mCursor.moveToPosition(position)) {
246 throw new IllegalStateException("couldn't move cursor to position " + position);
259 public View getDropDownView(int position, View convertView, ViewGroup parent) { argument
261 mCursor.moveToPosition(position);
[all...]
H A DSlidingDrawer.java503 private void animateClose(int position) { argument
504 prepareTracking(position);
505 performFling(position, mMaximumAcceleration, true);
508 private void animateOpen(int position) { argument
509 prepareTracking(position);
510 performFling(position, -mMaximumAcceleration, true);
513 private void performFling(int position, float velocity, boolean always) { argument
514 mAnimationPosition = position;
519 (position > mTopOffset + (mVertical ? mHandleHeight : mHandleWidth) &&
522 // us to retract. Animate back to the expanded position
562 prepareTracking(int position) argument
587 moveHandle(int position) argument
[all...]
H A DExpandableListView.java57 * {@link SimpleCursorTreeAdapter}) contain the preferred position information
62 * {@link ExpandableListContextMenuInfo#packedPosition} being a packed position
89 * The packed position represents a group.
94 * The packed position represents a child.
99 * The packed position represents a neither/null/no preference.
104 * The value for a packed position that represents neither/null/no
106 * (first bit 0) should not have a child position filled.
110 /** The mask (in packed position representation) for the child */
113 /** The mask (in packed position representation) for the group */
116 /** The mask (in packed position representatio
618 isHeaderOrFooterPosition(int position) argument
646 performItemClick(View v, int position, long id) argument
666 handleItemClick(View v, int position, long id) argument
1144 getChildOrGroupId(ExpandableListPosition position) argument
[all...]
H A DAbsListView.java263 * and the value holds the last known position in the adapter for that id.
308 * The current position of the selector in the list.
371 * The position of the view that received the down motion event
455 * Optional callback to notify client when scroll position has changed
470 * Indicates whether to use pixels-based or position-based scrollbar
491 * The position to resurrect the selected position to.
509 * find a checked item with a stable ID that moved position across
664 * the top of the first position in the adapter, based on the last time
671 * the bottom of the last position i
938 isItemChecked(int position) argument
1024 setItemChecked(int position, boolean value) argument
1094 performItemClick(View view, int position, long id) argument
1388 setVerticalScrollbarPosition(int position) argument
1682 int position; field in class:AbsListView.SavedState
2319 obtainView(int position, boolean[] isScrap) argument
2383 setItemViewLayoutParams(View child, int position) argument
2480 onInitializeAccessibilityNodeInfoForItem( View view, int position, AccessibilityNodeInfo info) argument
2514 positionSelectorLikeTouch(int position, View sel, float x, float y) argument
2521 positionSelectorLikeFocus(int position, View sel) argument
2532 positionSelector(int position, View sel) argument
2536 positionSelector(int position, View sel, boolean manageHotspot, float x, float y) argument
2997 createContextMenuInfo(View view, int position, long id) argument
4642 smoothScrollToPosition(int position) argument
4661 smoothScrollToPositionFromTop(int position, int offset, int duration) argument
4679 smoothScrollToPositionFromTop(int position, int offset) argument
4696 smoothScrollToPosition(int position, int boundPosition) argument
4741 smoothScrollByOffset(int position) argument
5125 setSelectionInt(int position) argument
6171 onItemCheckedStateChanged(ActionMode mode, int position, long id, boolean checked) argument
6222 onItemCheckedStateChanged(ActionMode mode, int position, long id, boolean checked) argument
6459 getActiveView(int position) argument
6470 getTransientStateView(int position) argument
6515 getScrapView(int position) argument
6536 addScrapView(View scrap, int position) argument
6768 retrieveFromScrap(ArrayList<View> scrapViews, int position) argument
6820 getHeightForPosition(int position) argument
6847 setSelectionFromTop(int position, int y) argument
6881 start(int position) argument
6882 start(int position, int boundPosition) argument
6883 startWithOffset(int position, int offset) argument
6884 startWithOffset(int position, int offset, int duration) argument
6914 start(final int position) argument
6962 start(final int position, final int boundPosition) argument
7041 startWithOffset(int position, int offset) argument
7046 startWithOffset(final int position, int offset, final int duration) argument
[all...]
H A DActivityChooserView.java580 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
582 final int itemViewType = adapter.getItemViewType(position);
590 // The item at position zero is the default already.
591 if (position > 0) {
592 mAdapter.getDataModel().setDefaultActivity(position);
597 position = mAdapter.getShowDefaultActivity() ? position : position + 1;
598 Intent launchIntent = mAdapter.getDataModel().chooseActivity(position);
601 ResolveInfo resolveInfo = mAdapter.getDataModel().getActivity(position);
709 getItemViewType(int position) argument
735 getItem(int position) argument
750 getItemId(int position) argument
754 getView(int position, View convertView, ViewGroup parent) argument
[all...]
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DListViewAddRemove.java93 int position = listview.getPositionForView(view);
102 int position = listview.getPositionForView(view);
114 public void onItemClick(AdapterView<?> parent, final View view, int position, long id) {
116 String item = (String) parent.getItemAtPosition(position);
156 public long getItemId(int position) { argument
157 String item = getItem(position);
H A DListViewAddRemoveNoTransition.java55 public void onItemClick(AdapterView<?> parent, final View view, int position, long id) {
56 String item = (String) parent.getItemAtPosition(position);
92 public long getItemId(int position) { argument
93 String item = getItem(position);
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/
H A DCube.java76 mVertexBuffer.position(0);
82 mColorBuffer.position(0);
86 mIndexBuffer.position(0);
/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/av/media/libmedia/
H A DAudioPolicy.cpp100 size_t position = parcel->dataPosition(); local
102 parcel->setDataPosition(position);
107 size_t position = parcel->dataPosition(); local
110 parcel->setDataPosition(position);
/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));
406 onListItemClick(ListView l, View v, int position, long id) argument
416 intentForPosition(int position) argument
426 itemForPosition(int position) argument
[all...]
/frameworks/base/core/java/android/transition/
H A DSlide.java153 int[] position = new int[2];
154 view.getLocationOnScreen(position);
155 transitionValues.values.put(PROPNAME_SCREEN_POSITION, position);
227 int[] position = (int[]) endValues.values.get(PROPNAME_SCREEN_POSITION);
233 .createAnimation(view, endValues, position[0], position[1],
243 int[] position = (int[]) startValues.values.get(PROPNAME_SCREEN_POSITION);
249 .createAnimation(view, startValues, position[0], position[1],
/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/base/core/java/com/android/internal/widget/
H A DScrollingTabContainerView.java172 public void setTabSelected(int position) { argument
173 mSelectedTabIndex = position;
177 final boolean isSelected = i == position;
180 animateToTab(position);
183 if (mTabSpinner != null && position >= 0) {
184 mTabSpinner.setSelection(position);
247 public void animateToTab(final int position) { argument
248 final View tabView = mTabLayout.getChildAt(position);
311 public void addTab(ActionBar.Tab tab, int position, boolean setSelected) { argument
313 mTabLayout.addView(tabView, position, ne
326 updateTab(int position) argument
336 removeTabAt(int position) argument
357 onItemClick(AdapterView<?> parent, View view, int position, long id) argument
523 getItem(int position) argument
528 getItemId(int position) argument
533 getView(int position, View convertView, ViewGroup parent) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DScrollingTabContainerView.java179 public void setTabSelected(int position) { argument
180 mSelectedTabIndex = position;
184 final boolean isSelected = i == position;
187 animateToTab(position);
190 if (mTabSpinner != null && position >= 0) {
191 mTabSpinner.setSelection(position);
256 public void animateToTab(final int position) { argument
257 final View tabView = mTabLayout.getChildAt(position);
320 public void addTab(ActionBar.Tab tab, int position, boolean setSelected) { argument
322 mTabLayout.addView(tabView, position, ne
335 updateTab(int position) argument
345 removeTabAt(int position) argument
366 onItemClick(AdapterViewCompat<?> parent, View view, int position, long id) argument
546 getItem(int position) argument
551 getItemId(int position) argument
556 getView(int position, View convertView, ViewGroup parent) argument
[all...]
/frameworks/support/v4/java/android/support/v4/view/
H A DViewPager.java115 int position; field in class:ViewPager.ItemInfo
124 return lhs.position - rhs.position;
201 // If the pager is at least this close to its final position, complete the scroll
242 * Indicates that the pager is in the process of settling to a final position.
264 * @param position Position index of the first page currently being displayed.
265 * Page position+1 will be visible if positionOffset is nonzero.
266 * @param positionOffset Value from [0, 1) indicating the offset from the page at position.
267 * @param positionOffsetPixels Value in pixels indicating the offset from position.
269 public void onPageScrolled(int position, floa argument
277 onPageSelected(int position) argument
299 onPageScrolled(int position, float positionOffset, int positionOffsetPixels) argument
304 onPageSelected(int position) argument
332 transformPage(View page, float position) argument
834 addNewItem(int position, int index) argument
1219 int position; field in class:ViewPager.SavedState
1351 infoForPosition(int position) argument
1675 onPageScrolled(int position, float offset, int offsetPixels) argument
2864 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/libs/common_time/
H A Dclock_recovery.h41 void reset(bool position, bool frequency);
96 void reset_l(bool position, bool frequency);

Completed in 517 milliseconds

1234567891011>>