/frameworks/support/transition/src/android/support/transition/ |
H A D | Slide.java | 176 int[] position = new int[2]; 177 view.getLocationOnScreen(position); 178 transitionValues.values.put(PROPNAME_SCREEN_POSITION, position); 249 int[] position = (int[]) endValues.values.get(PROPNAME_SCREEN_POSITION); 255 .createAnimation(view, endValues, position[0], position[1], 265 int[] position = (int[]) startValues.values.get(PROPNAME_SCREEN_POSITION); 271 .createAnimation(view, startValues, position[0], position[1],
|
/frameworks/base/core/java/android/widget/ |
H A D | SlidingDrawer.java | 498 private void animateClose(int position, boolean notifyScrollListener) { argument 499 prepareTracking(position); 500 performFling(position, mMaximumAcceleration, true, notifyScrollListener); 503 private void animateOpen(int position, boolean notifyScrollListener) { argument 504 prepareTracking(position); 505 performFling(position, -mMaximumAcceleration, true, notifyScrollListener); 508 private void performFling(int position, float velocity, boolean always, argument 510 mAnimationPosition = position; 515 (position > mTopOffset + (mVertical ? mHandleHeight : mHandleWidth) && 518 // us to retract. Animate back to the expanded position 558 prepareTracking(int position) argument 583 moveHandle(int position) argument [all...] |
H A D | AbsListView.java | 271 * and the value holds the last known position in the adapter for that id. 316 * The current position of the selector in the list. 379 * The position of the view that received the down motion event 463 * Optional callback to notify client when scroll position has changed 478 * Indicates whether to use pixels-based or position-based scrollbar 499 * The position to resurrect the selected position to. 517 * find a checked item with a stable ID that moved position across 686 * the top of the first position in the adapter, based on the last time 693 * the bottom of the last position i 954 isItemChecked(int position) argument 1040 setItemChecked(int position, boolean value) argument 1113 performItemClick(View view, int position, long id) argument 1407 setVerticalScrollbarPosition(int position) argument 1702 int position; field in class:AbsListView.SavedState 2342 obtainView(int position, boolean[] outMetadata) argument 2409 setItemViewLayoutParams(View child, int position) argument 2513 onInitializeAccessibilityNodeInfoForItem( View view, int position, AccessibilityNodeInfo info) argument 2558 positionSelectorLikeTouch(int position, View sel, float x, float y) argument 2565 positionSelectorLikeFocus(int position, View sel) argument 2576 positionSelector(int position, View sel) argument 2580 positionSelector(int position, View sel, boolean manageHotspot, float x, float y) argument 3077 createContextMenuInfo(View view, int position, long id) argument 4879 smoothScrollToPosition(int position) argument 4898 smoothScrollToPositionFromTop(int position, int offset, int duration) argument 4916 smoothScrollToPositionFromTop(int position, int offset) argument 4933 smoothScrollToPosition(int position, int boundPosition) argument 4979 smoothScrollByOffset(int position) argument 5367 setSelectionInt(int position) argument 6445 onItemCheckedStateChanged(ActionMode mode, int position, long id, boolean checked) argument 6496 onItemCheckedStateChanged(ActionMode mode, int position, long id, boolean checked) argument 6747 getActiveView(int position) argument 6758 getTransientStateView(int position) argument 6803 getScrapView(int position) argument 6825 addScrapView(View scrap, int position) argument 7087 retrieveFromScrap(ArrayList<View> scrapViews, int position) argument 7140 getHeightForPosition(int position) argument 7167 setSelectionFromTop(int position, int y) argument 7220 start(int position) argument 7221 start(int position, int boundPosition) argument 7222 startWithOffset(int position, int offset) argument 7223 startWithOffset(int position, int offset, int duration) argument 7253 start(final int position) argument 7301 start(final int position, final int boundPosition) argument 7380 startWithOffset(int position, int offset) argument 7385 startWithOffset(final int position, int offset, final int duration) argument [all...] |
H A D | ActivityChooserView.java | 584 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument 586 final int itemViewType = adapter.getItemViewType(position); 594 // The item at position zero is the default already. 595 if (position > 0) { 596 mAdapter.getDataModel().setDefaultActivity(position); 601 position = mAdapter.getShowDefaultActivity() ? position : position + 1; 602 Intent launchIntent = mAdapter.getDataModel().chooseActivity(position); 605 ResolveInfo resolveInfo = mAdapter.getDataModel().getActivity(position); 713 getItemViewType(int position) argument 739 getItem(int position) argument 754 getItemId(int position) argument 758 getView(int position, View convertView, ViewGroup parent) argument [all...] |
/frameworks/support/core-ui/java/android/support/v4/view/ |
H A D | ViewPager.java | 79 * part of the view pagers 'decor'. Each decor view's position can be controlled via 128 int position; field in class:ViewPager.ItemInfo 137 return lhs.position - rhs.position; 217 // If the pager is at least this close to its final position, complete the scroll 259 * Indicates that the pager is in the process of settling to a final position. 282 * @param position Position index of the first page currently being displayed. 283 * Page position+1 will be visible if positionOffset is nonzero. 284 * @param positionOffset Value from [0, 1) indicating the offset from the page at position. 285 * @param positionOffsetPixels Value in pixels indicating the offset from position 287 onPageScrolled(int position, float positionOffset, int positionOffsetPixels) argument 295 onPageSelected(int position) argument 317 onPageScrolled(int position, float positionOffset, int positionOffsetPixels) argument 322 onPageSelected(int position) argument 350 transformPage(View page, float position) argument 999 addNewItem(int position, int index) argument 1382 int position; field in class:ViewPager.SavedState 1524 infoForPosition(int position) argument 1855 onPageScrolled(int position, float offset, int offsetPixels) argument 1914 dispatchOnPageScrolled(int position, float offset, int offsetPixels) argument 1931 dispatchOnPageSelected(int position) argument 3129 int position; field in class:ViewPager.LayoutParams [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ViewPager.java | 90 /** Logical position of the item within the pager adapter. */ 91 int position; field in class:ViewPager.ItemInfo 100 return lhs.position - rhs.position; 182 // If the pager is at least this close to its final position, complete the scroll 218 * Indicates that the pager is in the process of settling to a final position. 240 * @param position Position index of the first page currently being displayed. 241 * Page position+1 will be visible if positionOffset is nonzero. 242 * @param positionOffset Value from [0, 1) indicating the offset from the page at position. 243 * @param positionOffsetPixels Value in pixels indicating the offset from position 245 onPageScrolled(int position, float positionOffset, int positionOffsetPixels) argument 253 onPageSelected(int position) argument 275 onPageScrolled(int position, float positionOffset, int positionOffsetPixels) argument 280 onPageSelected(int position) argument 308 transformPage(View page, float position) argument 535 scrollToItem(int position, boolean smoothScroll, int velocity, boolean dispatchSelected) argument 562 getLeftEdgeForItem(int position) argument 805 addNewItem(int position, int index) argument 1202 int position; field in class:ViewPager.SavedState 1342 infoForPosition(int position) argument 1689 onPageScrolled(int position, float offset, int offsetPixels) argument 2796 int position; field in class:ViewPager.LayoutParams [all...] |
H A D | GapWorker.java | 42 public int position; field in class:GapWorker.Task 49 position = 0; 125 // add position 132 boolean lastPrefetchIncludedPosition(int position) { argument 136 if (mPrefetchArray[i] == position) return true; 240 task.position = prefetchRegistry.mPrefetchArray[j]; 250 static boolean isPrefetchPositionAttached(RecyclerView view, int position) { argument 256 if (holder.mPosition == position && !holder.isInvalid()) { 264 int position, long deadlineNs) { 265 if (isPrefetchPositionAttached(view, position)) { 263 prefetchPositionWithDeadline(RecyclerView view, int position, long deadlineNs) argument [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ScrollingTabContainerView.java | 180 public void setTabSelected(int position) { argument 181 mSelectedTabIndex = position; 185 final boolean isSelected = i == position; 188 animateToTab(position); 191 if (mTabSpinner != null && position >= 0) { 192 mTabSpinner.setSelection(position); 257 public void animateToTab(final int position) { argument 258 final View tabView = mTabLayout.getChildAt(position); 322 public void addTab(ActionBar.Tab tab, int position, boolean setSelected) { argument 324 mTabLayout.addView(tabView, position, ne 337 updateTab(int position) argument 347 removeTabAt(int position) argument 368 onItemSelected(AdapterView<?> adapterView, View view, int position, long id) argument 529 getItem(int position) argument 534 getItemId(int position) argument 539 getView(int position, View convertView, ViewGroup parent) argument [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | GapWorker.java | 41 public int position; field in class:GapWorker.Task 48 position = 0; 128 // add position 135 boolean lastPrefetchIncludedPosition(int position) { argument 139 if (mPrefetchArray[i] == position) return true; 251 task.position = prefetchRegistry.mPrefetchArray[j]; 261 static boolean isPrefetchPositionAttached(RecyclerView view, int position) { argument 267 if (holder.mPosition == position && !holder.isInvalid()) { 275 int position, long deadlineNs) { 276 if (isPrefetchPositionAttached(view, position)) { 274 prefetchPositionWithDeadline(RecyclerView view, int position, long deadlineNs) argument [all...] |
/frameworks/base/core/java/android/database/ |
H A D | AbstractCursor.java | 174 * to a new position, giving the subclass a chance to update any state it 176 * cursor will scroll to the beforeFirst position. 178 * @param oldPosition the position that we're moving from 179 * @param newPosition the position that we're moving to 217 public final boolean moveToPosition(int position) { argument 218 // Make sure position isn't past the end of the cursor 220 if (position >= count) { 225 // Make sure position isn't before the beginning of the cursor 226 if (position < 0) { 232 if (position 247 fillWindow(int position, CursorWindow window) argument [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | ExpandedMenuView.java | 70 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 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/listview/ |
H A D | ListScrollListener.java | 57 public void onItemSelected(AdapterView parent, View v, int position, long id) { argument 58 mText.setText("Position " + position);
|
/frameworks/base/libs/common_time/ |
H A D | clock_recovery.h | 42 void reset(bool position, bool frequency); 97 void reset_l(bool position, bool frequency);
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/asn1/ |
H A D | Asn1Decoder.java | 88 new Asn1Constructed(0, null, data.remaining(), data, data.position()); 96 int tagPosition = data.position(); 114 data.position(root.getEndOfData() + 2); // advance past '00' 132 copy.limit(copy.position() + length); 133 base.position(base.position() + length); 183 throw new DecodeException("Tag overflow", data.position()); 205 throw new DecodeException("Length overflow", data.position());
|
/frameworks/base/services/net/java/android/net/netlink/ |
H A D | RtNetlinkNeighborMessage.java | 69 byteBuffer.position(byteBuffer.position() + nlAttr.getAlignedLength()); 83 final int baseOffset = byteBuffer.position(); 89 byteBuffer.position(baseOffset); 95 byteBuffer.position(baseOffset); 101 byteBuffer.position(baseOffset); 111 byteBuffer.position(byteBuffer.limit()); 113 byteBuffer.position(baseOffset + kAdditionalSpace);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | ViewLayersActivity3.java | 54 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 D | TestActivity.java | 66 public void onListItemClick(ListView l, View v, int position, long id) argument 68 Test t = mTests[position];
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/ |
H A D | RvArrayAdapter.java | 56 public void onBindViewHolder(ViewHolder viewHolder, final int position) { argument 57 viewHolder.getTextView().setText(mDataSet[position]);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
H A D | IPAddressTypeAvailabilityElementTest.java | 64 buffer.position(0); 79 buffer.position(0);
|
H A D | ProtocolPortTupleTest.java | 52 buffer.position(0); 76 buffer.position(0);
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
H A D | ItemGroup.java | 79 * A mapping from the index of an item hierarchy in mChildren, to the first position in which 102 * ItemGroup uses this map to look for which ItemHierarchy an item at a given position belongs 181 public IItem getItemAt(int position) { argument 182 int itemIndex = getItemIndex(position); 184 int subpos = position - mHierarchyStart.get(itemIndex); 197 * child is empty, position of the next visible item is returned. 211 // Find the position of the first visible child after childIndex. This is required 305 * Use binary search to locate the item hierarchy a position is contained in. 307 * @return Index of the item hierarchy which is responsible for the item at {@code position}. 309 private int getItemIndex(int position) { argument [all...] |
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
H A D | LinearLayoutManagerJankActivity.java | 49 public void onBindViewHolder(ViewHolder holder, int position) { 50 super.onBindViewHolder(holder, position);
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
H A D | LinearLayoutManagerJankActivity.java | 49 public void onBindViewHolder(ViewHolder holder, int position) { 50 super.onBindViewHolder(holder, position);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | SparseArrayObjectAdapter.java | 40 public Object get(int position) { argument 41 return mItems.valueAt(position); 68 * @param positionStart The position of first item that has changed.
|