/frameworks/support/v4/honeycomb/android/support/v4/view/ |
H A D | ViewCompatHC.java | 42 public static int resolveSizeAndState(int size, int measureSpec, int childMeasuredState) { argument 43 return View.resolveSizeAndState(size, measureSpec, childMeasuredState);
|
/frameworks/support/v4/honeycomb_mr2/android/support/v4/os/ |
H A D | ParcelableCompatCreatorCallbacks.java | 42 * @param size Size of the array. 46 public T[] newArray(int size); argument
|
H A D | ParcelableCompatHoneycombMR2.java | 43 public T[] newArray(int size) { argument 44 return mCallbacks.newArray(size);
|
/frameworks/support/v4/java/android/support/v4/media/ |
H A D | MediaMetadataCompat.java | 478 public int size() { method in class:MediaMetadataCompat 479 return mBundle.size(); 559 public MediaMetadataCompat[] newArray(int size) { 560 return new MediaMetadataCompat[size];
|
/frameworks/support/v4/java/android/support/v4/os/ |
H A D | ParcelableCompat.java | 55 public T[] newArray(int size) { argument 56 return mCallbacks.newArray(size);
|
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | CircularArray.java | 136 removeFromStart(size()); 144 * {@link #size()} 150 if (numOfElements > size()) { 177 * {@link #size()} 183 if (numOfElements > size()) { 232 * Get nth (0 <= n <= size()-1) element of the CircularArray. 235 * @throws {@link ArrayIndexOutOfBoundsException} if n < 0 or n >= size(). 238 if (n < 0 || n >= size()) { 248 public int size() { method in class:CircularArray 253 * Return true if size() i [all...] |
H A D | CircularIntArray.java | 139 * {@link #size()} 145 if (numOfElements > size()) { 156 * {@link #size()} 162 if (numOfElements > size()) { 189 * Get nth (0 <= n <= size()-1) integer of the CircularIntArray. 192 * @throws {@link ArrayIndexOutOfBoundsException} if n < 0 or n >= size(). 195 if (n < 0 || n >= size()) throw new ArrayIndexOutOfBoundsException(); 203 public int size() { method in class:CircularIntArray 208 * Return true if size() is 0. 209 * @return true if size() i [all...] |
H A D | ContainerHelpers.java | 45 static int binarySearch(int[] array, int size, int value) { argument 47 int hi = size - 1; 64 static int binarySearch(long[] array, int size, long value) { argument 66 int hi = size - 1;
|
H A D | LongSparseArray.java | 40 * need to be performed at any time the array needs to be grown or the the map size or 229 public int size() { method in class:LongSparseArray 238 * Given an index in the range <code>0...size()-1</code>, returns 251 * Given an index in the range <code>0...size()-1</code>, returns 265 * Given an index in the range <code>0...size()-1</code>, sets a new 368 if (size() <= 0) {
|
H A D | LruCache.java | 33 private int size; field in class:LruCache 56 * Sets the size of the cache. 58 * @param maxSize The new maximum size. 112 size += safeSizeOf(key, createdValue); 139 size += safeSizeOf(key, value); 142 size -= safeSizeOf(key, previous); 156 * below the requested size. 158 * @param maxSize the maximum size of the cache before returning. May be -1 166 if (size < 0 || (map.isEmpty() && size ! 279 public synchronized final int size() { method in class:LruCache [all...] |
H A D | MapCollections.java | 233 public int size() { method in class:MapCollections.EntrySet 323 public int size() { method in class:MapCollections.KeySet 439 public int size() { method in class:MapCollections.ValuesCollection 465 int oldSize = map.size(); 470 return oldSize != map.size(); 474 int oldSize = map.size(); 481 return oldSize != map.size(); 518 return set.size() == s.size() && set.containsAll(s);
|
H A D | SimpleArrayMap.java | 137 private void allocArrays(final int size) { argument 138 if (size == (BASE_SIZE*2)) { 152 } else if (size == BASE_SIZE) { 168 mHashes = new int[size]; 169 mArray = new Object[size<<1]; 172 private static void freeArrays(final int[] hashes, final Object[] array, final int size) { argument 178 for (int i=(size<<1)-1; i>=2; i--) { 192 for (int i=(size<<1)-1; i>=2; i--) { 329 * @param index The desired index, must be between 0 and {@link #size()}-1. 338 * @param index The desired index, must be between 0 and {@link #size()} 518 public int size() { method in class:SimpleArrayMap [all...] |
H A D | SparseArrayCompat.java | 129 * @param size Number of mappings to remove 131 public void removeAtRange(int index, int size) { argument 132 final int end = Math.min(mSize, index + size); 222 public int size() { method in class:SparseArrayCompat 231 * Given an index in the range <code>0...size()-1</code>, returns 244 * Given an index in the range <code>0...size()-1</code>, returns 258 * Given an index in the range <code>0...size()-1</code>, sets a new 363 if (size() <= 0) {
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | PagerTitleStrip.java | 217 * Set the default text size to a given unit and value. 220 * <p>Example: to set the text size to 14px, use 224 * @param size The desired size in the given units 226 public void setTextSize(int unit, float size) { argument 227 mPrevText.setTextSize(unit, size); 228 mCurrText.setTextSize(unit, size); 229 mNextText.setTextSize(unit, size);
|
H A D | ViewCompat.java | 256 * {@link #getMeasuredWidthAndState} that provide the actual measured size. 276 * {@link #getMeasuredWidthAndState} that indicates the measured size 394 int resolveSizeAndState(int size, int measureSpec, int childMeasuredState); argument 603 public int resolveSizeAndState(int size, int measureSpec, int childMeasuredState) { argument 604 return View.resolveSize(size, measureSpec); 1166 public int resolveSizeAndState(int size, int measureSpec, int childMeasuredState) { argument 1167 return ViewCompatHC.resolveSizeAndState(size, measureSpec, childMeasuredState); 2339 * Utility to reconcile a desired size and state, with constraints imposed 2340 * by a MeasureSpec. Will take the desired size, unless a different size 2351 resolveSizeAndState(int size, int measureSpec, int childMeasuredState) argument [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | AutoScrollHelper.java | 58 * <li>Size of activation areas relative to view size, see 61 * <li>Maximum size used to constrain relative size, see 73 * <li>Target velocity relative to view size, see {@link #setRelativeVelocity}. 359 * Sets the activation edge size relative to the host view's dimensions. 362 * be used to constrain the calculated relative edge size. 364 * @param horizontal The horizontal edge size as a fraction of the host view 367 * @param vertical The vertical edge size as a fraction of the host view 379 * Sets the absolute maximum edge size. 381 * If relative edge size i 605 getEdgeValue(float relativeValue, float size, float maxValue, float current) argument [all...] |
H A D | FocusStrategy.java | 40 final int count = collectionAdapter.size(focusables); 61 final int count = focusables.size(); 76 final int count = focusables.size(); 166 final int count = collectionAdapter.size(focusables); 452 int size(T collection); method in interface:FocusStrategy.CollectionAdapter
|
H A D | MaterialProgressDrawable.java | 146 * Set the overall size for the progress spinner. This updates the radius 149 * @param size One of {@link MaterialProgressDrawable.LARGE} or 152 public void updateSizes(@ProgressDrawableSize int size) { argument 153 if (size == LARGE) { 267 final int N = animators.size();
|
H A D | Space.java | 56 * If mode is AT_MOST, return the child size instead of the parent size 59 private static int getDefaultSize2(int size, int measureSpec) { argument 60 int result = size; 66 result = size; 69 result = Math.min(size, specSize);
|
H A D | SwipeRefreshLayout.java | 268 public void setSize(int size) { argument 269 if (size != MaterialProgressDrawable.LARGE && size != MaterialProgressDrawable.DEFAULT) { 273 if (size == MaterialProgressDrawable.LARGE) { 279 // update by setting it to null before updating its size and then 282 mProgress.updateSizes(size);
|
/frameworks/support/v4/tests/java/android/support/v4/content/ |
H A D | ContextCompatTest.java | 122 private static int scaleFromDensity(int size, int sdensity, int tdensity) { argument 124 return size; 128 return ((size * tdensity) + (sdensity >> 1)) / sdensity;
|
/frameworks/support/v4/tests/java/android/support/v4/widget/ |
H A D | SwipeRefreshLayoutActions.java | 54 public static ViewAction setSize(final int size) { argument 63 return "Set SwipeRefreshLayout size"; 71 swipeRefreshLayout.setSize(size);
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
H A D | MenuBuilder.java | 366 final int itemCount = size(); 398 final int itemCount = size(); 504 final int N = lri != null ? lri.size() : 0; 538 final int maxRemovable = mItems.size() - i; 561 if ((index < 0) || (index >= mItems.size())) return; 594 final int N = mItems.size(); 609 final int N = mItems.size(); 622 final int N = mItems.size(); 640 final int N = mItems.size(); 656 final int size 723 public int size() { method in class:MenuBuilder [all...] |
H A D | MenuWrapperICS.java | 143 public int size() { method in class:MenuWrapperICS 144 return mWrappedObject.size();
|
/frameworks/support/v7/cardview/eclair-mr1/android/support/v7/widget/ |
H A D | RoundRectDrawableWithShadow.java | 89 * If shadow size is set to a value above max shadow, we print a warning 145 throw new IllegalArgumentException("Invalid shadow size " + shadowSize + 149 throw new IllegalArgumentException("Invalid max shadow size " + maxShadowSize + 352 void setShadowSize(float size) { argument 353 setShadowSize(size, mRawMaxShadowSize); 356 void setMaxShadowSize(float size) { argument 357 setShadowSize(mRawShadowSize, size);
|