/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
CaptureResultTest.java | 25 import android.hardware.camera2.CaptureResult; 56 // List that includes all public keys from CaptureResult 57 List<CaptureResult.Key<?>> mAllKeys; 120 List<CaptureResult.Key<?>> waiverkeys = getWaiverKeysForCamera(); 189 Pair<TotalCaptureResult, List<CaptureResult>> resultPair = 192 List<CaptureResult> partialResults = resultPair.second; 203 Set<CaptureResult.Key<?>> appearedPartialKeys = 204 new HashSet<CaptureResult.Key<?>>(); 205 for (CaptureResult partialResult : partialResults) { 206 List<CaptureResult.Key<?>> partialKeys = partialResult.getKeys() [all...] |
CaptureRequestTest.java | 29 import android.hardware.camera2.CaptureResult; 304 * and {@link CaptureResult#FLASH_STATE} result. 588 verifyCaptureResultForKey(CaptureResult.NOISE_REDUCTION_MODE, mode, 643 waitForResultValue(resultListener, CaptureResult.LENS_STATE, 644 CaptureResult.LENS_STATE_STATIONARY, NUM_RESULTS_WAIT_TIMEOUT); 646 CaptureResult result = resultListener.getCaptureResult(WAIT_FOR_RESULT_TIMEOUT_MS); 647 Float focusDistance = getValueNotNull(result, CaptureResult.LENS_FOCUS_DISTANCE); 677 CaptureResult result = 680 waitForResultValue(resultListener, CaptureResult.LENS_STATE, 681 CaptureResult.LENS_STATE_STATIONARY, NUM_RESULTS_WAIT_TIMEOUT) [all...] |
BurstCaptureTest.java | 24 import android.hardware.camera2.CaptureResult; 159 CaptureResult result = resultListener.getCaptureResult(MAX_PREVIEW_RESULT_TIMEOUT_MS); 160 int aeState = result.get(CaptureResult.CONTROL_AE_STATE); 161 int awbState = result.get(CaptureResult.CONTROL_AWB_STATE); 167 if ((aeState == CaptureResult.CONTROL_AE_STATE_CONVERGED || 168 aeState == CaptureResult.CONTROL_AE_STATE_FLASH_REQUIRED) && 169 awbState == CaptureResult.CONTROL_AWB_STATE_CONVERGED) { 189 CaptureResult result = resultListener.getCaptureResult(MAX_PREVIEW_RESULT_TIMEOUT_MS); 190 int afState = result.get(CaptureResult.CONTROL_AF_STATE); 196 if (afState == CaptureResult.CONTROL_AF_STATE_FOCUSED_LOCKED | [all...] |
PerformanceTest.java | 26 import android.hardware.camera2.CaptureResult; 227 Pair<CaptureResult, Long> partialResultNTime = null; 237 Pair<CaptureResult, Long> captureResultNTime = 401 private final LinkedBlockingQueue<Pair<CaptureResult, Long> > mPartialResultQueue = 402 new LinkedBlockingQueue<Pair<CaptureResult, Long> >(); 403 private final LinkedBlockingQueue<Pair<CaptureResult, Long> > mResultQueue = 404 new LinkedBlockingQueue<Pair<CaptureResult, Long> > (); 411 mResultQueue.put(new Pair<CaptureResult, Long>(result, time)); 420 CaptureResult partialResult) { 424 if (partialResult.get(CaptureResult.CONTROL_AE_STATE) != null & [all...] |
StaticMetadataTest.java | 25 import android.hardware.camera2.CaptureResult; 187 Collection<CaptureResult.Key<?>> resultKeys, boolean expectedPresence) { 191 for (CaptureResult.Key<?> key : resultKeys) { 244 Set<CaptureResult.Key<?>> resultKeys = new HashSet<>(); 354 resultKeys.add(CaptureResult.SENSOR_FRAME_DURATION); 355 resultKeys.add(CaptureResult.SENSOR_EXPOSURE_TIME); 356 resultKeys.add(CaptureResult.SENSOR_SENSITIVITY); 358 resultKeys.add(CaptureResult.LENS_APERTURE); 359 resultKeys.add(CaptureResult.LENS_FOCUS_DISTANCE); 360 resultKeys.add(CaptureResult.LENS_FILTER_DENSITY) [all...] |
StillCaptureTest.java | 29 import android.hardware.camera2.CaptureResult; 453 CaptureResult result; 516 waitForResultValue(resultListener, CaptureResult.CONTROL_AWB_STATE, 517 CaptureResult.CONTROL_AWB_STATE_CONVERGED, NUM_RESULTS_WAIT_TIMEOUT); 528 result.get(CaptureResult.CONTROL_AWB_MODE)); 531 getValueNotNull(result, CaptureResult.CONTROL_AWB_REGIONS); 556 result.get(CaptureResult.CONTROL_AE_MODE)); 559 getValueNotNull(result, CaptureResult.CONTROL_AE_REGIONS); 578 result.get(CaptureResult.CONTROL_AF_MODE)); 581 getValueNotNull(result, CaptureResult.CONTROL_AF_REGIONS) [all...] |
/frameworks/av/include/camera/ |
CaptureResult.h | 82 struct CaptureResult : public virtual LightRefBase<CaptureResult> { 86 CaptureResult(); 88 CaptureResult(const CaptureResult& otherResult);
|
/frameworks/base/core/java/android/hardware/camera2/ |
TotalCaptureResult.java | 40 * are available (that is {@link CaptureResult#get} will return non-{@code null}, if and only if 42 * {@link CaptureResult#STATISTICS_FACES} are disabled by default unless enabled with a switch (such 50 public final class TotalCaptureResult extends CaptureResult { 52 private final List<CaptureResult> mPartialResults; 61 CaptureResultExtras extras, List<CaptureResult> partials) { 95 public List<CaptureResult> getPartialResults() {
|
CameraCaptureSession.java | 67 * <p>Each request will produce one {@link CaptureResult} and produce new frames for one or more 115 * <p>The requests will be captured in order, each capture producing one {@link CaptureResult} 482 * {@link CaptureResult#SENSOR_TIMESTAMP the result timestamp field}, 488 * {@link CaptureResult#getFrameNumber}.</p> 534 * includes a subset of the CaptureResult fields. 544 CaptureRequest request, CaptureResult result) { 585 CaptureRequest request, CaptureResult partialResult) { 620 * camera device failed to produce a {@link CaptureResult} for the [all...] |
/frameworks/av/camera/ |
CaptureResult.cpp | 17 #define LOG_TAG "Camera-CaptureResult" 20 #include <camera/CaptureResult.h> 61 CaptureResult::CaptureResult() : 65 CaptureResult::CaptureResult(const CaptureResult &otherResult) { 70 status_t CaptureResult::readFromParcel(Parcel *parcel) { 101 status_t CaptureResult::writeToParcel(Parcel *parcel) const {
|
/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; 56 case CaptureResult.CONTROL_AF_STATE_ACTIVE_SCAN: 58 case CaptureResult.CONTROL_AF_STATE_PASSIVE_SCAN: 60 case CaptureResult.CONTROL_AF_STATE_PASSIVE_FOCUSED: 62 case CaptureResult.CONTROL_AF_STATE_FOCUSED_LOCKED: 64 case CaptureResult.CONTROL_AF_STATE_PASSIVE_UNFOCUSED: 66 case CaptureResult.CONTROL_AF_STATE_NOT_FOCUSED_LOCKED: 77 public static boolean checkControlAfState(CaptureResult result) { 78 boolean missing = result.get(CaptureResult.CONTROL_AF_STATE) == null; 80 // throw new IllegalStateException("CaptureResult missing CONTROL_AF_STATE.") [all...] |
OneCameraZslImpl.java | 29 import android.hardware.camera2.CaptureResult; 30 import android.hardware.camera2.CaptureResult.Key; 162 * Maintains a buffer of images and their associated {@link CaptureResult}s. 234 captureResult) { 235 long timestamp = captureResult.get(CaptureResult.SENSOR_TIMESTAMP); 256 Log.v(TAG, "Image saved. Frame number = " + captureResult.getFrameNumber()); 302 mCaptureManager.addMetadataChangeListener(CaptureResult.CONTROL_AF_STATE, 306 CaptureResult result) { 309 result.get(CaptureResult.CONTROL_AF_STATE)) [all...] |
/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...] |
/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,
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
ItsService.java | 30 import android.hardware.camera2.CaptureResult; 153 private CaptureResult mCaptureResults[] = null; 347 } else if (obj instanceof CaptureResult) { 348 jsonObj.put("captureResult", ItsSerializer.serialize( 349 (CaptureResult)obj)); 645 CaptureResult result, [all...] |
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/ |
Camera2Focuser.java | 27 import android.hardware.camera2.CaptureResult; 134 public synchronized void onAutoFocusSuccess(CaptureResult result, boolean locked) { 144 public synchronized void onAutoFocusFail(CaptureResult result, boolean locked) { 154 public synchronized void onAutoFocusScan(CaptureResult result) { 160 public synchronized void onAutoFocusInactive(CaptureResult result) { 349 CaptureResult result) { 352 if (result.get(CaptureResult.CONTROL_AF_STATE) != null && 353 result.get(CaptureResult.CONTROL_AF_MODE) != null) { 368 private void dispatchToFocuser(CaptureResult result) {
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
CameraMetadataNative.java | 24 import android.hardware.camera2.CaptureResult; 87 * <p>Use the CameraCharacteristics.Key, CaptureResult.Key, or CaptureRequest.Key 105 * <p>Use the CameraCharacteristics.Key, CaptureResult.Key, or CaptureRequest.Key 168 if (o instanceof CaptureResult.Key) { 169 lhs = ((CaptureResult.Key)o).getNativeKey(); 328 public <T> T get(CaptureResult.Key<T> key) { 374 * found in {@link CameraCharacteristics}, {@link CaptureResult}, and 395 public <T> void set(CaptureResult.Key<T> key, T value) { 443 private <T> T getBase(CaptureResult.Key<T> key) { 477 CaptureResult.STATISTICS_FACES.getNativeKey(), new GetCommand() [all...] |
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
LegacyMetadataMapper.java | 29 import android.hardware.camera2.CaptureResult; [all...] |
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
FrameProcessor.h | 54 virtual bool processSingleFrame(CaptureResult &frame, 61 status_t process3aState(const CaptureResult &frame,
|
ZslProcessor.h | 27 #include <camera/CaptureResult.h> 58 virtual void onResultAvailable(const CaptureResult &result);
|
/frameworks/av/include/camera/camera2/ |
ICameraDeviceCallbacks.h | 27 #include <camera/CaptureResult.h>
|
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/ |
Camera2CaptureCallbackForwarder.java | 23 import android.hardware.camera2.CaptureResult; 63 final CaptureResult partialResult) {
|
Camera2CaptureCallbackSplitter.java | 23 import android.hardware.camera2.CaptureResult; 67 CaptureResult partialResult) {
|
/packages/apps/Camera2/src/com/android/camera/util/ |
CaptureDataSerializer.java | 21 import android.hardware.camera2.CaptureResult; 72 } else if (metadata instanceof CaptureResult) { 73 dumpMetadata(title, (CaptureResult) metadata, writer); 112 private static void dumpMetadata(final String title, final CaptureResult metadata, 117 List<CaptureResult.Key<?>> keys = metadata.getKeys(); 121 for (CaptureResult.Key<?> key : keys) {
|