Age | Commit message (Collapse) | Author |
|
Currently 'android:resizeable' is enabled by default.
Support multi-window mode as much as possible by aligning
the viewfinder long edge with the screen long edge on
each orientation change.
Additionally check whether camera is initialized during
configuration in the surface change callback.
Bug: 129418648
Test: Manual using application
Change-Id: Icafbd3777f5ceda178df7fddaeffbfe7dc6a70b3
|
|
The application should default to the sandboxed
storage "/sdcard/Android/sandbox/com.android.testingcamera2".
Bug: 124384600
Test: Manual using application
Change-Id: I02014b0dc042772f00f8ba147d0451a8d7e34d1d
|
|
Test: Take a HEIC picture using the app
Bug: 124071759
Change-Id: I0965037f9cddd40bb471effe0234a2d4aca230b0
|
|
The pane was not updating the list of targets for a given camera, when
the camera spinner was used to select a different camera.
Test: Switching cameras for a request changes the listed targets
Change-Id: I085034f3afb3f97152a24550d5f49721e0e1900e
|
|
am: 20f8673a5e
Change-Id: I5010174bf9fbdf97698088b83950d3397b321210
|
|
- Ability to select between all available cameras
- Ability to stream physical streams for logical camera.
Test: Run TestingCamera2 and select between cameras
Bug: 76013895
Change-Id: I83ea3f3e118d2471ac4fb97b74968c13425022ff
|
|
|
|
libhellojni_jni, referred by app HelloPDK, is a simple stub library and
does not use any platform API. HelloPDK has been built with SDK, so this
causes link-type check warnings. LOCAL_SDK_VERSION is added to
libhellojni_jni in order to remove warning.
Bug: 73907534
Test: mma -j does not show any link-type warnings
Change-Id: I188dfe9a46aedf905d2b804040bf2ad75f212b38
|
|
This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.
Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.
Test: make relevant packages
Bug: 73535841
Change-Id: Idd87516c71d2d0f90484b1fbf1ae424a535912e8
|
|
Bug: 72261912
Change-Id: I32fd989b74af627c2f647511dc21772ec7bc04a4
|
|
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I51ca69be31f03ebce5f1af5e5ae46e7c9f3683b8
|
|
Test: Capture failures and buffer loss errors are printed to app log
Bug: 62004599
Change-Id: I98eb0a0039e17f48b40943cc6c19e8b18c104ff4
|
|
Change-Id: I10aafc3ac6be65840b716cccdef1e9e8f805feae
|
|
- To ensure we can run TestingCamera on pre-N devices, add minimum
SDK level
- Add missing CameraInfo parameter into InfoDialog, for shutter
sound enforcement.
Test: Run application, verify disable info is available
Change-Id: Ic414db59b449a95c4fb9cf6aaf978844ebbf4edd
|
|
Since neither app is included in a system image by default, we want
the APKs to be portable. This requires never getting dex preopted.
Bug: 22959669
Change-Id: I5945720106aaf7294b295ce4a5adcc53f7217488
|
|
Camera.Parameters#getSupportedSceneModes() could return null, we need null
check before using it.
Bug: 21267188
Change-Id: Ic6ab784de07d85d5a640b61e7faee9c84c128416
|
|
Triggers the CameraCaptureSession prepare call for the target
Surface.
Also fix reading past the end of the ByteBuffer for YUV_420_888
with semiplanar formats.
Change-Id: I529400a0ecd9acc00c584c77a70c34f55fcb67d1
|
|
The permission requests are placed largely where it is easiest to do,
though some effort is made to not ask for a permission before it's actually
needed.
Change-Id: Ia484d6741da6a6c5ab812ecf2bbadc5d9ce81572
|
|
- YUV_420_888:
- Properly account for stride
- Use a ColorFilter on the ImageView for YUV->RGB conversion
- DEPTH16:
- Stride is in bytes, not pixels
- Use same code for false color conversion for display and saving
- Fix name generation
Change-Id: Ibf02bb014bc8dd75accb0888db832b58f90b14c5
|
|
- Add display support for DEPTH16
- Add saving support for DEPTH16, DEPTH_POINT_CLOUD
|
|
Change-Id: I68910e4d38f42d6b91b2fe2683519515a40d672a
|
|
Bug: 17994909
- ITS has been moved to cts/apps/CameraITS.
Change-Id: I57d00a9b1b08bed468cc48116f754a0c45d8612c
|
|
Bug: 17994909
Change-Id: Ib5e5eeffca87464a5eccbadef6eafe0b659f5993
|
|
Bug: 17994909
Change-Id: I5df394d5db2087c10f259f741ac367aaabe16667
|
|
Bug: 17994909
Change-Id: Id475f904346638d7881b4898d81c8df7d75a655e
|
|
Bug: 17994909
Change-Id: I413eda75eaaa30988f33b934018bcafbb2ccc420
|
|
Skip tests if corresponding capability is not supported.
Bug: 17994909
Change-Id: I48fcd2a766f62a44e3cdb933006ca9e6f9350ad3
|
|
Bug: 17994909
Change-Id: I361c6252a9fe73ef29767c051bbc464c42ae1f37
|
|
The cropRegion is related to active array size, we shouldn't add the active array size corner coordinates to the crop region.
Change-Id: Ia844f75d850d9f94995539ed5763722e634790df
|
|
Change-Id: Iccce0f725a3c88d3bef6f5b17f076855d70797df
|
|
Change-Id: I20143bfcfaf27c6e417b5ffb24583a9cc4f35817
|
|
Change-Id: Id173a3408c13b60da55b6738fb22023549e05ee6
|
|
Change-Id: I7268fd0127c098b2d52c26b02b8316206a0db783
|
|
Change-Id: I75dd8a37c5a27dc165822c9df7065c538cb30946
|
|
Changed the basic invocation approach to make ITS fit better into
external test harnesses.
Change-Id: Iaf0648c4233b5b8639cb75c0e87b6d1c7531ca11
|
|
Change-Id: Ieeca0e097ef85870955ecbfa9e5f13732eb6341f
|
|
Change-Id: I16d41253d3630471ced00727c700ef2f6968a1dd
|
|
Change-Id: Ib11ddf9206d9168fc826118b5f2d832e7de9e8e6
|
|
Change-Id: I0f59154df3385a2118314f8bb9748e172afbe670
|
|
Change-Id: I092940e510823250c8581c08133d31b89f93512b
|
|
Change-Id: Ia71d3ae76a4495aac157e081d283ab2e3900d355
|
|
Change-Id: Iea737c2f8284f47da85b0ed25f0edbd2163e1d31
|
|
- API 21
- Listener->Callback
Change-Id: Ieb15606b280aa34239e334e4d9ad1144a3b40eb3
|
|
Change-Id: I33992d970b0758954627fd1fc74e96f0fb89b557
|
|
is not working yet)
Change-Id: I0edbb39086f05208e80fba908d6ba4d4565d1fbc
|
|
|
|
Change-Id: I69116a7d4d1212614c59d2a49ab601e6d45593ed
|
|
|
|
Change-Id: I5b072909aa3c856533d05051a6950d9a00f24d38
|
|
It's not actually possible to skip this call, even for an app that's forced landscape.
Bug: 17393631
Change-Id: Icf992117e5d45f1a1737f6b20dff73c7f36201a9
|