/packages/apps/Camera2/src/com/android/camera/captureintent/state/ |
D | StateOpeningCamera.java | 59 private final RefCountBase<ResourceConstructed> mResourceConstructed; field in StateOpeningCamera 109 mResourceConstructed = resourceConstructed; in StateOpeningCamera() 110 mResourceConstructed.addRef(); // Will be balanced in onLeave(). in StateOpeningCamera() 143 mResourceConstructed, in registerEventHandlers() 147 mResourceConstructed.get().getMainThread().execute(new Runnable() { in registerEventHandlers() 150 mResourceConstructed.get().getModuleUI().applyModuleSpecs( in registerEventHandlers() 157 mResourceConstructed, in registerEventHandlers() 176 StateOpeningCamera.this, mResourceConstructed)); in registerEventHandlers() 186 return Optional.of((State) StateFatal.from(this, mResourceConstructed)); in onEnter() 189 mPictureSize = mResourceConstructed.get().getResolutionSetting().getPictureSize( in onEnter() [all …]
|
D | StateBackground.java | 39 private final RefCountBase<ResourceConstructed> mResourceConstructed; field in StateBackground 57 mResourceConstructed = resourceConstructed; in StateBackground() 58 mResourceConstructed.addRef(); // Will be balanced in onLeave(). in StateBackground() 65 mResourceConstructed = resourceConstructed; in StateBackground() 66 mResourceConstructed.addRef(); // Will be balanced in onLeave(). in StateBackground() 76 StateBackground.this, mResourceConstructed)); in registerEventHandlers() 89 mResourceConstructed, in registerEventHandlers() 93 mResourceConstructed, in registerEventHandlers() 98 mResourceConstructed, in registerEventHandlers() 116 mResourceConstructed.close(); in onLeave()
|
D | StateForegroundWithSurfaceTexture.java | 35 private final RefCountBase<ResourceConstructed> mResourceConstructed; field in StateForegroundWithSurfaceTexture 54 mResourceConstructed = resourceConstructed; in StateForegroundWithSurfaceTexture() 55 mResourceConstructed.addRef(); // Will be balanced in onLeave(). in StateForegroundWithSurfaceTexture() 65 mResourceConstructed.get().getCameraFacingSetting().getCameraFacing(); in onEnter() 67 CameraId key = mResourceConstructed.get().getOneCameraManager() in onEnter() 71 mResourceConstructed.get().getOneCameraManager().getOneCameraCharacteristics( in onEnter() 73 return Optional.of((State) StateOpeningCamera.from(this, mResourceConstructed, in onEnter() 76 return Optional.of((State) StateFatal.from(this, mResourceConstructed)); in onEnter() 82 mResourceConstructed.close(); in onLeave()
|
D | StateStartingPreview.java | 51 private final RefCountBase<ResourceConstructed> mResourceConstructed; field in StateStartingPreview 88 mResourceConstructed = resourceConstructed; in StateStartingPreview() 89 mResourceConstructed.addRef(); // Will be balanced in onLeave(). in StateStartingPreview() 104 mResourceConstructed, in registerEventHandlers() 126 mResourceConstructed.get().getMainThread().execute(new Runnable() { in registerEventHandlers() 129 mResourceConstructed.get().getModuleUI().onPreviewStarted(); in registerEventHandlers() 134 mResourceConstructed, in registerEventHandlers() 148 StateStartingPreview.this, mResourceConstructed)); in registerEventHandlers() 162 return Optional.of((State) StateFatal.from(this, mResourceConstructed)); in onEnter() 166 mResourceConstructed.get().getResolutionSetting().getPictureAspectRatio( in onEnter() [all …]
|
D | StateSavingPicture.java | 44 private final RefCountBase<ResourceConstructed> mResourceConstructed; field in StateSavingPicture 59 mResourceConstructed = resourceConstructed; in StateSavingPicture() 60 mResourceConstructed.addRef(); // Will be balanced in onLeave(). in StateSavingPicture() 75 final Bundle myExtras = mResourceConstructed.get().getIntent().getExtras(); in onEnter() 84 outputStream = mResourceConstructed.get().getContext().getContentResolver() in onEnter() 91 this, mResourceConstructed, new Intent())); in onEnter() 102 this, mResourceConstructed, in onEnter() 105 return Optional.of((State) StateIntentCompleted.from(this, mResourceConstructed)); in onEnter() 110 mResourceConstructed.close(); in onLeave()
|
D | StateForeground.java | 38 private final RefCountBase<ResourceConstructed> mResourceConstructed; field in StateForeground 51 mResourceConstructed = resourceConstructed; in StateForeground() 52 mResourceConstructed.addRef(); // Will be balanced in onLeave(). in StateForeground() 62 StateForeground.this, mResourceConstructed)); in registerEventHandlers() 75 mResourceConstructed, in registerEventHandlers() 79 mResourceConstructed, in registerEventHandlers() 84 mResourceConstructed, in registerEventHandlers() 103 mResourceConstructed.close(); in onLeave()
|
D | StateBackgroundWithSurfaceTexture.java | 39 private final RefCountBase<ResourceConstructed> mResourceConstructed; field in StateBackgroundWithSurfaceTexture 59 mResourceConstructed = resourceConstructed; in StateBackgroundWithSurfaceTexture() 60 mResourceConstructed.addRef(); // Will be balanced in onLeave(). in StateBackgroundWithSurfaceTexture() 73 mResourceConstructed, in registerEventHandlers() 85 StateBackgroundWithSurfaceTexture.this, mResourceConstructed)); in registerEventHandlers() 100 mResourceConstructed.close(); in onLeave()
|
D | StateFatal.java | 35 private final RefCountBase<ResourceConstructed> mResourceConstructed; field in StateFatal 44 mResourceConstructed = resourceConstructed; in StateFatal() 45 mResourceConstructed.addRef(); in StateFatal() 50 mResourceConstructed.get().getMainThread().execute(new Runnable() { in onEnter() 53 mResourceConstructed.get().getFatalErrorHandler().onGenericCameraAccessFailure(); in onEnter()
|
D | StateIntentCompleted.java | 33 private final RefCountBase<ResourceConstructed> mResourceConstructed; field in StateIntentCompleted 56 mResourceConstructed = resourceConstructed; in StateIntentCompleted() 57 mResourceConstructed.addRef(); in StateIntentCompleted() 63 final AppController appController = mResourceConstructed.get().getAppController(); in onEnter() 64 mResourceConstructed.get().getMainThread().execute(new Runnable() { in onEnter()
|
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/ |
D | ResourceSurfaceTextureImpl.java | 35 private final RefCountBase<ResourceConstructed> mResourceConstructed; field in ResourceSurfaceTextureImpl 68 mResourceConstructed = resourceConstructed; in ResourceSurfaceTextureImpl() 69 mResourceConstructed.addRef(); in ResourceSurfaceTextureImpl() 78 return mResourceConstructed; in getResourceConstructed() 106 mResourceConstructed.get().getMainThread().execute(new Runnable() { in setPreviewSize() 151 mResourceConstructed.get().getModuleUI().updatePreviewTransform(transformMatrix); in updatePreviewTransform() 156 mResourceConstructed.close(); in close()
|
D | ResourceCaptureToolsImpl.java | 46 private final RefCountBase<ResourceConstructed> mResourceConstructed; field in ResourceCaptureToolsImpl 92 mResourceConstructed = resourceConstructed; in ResourceCaptureToolsImpl() 93 mResourceConstructed.addRef(); // Will be balanced in close(). in ResourceCaptureToolsImpl() 111 mResourceConstructed.close(); in close() 121 return mResourceConstructed; in getResourceConstructed() 153 final ResourceConstructed resource = mResourceConstructed.get(); in takePictureNow() 217 return mResourceConstructed.get().getMainThread(); in getMainThread() 222 return mResourceConstructed.get().getModuleUI(); in getModuleUI()
|
/packages/apps/Camera2/src/com/android/camera/captureintent/ |
D | CaptureIntentModule.java | 72 private final RefCountBase<ResourceConstructed> mResourceConstructed; field in CaptureIntentModule 87 mResourceConstructed = ResourceConstructedImpl.create( in CaptureIntentModule() 101 final State initialState = StateBackground.create(mStateMachine, mResourceConstructed); in CaptureIntentModule() 134 mResourceConstructed.get().getAppController() in init() 139 mResourceConstructed.get().getAppController().getCameraAppUI() in init() 209 return mResourceConstructed.get().getContext().getResources() in getPeekAccessibilityString()
|