Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripView.java88 private static final int BUFFER_SIZE = 5; field in FilmstripView
89 private static final int BUFFER_CENTER = (BUFFER_SIZE - 1) / 2;
128 private final ViewItem[] mViewItems = new ViewItem[BUFFER_SIZE];
801 while (nearest < BUFFER_SIZE in findTheNearestView()
806 if (nearest == BUFFER_SIZE) { in findTheNearestView()
812 for (int i = nearest + 1; i < BUFFER_SIZE && mViewItems[i] != null; i++) { in findTheNearestView()
878 for(int i = 0; i < BUFFER_SIZE; i++) { in renderAllThumbnails()
922 for (int k = 0; k + adjust < BUFFER_SIZE; k++) { in stepIfNeeded()
926 for (int k = BUFFER_SIZE - adjust; k < BUFFER_SIZE; k++) { in stepIfNeeded()
935 for (int k = BUFFER_SIZE - 1; k >= BUFFER_SIZE + adjust; k--) { in stepIfNeeded()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/audio/
DAudioReader.java33 private static final int BUFFER_SIZE = AudioDebug.SAMPLE_RATE * 40; field in AudioReader
76 Log.i(TAG, String.format("Constructed AudioRecord with buffer size %d", BUFFER_SIZE)); in AudioReader()
78 mBuffer = new short[BUFFER_SIZE]; in AudioReader()
79 Log.i(TAG, String.format("Allocated audio buffer with size %d", BUFFER_SIZE)); in AudioReader()
105 while (mActive && samplesRecorded < BUFFER_SIZE) { in run()
/packages/modules/adb/fastdeploy/deploypatchgenerator/
Dpatch_utils.cpp96 constexpr static size_t BUFFER_SIZE = 128 * 1024; in Pipe() local
97 char buffer[BUFFER_SIZE]; in Pipe()
100 auto chunkAmount = std::min(amount - transferAmount, BUFFER_SIZE); in Pipe()
Dpatch_utils_test.cpp42 constexpr int BUFFER_SIZE = 2048; in FileMatchesContent() local
43 char buffer[BUFFER_SIZE]; in FileMatchesContent()
46 ssize_t readAmount = adb_read(input, buffer, BUFFER_SIZE); in FileMatchesContent()
/packages/services/BuiltInPrintService/src/com/android/bips/util/
DFileUtils.java30 private static final int BUFFER_SIZE = 8092; field in FileUtils
46 final byte[] buffer = new byte[BUFFER_SIZE]; in copy()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DCancelFromNotificationUiTest.java52 private static final int BUFFER_SIZE = 10 * 1024 * 1024; field in CancelFromNotificationUiTest
138 byte[] stubByte = new byte[BUFFER_SIZE]; in createStubFile()
142 stubByte = new byte[BUFFER_SIZE]; in createStubFile()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DDumpDatabaseAction.java38 private static final int BUFFER_SIZE = 16384; field in DumpDatabaseAction
70 final byte[] buffer = new byte[BUFFER_SIZE]; in executeAction()
/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/modules/adb/fastdeploy/deployagent/src/com/android/fastdeploy/
DDeployAgent.java41 private static final int BUFFER_SIZE = 128 * 1024; field in DeployAgent
287 byte[] buffer = new byte[BUFFER_SIZE]; in writePatchedDataToStream()
/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/providers/DownloadProvider/src/com/android/providers/downloads/
DConstants.java131 public static final int BUFFER_SIZE = 8192; field in Constants
DDownloadThread.java611 final byte buffer[] = new byte[Constants.BUFFER_SIZE]; in transferData()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/bluetoothKeystore/
DBluetoothKeystoreService.java100 private static final int BUFFER_SIZE = 400 * 10; field in BluetoothKeystoreService
565 byte[] dataBuffer = new byte[BUFFER_SIZE]; in readHashFile()
/packages/apps/Dialer/java/com/android/dialer/contactphoto/
DContactPhotoManagerImpl.java935 private static final int BUFFER_SIZE = 1024 * 16; field in ContactPhotoManagerImpl.LoaderThread
1226 buffer = new byte[BUFFER_SIZE]; in loadUriBasedPhotos()
/packages/apps/Contacts/src/com/android/contacts/
DContactPhotoManager.java1285 private static final int BUFFER_SIZE = 1024*16; field in ContactPhotoManagerImpl.LoaderThread
1575 mBuffer = new byte[BUFFER_SIZE]; in loadUriBasedPhotos()