Home
last modified time | relevance | path

Searched refs:BUFFER_SIZE (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripView.java92 private static final int BUFFER_SIZE = 5; field in FilmstripView
127 private final int mCurrentItem = (BUFFER_SIZE - 1) / 2;
131 private final ViewItem[] mViewItem = new ViewItem[BUFFER_SIZE];
799 while (nearest < BUFFER_SIZE in findTheNearestView()
804 if (nearest == BUFFER_SIZE) { in findTheNearestView()
810 … for (int itemID = nearest + 1; itemID < BUFFER_SIZE && mViewItem[itemID] != null; itemID++) { in findTheNearestView()
905 for (int k = 0; k + adjust < BUFFER_SIZE; k++) { in stepIfNeeded()
908 for (int k = BUFFER_SIZE - adjust; k < BUFFER_SIZE; k++) { in stepIfNeeded()
916 for (int k = BUFFER_SIZE - 1; k >= BUFFER_SIZE + adjust; k--) { in stepIfNeeded()
919 for (int k = BUFFER_SIZE - 1; k + adjust >= 0; k--) { in stepIfNeeded()
[all …]
/packages/apps/Browser/src/com/android/browser/
DWallpaperHandler.java47 private static final int BUFFER_SIZE = 128 * 1024; field in WallpaperHandler
98 inputstream = new BufferedInputStream(inputstream, BUFFER_SIZE); in run()
100 inputstream.mark(BUFFER_SIZE); in run()
DCrashRecoveryHandler.java40 private static final int BUFFER_SIZE = 4096; field in CrashRecoveryHandler
164 byte[] buffer = new byte[BUFFER_SIZE]; in loadCrashState()
/packages/apps/Exchange/src/com/android/exchange/adapter/
DSerializer.java45 private static final int BUFFER_SIZE = 16*1024; field in Serializer
200 final byte[] buffer = new byte[BUFFER_SIZE]; in opaque()
203 final int bytesRead = is.read(buffer, 0, Math.min(BUFFER_SIZE, length)); in opaque()
/packages/experimental/BugReportSender/src/com/android/bugreportsender/
DBugReportParser.java14 private static final int BUFFER_SIZE = 8*1024; field in BugReportParser
25 BufferedReader reader = new BufferedReader(new InputStreamReader(in, "UTF-8"), BUFFER_SIZE); in extractSystemLogs()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DJavaNetHttpHelper.java38 private static final int BUFFER_SIZE = 1024 * 4; field in JavaNetHttpHelper
161 char[] chars = new char[BUFFER_SIZE]; in getResponseFrom()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoSource.java48 private static final int BUFFER_SIZE = 32 * 1024; field in PhotoSource
166 bis.mark(BUFFER_SIZE); in load()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DEmlAttachmentProvider.java76 private static final int BUFFER_SIZE = 4096; field in EmlAttachmentProvider
333 final byte data[] = new byte[BUFFER_SIZE]; in copyAttachment()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DConstants.java120 public static final int BUFFER_SIZE = 8192; field in Constants
DDownloadThread.java544 final byte buffer[] = new byte[Constants.BUFFER_SIZE]; in transferData()
/packages/apps/ContactsCommon/src/com/android/contacts/common/
DContactPhotoManager.java1233 private static final int BUFFER_SIZE = 1024*16; field in ContactPhotoManagerImpl.LoaderThread
1511 mBuffer = new byte[BUFFER_SIZE]; in loadUriBasedPhotos()