Searched defs:newSize (Results 1 - 3 of 3) sorted by relevance
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
H A D | Utils.java | 376 public static String[] copyOf(String[] source, int newSize) { argument 377 String[] result = new String[newSize]; 378 newSize = Math.min(source.length, newSize); 379 System.arraycopy(source, 0, result, 0, newSize);
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
H A D | MonthWeekEventsView.java | 227 public void ensureSize(int newSize) { argument 228 if (newSize >= array.length) { 230 array = Arrays.copyOf(array, newSize + 16 * 7);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | PositionController.java | 212 private static int translate(int value, int size, int newSize, float ratio) { argument 213 return Math.round(newSize / 2f + (value - size / 2f) / ratio);
|
Completed in 403 milliseconds