| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes this crash:
11-29 13:02:30.837 18338 18338 E AndroidRuntime:
java.lang.IllegalArgumentException: You cannot start a load for a
destroyed activity
11-29 13:02:30.837 18338 18338 E AndroidRuntime: at
com.bumptech.glide.manager.RequestManagerRetriever.assertNotDestroyed(RequestManagerRetriever.java:136)
11-29 13:02:30.837 18338 18338 E AndroidRuntime: at
com.bumptech.glide.manager.RequestManagerRetriever.get(RequestManagerRetriever.java:127)
11-29 13:02:30.837 18338 18338 E AndroidRuntime: at
com.bumptech.glide.manager.RequestManagerRetriever.get(RequestManagerRetriever.java:88)
11-29 13:02:30.837 18338 18338 E AndroidRuntime: at
com.bumptech.glide.Glide.with(Glide.java:587)
11-29 13:02:30.837 18338 18338 E AndroidRuntime: at
com.android.camera.data.LocalMediaData$PhotoData.loadUri(LocalMediaData.java:535)
11-29 13:02:30.837 18338 18338 E AndroidRuntime: at
com.android.camera.data.LocalMediaData$PhotoData.loadImage(LocalMediaData.java:507)
11-29 13:02:30.837 18338 18338 E AndroidRuntime: at
com.android.camera.data.LocalMediaData$PhotoData.fillImageView(LocalMediaData.java:485)
11-29 13:02:30.837 18338 18338 E AndroidRuntime: at
com.android.camera.data.LocalMediaData.getView(LocalMediaData.java:232)
11-29 13:02:30.837 18338 18338 E AndroidRuntime: at
com.android.camera.data.CameraDataAdapter.getView(CameraDataAdapter.java:101)
11-29 13:02:30.837 18338 18338 E AndroidRuntime: at
com.android.camera.data.FixedFirstDataAdapter.getView(FixedFirstDataAdapter.java:117)
11-29 13:02:30.837 18338 18338 E AndroidRuntime: at
com.android.camera.ui.FilmStripView.buildItemFromData(FilmStripView.java:928)
11-29 13:02:30.837 18338 18338 E AndroidRuntime: at
com.android.camera.ui.FilmStripView.update(FilmStripView.java:2072)
11-29 13:02:30.837 18338 18338 E AndroidRuntime: at
com.android.camera.ui.FilmStripView.-wrap12(FilmStripView.java)
11-29 13:02:30.837 18338 18338 E AndroidRuntime: at
com.android.camera.ui.FilmStripView$4.onDataUpdated(FilmStripView.java:1803)
11-29 13:02:30.837 18338 18338 E AndroidRuntime: at
com.android.camera.data.FixedFirstDataAdapter.onDataLoaded(FixedFirstDataAdapter.java:152)
11-29 13:02:30.837 18338 18338 E AndroidRuntime: at
com.android.camera.data.CameraDataAdapter.replaceData(CameraDataAdapter.java:269)
11-29 13:02:30.837 18338 18338 E AndroidRuntime: at
com.android.camera.data.CameraDataAdapter.-wrap1(CameraDataAdapter.java)
11-29 13:02:30.837 18338 18338 E AndroidRuntime: at
com.android.camera.data.CameraDataAdapter$QueryTask.onPostExecute(CameraDataAdapter.java:359)
11-29 13:02:30.837 18338 18338 E AndroidRuntime: at
com.android.camera.data.CameraDataAdapter$QueryTask.onPostExecute(CameraDataAdapter.java:358)
11-29 13:02:30.837 18338 18338 E AndroidRuntime: at
android.os.AsyncTask.finish(AsyncTask.java:660)
11-29 13:02:30.837 18338 18338 E AndroidRuntime: at
android.os.AsyncTask.-wrap1(AsyncTask.java)
11-29 13:02:30.837 18338 18338 E AndroidRuntime: at
android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:677)
11-29 13:02:30.837 18338 18338 E AndroidRuntime: at
android.os.Handler.dispatchMessage(Handler.java:102)
11-29 13:02:30.837 18338 18338 E AndroidRuntime: at
android.os.Looper.loop(Looper.java:154)
11-29 13:02:30.837 18338 18338 E AndroidRuntime: at
android.app.ActivityThread.main(ActivityThread.java:6095)
11-29 13:02:30.837 18338 18338 E AndroidRuntime: at
java.lang.reflect.Method.invoke(Native Method)
11-29 13:02:30.837 18338 18338 E AndroidRuntime: at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
11-29 13:02:30.837 18338 18338 E AndroidRuntime: at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
Change-Id: I43c6eb85651e5ee69647114a5ec819ed98c61720
|
|\
| |
| |
| | |
camera.lnx.1.0-dev.1.0
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Camera can't query media URI successfully when we switch storage path.
Because camera use a static final field to hold storage path name which
is only initialized once and will not change any more, even if camera
use a static method to initialize this field.
By replacing this static final field with a static method can avoid
this issue, as static method will get real time value.
Change-Id: I49c2d81afe0e872483b4ab353c94746165c5a294
|
|/
|
|
|
|
|
|
|
|
| |
Implement a buffer cache system for Clearsight registration.
Pre-allocate required number of buffers and re-use.
Remove loading bitmaps to CameraDataAdapter after capture as
we no longer are using FilmStripView.
CRs-Fixed: 1054487
Change-Id: I6af94b701efa85e8f3848b8c8e508bb688bc2f13
|
|
|
|
|
|
| |
Add preview thumbnail button and touch it to go to gallery
Change-Id: Ib80ef94c677c204d7f0826356792aba2aa11d4d1
|
|
|
|
|
|
|
|
| |
Rename package from com.android.camera2 to org.codeaurora.snapcam,
module name from Camera2 to SnapdragonCamera and app name from
"Camera" to "Snapdragon Camera"
Change-Id: I2800070e72631e119a15fe0132424d1047be9f0c
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 46b761ab50e36daa2ff79527553014905e784895.
We see some regressions with this change
so we are reverting it for now. We will
fix the issues soon.
Change-Id: I59da92087006cef0da16c8a11fe7c31f32aa0312
|
|
|
|
|
|
|
|
|
|
|
| |
Hprof identified memleak in localdatalist from list and hashmap
Reason: removedata was not getting invoked.
Fix Made: Invoke removedata from ondestroy and onresume of camera activity
Cleanup bitmaps before reallocation on same variable.
CRs-Fixed: 655256
Change-Id: I42d99beb7e493eea2394462ee02cbe956e86c502
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a feature to choose use SDcard or phone to store picture
and video captured by camera and camcorder.
Some of the changes are taken from:
I987a691c93edc4250fe0366d0623c85ea0152117
CRs-Fixed: 619806
Change-Id: I009df4c70f0a1b49b20750f806c799f025bb6197
|
|
|
|
|
|
|
|
|
| |
Cursors which got created during any query, needs to be closed
finally. Otherwise it'll cause leak in resource and cursor window
allocation will fail.
Change-Id: I65ace2dc227e0a50c163faba13fdb0fbfa71bc6c
CRs-Fixed: 594264
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Recorded file must exist for updation. Check if the file exists
before you update to avoid crash. Treat file non-existence as a
error case and proceed further.
Change-Id: I31954d51f0c34ef3d0ee25cb30d243804bc93fc3
CRs-Fixed: 573040
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When we load from MediaStore, we should differentiate the data still in
progress, e.g. HDR+, which should show the progress bar and hide the action bar
items.
bug:11634500
bug:11598186
Change-Id: I8179d39747218c8768977d5b3ce71eadbdfb8b58
|
|/
|
|
|
|
| |
Bug: 11050749
Change-Id: I374c5919d6da0609fccd21c09775fa91894d5a24
|
|
|
|
|
|
|
|
| |
Basically, the width and hight in the ImageData will be pre-rotation.
bug:11067085
Change-Id: I377caf2f1d49d26b4d6823d4e72168a055d80858
|
|
|
|
|
|
| |
bug:11049529
Change-Id: Id6bd0f912f153b8b8e6b1a525a383ad8cadbe3dd
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit fb344efde20ffab903fae7c6e5a2e1c90b4ef085.
And this CL make sure we handle rotated image correctly and update the
MediaStore according to the bitmap size.
bug:10988273
Change-Id: I9acb60e0dd485292748bcc586801f76bc7a543dc
|
|
|
|
|
|
|
|
|
| |
removes LocalMediaData resize code to evaluate black screenshots.
this results in correct display of GCam photos newly taking in KRS91; prior GCam photos will look distorted due to incorrect EXIF.
Bug: 10988273
Change-Id: I7fedffeeb1823da857f4c92433c6213d6697bda0
|
|\
| |
| |
| | |
gb-ub-photos-carlsbad
|
| |
| |
| |
| |
| |
| | |
Bug: 10861115
Change-Id: I1eec2bf4d6879c227a07c5364bc821749ace312b
|
| |
| |
| |
| |
| |
| | |
bug:10768232
Change-Id: I53673b8ef341f7388a9a4aaa7b03f804485928cf
|
|/
|
|
|
|
| |
bug:10917681
Change-Id: I897d883636991f5b95290acf57c2a84eadd7c5d2
|
|\
| |
| |
| | |
gb-ub-photos-carlsbad
|
| |
| |
| |
| |
| |
| | |
Bug: 10649902
Change-Id: Icaf17abdbd48a86d55e1555115fdb7817faf6359
|
|/
|
|
|
| |
Bug: 10728773
Change-Id: Ie5a50590e71fd4b853cb7590db4fa14f5b6dc73b
|
|
|
|
|
|
|
|
|
|
|
| |
1. Remove the snap-in-center check at the end of scale animation.
2. Don't go back to full-screen when animating from camera preview
to filmstrip.
bug:10806298
bug:10864100
Change-Id: I751040a22e2758709c22e7230a5418a871ef85f9
|
|
|
|
|
|
|
|
|
| |
Handle another setDataSource exception.
Remove the old work around for refreshing after editing.
bug:10390298
Change-Id: I8777364b96c86eeaf5581a96163aab823cd4b438
|
|
|
|
|
| |
Bug: 10780042
Change-Id: I518bf8a6e2b53647398180e60b55533960ebe318
|
|
|
|
|
|
| |
Bug: 10747001
Change-Id: I8dcc3c5e7dd12879a927aa82e71bea0c6370ccda
|
|
|
|
|
|
|
|
| |
setDataSource() somehow throws a RuntimeException instead of
IllegalArgumentException when seeing unsupported video file.
bug:10732664
Change-Id: I79ab1f1afd8750bb37df0c8fc9448dbb2e00230a
|
|
|
|
|
|
|
|
|
|
| |
Bug: 10640328
But we need to make sure to not always switch in onResume, as
some activities stared from us (like playing a video or editing)
require the UI flow to stay in filmstrip.
Change-Id: Id2911be4949de9fd9fc4cb3451dd34e3fae8becf
|
|
|
|
|
|
| |
bug:10514553
Change-Id: I0d26a324ede55b281e60cedc174869f5b863ca31
|
|\
| |
| |
| | |
gb-ub-photos-carlsbad
|
| |
| |
| |
| |
| |
| |
| |
| | |
Bug: 10495593
We should use the bigger scale factor of the two, and not the smaller.
Change-Id: I5a1ff6fe7d6b50c0128ff17709daa94cef9cb65b
|
|/
|
|
|
| |
Bug: 10308195
Change-Id: I940891f6aa3e24575174ff888c384fddaaa5b3c8
|
|
|
|
|
|
|
|
|
| |
Move the exif related code under src.com.android.camera.exif.
Refactor the member variables under LocalMediaData.java.
Refactor the LocalData to make sure they are immutables for thread safety.
bug:10367037
Change-Id: I0e84bcc0097925b2be749fe016984177a68e0a4d
|
|
|
|
|
| |
Bug: 10367406
Change-Id: I37834442e3af209fb00b98e6da524263ac8c70f0
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Also corrects the default decoding size.
bug:10413110
bug:10330214
Change-Id: I45465fdea2320501fd17ac4e35e0f0f54c08cbba
|
|/
|
|
|
|
| |
Bug: 7141309
Change-Id: I27a2efd83b355cf2c7fa6cc6c9b386c1c0496c6b
|
|
|
|
|
|
|
|
|
|
| |
Bug: 10330214
Bug: 10430152
We need to tell the wrapped data adapters about the size we need. Also,
use a more efficient way to determine the sample size.
Change-Id: Ie2c6fb438f06d97d6e5420afdceccccf41040020
|
|
|
|
|
|
|
|
| |
Bug: 10330505
Also fix a potential NPE issue and some minor reformatting.
Change-Id: I89a32645a497d1f19d935b96bd1997e6fdf902b2
|
|
|
|
|
|
|
|
|
| |
Bug: 10367172
Bug: 10074320
Also hooks up the Edit button and the edit menu item.
Change-Id: I0ce3344e09fdfd7794c417ddbe44b3d247a7ed7c
|
|
|
|
|
|
| |
bug:10096747
Change-Id: Idcb62448acbf38d581af3a08a9bcbc0cad0ab6be
|
|
|
|
|
|
|
|
|
| |
Also make sure the show-on-map item is only shown for items with coordinates. and add the coordinate to the details view.
Bug: 10346208
Bug: 10330505
Change-Id: Idaeec207bcc0e7311fa3b651868515ccea81d083
|
|
|
|
|
|
|
|
| |
Some are still missing and will come back later.
Bug: 10330505
Change-Id: I7bc44b19fac5b47557d5feae3ed969040ac3ae9b
|
|
|
|
|
|
|
| |
bug:10313671
bug:9757517
Change-Id: I8cb922599c4185a585f90007c3975841d14e179a
|
|
|
|
|
|
|
|
|
|
|
| |
This fix is for the blank camera preview blank after onPause() -> onResume().
1. Refined camera start up procedure by removing redundant camera startup
thread.
2. Cleanup unused calls after aparted from gallery.
bug:10189998
Change-Id: I13ffa24aff5069f0032cd4bc801548fccc63d0e7
|
|
|
|
|
|
|
|
| |
We need local data types to generate different menus.
bug:10245009
Change-Id: I95f947c11ad3f39172c43f75f4108bf720148278
|
|
|
|
|
|
| |
bug:10294250
Change-Id: Id6744f5bf36715527badc098de77bf11d67ae549
|