Home
last modified time | relevance | path

Searched refs:i (Results 1 – 16 of 16) sorted by relevance

/pdk/apps/TestingCamera2/src/com/android/testingcamera2/
DControlPane.java58 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()
DCameraOps2.java53 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()
114 TLog.i("Requesting camera permissions"); in openCamera()
143 TLog.i("Camera permission granted"); in onRequestPermissionsResult()
150 TLog.i("Camera permission denied, not opening camera"); in onRequestPermissionsResult()
159 TLog.i("Storage permission granted"); in onRequestPermissionsResult()
161 TLog.i("Storage permission not granted; saving will not work"); in onRequestPermissionsResult()
186 TLog.i("Camera %s now closed", camera.getId()); in onClosed()
[all …]
DCheckableListAdapter.java87 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()
DRequestControlPane.java170 for (int i = 0; i < templateNames.length; i++) { in setUpUI()
171 templateNames[i] = TemplateType.values()[i].toString(); in setUpUI()
255 for (int i : targetPostions) { in createRequest()
256 TargetControlPane target = mTargetPanes.get(i); in createRequest()
273 for (int i = 0; i < cameraSpinnerItems.length; i++) { in updateCameraPaneList()
274 cameraSpinnerItems[i] = mCameraPanes.get(i).getPaneName(); in updateCameraPaneList()
275 if (cameraSpinnerItems[i].equals(currentSelection)) { in updateCameraPaneList()
276 newSelectionIndex = i; in updateCameraPaneList()
297 for (int i = 0; i < outputSpinnerItems.length; i++) { in updateOutputList()
298 outputSpinnerItems[i] = mTargetPanes.get(i).getPaneName(); in updateOutputList()
DImageReaderSubPane.java145 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 …]
DSurfaceViewSubPane.java88 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()
DTextureViewSubPane.java82 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()
DTargetControlPane.java193 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()
DCameraInfoDialogFragment.java107 for (int i = 0; i < len; i++) { in formatCameraCharacteristics()
110 Array.get(val, i), in formatCameraCharacteristics()
111 (i + 1 == len ) ? "" : ", ")); in formatCameraCharacteristics()
DCameraControlPane.java203 for (int i = 0; i < mCameraIds.length; i++) { in CameraControlPane()
204 if (cameraId.equals(mCameraIds[i])) { in CameraControlPane()
205 switchToCamera(mCameraIds[i]); in CameraControlPane()
206 mCameraSpinner.setSelection(i); in CameraControlPane()
304 TLog.i("Preparing Surface " + target); in prepareSurface()
412 for (int i = 0; i < mCameraIds.length; i++) { in updateCameraList()
413 cameraSpinnerItems[i] = String.format("Camera %s", mCameraIds[i]); in updateCameraList()
484 TLog.i("Configuring camera %s with %d surfaces", mCurrentCamera.getId(),
514 TLog.i("Configuration completed for camera %s.", mCurrentCamera.getId());
570 TLog.i("Surface preparation complete for Surface " + surface);
DTLog.java39 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/TestingCamera/src/com/android/testingcamera/
DTestingCamera.java320 for (int i = 0; i < numCameras; i++) { in onCreate()
321 cameraNames[i + 1] = "Camera " + i; in onCreate()
411 for (int i = 0; i < grantResults.length; i++) { in onRequestPermissionsResult()
412 if (grantResults[i] == PackageManager.PERMISSION_DENIED) { in onRequestPermissionsResult()
413 log("Recording permission " + permissions[i] + " denied"); in onRequestPermissionsResult()
788 for (int i = 0; i < mVideoRecordSizes.size(); i++) {
789 Camera.Size s = mVideoRecordSizes.get(i);
791 mVideoRecordSize = i;
1051 Log.i(TAG, "Supported scene modes is null"); in setUpCamera()
1210 int i = 0; in updatePreviewSizes() local
[all …]
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/v1/
DTestingCamera2.java241 Log.i(TAG, "Requested camera/video permissions"); in onResume()
256 for (int i = 0; i < grantResults.length; i++) { in onRequestPermissionsResult()
257 if (grantResults[i] == PackageManager.PERMISSION_DENIED) { in onRequestPermissionsResult()
258 Log.i(TAG, "At least one permission denied, can't continue: " + permissions[i]); in onRequestPermissionsResult()
264 Log.i(TAG, "All permissions granted"); in onRequestPermissionsResult()
480 Log.i(TAG, "Capture result is available");
487 Log.i(TAG, "Capture complete");
690 Log.i(TAG, "start recording, useMediaCodec = " + mUseMediaCodec);
722 Log.i(TAG, "lock focus");
726 Log.i(TAG, "unlock focus");
[all …]
DCameraOps.java212 Log.i(TAG, "Opening " + mCameraId); in minimalOpenCamera()
274 Log.i(TAG, "Set preview size to " + sz.toString()); in minimalPreviewConfig()
422 Image i = null; in onImageAvailable() local
424 i = reader.acquireNextImage(); in onImageAvailable()
425 mListener.onCaptureAvailable(i); in onImageAvailable()
427 if (i != null) { in onImageAvailable()
428 i.close(); in onImageAvailable()
DCameraRecordingStream.java417 Log.i(TAG, "configure video encoding format: " + format); in configureMediaCodecEncoder()
/pdk/apps/HelloPDK/src/com/example/android/helloPDK/
DMainActivity.java84 for (int i = 0; i < len; i++) { in getData()
85 ResolveInfo info = list.get(i); in getData()