/pdk/apps/TestingCamera2/src/com/android/testingcamera2/v1/ |
D | CameraOps.java | 114 if (mCameraManager == null) { in CameraOps() 152 if (mCameraCharacteristics == null) { in getCameraCharacteristics() 161 mCameraCharacteristics = null; in closeDevice() 163 if (mCamera == null) return; in closeDevice() 171 mCamera = null; in closeDevice() 172 mSession = null; in closeDevice() 176 if (mCamera == null) { in minimalOpenCamera() 182 if (devices == null || devices.length == 0) { in minimalOpenCamera() 196 if (mListener != null && mListenerHandler != null) { in minimalOpenCamera() 225 Size[] previewSizes = null; in minimalPreviewConfig() [all …]
|
D | CameraRecordingStream.java | 305 if (mEncoder != null) { in releaseEncoder() 308 if (mRecordingSurface != null) { in releaseEncoder() 311 mEncoder = null; in releaseEncoder() 320 if (mMuxer != null) { in releaseMuxer() 323 mMuxer = null; in releaseMuxer() 324 MediaScannerConnection.scanFile(ctx, new String [] { mOutputFile }, null, null); in releaseMuxer() 333 if (mMediaRecorder != null) { in releaseMediaRecorder() 335 mMediaRecorder = null; in releaseMediaRecorder() 338 if (mRecordingSurface != null) { in releaseMediaRecorder() 340 mRecordingSurface = null; in releaseMediaRecorder() [all …]
|
D | CameraAutoFocusControls.java | 27 private Integer mPendingTrigger = null; 58 mPendingTrigger = null; in consumePendingTrigger()
|
D | TestingCamera2.java | 90 private SurfaceHolder mCurrentPreviewHolder = null; 109 private CameraControls mCameraControl = null; 257 mCurrentPreviewHolder = null; in onPause() 341 if (mCurrentPreviewHolder != null && holder == mCurrentPreviewHolder) { in surfaceChanged() 369 if (mCurrentPreviewHolder != null) { 441 if (request == null || result ==null) { 478 if (mMainHandler != null) { 528 if (sensitivityRange == null || sensitivityRange.getLower() > MIN_SENSITIVITY || 566 if (exposureRange == null || exposureRange.getLower() > MIN_EXPOSURE || 600 if (frameDurationMax == null || frameDurationMax <= 0) {
|
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/ |
D | CameraOps2.java | 42 private String mDelayedOpenId = null; 43 private CameraDevice.StateCallback mDelayedOpenListener = null; 48 if (mCameraManager == null) { in CameraOps2() 61 mCameraManager.registerAvailabilityCallback(this, /*handler*/null); in CameraOps2() 77 mCameraManager.registerAvailabilityCallback(listener, /*handler*/null); in getCamerasAndListen() 134 mCameraManager.openCamera(cameraId, proxyListener, null); in doOpenCamera() 148 if (mDelayedOpenId != null && mDelayedOpenListener != null) { in onRequestPermissionsResult() 151 mDelayedOpenId = null; in onRequestPermissionsResult() 152 mDelayedOpenListener = null; in onRequestPermissionsResult() 155 if (mDelayedOpenId != null && mDelayedOpenListener != null) { in onRequestPermissionsResult() [all …]
|
D | CameraControlPane.java | 157 super(context, attrs, null, null); in CameraControlPane() 171 if (mCameraIds != null) { in CameraControlPane() 178 super(tc, null, listener, tc.getPaneTracker()); in CameraControlPane() 192 String cameraId = getAttributeString(configParser, CAMERA_ID, null); in CameraControlPane() 201 if (mCameraIds != null && cameraId != null) { in CameraControlPane() 211 if (!gotCamera && mCameraIds != null) { in CameraControlPane() 239 if (mCurrentCameraId != null) { in getCharacteristics() 242 return null; in getCharacteristics() 246 CaptureRequest.Builder request = null; in getRequestBuilder() 247 if (mCurrentCamera != null) { in getRequestBuilder() [all …]
|
D | TargetControlPane.java | 91 super(context, attrs, null, null); in TargetControlPane() 107 super(tc, null, listener, tc.getPaneTracker()); in TargetControlPane() 136 if (paneName == null || mCurrentOutput == null) return null; in getTargetSurfaceForCameraPane() 142 return isMyTarget ? mCurrentOutput.getOutputSurface() : null; in getTargetSurfaceForCameraPane() 150 if (mCurrentOutput != null) { in notifyPaneEvent() 162 if (mCurrentOutput != null) { in onOrientationChange() 248 if (mCurrentOutput != null) { 254 if (mCurrentOutput != null) { 264 if (mCurrentOutput != null) { 266 mCurrentOutput = null; [all …]
|
D | ControlPane.java | 109 if (mPaneTracker != null) { in onAttachedToWindow() 118 if (mStatusListener != null) { in remove() 121 if (mPaneTracker != null ) { in remove() 157 String value = configParser.getAttributeValue(null, attributeName); in getAttributeInt() 158 if (value == null ) return defaultValue; in getAttributeInt() 177 String value = configParser.getAttributeValue(null, attributeName); in getAttributeString() 178 return (value == null) ? defaultValue : value; in getAttributeString()
|
D | ImageReaderSubPane.java | 105 private OutputFormat mConfiguredFormat = null; 106 private Size mConfiguredSize = null; 109 private ImageReader mReader = null; 167 if (target != null) { in setTargetCameraPane() 170 mSizeSpinner.setAdapter(null); in setTargetCameraPane() 181 if (mCurrentCamera == null) { in updateFormats() 182 mFormatSpinner.setAdapter(null); in updateFormats() 188 OutputFormat oldFormat = null; in updateFormats() 236 if (maxLevel != null) { in updateFormats() 245 if (cfa != null) { in updateFormats() [all …]
|
D | TextureViewSubPane.java | 68 if (target != null) { in setTargetCameraPane() 69 Size oldSize = null; in setTargetCameraPane() 97 mSizeSpinner.setAdapter(null); in setTargetCameraPane() 111 if (mSurfaceTexture != null) { in updateSizes() 128 return (mSurfaceTexture != null) ? new Surface(mSurfaceTexture) : null; in getOutputSurface()
|
D | RequestControlPane.java | 86 super(context, attrs, null, null); in RequestControlPane() 101 super(tc, null, listener, tc.getPaneTracker()); in RequestControlPane() 206 if (request != null) { 222 if (request != null) { 231 return null; in createRequest() 243 if (targetSurface == null) { in createRequest() 245 return null; in createRequest() 277 if (newPanes != null) { in updateOutputList()
|
D | TLog.java | 44 if (mLogger != null) { in i() 61 if (mLogger != null) { in e() 83 if (mLogger != null) { in e()
|
D | CameraInfoDialogFragment.java | 44 mCameraId = null; in CameraInfoDialogFragment() 62 CameraCharacteristics info = null; in onCreateDialog() 63 if (mCameraId != null) { in onCreateDialog() 95 if (info != null) { in formatCameraCharacteristics()
|
D | SurfaceViewSubPane.java | 74 if (target != null) { in setTargetCameraPane() 75 Size oldSize = null; in setTargetCameraPane() 110 mSizeSpinner.setAdapter(null); in setTargetCameraPane()
|
D | PaneLayout.java | 77 mPaneTracker = null; in PaneLayout() 155 T newPane = createControlPane(tc, null); in addPane() 161 if (mPaneTracker != null) { in addPane() 169 if (mPaneTracker != null) { in onRemoveRequested()
|
D | BurstControlPane.java | 43 super(tc, null, listener, tc.getPaneTracker()); in BurstControlPane()
|
D | UtilControlPane.java | 42 super(tc, null, listener, tc.getPaneTracker()); in UtilControlPane()
|
D | CheckableListAdapter.java | 60 if (row == null) { in getView()
|
/pdk/apps/HelloPDK/src/com/example/android/helloPDK/ |
D | MainActivity.java | 48 if (path == null) { in onCreate() 61 Intent mainIntent = new Intent(Intent.ACTION_MAIN, null); in getData() 67 if (null == list) in getData() 74 prefixPath = null; in getData() 87 String label = labelSeq != null ? labelSeq.toString() : info.activityInfo.name; in getData() 94 null ? labelPath[0] : labelPath[prefixPath.length]; in getData() 96 if ((prefixPath != null ? prefixPath.length : 0) == labelPath.length - 1) { in getData() 101 if (entries.get(nextLabel) == null) { in getData()
|
/pdk/apps/TestingCamera/src/com/android/testingcamera/ |
D | TestingCamera.java | 119 SnapshotDialogFragment mSnapshotDialog = null; 158 private CallbackProcessor mCallbackProcessor = null; 359 if (mCamera != null) { in onPause() 388 if (mSnapshotDialog != null) { in onRequestPermissionsResult() 421 if (mPreviewHolder != null) { in surfaceChanged() 427 if (mCamera != null) { in surfaceChanged() 445 mPreviewHolder = null; in surfaceDestroyed() 1009 if (mParams != null) { in setUpCamera() 1011 if (sceneModes != null) { in setUpCamera() 1071 if (mPreviewHolder != null) { in setUpCamera() [all …]
|
D | CallbackProcessor.java | 117 mAllocationOut.setSurface(null); in stop() 126 if (mCallbackSurface == null) { in displayCallback() 129 if (mCallbackSurface == null) return; in displayCallback()
|
D | SnapshotDialogFragment.java | 39 private Uri mSavedUri = null; 63 if (mJpegImage != null) { in onCreateView() 136 return (attribute == null) ? "???" : attribute; in getAttrib() 153 if (targetFile == null) { in saveFile() 265 if (mSavedUri != null) { in viewFile()
|