summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2016-04-08Fixed NullPointerException during Cursor reuseViktor Yakovel
Every time an image is selected, CursorPhotoSource.naturalNext() and naturalPrevious() functions are called to find the next/previous images. Those functions check if a cursor which is associated with an ImageData exists and is opened. If the cursor isn't opened then an attempt to open a cursor is made. The problem is that when a new ImageData is constructed inside naturalNext() or naturalPrevious() functions, it shares the Cursor with the currently selected image. Later on, one of the ImageData objects closes the cursor which forces other ImageData's to reopen it. However since uri wasn't set, null pointer exception occurs. Fixed by setting uri on newly created ImageData. Bug: 28054525 Change-Id: I9ebad683089f872299343572f1df4dc7cc4ae628
2013-10-16fix race condition in photo dreams settings activityChris Wren
Bug: 11225307 Change-Id: I7e52c83e172aa2e1418344fc14d438644d54dd07
2013-08-27remove special handling for composite instant upload album.Chris Wren
The old name is obsolete and it adds complexity (and bugs). Watch for references to the old name in settings and upgrade them. Bug: 10509455 Change-Id: Ifc50ee29fb8d69c369fdfad503efbfb4aec08a47
2013-08-19Use the server's name for the instant upload album.Chris Wren
Bug: 8853443 Change-Id: I09bf4fe469775ab384a51e3cee25029d9f490524
2013-08-15fix an NPE for clicks immediately upon photo table start.Chris Wren
Bug: 10340671 Change-Id: Ia0e7f352b2fcfc017301f21e8b9d89d2efd887d4
2013-08-15add a broadcast receiver that modifies the settings.Chris Wren
Useful for loosly embedding the photo dreams code into other packages. Add support for albums on internal storage. Bug: 8370249 Change-Id: Ibca37c100d7f1f6b87580422591de4d19d726506
2013-08-14resove some edge cases in background optimization.Chris Wren
don't try to guess where the view is, just remove it from where ever it is. don't try to track if things are animating, just add them to the background at the next convenient time. Bug: 10048162 Change-Id: Icad3dfe8de95ab57790d201a637f1938af3aa79a
2013-06-19quick fix for jank on touch devices.Chris Wren
optimizations for notouch devices caused jank on touch. The best solution is difficult, so for the time being, let's just disable that optimiztion on touch devices. Bug: 9462757 Change-Id: I4e574eb23d0764267e5b5efea01230feba5114d1
2013-06-18work around a bug in BMP decodingChris Wren
Bug: 8792312 Change-Id: Idd2d1988896e8947a675b1a49347cd55249e8d99
2013-04-23catch InstantUploadAuto type.Chris Wren
Bug: 8693493 Change-Id: I00e792f0fe6bc11bf2f32b41399d26cad62d8a41
2013-04-17no blank album lists.Chris Wren
Bug: 8060514 Change-Id: Iaf122899f45b9fd94877e695c99872b8103bd616
2013-04-11graphics optimization to get back inside 60Hz.Chris Wren
Bug: 8594598 Change-Id: Iccb1779b5dd133af4441038c3f945d1c1ac1ba8d
2013-04-11story mode: declutter by fading out the backgroun images.Chris Wren
Bug: 8573228 Change-Id: I8b62f9fcf6c7ae82bcb990428a421722c7197e1c
2013-04-10story mode: tune timeouts and timeout management.Chris Wren
Bug: 8572979 Change-Id: Ica0559bec273d3628c96b5c25e6e8303226ef433
2013-04-10better memory/cursor management for story mode.Chris Wren
Bug: 8578085 Change-Id: I11c44c64a9d4318a00f6db21369eba43b586f809
2013-04-09manage obsolete threads.Chris Wren
Bug: 8574670 Change-Id: I79a9bdb8de2fec46de591acfe5a3cbcd30f0ecdf
2013-04-09support dpads in story mode.Chris Wren
Bug: 8572945 Change-Id: Icabd1fc61ec7c3c5b6a2f5ef94641eb7c8deb1c3
2013-04-09story mode for PhotoTable.Chris Wren
also some cleanup and refactoring also fix stuck alphas Bug: 8399588 Change-Id: Id236b29701ede3696c8f1f0ccc6522eb8256ff25
2013-03-22add two-finger move gesture.Chris Wren
Bug: 8387448 Change-Id: Ib8a54ee3e978df3c5d15058d4fe82b9e7d6a524b
2013-03-15add swipe-away gesture, and fix focus blink.Chris Wren
Bug: 8387448 Change-Id: I316d21069e0b81f1753c975a67f56f95282c2a8a
2013-03-14add keyboard navigation to photo table daydreamChris Wren
arrows: move focus enter: select/deselect x/del: throw away Bug: 8387448 Change-Id: I45d9b2273051abd18aaa82a7e6201196b06f7ce0
2013-03-12enable keyclicks in the photo daydream album selection menu.Chris Wren
Bug: 8175092 Change-Id: Id24bd8884af48b71a72ea156c0d277ae3537c3e9
2013-01-10guard against NPEs in bitmap decoding.Chris Wren
Somehow people occasionally see null bitmaps with valid BitmapFactory.Options. Bug: 7403211 Change-Id: If6e18aa6b1c9ea6b8344f039d26197fbb44ff0d9
2013-01-09defensive loop guards around cursors.Chris Wren
I did not realize that an error in moveToNext() would result in a curor that isBeforeFirst() but not isAfterLast(). Bug: 7465164 Change-Id: I5502f18e863ad48ec88397fdf0b4ec457be723dc
2012-12-10flip less often if loading is slow.Chris Wren
Flipping back to a photo we just saw looks like thrashing. However we don't want to get stuck forever on a single photo. Change-Id: I1b8f317fbcbe05a3923343c6d3d2c0f6cabefcda
2012-12-10Add 'select all' to photo dream settings.Chris Wren
Bug: 7269182 Change-Id: I78898bb9e76d6233487b4888e56f896f3c6ea72d
2012-12-10tune re-deal behavior on photo table.Chris Wren
Bug: 7669353 Change-Id: I17aaf289067cbd688dba5cd317541b98bb4ee3dd
2012-11-15remove padding on table, also lifecycle cleanup.android-cts-4.2_r2Chris Wren
Bug: 7195054 Change-Id: I1270642fc19c9ccc5fe19fbf395f729371d0ee94
2012-11-01don't reuse mOptions across threads.android-sdk-support_r11Chris Wren
Bug: 7370134 Change-Id: If6e02c2095f5f70e4dd506e651efbbd5ad47fa07
2012-10-25swap output dims after rotating image.Chris Wren
Bug: 7410969 Change-Id: I7e2ba028ab00a763686992f8c4515350cbf0388f
2012-10-25handle image queues of length one.Chris Wren
Bug: 7414275 Change-Id: Id105490bc30ef6f6fcdbcd9e5f5afd10c35f3c99
2012-10-18Take advantage of proportional screennails.Chris Wren
Bug: 7298558 Change-Id: I60c72aca1ec87e2c7a263d5f952be6c124e8a5c6
2012-10-17Merge "Make my dreams pretty Bug #7353771" into jb-mr1-devRomain Guy
2012-10-16Make my dreams prettyRomain Guy
Bug #7353771 This change enables mipmapping on large photos to make them look nicer when scaled down. Change-Id: I90f398a361f78b098884543a686e20a266e6af44
2012-10-16Merge "Save memory" into jb-mr1-devRomain Guy
2012-10-16Save memoryRomain Guy
PhotoTable creates layers when they are not needed. Since the images are pretty big this generates large allocations that don't help improve performance. Change-Id: I95f28c27c8facc1fd4562cb7ba1f3c83fd80d9fc
2012-10-15Better handling for network lag and large images.Chris Wren
Bug: 7339488 Change-Id: I3a26b30f766fc240e73e19c14a5ee14288bd4fb1
2012-10-12Be miserly with metered data.Chris Wren
Bug: 7337804 Change-Id: I64d078396b112381b2971259c784ee6fdf5e5ca3
2012-10-05handle some edge cases: many albums, deleted albums, and slow network.Chris Wren
Bug: 7258024 Change-Id: If9ab2ecf6bc12881854df83a637dc1fdb685552c
2012-10-04Keep up with new Dreams API.Daniel Sandler
Requires change Ib7802c33. Bug: 7281802 Change-Id: I628fbcb1dea51ede4db0c37692b1f45486db4664
2012-10-03look harder for images to load.Chris Wren
Bug: 7242346 Change-Id: I729286685d7cd19a68e9db5f428ff714f3d2775c
2012-10-03fix NPE un stream unpacking failure.Chris Wren
Bug: 7242346 Change-Id: I5f27baba860081111224b7312cfef027c1312264
2012-10-01find the disappearing settings, plus some layout.Chris Wren
Bug: 7242287 Bug: 7194713 Change-Id: I362c2ffa0d4cbc3be45d14ede1de5dbf39ec4d7f
2012-10-01turn off debug logging.Chris Wren
Bug: 7257612 Change-Id: Ia8c9c81c788e87f4953b4ecacc07712e73d82a7f
2012-09-28Hopefully fix build.Dianne Hackborn
Change-Id: I4c1a0ab6a88dd6a071e5467497e5c85891893ea3
2012-09-26refine handling of exceptional cases: no settings, network failure, load error.Chris Wren
Bug: 7194196 Bug: 7152553 Change-Id: I4335e46fe3a61a09ce3b14a02bb199a84126e53f
2012-09-24save settings asynchronously.Chris Wren
also, catch click on the whole item row. Bug: 7194713 Change-Id: I7881c6cbb96b2fba34afa7b99790c61f646457de
2012-09-21Migrate away from lightsOut() in photo table dreams.John Spurlock
Bug:7211867 Change-Id: Ib90c19753f6331799680082dfe179989596f945a
2012-09-19Segment album list by account.Chris Wren
Bug: 7162806 Change-Id: I3a7f2c1a9e9d0ff299f4d5a8536013b9ec8f52ba
2012-09-17coalesce instant upload photos.Chris Wren
Bug: 7170951 Change-Id: I6871cb6613570e1135e056bd66136e3f6a2158f4