Home
last modified time | relevance | path

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

/pdk/apps/TestingCamera2/src/com/android/testingcamera2/
DCheckableListAdapter.java86 int size = getCount(); in getCheckedPositions() local
87 for (int i = 0; i < size; i++) { in getCheckedPositions()
109 int size = getCount(); in updateItems() local
110 for (int i = 0; i < size; i++) { in updateItems()
DRequestControlPane.java127 if (mCameraPanes.size() > 0 in notifyPaneEvent()
133 if (mCameraPanes.size() > 0 in notifyPaneEvent()
214 if (mCameraPanes.size() == 0) {
230 if (mCameraPanes.size() == 0) {
244 if (mTargetPanes.size() == 0) { in createRequest()
272 String[] cameraSpinnerItems = new String[mCameraPanes.size()]; in updateCameraPaneList()
287 if (mCameraPanes.size() > 0) { in updateOutputList()
296 String[] outputSpinnerItems = new String[mTargetPanes.size()]; in updateOutputList()
DTargetControlPane.java148 if (mCameraPanes.size() > 0 in notifyPaneEvent()
274 String[] cameraSpinnerItems = new String[mCameraPanes.size()]; in updateCameraPaneList()
287 if (mCameraPanes.size() > 0 && mCurrentOutput != null) { in updateSubPaneCamera()
DImageReaderSubPane.java212 for (int i = 0; i < mFormats.size(); i++) { in updateFormats()
219 String[] outputFormatItems = new String[mFormats.size()]; in updateFormats()
521 (mCurrentImages.size() - 1) : (mCurrentImageIdx - 1);
534 mCurrentImageIdx = (mCurrentImageIdx == mCurrentImages.size() - 1) ?
563 while (mCurrentImages.size() >= reader.getMaxImages()) {
DCameraControlPane.java331 if (mRecentResults.size() > MAX_CACHED_RESULTS) {
485 targetSurfaces.size());
487 if (targetSurfaces.size() > 0) {
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/v1/
DCameraRecordingStream.java88 Context ctx, Size size, boolean useMediaCodec, int bitRate, int orientation, in configure() argument
96 (!mStreamSize.equals(size)) || in configure()
101 mStreamSize = size; in configure()
563 mBufferInfo.size = 0; in doMediaCodecEncoding()
566 if (mBufferInfo.size != 0) { in doMediaCodecEncoding()
576 encodedData.limit(mBufferInfo.offset + mBufferInfo.size); in doMediaCodecEncoding()
580 Log.v(TAG, "sent " + mBufferInfo.size + " bytes to muxer"); in doMediaCodecEncoding()
DCameraOps.java203 if (physicalIds.size() != 2) { in minimalOpenCamera()
DTestingCamera2.java517 info.append("Total keys: " + resultKeys.size());
/pdk/apps/TestingCamera/src/com/android/testingcamera/
DTestingCamera.java788 for (int i = 0; i < mVideoRecordSizes.size(); i++) {
1209 String[] availableSizeNames = new String[mPreviewSizes.size()]; in updatePreviewSizes()
1259 String[] availableFormatNames = new String[mPreviewFormats.size()]; in updatePreviewFormats()
1282 availableSizeNames = new String[mSnapshotSizes.size()]; in updateSnapshotSizes()
1360 if (availableCamcorderProfileNames.size() == 0) { in updateCamcorderProfile()
1501 int size = getCallbackBufferSize(width, height, format); in configureCallbacks() local
1505 mCamera.addCallbackBuffer(new byte[size]); in configureCallbacks()
1805 int size = -1; in getCallbackBufferSize() local
1808 size = width * height * 3 / 2; in getCallbackBufferSize()
1815 size = y_size + c_size * 2; in getCallbackBufferSize()
[all …]
/pdk/apps/HelloPDK/src/com/example/android/helloPDK/
DMainActivity.java80 int len = list.size(); in getData()
/pdk/apps/TestingCamera2/
DREADME.txt58 These are basic outputs generally used for camera preview; each is simply configured by the size
64 application-accessible. It is simply configured with the desired output format, and the size.