/frameworks/support/v4/java/android/support/v4/app/ |
H A D | ShareCompat.java | 783 * @param index Index of text item to retrieve 788 public Uri getStream(int index) { argument 793 return mStreams.get(index); 795 if (index == 0) { 799 " index requested: " + index);
|
H A D | TaskStackBuilder.java | 261 * Get the intent at the specified index. 265 * @param index Index from 0-getIntentCount() 266 * @return the intent at position index 271 public Intent getIntent(int index) { argument 272 return editIntentAt(index); 276 * Return the intent at the specified index for modification. 280 * @param index Index from 0-getIntentCount() 281 * @return the intent at position index 283 public Intent editIntentAt(int index) { argument 284 return mIntents.get(index); [all...] |
/frameworks/support/v4/java/android/support/v4/content/res/ |
H A D | TypedArrayUtils.java | 31 public static boolean getBoolean(TypedArray a, @StyleableRes int index, argument 34 return a.getBoolean(index, val); 37 public static Drawable getDrawable(TypedArray a, @StyleableRes int index, argument 39 Drawable val = a.getDrawable(index); 46 public static int getInt(TypedArray a, @StyleableRes int index, argument 49 return a.getInt(index, val); 52 public static @AnyRes int getResourceId(TypedArray a, @StyleableRes int index, argument 55 return a.getResourceId(index, val); 58 public static String getString(TypedArray a, @StyleableRes int index, argument 60 String val = a.getString(index); 67 getTextArray(TypedArray a, @StyleableRes int index, @StyleableRes int fallbackIndex) argument [all...] |
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | ArrayMap.java | 80 protected Object colGetEntry(int index, int offset) { 81 return mArray[(index<<1) + offset]; 105 protected V colSetValue(int index, V value) { 106 return setValueAt(index, value); 110 protected void colRemoveAt(int index) { 111 removeAt(index);
|
H A D | LongSparseArray.java | 136 * Removes the mapping at the specified index. 138 public void removeAt(int index) { argument 139 if (mValues[index] != DELETED) { 140 mValues[index] = DELETED; 238 * Given an index in the range <code>0...size()-1</code>, returns 239 * the key from the <code>index</code>th key-value mapping that this 242 public long keyAt(int index) { argument 247 return mKeys[index]; 251 * Given an index in the range <code>0...size()-1</code>, returns 252 * the value from the <code>index</cod 256 valueAt(int index) argument 269 setValueAt(int index, E value) argument [all...] |
H A D | MapCollections.java | 188 int index = colIndexOfKey(e.getKey()); 189 if (index < 0) { 192 Object foundVal = colGetEntry(index, 1); 304 int index = colIndexOfKey(object); 305 if (index >= 0) { 306 colRemoveAt(index); 398 int index = colIndexOfValue(object); 399 if (index >= 0) { 400 colRemoveAt(index); 550 protected abstract Object colGetEntry(int index, in argument 555 colSetValue(int index, V value) argument 556 colRemoveAt(int index) argument [all...] |
H A D | SimpleArrayMap.java | 69 int index = ContainerHelpers.binarySearch(mHashes, N, hash); 72 if (index < 0) { 73 return index; 76 // If the key at the returned index matches, that's what we want. 77 if (key.equals(mArray[index<<1])) { 78 return index; 81 // Search for a matching key after the index. 83 for (end = index + 1; end < N && mHashes[end] == hash; end++) { 87 // Search for a matching key before the index. 88 for (int i = index 332 keyAt(int index) argument 341 valueAt(int index) argument 351 setValueAt(int index, V value) argument 464 removeAt(int index) argument [all...] |
H A D | SparseArrayCompat.java | 116 * Removes the mapping at the specified index. 118 public void removeAt(int index) { argument 119 if (mValues[index] != DELETED) { 120 mValues[index] = DELETED; 128 * @param index Index to begin at 131 public void removeAtRange(int index, int size) { argument 132 final int end = Math.min(mSize, index + size); 133 for (int i = index; i < end; i++) { 231 * Given an index in the range <code>0...size()-1</code>, returns 232 * the key from the <code>index</cod 235 keyAt(int index) argument 249 valueAt(int index) argument 262 setValueAt(int index, E value) argument [all...] |
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | ViewPager.java | 287 * @param position Position index of the first page currently being displayed. 298 * @param position Position index of the new selected page. 605 * @param item Item index to select 615 * @param item Item index to select 794 final int index = mDrawingOrder == DRAW_ORDER_REVERSE ? childCount - 1 - i : i; 795 final int result = ((LayoutParams) mDrawingOrderedChildren.get(index).getLayoutParams()).childIndex; 998 ItemInfo addNewItem(int position, int index) { argument 1003 if (index < 0 || index >= mItems.size()) { 1006 mItems.add(index, i 1458 addView(View child, int index, ViewGroup.LayoutParams params) argument [all...] |
/frameworks/support/v4/java/android/support/v4/view/accessibility/ |
H A D | AccessibilityEventCompat.java | 31 Object getRecord(AccessibilityEvent event, int index); argument 44 public Object getRecord(AccessibilityEvent event, int index) { argument 72 public Object getRecord(AccessibilityEvent event, int index) { argument 73 return AccessibilityEventCompatIcs.getRecord(event, index); 261 * Gets the record at a given index. 263 * @param index The index. 264 * @return The record at the specified index. 266 public static AccessibilityRecordCompat getRecord(AccessibilityEvent event, int index) { argument 267 return new AccessibilityRecordCompat(IMPL.getRecord(event, index)); [all...] |
H A D | AccessibilityNodeInfoCompat.java | 500 public Object getChild(Object info, int index); argument 715 public Object getChild(Object info, int index) { argument 1301 public Object getChild(Object info, int index) { argument 1302 return AccessibilityNodeInfoCompatIcs.getChild(info, index); 2461 * Get the child at given index. 2468 * @param index The child index. 2473 public AccessibilityNodeInfoCompat getChild(int index) { argument 2474 return AccessibilityNodeInfoCompat.wrapNonNullInstance(IMPL.getChild(mInfo, index)); 3281 * Drawing order is determined only within the node's parent, so this index i [all...] |
H A D | AccessibilityWindowInfoCompat.java | 41 public Object getChild(Object info, int index); argument 109 public Object getChild(Object info, int index) { argument 190 public Object getChild(Object info, int index) { argument 191 return AccessibilityWindowInfoCompatApi21.getChild(info, index); 374 * Gets the child window at a given index. 376 * @param index The index. 379 public AccessibilityWindowInfoCompat getChild(int index) { argument 380 return wrapNonNullInstance(IMPL.getChild(mInfo, index));
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | DrawerLayout.java | 1110 throw new IllegalStateException("Child " + child + " at index " + i + 1968 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument 1969 super.addView(child, index, params);
|
H A D | ExploreByTouchHelper.java | 353 SparseArrayCompat<AccessibilityNodeInfoCompat> collection, int index) { 354 return collection.valueAt(index); 420 final int index = allNodes.indexOfValue(nextFocusedNode); 421 nextFocusedNodeId = allNodes.keyAt(index);
|
H A D | FocusStrategy.java | 451 V get(T collection, int index); argument
|
H A D | MaterialProgressDrawable.java | 590 // if colors are reset, make sure to reset the color index as well 606 * @param index Index into the color array of the color to display in 609 public void setColorIndex(int index) { argument 610 mColorIndex = index;
|
H A D | NestedScrollView.java | 376 public void addView(View child, int index) { argument 381 super.addView(child, index); 394 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument 399 super.addView(child, index, params); 676 * ACTION_DOWN always refers to pointer index 0. 861 final int index = MotionEventCompat.getActionIndex(ev); 862 mLastMotionY = (int) MotionEventCompat.getY(ev, index); 863 mActivePointerId = MotionEventCompat.getPointerId(ev, index);
|
H A D | SwipeRefreshLayout.java | 625 // Get the index of the circleview. 626 for (int index = 0; index < getChildCount(); index++) { 627 if (getChildAt(index) == mCircleView) { 628 mCircleViewIndex = index; 725 final int index = MotionEventCompat.findPointerIndex(ev, activePointerId); 726 if (index < 0) { 729 return MotionEventCompat.getY(ev, index); 1021 Log.e(LOG_TAG, "Got ACTION_POINTER_DOWN event but have an invalid action index [all...] |
H A D | ViewDragHelper.java | 246 * @param index the ordered position to query for 247 * @return index of the view that should be ordered at position <code>index</code> 249 public int getOrderedChildIndex(int index) { argument 250 return index; 1156 final int index = MotionEventCompat.findPointerIndex(ev, mActivePointerId); 1157 final float x = MotionEventCompat.getX(ev, index); 1158 final float y = MotionEventCompat.getY(ev, index);
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | ActionBar.java | 727 * <p>Note: If you want to select by index, use {@link #setSelectedNavigationItem(int)}.</p> 755 * Returns the tab at the specified index. 757 * @param index Index value in the range 0-get 766 public abstract Tab getTabAt(int index); argument
|
H A D | ToolbarActionBar.java | 391 public Tab getTabAt(int index) { argument
|
H A D | WindowDecorActionBar.java | 1330 public Tab getTabAt(int index) { argument 1331 return mTabs.get(index);
|
/frameworks/support/v7/appcompat/src/android/support/v7/content/res/ |
H A D | GrowingArrayUtils.java | 99 * Inserts an element into the array at the specified index, growing the array if there is no 109 public static <T> T[] insert(T[] array, int currentSize, int index, T element) { argument 113 System.arraycopy(array, index, array, index + 1, currentSize - index); 114 array[index] = element; 120 System.arraycopy(array, 0, newArray, 0, index); 121 newArray[index] = element; 122 System.arraycopy(array, index, newArray, index 129 insert(int[] array, int currentSize, int index, int element) argument 148 insert(long[] array, int currentSize, int index, long element) argument 167 insert(boolean[] array, int currentSize, int index, boolean element) argument [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
H A D | MenuBuilder.java | 551 * Remove the item at the given index and optionally forces menu views to 554 * @param index The index of the item to be removed. If this index is 560 private void removeItemAtInt(int index, boolean updateChildrenOnMenuViews) { argument 561 if ((index < 0) || (index >= mItems.size())) return; 563 mItems.remove(index); 568 public void removeItemAt(int index) { argument 569 removeItemAtInt(index, tru 728 getItem(int index) argument [all...] |
H A D | MenuWrapperICS.java | 148 public MenuItem getItem(int index) { argument 149 return getMenuItemWrapper(mWrappedObject.getItem(index));
|