/pdk/apps/TestingCamera2/src/com/android/testingcamera2/ |
D | ControlPane.java | 58 for (int i = 0; i < ControlPane.this.getChildCount(); i++) { 59 ControlPane.this.getChildAt(i).setVisibility(VISIBLE); 64 for (int i = 0; i < ControlPane.this.getChildCount(); i++) { 65 ControlPane.this.getChildAt(i).setVisibility(GONE); 68 for (int i = 0; i < mHeaderViews.length; i++) { 69 mHeaderViews[i].setVisibility(VISIBLE); 90 for (int i = 0; i < getChildCount(); i++) { in ControlPane() 91 mHeaderViews[i] = getChildAt(i); in ControlPane()
|
D | CameraOps2.java | 53 TLog.i("Camera count: %d", cameraIds.length); in CameraOps2() 55 TLog.i(" Camera %s", cameraId); in CameraOps2() 88 TLog.i("Camera %s is now available", cameraId); in onCameraAvailable() 93 TLog.i("Camera %s is now unavailable", cameraId); in onCameraUnavailable() 116 TLog.i("Requesting camera/storage permissions"); in openCamera() 147 TLog.i("Camera permission granted"); in onRequestPermissionsResult() 154 TLog.i("Camera permission denied, not opening camera"); in onRequestPermissionsResult() 163 TLog.i("Storage permission granted"); in onRequestPermissionsResult() 165 TLog.i("Storage permission not granted; saving will not work"); in onRequestPermissionsResult() 190 TLog.i("Camera %s now closed", camera.getId()); in onClosed() [all …]
|
D | CheckableListAdapter.java | 87 for (int i = 0; i < size; i++) { in getCheckedPositions() 88 CheckableItem item = getItem(i); in getCheckedPositions() 90 checkedPositions.add(i); in getCheckedPositions() 110 for (int i = 0; i < size; i++) { in updateItems() 111 CheckableItem current = getItem(i); in updateItems()
|
D | RequestControlPane.java | 167 for (int i = 0; i < templateNames.length; i++) { in setUpUI() 168 templateNames[i] = TemplateType.values()[i].toString(); in setUpUI() 240 for (int i : targetPostions) { in createRequest() 241 TargetControlPane target = mTargetPanes.get(i); in createRequest() 258 for (int i = 0; i < cameraSpinnerItems.length; i++) { in updateCameraPaneList() 259 cameraSpinnerItems[i] = mCameraPanes.get(i).getPaneName(); in updateCameraPaneList() 260 if (cameraSpinnerItems[i].equals(currentSelection)) { in updateCameraPaneList() 261 newSelectionIndex = i; in updateCameraPaneList() 282 for (int i = 0; i < outputSpinnerItems.length; i++) { in updateOutputList() 283 outputSpinnerItems[i] = mTargetPanes.get(i).getPaneName(); in updateOutputList()
|
D | ImageReaderSubPane.java | 145 for (int i = 0; i < mCounts.length; i++) { in ImageReaderSubPane() 146 mCounts[i] = i + 1; in ImageReaderSubPane() 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() 212 for (int i = 0; i < mFormats.size(); i++) { in updateFormats() 213 if (mFormats.get(i).equals(oldFormat)) { in updateFormats() 214 newSelectionId = i; in updateFormats() 220 for (int i = 0; i < outputFormatItems.length; i++) { in updateFormats() 221 outputFormatItems[i] = mFormats.get(i).toString(); in updateFormats() [all …]
|
D | SurfaceViewSubPane.java | 88 for (int i = 0; i < mSizes.length; i++) { in setTargetCameraPane() 89 if (mSizes[i].equals(oldSize)) { in setTargetCameraPane() 90 newSelectionId = i; in setTargetCameraPane() 95 for (int i = 0; i < outputSizeItems.length; i++) { in setTargetCameraPane() 96 outputSizeItems[i] = mSizes[i].toString(); in setTargetCameraPane()
|
D | TextureViewSubPane.java | 82 for (int i = 0; i < mSizes.length; i++) { in setTargetCameraPane() 83 if (mSizes[i].equals(oldSize)) { in setTargetCameraPane() 84 newSelectionId = i; in setTargetCameraPane() 89 for (int i = 0; i < outputSizeItems.length; i++) { in setTargetCameraPane() 90 outputSizeItems[i] = mSizes[i].toString(); in setTargetCameraPane()
|
D | TargetControlPane.java | 193 for (int i = 0; i < outputTypes.length; i++) { in setUpUI() 194 outputSpinnerItems[i] = outputTypes[i].toString(); in setUpUI() 275 for (int i = 0; i < cameraSpinnerItems.length; i++) { in updateCameraPaneList() 276 cameraSpinnerItems[i] = mCameraPanes.get(i).getPaneName(); in updateCameraPaneList() 277 if (cameraSpinnerItems[i].equals(currentSelection)) { in updateCameraPaneList() 278 newSelectionIndex = i; in updateCameraPaneList()
|
D | CameraInfoDialogFragment.java | 107 for (int i = 0; i < len; i++) { in formatCameraCharacteristics() 110 Array.get(val, i), in formatCameraCharacteristics() 111 (i + 1 == len ) ? "" : ", ")); in formatCameraCharacteristics()
|
D | CameraControlPane.java | 202 for (int i = 0; i < mCameraIds.length; i++) { in CameraControlPane() 203 if (cameraId.equals(mCameraIds[i])) { in CameraControlPane() 204 switchToCamera(mCameraIds[i]); in CameraControlPane() 205 mCameraSpinner.setSelection(i); in CameraControlPane() 303 TLog.i("Preparing Surface " + target); in prepareSurface() 374 for (int i = 0; i < mCameraIds.length; i++) { in updateCameraList() 375 cameraSpinnerItems[i] = String.format("Camera %s", mCameraIds[i]); in updateCameraList() 446 TLog.i("Configuring camera %s with %d surfaces", mCurrentCamera.getId(), 476 TLog.i("Configuration completed for camera %s.", mCurrentCamera.getId()); 532 TLog.i("Surface preparation complete for Surface " + surface);
|
D | TLog.java | 39 synchronized static public void i(String text, Object... args) { in i() method in TLog 43 android.util.Log.i(TAG, text); in i()
|
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/v1/ |
D | TestingCamera2.java | 209 Log.i(TAG, "Requested camera/video permissions"); in onResume() 225 for (int i = 0; i < grantResults.length; i++) { in onRequestPermissionsResult() 226 if (grantResults[i] == PackageManager.PERMISSION_DENIED) { in onRequestPermissionsResult() 227 Log.i(TAG, "At least one permission denied, can't continue: " + permissions[i]); in onRequestPermissionsResult() 233 Log.i(TAG, "All permissions granted"); in onRequestPermissionsResult() 438 Log.i(TAG, "Capture result is available"); 445 Log.i(TAG, "Capture complete"); 648 Log.i(TAG, "start recording, useMediaCodec = " + mUseMediaCodec); 680 Log.i(TAG, "lock focus"); 684 Log.i(TAG, "unlock focus"); [all …]
|
D | CameraOps.java | 237 Log.i(TAG, "Set preview size to " + sz.toString()); in minimalPreviewConfig() 403 Image i = null; in minimalJpegCapture() 405 i = reader.acquireNextImage(); in minimalJpegCapture() 406 listener.onCaptureAvailable(i); in minimalJpegCapture() 408 if (i != null) { in minimalJpegCapture() 409 i.close(); in minimalJpegCapture()
|
D | CameraRecordingStream.java | 417 Log.i(TAG, "configure video encoding format: " + format); in configureMediaCodecEncoder()
|
/pdk/apps/TestingCamera/src/com/android/testingcamera/ |
D | TestingCamera.java | 318 for (int i = 0; i < numCameras; i++) { in onCreate() 319 cameraNames[i + 1] = "Camera " + i; in onCreate() 379 for (int i = 0; i < grantResults.length; i++) { in onRequestPermissionsResult() 380 if (grantResults[i] == PackageManager.PERMISSION_DENIED) { in onRequestPermissionsResult() 381 log("Recording permission " + permissions[i] + " denied"); in onRequestPermissionsResult() 756 for (int i = 0; i < mVideoRecordSizes.size(); i++) { 757 Camera.Size s = mVideoRecordSizes.get(i); 759 mVideoRecordSize = i; 1019 Log.i(TAG, "Supported scene modes is null"); in setUpCamera() 1176 int i = 0; in updatePreviewSizes() local [all …]
|
/pdk/apps/HelloPDK/src/com/example/android/helloPDK/ |
D | MainActivity.java | 84 for (int i = 0; i < len; i++) { in getData() 85 ResolveInfo info = list.get(i); in getData()
|