Home
last modified time | relevance | path

Searched refs:newSize (Results 1 – 9 of 9) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DGestureTrailDrawingPoints.java230 final int newSize = trailSize - startIndex; in drawGestureTrailLocked() local
231 if (newSize < startIndex) { in drawGestureTrailLocked()
233 if (newSize > 0) { in drawGestureTrailLocked()
234 System.arraycopy(eventTimes, startIndex, eventTimes, 0, newSize); in drawGestureTrailLocked()
235 System.arraycopy(xCoords, startIndex, xCoords, 0, newSize); in drawGestureTrailLocked()
236 System.arraycopy(yCoords, startIndex, yCoords, 0, newSize); in drawGestureTrailLocked()
238 System.arraycopy(pointTypes, startIndex, pointTypes, 0, newSize); in drawGestureTrailLocked()
241 mEventTimes.setLength(newSize); in drawGestureTrailLocked()
242 mXCoordinates.setLength(newSize); in drawGestureTrailLocked()
243 mYCoordinates.setLength(newSize); in drawGestureTrailLocked()
[all …]
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/common/
DUtils.java319 public static String[] copyOf(String[] source, int newSize) { in copyOf() argument
320 String[] result = new String[newSize]; in copyOf()
321 newSize = Math.min(source.length, newSize); in copyOf()
322 System.arraycopy(source, 0, result, 0, newSize); in copyOf()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DUtils.java319 public static String[] copyOf(String[] source, int newSize) { in copyOf() argument
320 String[] result = new String[newSize]; in copyOf()
321 newSize = Math.min(source.length, newSize); in copyOf()
322 System.arraycopy(source, 0, result, 0, newSize); in copyOf()
/packages/apps/Mms/src/com/android/mms/model/
DCarrierContentRestriction.java58 int newSize = messageSize + increaseSize; in checkMessageSize() local
60 if ( (newSize < 0) || (newSize > MmsConfig.getMaxMessageSize()) ) { in checkMessageSize()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DVideoUtils.java162 int newSize = format.getInteger(MediaFormat.KEY_MAX_INPUT_SIZE); in genVideoUsingMuxer() local
163 bufferSize = newSize > bufferSize ? newSize : bufferSize; in genVideoUsingMuxer()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DApplicationsState.java604 long newSize = externalCodeSize + externalDataSize
606 if (entry.size != newSize || entry.cacheSize != stats.cacheSize
612 entry.size = newSize;
/packages/apps/Settings/src/com/android/settings/applications/
DApplicationsState.java892 long newSize = externalCodeSize + externalDataSize
894 if (entry.size != newSize ||
901 entry.size = newSize;
/packages/apps/Calendar/src/com/android/calendar/month/
DMonthWeekEventsView.java239 public void ensureSize(int newSize) { in ensureSize() argument
240 if (newSize >= array.length) { in ensureSize()
242 array = Arrays.copyOf(array, newSize + 16 * 7); in ensureSize()
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...