Home
last modified time | relevance | path

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

/pdk/apps/TestingCamera2/src/com/android/testingcamera2/
DTLog.java41 text = String.format(Locale.US, text, args); in i()
58 text = String.format(Locale.US, text, args); in e()
78 text = String.format("%s\n%s", text, Log.getStackTraceString(e)); in e()
80 text = String.format(Locale.US, text, args); in e()
DCameraInfoDialogFragment.java60 String title = String.format("Info: Camera %s", mCameraId); in onCreateDialog()
68 TLog.e(String.format("Can't get characteristics for camera %s: %s", mCameraId, e)); in onCreateDialog()
99 infoBuilder.append(String.format(Locale.US, "%s: ", key.getName())); in formatCameraCharacteristics()
108 infoBuilder.append(String.format(Locale.US, in formatCameraCharacteristics()
116 infoBuilder.append(String.format(Locale.US, "%s\n\n", val.toString())); in formatCameraCharacteristics()
DImageReaderSubPane.java198 for (OutputFormat format : OutputFormat.values()) { in updateFormats()
200 if (streamConfigMap.isOutputSupportedFor(format.imageFormat)) { in updateFormats()
201 mFormats.add(format); in updateFormats()
202 TLog.i("Format " + format + " supported"); in updateFormats()
204 TLog.i("Format " + format + " not supported"); in updateFormats()
207 TLog.i("Format " + format + " unknown to framework"); in updateFormats()
613 String.format("Unexpected Image format: %d, expected ImageFormat.RAW_SENSOR", in writeDngImage()
637 String.format("Unexpected Image format: %d, expected ImageFormat.JPEG", in writeJpegImage()
650 String.format("Unexpected Image format: %d, expected ImageFormat.YUV_420_888", in writeYuvImage()
696 String.format("Unexpected Image format: %d, expected ImageFormat.DEPTH16", in writeDepth16Image()
[all …]
DLogPane.java87 logEntry.append("\n").append(mDateFormatter.format(new Date())); in addToLog()
DSurfaceViewSubPane.java163 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in surfaceChanged() argument
DCameraControlPane.java365 String.format(Locale.US, "%s %c", in setUpUI()
413 cameraSpinnerItems[i] = String.format("Camera %s", mCameraIds[i]); in updateCameraList()
DTargetControlPane.java170 String.format(Locale.US, "%s %d", in setUpUI()
DRequestControlPane.java145 String.format(Locale.US, "%s %d", in setUpUI()
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/v1/
DCameraRecordingStream.java390 String timeStamp = new SimpleDateFormat("yyyyMMdd_HHmmss").format(new Date()); in getOutputMediaFileName()
405 MediaFormat format = in configureMediaCodecEncoder() local
412 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, in configureMediaCodecEncoder()
414 format.setInteger(MediaFormat.KEY_BIT_RATE, mEncBitRate); in configureMediaCodecEncoder()
415 format.setInteger(MediaFormat.KEY_FRAME_RATE, FRAME_RATE); in configureMediaCodecEncoder()
416 format.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, IFRAME_INTERVAL); in configureMediaCodecEncoder()
417 Log.i(TAG, "configure video encoding format: " + format); in configureMediaCodecEncoder()
426 mEncoder.configure(format, null, null, MediaCodec.CONFIGURE_FLAG_ENCODE); in configureMediaCodecEncoder()
DTestingCamera2.java235 if (VERBOSE) Log.v(TAG, String.format("onResume")); in onResume()
284 if (VERBOSE) Log.v(TAG, String.format("onPause")); in onPause()
305 Log.v(TAG, String.format("onConfiguredChanged: orientation %x", in onConfigurationChanged()
314 Log.v(TAG, String.format("handleConfiguration: orientation %x", in maybeUpdateConfiguration()
331 Log.v(TAG, String.format( in updatePreviewOrientation()
355 Log.v(TAG, String.format( in updatePreviewOrientation()
372 int format, in surfaceChanged() argument
376 Log.v(TAG, String.format("surfaceChanged: format %x, width %d, height %d", format, in surfaceChanged()
854 int format = (position == 0 ? ImageFormat.JPEG : ImageFormat.HEIC);
857 + " " + format);
[all …]
DCameraOps.java118 throw new IllegalStateException(String.format("Device not OK: %d", mStatus )); in checkOk()
332 Log.v(TAG, String.format("hasTriggers - afTrigger = %s, aePreCaptureTrigger = %s", in hasTriggers()
444 Handler h, CameraControls cameraControl, int format) throws ApiFailureException { in minimalStillCapture() argument
453 getOutputSizes(format); in minimalStillCapture()
465 mCaptureReader.getImageFormat() != format) { in minimalStillCapture()
470 format, MAX_CONCURRENT_STILL_CAPTURES); in minimalStillCapture()
/pdk/apps/TestingCamera/src/com/android/testingcamera/
DCallbackProcessor.java51 public CallbackProcessor(int width, int height, int format, in CallbackProcessor() argument
57 mFormat = format; in CallbackProcessor()
Dcallback.rscript45 void init_convert(uint32_t yw, uint32_t yh, uint32_t format,
56 switch (format) {
DTestingCamera.java431 int format, in surfaceChanged() argument
501 log(String.format( in setCameraDisplayOrientation()
1495 int format = mPreviewFormats.get(mPreviewFormat); in configureCallbacks() local
1497 mCallbackProcessor = new CallbackProcessor(width, height, format, in configureCallbacks()
1501 int size = getCallbackBufferSize(width, height, format); in configureCallbacks()
1503 " , format " + format); in configureCallbacks()
1595 String timeStamp = new SimpleDateFormat("yyyyMMdd_HHmmss").format(new Date()); in getOutputMediaFile()
1804 static int getCallbackBufferSize(int width, int height, int format) { in getCallbackBufferSize() argument
1806 switch (format) { in getCallbackBufferSize()
1898 logEntry.append("\n").append(mDateFormatter.format(new Date())).append(logIndent); in logAndScrollToBottom()
/pdk/apps/TestingCamera2/
DREADME.txt64 application-accessible. It is simply configured with the desired output format, and the size.