/cts/tests/camera/src/android/hardware/camera2/cts/ |
CaptureResultTest.java | 25 import android.hardware.camera2.CaptureResult; 200 Pair<TotalCaptureResult, List<CaptureResult>> resultPair = 203 List<CaptureResult> partialResults = resultPair.second; 214 Set<CaptureResult.Key<?>> appearedPartialKeys = 215 new HashSet<CaptureResult.Key<?>>(); 216 for (CaptureResult partialResult : partialResults) { 217 List<CaptureResult.Key<?>> partialKeys = partialResult.getKeys(); 219 for (CaptureResult.Key<?> key : partialKeys) { 229 List<CaptureResult.Key<?>> totalResultKeys = totalResult.getKeys(); 234 List<CaptureResult> totalResultPartials = totalResult.getPartialResults() [all...] |
BurstCaptureTest.java | 24 import android.hardware.camera2.CaptureResult; 149 CaptureResult result = resultListener.getCaptureResult(MAX_PREVIEW_RESULT_TIMEOUT_MS); 150 int aeState = result.get(CaptureResult.CONTROL_AE_STATE); 151 int awbState = result.get(CaptureResult.CONTROL_AWB_STATE); 157 if ((aeState == CaptureResult.CONTROL_AE_STATE_CONVERGED || 158 aeState == CaptureResult.CONTROL_AE_STATE_FLASH_REQUIRED) && 159 awbState == CaptureResult.CONTROL_AWB_STATE_CONVERGED) { 179 CaptureResult result = resultListener.getCaptureResult(MAX_PREVIEW_RESULT_TIMEOUT_MS); 180 int afState = result.get(CaptureResult.CONTROL_AF_STATE); 186 if (afState == CaptureResult.CONTROL_AF_STATE_FOCUSED_LOCKED | [all...] |
CaptureRequestTest.java | 30 import android.hardware.camera2.CaptureResult; 454 * and {@link CaptureResult#FLASH_STATE} result. [all...] |
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/zsl/ |
AcceptableZslImageFilter.java | 19 import android.hardware.camera2.CaptureResult; 55 Integer lensState = metadata.get(CaptureResult.LENS_STATE); 60 case CaptureResult.LENS_STATE_STATIONARY: 69 Integer aeState = metadata.get(CaptureResult.CONTROL_AE_STATE); 74 case CaptureResult.CONTROL_AE_STATE_INACTIVE: 75 case CaptureResult.CONTROL_AE_STATE_LOCKED: 76 case CaptureResult.CONTROL_AE_STATE_CONVERGED: 85 Integer afState = metadata.get(CaptureResult.CONTROL_AF_STATE); 90 case CaptureResult.CONTROL_AF_STATE_INACTIVE: 91 case CaptureResult.CONTROL_AF_STATE_FOCUSED_LOCKED [all...] |
AutoFlashZslImageFilter.java | 19 import android.hardware.camera2.CaptureResult; 78 * CaptureResult.CONTROL_AE_STATE_SEARCHING into 79 * CaptureResult.CONTROL_AE_STATE_CONVERGED. 90 public <T> T get(CaptureResult.Key<T> key) { 93 if (Objects.equal(aeState, CaptureResult.CONTROL_AE_STATE_SEARCHING)) { 94 return (T) ((Integer) CaptureResult.CONTROL_AE_STATE_CONVERGED); 102 public List<CaptureResult.Key<?>> getKeys() { 147 public void update(@Nonnull CaptureResultProxy captureResult) { 148 if (captureResult.getFrameNumber() > mLastFrameNumber) { 149 Integer aeState = captureResult.get(CaptureResult.CONTROL_AE_STATE) [all...] |
/frameworks/base/core/java/android/hardware/camera2/ |
TotalCaptureResult.java | 44 * are available (that is {@link CaptureResult#get} will return non-{@code null}, if and only if 46 * {@link CaptureResult#STATISTICS_FACES} are disabled by default unless enabled with a switch (such 60 public final class TotalCaptureResult extends CaptureResult { 62 private final List<CaptureResult> mPartialResults; 65 private final HashMap<String, CaptureResult> mPhysicalCaptureResults; 74 CaptureResultExtras extras, List<CaptureResult> partials, int sessionId, 86 mPhysicalCaptureResults = new HashMap<String, CaptureResult>(); 88 CaptureResult physicalResult = new CaptureResult( 106 mPhysicalCaptureResults = new HashMap<String, CaptureResult>(); [all...] |
/hardware/interfaces/camera/device/3.4/ |
ICameraDeviceCallback.hal | 38 * that it takes a list of @3.4::CaptureResult, which could contain 42 processCaptureResult_3_4(vec<@3.4::CaptureResult> results);
|
types.hal | 25 import @3.2::CaptureResult; 204 * In response, the camera HAL device must send a CaptureResult 255 * The v3_2 CaptureResult metadata is read first from the FMQ, followed by 262 * CaptureResult: 264 * Identical to @3.2::CaptureResult, except that it contains a list of 270 * streams, the physicalCameraMetadata field of the CaptureResult being returned 275 * For a CaptureResult that contains physical camera metadata, its 280 struct CaptureResult { 282 * The definition of CaptureResult from the prior version. 284 @3.2::CaptureResult v3_2 [all...] |
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/ |
AndroidCaptureResultProxy.java | 19 import android.hardware.camera2.CaptureResult; 28 * Wraps a {@link android.hardware.camera2.CaptureResult} as a 33 final CaptureResult mCaptureResult; 35 public AndroidCaptureResultProxy(CaptureResult captureResult) { 36 mCaptureResult = captureResult; 40 public <T> T get(CaptureResult.Key<T> key) { 45 public List<CaptureResult.Key<?>> getKeys() {
|
CaptureResultProxy.java | 19 import android.hardware.camera2.CaptureResult; 28 * Interface for {@link android.hardware.camera2.CaptureResult}. 33 public <T> T get(CaptureResult.Key<T> key); 36 public List<CaptureResult.Key<?>> getKeys();
|
AndroidTotalCaptureResultProxy.java | 35 import android.hardware.camera2.CaptureResult; 59 List<CaptureResult> partialResults = mTotalCaptureResult.getPartialResults(); 61 for (CaptureResult result : partialResults) {
|
/packages/apps/Camera2/src/com/android/camera/one/v2/common/ |
MetadataResponseListener.java | 19 import android.hardware.camera2.CaptureResult; 30 private final CaptureResult.Key<V> mKey; 36 public MetadataResponseListener(CaptureResult.Key<V> key, Updatable<V> updatable) { 42 public void onProgressed(CaptureResult partialResult) {
|
/hardware/interfaces/camera/device/3.2/ |
ICameraDeviceCallback.hal | 102 * This is a non-blocking call. The framework must handle each CaptureResult 109 processCaptureResult(vec<CaptureResult> results);
|
/packages/apps/Camera2/src/com/android/camera/one/v2/core/ |
ResponseListener.java | 20 import android.hardware.camera2.CaptureResult; 47 public void onProgressed(CaptureResult partialResult) {
|
/system/media/camera/docs/ |
CaptureResultTest.mako | 23 private static List<CaptureResult.Key<?>> getAllCaptureResultKeys() { 24 ArrayList<CaptureResult.Key<?>> resultKeys = new ArrayList<CaptureResult.Key<?>>(); 28 resultKeys.add(CaptureResult.${jkey_identifier(entry.name)});
|
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
AutoFocusHelper.java | 22 import android.hardware.camera2.CaptureResult; 57 case CaptureResult.CONTROL_AF_STATE_ACTIVE_SCAN: 59 case CaptureResult.CONTROL_AF_STATE_PASSIVE_SCAN: 61 case CaptureResult.CONTROL_AF_STATE_PASSIVE_FOCUSED: 63 case CaptureResult.CONTROL_AF_STATE_FOCUSED_LOCKED: 65 case CaptureResult.CONTROL_AF_STATE_PASSIVE_UNFOCUSED: 67 case CaptureResult.CONTROL_AF_STATE_NOT_FOCUSED_LOCKED: 78 public static boolean checkControlAfState(CaptureResult result) { 79 boolean missing = result.get(CaptureResult.CONTROL_AF_STATE) == null; 81 // throw new IllegalStateException("CaptureResult missing CONTROL_AF_STATE.") [all...] |
/packages/apps/Camera2/src/com/android/camera/one/v2/autofocus/ |
AETriggerResult.java | 20 import android.hardware.camera2.CaptureResult; 41 * machine of {@link CaptureResult#CONTROL_AE_STATE} which relates to 52 * See the android documentation for {@link CaptureResult#CONTROL_AE_STATE} for 58 CaptureResult.CONTROL_AE_STATE_INACTIVE, 59 CaptureResult.CONTROL_AE_STATE_FLASH_REQUIRED, 60 CaptureResult.CONTROL_AE_STATE_CONVERGED, 61 CaptureResult.CONTROL_AE_STATE_LOCKED); 75 Integer state = result.get(CaptureResult.CONTROL_AE_STATE); 81 boolean flashRequired = Objects.equal(state, CaptureResult
|
AFTriggerResult.java | 20 import android.hardware.camera2.CaptureResult; 40 * {@link android.hardware.camera2.CaptureResult#CONTROL_AF_STATE} which relates 50 * See the android documentation for {@link CaptureResult#CONTROL_AF_STATE} for 56 CaptureResult.CONTROL_AF_STATE_INACTIVE, 57 CaptureResult.CONTROL_AF_STATE_FOCUSED_LOCKED, 58 CaptureResult.CONTROL_AF_STATE_NOT_FOCUSED_LOCKED); 72 Integer afState = result.get(CaptureResult.CONTROL_AF_STATE); 78 boolean inFocus = Objects.equal(afState, CaptureResult.CONTROL_AF_STATE_PASSIVE_FOCUSED) 79 || Objects.equal(afState, CaptureResult.CONTROL_AF_STATE_FOCUSED_LOCKED);
|
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/ |
MetadataCallback.java | 19 import android.hardware.camera2.CaptureResult; 55 Integer focusMode = totalCaptureResult.get(CaptureResult.CONTROL_AF_MODE); 62 Integer focusState = totalCaptureResult.get(CaptureResult.CONTROL_AF_STATE); 69 Float focusDistance = totalCaptureResult.get(CaptureResult.LENS_FOCUS_DISTANCE); 70 Integer focusState = totalCaptureResult.get(CaptureResult.CONTROL_AF_STATE); 73 activeStates.add(CaptureResult.CONTROL_AF_STATE_ACTIVE_SCAN); 74 activeStates.add(CaptureResult.CONTROL_AF_STATE_PASSIVE_SCAN);
|
/frameworks/av/camera/include/camera/ |
CaptureResult.h | 121 struct CaptureResult : public virtual LightRefBase<CaptureResult> { 126 CaptureResult(); 128 CaptureResult(const CaptureResult& otherResult);
|
/frameworks/ex/camera2/public/src/com/android/ex/camera2/pos/ |
AutoFocusStateMachine.java | 19 import android.hardware.camera2.CaptureResult.Key; 21 import android.hardware.camera2.CaptureResult; 44 void onAutoFocusSuccess(CaptureResult result, boolean locked); 51 void onAutoFocusFail(CaptureResult result, boolean locked); 59 void onAutoFocusScan(CaptureResult result); 67 void onAutoFocusInactive(CaptureResult result); 93 * Invoke every time we get a new CaptureResult via 100 * @param result CaptureResult 102 public synchronized void onCaptureCompleted(CaptureResult result) { 113 Key<Integer> keyAfState = CaptureResult.CONTROL_AF_STATE [all...] |
/hardware/google/easel/amber/camera/libhdrplusclient/include/ |
HdrPlusClientListener.h | 58 * Invoked when a CaptureResult, containing a subset or all output buffers for a CaptureRequest, 59 * is received. This may be invoked multiple times for one CaptureRequest but each CaptureResult 62 virtual void onCaptureResult(pbcamera::CaptureResult *result, 66 * Invoked when a failed CaptureResult, containing a subset or all output buffers for a 68 * data. This may be invoked multiple times for one CaptureRequest but each CaptureResult 71 virtual void onFailedCaptureResult(pbcamera::CaptureResult *failedResult) = 0;
|
/frameworks/av/services/camera/libcameraservice/common/ |
FrameProcessorBase.h | 26 #include <camera/CaptureResult.h> 43 virtual void onResultAvailable(const CaptureResult &result) = 0; 79 virtual bool processSingleFrame(CaptureResult &result, 82 status_t processListeners(const CaptureResult &result,
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
Camera2CaptureRequestTest.java | 25 import android.hardware.camera2.CaptureResult; 198 CaptureResult[] resultsDuringLock = new CaptureResult[numCapturesDuringLock]; 237 resultsDuringLock[i], CaptureResult.CONTROL_AE_LOCK, true); 244 getValueNotNull(resultsDuringLock[0], CaptureResult.SENSOR_SENSITIVITY); 246 getValueNotNull(resultsDuringLock[0], CaptureResult.SENSOR_EXPOSURE_TIME); 249 resultsDuringLock[i], CaptureResult.SENSOR_EXPOSURE_TIME, expTimeLocked); 251 resultsDuringLock[i], CaptureResult.SENSOR_SENSITIVITY, sensitivityLocked); 287 CaptureResult result = listener.getCaptureResult(timeout); 288 long resultExpTime = getValueNotNull(result, CaptureResult.SENSOR_EXPOSURE_TIME) [all...] |
/hardware/qcom/camera/msm8998/QCamera2/HAL3/ |
QCamera3HdrPlusListenerThread.h | 51 void onCaptureResult(pbcamera::CaptureResult *result, 53 void onFailedCaptureResult(pbcamera::CaptureResult *failedResult) override; 73 pbcamera::CaptureResult result;
|