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()
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 …]
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.java167 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()
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.java202 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);
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/TestingCamera2/src/com/android/testingcamera2/v1/
DTestingCamera2.java209 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 …]
DCameraOps.java237 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()
DCameraRecordingStream.java417 Log.i(TAG, "configure video encoding format: " + format); in configureMediaCodecEncoder()
/pdk/apps/TestingCamera/src/com/android/testingcamera/
DTestingCamera.java318 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/
DMainActivity.java84 for (int i = 0; i < len; i++) { in getData()
85 ResolveInfo info = list.get(i); in getData()