OSDN Git Service
Baligh Uddin [Thu, 19 Sep 2013 21:35:41 +0000 (21:35 +0000)]
Merge "Import translations. DO NOT MERGE" into gb-ub-photos-carlsbad
Ruben Brunk [Thu, 19 Sep 2013 19:33:09 +0000 (19:33 +0000)]
Merge "Fix drawable location." into gb-ub-photos-carlsbad
Ruben Brunk [Thu, 19 Sep 2013 19:23:39 +0000 (12:23 -0700)]
Fix drawable location.
Bug:
10430748
- Drawable wasn't included when building from klp-dev.
Change-Id: I85e57eebbab3a25e18e3fd6738ffa43bdd61f974
nicolasroard [Wed, 18 Sep 2013 23:54:05 +0000 (16:54 -0700)]
Add crop activity
bug:
10367125
Change-Id: I8dce6d799e7469ff048d419598d87b0c04bef2a0
ztenghui [Thu, 5 Sep 2013 22:47:58 +0000 (15:47 -0700)]
Use contentObserver to refresh the data when dirty.
Handle another setDataSource exception.
Remove the old work around for refreshing after editing.
bug:
10390298
Change-Id: I8777364b96c86eeaf5581a96163aab823cd4b438
Mangesh Ghiware [Thu, 19 Sep 2013 16:24:23 +0000 (09:24 -0700)]
Bring back NFC beam support to filmstrip
Bug:
10805211
Change-Id: I457d47625c69fcdaba663e53f46d461d29c7cb92
Baligh Uddin [Thu, 19 Sep 2013 10:32:46 +0000 (03:32 -0700)]
Import translations. DO NOT MERGE
Change-Id: I14087e2afde009daca03e6005fab8043d36c7e0c
Auto-generated-cl: translation import
Ruben Brunk [Thu, 19 Sep 2013 07:18:26 +0000 (07:18 +0000)]
Merge "Adding gcam module to Camera2 app." into gb-ub-photos-carlsbad
Ruben Brunk [Fri, 6 Sep 2013 18:56:32 +0000 (11:56 -0700)]
Adding gcam module to Camera2 app.
Bug:
10430748
Change-Id: I0c53085553cd8505ba376b1518507d36065894f5
Mangesh Ghiware [Thu, 19 Sep 2013 04:27:58 +0000 (04:27 +0000)]
Merge "Make Up button in filmstrip go to Gallery." into gb-ub-photos-carlsbad
Mangesh Ghiware [Thu, 19 Sep 2013 01:25:26 +0000 (18:25 -0700)]
Make Up button in filmstrip go to Gallery.
Bug:
10748904
Change-Id: If80f3354071893dc4f8bd60e4ca605d3626ecdf9
Sascha Haeberling [Thu, 19 Sep 2013 00:08:29 +0000 (17:08 -0700)]
Fix various message issues
Bug:
10568697
Bug:
10589224
Bug:
10561095
Bug:
10589353
Bug:
10570925
Change-Id: I1affdf37d74bef37e099c70775f669ee0ff33acf
Sascha Haeberling [Wed, 18 Sep 2013 21:28:51 +0000 (14:28 -0700)]
Clean up ApiHelper and remove unused code paths.
Bug:
10821545
As we're targeting ICS there are a lot of checks and code paths
that are no longer in use. This CL cleans them up.
Change-Id: Ic3dd26628a94e134e25e2c496ccec1f1f957216d
Sascha Haeberling [Fri, 13 Sep 2013 18:58:33 +0000 (11:58 -0700)]
Adding Hideybar support for K and up.
Bug:
10723047
Change-Id: Ie1d0bdadfbe6dee6a4e0998facac61ff1fb6e02a
ztenghui [Wed, 18 Sep 2013 00:02:45 +0000 (00:02 +0000)]
Merge "Delete the captured video if cancel in review." into gb-ub-photos-carlsbad
ztenghui [Tue, 17 Sep 2013 23:51:15 +0000 (16:51 -0700)]
Delete the captured video if cancel in review.
In capture intent case, video get inserted all the time before review.
So if cancelled in review mode, the captured video should be deleted.
bug:
8897671
Change-Id: I01dd4b0707dd1b70480cda94b2a9b9c6ce9194c7
Sascha Haeberling [Tue, 17 Sep 2013 22:44:22 +0000 (15:44 -0700)]
Fall back to Photo module if stores index is illegal.
Bug:
10805249
Change-Id: Iace590af34cf646abf7af74b498520d686c04511
Sascha Haeberling [Tue, 17 Sep 2013 22:58:47 +0000 (22:58 +0000)]
Merge "Don't crash the app if camera is not available." into gb-ub-photos-carlsbad
Sascha Haeberling [Tue, 17 Sep 2013 22:51:43 +0000 (22:51 +0000)]
Merge "Adding a simple done handler interface." into gb-ub-photos-carlsbad
Sascha Haeberling [Tue, 17 Sep 2013 22:36:13 +0000 (15:36 -0700)]
Don't crash the app if camera is not available.
Bug:
10747001
Change-Id: I8a4e302a9b458c73901776a95a0118da0e4e8b6c
Doris Liu [Tue, 17 Sep 2013 22:19:06 +0000 (22:19 +0000)]
Merge "Fix camera controls rotation for secure camera" into gb-ub-photos-carlsbad
Doris Liu [Tue, 17 Sep 2013 22:07:31 +0000 (15:07 -0700)]
Fix camera controls rotation for secure camera
Bug:
8878379
Change-Id: I80b06d98010dbed14a46994f365d1fbb9aa8ba49
Angus Kong [Tue, 17 Sep 2013 21:51:50 +0000 (21:51 +0000)]
Merge "Show dialog when camera device is not connected." into gb-ub-photos-carlsbad
Angus Kong [Mon, 16 Sep 2013 21:25:35 +0000 (14:25 -0700)]
Show dialog when camera device is not connected.
bug:
10726516
Change-Id: I3d3433d0b2eced54027b19910473fd55135d0e1c
ztenghui [Tue, 17 Sep 2013 20:53:32 +0000 (20:53 +0000)]
Merge "Use a new Intent to work around issues in framework" into gb-ub-photos-carlsbad
ztenghui [Tue, 17 Sep 2013 18:33:02 +0000 (11:33 -0700)]
Use a new Intent to work around issues in framework
Framework didn't update the action provider if reusing the intent object.
The work around is creating new intents here.
bug:
10713267
Change-Id: Iee64e84e191c8c2c2377fb5b9b95a91dae3c445c
Baligh Uddin [Tue, 17 Sep 2013 04:18:23 +0000 (04:18 +0000)]
Merge "Import translations. DO NOT MERGE" into gb-ub-photos-carlsbad
Doris Liu [Tue, 17 Sep 2013 01:47:01 +0000 (01:47 +0000)]
Merge "Fix zoom for images with orientation tag" into gb-ub-photos-carlsbad
Doris Liu [Mon, 16 Sep 2013 20:38:24 +0000 (13:38 -0700)]
Fix zoom for images with orientation tag
Bug:
10780042
Change-Id: I518bf8a6e2b53647398180e60b55533960ebe318
Angus Kong [Tue, 17 Sep 2013 01:33:24 +0000 (01:33 +0000)]
Merge "Set correct alpha for views in filmstrip." into gb-ub-photos-carlsbad
Sascha Haeberling [Mon, 16 Sep 2013 22:41:58 +0000 (15:41 -0700)]
Add HQ and HD strings.
Bug:
10785988
Change-Id: Idc76e1888cb91d3ec6b56657f38f7422a2df7e43
Angus Kong [Sat, 14 Sep 2013 01:09:18 +0000 (18:09 -0700)]
Set correct alpha for views in filmstrip.
bug:
10713813
Change-Id: I2715b7c3ecb2e0c995e8f66e710c91561e9cf231
Sascha Haeberling [Mon, 16 Sep 2013 21:07:11 +0000 (14:07 -0700)]
Adding a simple done handler interface.
Bug:
10747001
Needed by http://ag/360619
Change-Id: I942cb601391a8cdd2c30ea152415f56d38fd0918
Doris Liu [Mon, 16 Sep 2013 20:22:55 +0000 (20:22 +0000)]
Merge "Fix flicker when zooming images smaller than screen" into gb-ub-photos-carlsbad
Sascha Haeberling [Mon, 16 Sep 2013 18:04:25 +0000 (11:04 -0700)]
Avoid expensive O(n) main-thread operation when adding Photo Sphere.
Bug:
10747001
Change-Id: I8dcc3c5e7dd12879a927aa82e71bea0c6370ccda
Baligh Uddin [Mon, 16 Sep 2013 19:59:09 +0000 (12:59 -0700)]
Import translations. DO NOT MERGE
Change-Id: Iab05e7410b6829ad7934d71024fee3e1e2d77f8f
Auto-generated-cl: translation import
Doris Liu [Mon, 16 Sep 2013 19:21:21 +0000 (12:21 -0700)]
Fix flicker when zooming images smaller than screen
Bug:
10733300
Change-Id: Ifa753722132b1fd81265b5fc105a0b96602b6fd2
Baligh Uddin [Sat, 14 Sep 2013 07:47:58 +0000 (00:47 -0700)]
Import translations. DO NOT MERGE
Change-Id: I66cd67cee8d92b6c594ad9f19d217a1a4cceae44
Auto-generated-cl: translation import
Angus Kong [Fri, 13 Sep 2013 21:55:31 +0000 (14:55 -0700)]
Don't show menu/indicators in wide-angle mode.
bug:
10674078
Change-Id: I08edd11ead1c71cd6b81274938c92f788c039a8f
Sascha Haeberling [Fri, 13 Sep 2013 21:26:37 +0000 (21:26 +0000)]
Merge "Fix potential deadlock while rendering the preview." into gb-ub-photos-carlsbad
Angus Kong [Fri, 13 Sep 2013 21:16:34 +0000 (21:16 +0000)]
Merge "Always leave full-screen when swip from camera." into gb-ub-photos-carlsbad
Sascha Haeberling [Fri, 13 Sep 2013 20:42:29 +0000 (13:42 -0700)]
Fix potential deadlock while rendering the preview.
Bug:
10748013
Change-Id: Id03053f47ee3c066347dd136b6abe9fb1a5d6502
Angus Kong [Fri, 13 Sep 2013 17:11:57 +0000 (17:11 +0000)]
Merge "Avoid flickering after swipe to delete." into gb-ub-photos-carlsbad
ztenghui [Fri, 13 Sep 2013 16:31:08 +0000 (16:31 +0000)]
Merge "Fix crash due to a hole in setDataSource." into gb-ub-photos-carlsbad
Sascha Haeberling [Fri, 13 Sep 2013 01:34:25 +0000 (18:34 -0700)]
Fix DeadLock in TinyPlanet.
Bug:
10393598
Now that we acquire the lock inside doInBackground, we need to make
sure to run the AsyncTasks in parallel.
Change-Id: If253f375d56c352c30076f00cf923dfa521f2db4
Angus Kong [Thu, 12 Sep 2013 21:49:48 +0000 (14:49 -0700)]
Avoid flickering after swipe to delete.
bug:
10624385
Change-Id: Id4d65a391b2d13a5d6cc08ae9c1b787610c94c46
Sascha Haeberling [Thu, 12 Sep 2013 03:30:52 +0000 (20:30 -0700)]
Bring back tiny planet to the Camera filmstrip
Bug:
10393598
The native code and XmpUtil are mostly 1:1 copies from Gallery2.
The UI is new and should work on all form factors.
Change-Id: Ia302a4a7a24cf0b3aa583836683c459e9e7e1f85
ztenghui [Thu, 12 Sep 2013 23:20:19 +0000 (16:20 -0700)]
Fix crash due to a hole in setDataSource.
setDataSource() somehow throws a RuntimeException instead of
IllegalArgumentException when seeing unsupported video file.
bug:
10732664
Change-Id: I79ab1f1afd8750bb37df0c8fc9448dbb2e00230a
Doris Liu [Thu, 12 Sep 2013 23:17:43 +0000 (16:17 -0700)]
Keep undo bar around until there is user interaciton
Bug:
10678578
Bug:
10674009
Also removed the use of withEndAction() call because it was
introduced in API 16, whereas we need to be compatible with
API 14+
Change-Id: I785770ae9a083f88056e94fc5378daf8ebc6dc6e
Angus Kong [Thu, 12 Sep 2013 00:48:48 +0000 (17:48 -0700)]
Always leave full-screen when swip from camera.
bug:
10714779
Change-Id: Ifa10f151974ac0598a0c27751e23c77d525d332e
ztenghui [Thu, 12 Sep 2013 22:16:39 +0000 (22:16 +0000)]
Merge "When current data is preview, don't show the action bar." into gb-ub-photos-carlsbad
ztenghui [Thu, 12 Sep 2013 21:56:56 +0000 (14:56 -0700)]
When current data is preview, don't show the action bar.
bug:
10678458
Change-Id: Ia48ca694ddca47438338e7223e9fa19c2c65dd5d
Baligh Uddin [Thu, 12 Sep 2013 03:16:38 +0000 (03:16 +0000)]
Merge "Import translations. DO NOT MERGE" into gb-ub-photos-carlsbad
Doris Liu [Thu, 12 Sep 2013 00:38:08 +0000 (17:38 -0700)]
Show captured image rather than frozen preview for capture intent
Bug:
10570887
Change-Id: Ie986c865bdf452973b833efcdcb397c27bef2420
ztenghui [Mon, 9 Sep 2013 21:58:44 +0000 (14:58 -0700)]
Fix the flash mode transition in video mode
onSwitchMode is wrongly overloaded, now is fixed.
Basically, onCurrentDataChanged will handle the switching in and out of Camera.
onDataFullScreenChange will handle full screen change on non-preview data.
bug:
10610967
Change-Id: I199a20d40d66b78302e90e0f96826d03076b0e39
Baligh Uddin [Wed, 11 Sep 2013 23:08:38 +0000 (16:08 -0700)]
Import translations. DO NOT MERGE
Change-Id: Id3a2de300eaa51a628613b653410bc6582545c83
Auto-generated-cl: translation import
Angus Kong [Tue, 10 Sep 2013 23:53:24 +0000 (23:53 +0000)]
Merge "Flinging back should stop at the first photo first." into gb-ub-photos-carlsbad
Angus Kong [Tue, 10 Sep 2013 22:42:46 +0000 (15:42 -0700)]
Flinging back should stop at the first photo first.
bug:
10634016
Change-Id: I44e715268b913902a444c977c136d1e0381b3833
Doris Liu [Tue, 10 Sep 2013 19:44:20 +0000 (12:44 -0700)]
Hide zoom view when going to full screen
Bug:
10654903
Change-Id: Ibeed1e02e203dffc4aba69a52b748206a734294f
Baligh Uddin [Tue, 10 Sep 2013 14:49:26 +0000 (14:49 +0000)]
Merge "Import translations. DO NOT MERGE" into gb-ub-photos-carlsbad
Angus Kong [Tue, 10 Sep 2013 05:14:02 +0000 (05:14 +0000)]
Merge "Fix images being off-center in filmstrip." into gb-ub-photos-carlsbad
Angus Kong [Tue, 10 Sep 2013 00:15:01 +0000 (17:15 -0700)]
Fix images being off-center in filmstrip.
bug:
10609827
bug:
10650966
Change-Id: Ie06beaeb7c6a616d5d7ca751cfaa65a64844332c
Doris Liu [Tue, 10 Sep 2013 01:24:25 +0000 (01:24 +0000)]
Merge "Hide zoom view when back is pressed" into gb-ub-photos-carlsbad
Doris Liu [Tue, 10 Sep 2013 00:26:14 +0000 (17:26 -0700)]
Hide zoom view when back is pressed
Bug:
10677244
Change-Id: I2e42d35382dded28bdd47dbdca173a1fd2bf6ac7
Sascha Haeberling [Tue, 10 Sep 2013 00:32:48 +0000 (17:32 -0700)]
Update indicators at the right time to show the correct state.
Bug:
10620907
Change-Id: I19de5820aff4b99709326a625765f416d8a5a5f5
Sascha Haeberling [Mon, 9 Sep 2013 21:42:43 +0000 (14:42 -0700)]
Make sure we switch to preview view when resuming.
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
Baligh Uddin [Mon, 9 Sep 2013 21:05:59 +0000 (14:05 -0700)]
Import translations. DO NOT MERGE
Change-Id: I38c56cd29e446a64f00837851aa21507f4761dbd
Auto-generated-cl: translation import
ztenghui [Mon, 9 Sep 2013 20:53:24 +0000 (20:53 +0000)]
Merge "Update the data after edit." into gb-ub-photos-carlsbad
ztenghui [Fri, 6 Sep 2013 21:57:15 +0000 (14:57 -0700)]
Update the data after edit.
bug:
10411943
Change-Id: I94804d581470a87f7449a2a249b0b2a27ab640a2
Angus Kong [Sat, 7 Sep 2013 00:20:15 +0000 (17:20 -0700)]
Disable swipe in capture intent mode.
bug:
10606988
Change-Id: Iaf80cdef5b463795b9847f2ab9ab5c70f3f0083c
Angus Kong [Fri, 6 Sep 2013 21:46:25 +0000 (21:46 +0000)]
Merge "Respect system auto-rotate setting." into gb-ub-photos-carlsbad
Angus Kong [Fri, 6 Sep 2013 20:32:06 +0000 (20:32 +0000)]
Merge "Improve swipe gesture in filmstrip." into gb-ub-photos-carlsbad
Angus Kong [Thu, 5 Sep 2013 23:12:22 +0000 (16:12 -0700)]
Improve swipe gesture in filmstrip.
bug:
10552605
bug:
10645736
Change-Id: I7f524c191b0d8bd051ce9e1399a1265d0cac2f25
Sascha Haeberling [Fri, 6 Sep 2013 00:10:19 +0000 (17:10 -0700)]
Set the system UI to low profile when we hide the action bar.
Bug:
10633686
Change-Id: I3fca7b608807fd0a510641c7b32724173587c458
Sascha Haeberling [Fri, 6 Sep 2013 17:11:42 +0000 (10:11 -0700)]
Re-add a strings that should not have cleaned up.
Bug:
10647548
Change-Id: I7b99a82a0748ed8ec8d5b288e8f1ed62d77d10ac
Sascha Haeberling [Thu, 5 Sep 2013 05:02:57 +0000 (22:02 -0700)]
Remove unused strings.
Bug:
10627919
Change-Id: I5434baf8785912a577fec9f363598e4d927fddc3
Angus Kong [Fri, 6 Sep 2013 00:49:06 +0000 (17:49 -0700)]
Respect system auto-rotate setting.
bug:
10623244
Change-Id: I66757e50daf487680ac4f49d854c0f49d672b6ff
Baligh Uddin [Fri, 6 Sep 2013 04:37:51 +0000 (04:37 +0000)]
Merge "Import translations. DO NOT MERGE" into gb-ub-photos-carlsbad
Doris Liu [Thu, 5 Sep 2013 21:44:50 +0000 (21:44 +0000)]
Merge "Fix black screen in mode switching" into gb-ub-photos-carlsbad
Doris Liu [Thu, 5 Sep 2013 21:15:09 +0000 (14:15 -0700)]
Fix black screen in mode switching
Bug:
10632592
Change-Id: I3c8bc1f6a17709d39ec88b51a22edfbbab828bde
Baligh Uddin [Thu, 5 Sep 2013 20:21:55 +0000 (13:21 -0700)]
Import translations. DO NOT MERGE
Change-Id: I4d61c5deed477ebc178cc4ad99424ac1d5fad336
Auto-generated-cl: translation import
Angus Kong [Thu, 5 Sep 2013 04:47:51 +0000 (04:47 +0000)]
Merge "Bring back wide angle panorama." into gb-ub-photos-carlsbad
Alan Newberger [Thu, 5 Sep 2013 02:01:59 +0000 (19:01 -0700)]
reintroduce action bar hiding for onDataChanged
this code was present but got inadvertently removed by a subsequent
change Icb07e9e890a72bec6ed3b4c5a7e33400be3446f8.
Change-Id: If6c0f31497406fc3056dbb48d67b195342f6d10f
Sascha Haeberling [Wed, 4 Sep 2013 23:59:43 +0000 (16:59 -0700)]
Increase char limit.
Bug:
10590844
Change-Id: Ib30d348c1806e5c1b174bdd5198b880a2dca14e5
Mangesh Ghiware [Fri, 23 Aug 2013 20:28:21 +0000 (13:28 -0700)]
Bring back 'share 360 photosphere' to filmstrip
Bug:
10367406
Change-Id: Icb07e9e890a72bec6ed3b4c5a7e33400be3446f8
Doris Liu [Tue, 3 Sep 2013 23:03:16 +0000 (16:03 -0700)]
Double tap to zoom all the way in and out
Bug:
10308195
Change-Id: Id6c1bd6c95a812c3aae0c292ca53e3de6eea2d55
Angus Kong [Mon, 19 Aug 2013 22:06:12 +0000 (15:06 -0700)]
Bring back wide angle panorama.
bug:
10293937
Change-Id: I23a977e87b7416f07ecac20025b6c142ae61be05
Baligh Uddin [Wed, 4 Sep 2013 05:03:40 +0000 (05:03 +0000)]
Merge "Import translations. DO NOT MERGE" into gb-ub-photos-carlsbad
Sascha Haeberling [Wed, 4 Sep 2013 00:02:11 +0000 (17:02 -0700)]
Use app_name label now that we have the correct translations.
Bug:
10509882
Change-Id: I58e7d26afb5636fa156ec22b7c1cfa21262dd9f7
Baligh Uddin [Tue, 3 Sep 2013 21:39:33 +0000 (14:39 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ib04bd2f74b2812001a26d50dfca2a27351e6cbe3
Auto-generated-cl: translation import
ztenghui [Tue, 3 Sep 2013 21:33:14 +0000 (21:33 +0000)]
Merge "Don't show the action bar in the capture intent." into gb-ub-photos-carlsbad
ztenghui [Tue, 3 Sep 2013 18:27:21 +0000 (11:27 -0700)]
Don't show action bar when in camera preview.
There are 3 cases we need to toggle the action bar.
1. Touch in full screen mode. onToggleActionBarVisibility()
2. Swipe back and forth to film stripe from preview. onSwitchMode()
3. In full screen mode, current data becomes the preview.
onCurrentDataChanged()
bug:
10563392
Change-Id: I576c49b767cd863da725cf991238c27440d85b9b
ztenghui [Tue, 3 Sep 2013 18:30:11 +0000 (11:30 -0700)]
Don't show the action bar in the capture intent.
bug:
10571262
Change-Id: I85ed9c632f76084db95ce24277fb303c67c3949f
Baligh Uddin [Sat, 31 Aug 2013 01:48:09 +0000 (18:48 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ia4ef8cf1acece5a8413feffbbecc2e3713e28332
Auto-generated-cl: translation import
Sascha Haeberling [Sat, 31 Aug 2013 01:11:20 +0000 (18:11 -0700)]
Rename renering message from panorama to photo sphere.
Bug:
7695145
Change-Id: Ibfd083d4a879eda5dbf866e3a22df651166ea315
Doris Liu [Sat, 31 Aug 2013 00:34:33 +0000 (00:34 +0000)]
Merge "Reset zoom view when user exits app or rotate device" into gb-ub-photos-carlsbad
Angus Kong [Sat, 31 Aug 2013 00:34:22 +0000 (00:34 +0000)]
Merge "Make the preview thumbnail clicable after scaling." into gb-ub-photos-carlsbad
Angus Kong [Sat, 31 Aug 2013 00:09:46 +0000 (17:09 -0700)]
Make the preview thumbnail clicable after scaling.
bug:
10552110
Change-Id: I81abd96ad971543412597dbe8f7f57eeb6d3c1fa
Doris Liu [Fri, 30 Aug 2013 23:20:58 +0000 (16:20 -0700)]
Reset zoom view when user exits app or rotate device
Bug:
10308195
Change-Id: Icf1acc4b17611b28a9c65ec809083ac58da5bd8f
Sascha Haeberling [Fri, 30 Aug 2013 23:35:52 +0000 (23:35 +0000)]
Merge "Automatic versioning for Camera." into gb-ub-photos-carlsbad