OSDN Git Service

android-x86/packages-apps-Camera2.git
10 years agoMerge "Fix flicker when zooming images smaller than screen" into gb-ub-photos-carlsbad
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

10 years agoAvoid expensive O(n) main-thread operation when adding Photo Sphere.
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

10 years agoFix flicker when zooming images smaller than screen
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

10 years agoImport translations. DO NOT MERGE
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

10 years agoDon't show menu/indicators in wide-angle mode.
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

10 years agoMerge "Fix potential deadlock while rendering the preview." into gb-ub-photos-carlsbad
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

10 years agoMerge "Always leave full-screen when swip from camera." 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

10 years agoFix potential deadlock while rendering the preview.
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

10 years agoMerge "Avoid flickering after swipe to delete." into gb-ub-photos-carlsbad
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

10 years agoMerge "Fix crash due to a hole in setDataSource." 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

10 years agoFix DeadLock in TinyPlanet.
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

10 years agoAvoid flickering after swipe to delete.
Angus Kong [Thu, 12 Sep 2013 21:49:48 +0000 (14:49 -0700)]
Avoid flickering after swipe to delete.

  bug:10624385

Change-Id: Id4d65a391b2d13a5d6cc08ae9c1b787610c94c46

10 years agoBring back tiny planet to the Camera filmstrip
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

10 years agoFix crash due to a hole in setDataSource.
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

10 years agoKeep undo bar around until there is user interaciton
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

10 years agoAlways leave full-screen when swip from camera.
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

10 years agoMerge "When current data is preview, don't show the action bar." into gb-ub-photos...
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

10 years agoWhen current data is preview, don't show the action bar.
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

10 years agoMerge "Import translations. DO NOT MERGE" into gb-ub-photos-carlsbad
Baligh Uddin [Thu, 12 Sep 2013 03:16:38 +0000 (03:16 +0000)]
Merge "Import translations. DO NOT MERGE" into gb-ub-photos-carlsbad

10 years agoShow captured image rather than frozen preview for capture intent
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

10 years agoFix the flash mode transition in video mode
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

10 years agoImport translations. DO NOT MERGE
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

10 years agoMerge "Flinging back should stop at the first photo first." into gb-ub-photos-carlsbad
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

10 years agoFlinging back should stop at the first photo first.
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

10 years agoHide zoom view when going to full screen
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

10 years agoMerge "Import translations. DO NOT MERGE" into gb-ub-photos-carlsbad
Baligh Uddin [Tue, 10 Sep 2013 14:49:26 +0000 (14:49 +0000)]
Merge "Import translations. DO NOT MERGE" into gb-ub-photos-carlsbad

10 years agoMerge "Fix images being off-center in filmstrip." 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

10 years agoFix images being off-center in filmstrip.
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

10 years agoMerge "Hide zoom view when back is pressed" into gb-ub-photos-carlsbad
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

10 years agoHide zoom view when back is pressed
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

10 years agoUpdate indicators at the right time to show the correct state.
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

10 years agoMake sure we switch to preview view when resuming.
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

10 years agoImport translations. DO NOT MERGE
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

10 years agoMerge "Update the data after edit." into gb-ub-photos-carlsbad
ztenghui [Mon, 9 Sep 2013 20:53:24 +0000 (20:53 +0000)]
Merge "Update the data after edit." into gb-ub-photos-carlsbad

10 years agoUpdate the data after edit.
ztenghui [Fri, 6 Sep 2013 21:57:15 +0000 (14:57 -0700)]
Update the data after edit.

bug:10411943

Change-Id: I94804d581470a87f7449a2a249b0b2a27ab640a2

10 years agoDisable swipe in capture intent mode.
Angus Kong [Sat, 7 Sep 2013 00:20:15 +0000 (17:20 -0700)]
Disable swipe in capture intent mode.

  bug:10606988

Change-Id: Iaf80cdef5b463795b9847f2ab9ab5c70f3f0083c

10 years agoMerge "Respect system auto-rotate setting." into gb-ub-photos-carlsbad
Angus Kong [Fri, 6 Sep 2013 21:46:25 +0000 (21:46 +0000)]
Merge "Respect system auto-rotate setting." into gb-ub-photos-carlsbad

10 years agoMerge "Improve swipe gesture in filmstrip." 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

10 years agoImprove swipe gesture in filmstrip.
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

10 years agoSet the system UI to low profile when we hide the action bar.
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

10 years agoRe-add a strings that should not have cleaned up.
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

10 years agoRemove unused strings.
Sascha Haeberling [Thu, 5 Sep 2013 05:02:57 +0000 (22:02 -0700)]
Remove unused strings.

  Bug: 10627919

Change-Id: I5434baf8785912a577fec9f363598e4d927fddc3

10 years agoRespect system auto-rotate setting.
Angus Kong [Fri, 6 Sep 2013 00:49:06 +0000 (17:49 -0700)]
Respect system auto-rotate setting.

  bug:10623244

Change-Id: I66757e50daf487680ac4f49d854c0f49d672b6ff

10 years agoMerge "Import translations. DO NOT MERGE" into gb-ub-photos-carlsbad
Baligh Uddin [Fri, 6 Sep 2013 04:37:51 +0000 (04:37 +0000)]
Merge "Import translations. DO NOT MERGE" into gb-ub-photos-carlsbad

10 years agoMerge "Fix black screen in mode switching" 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

10 years agoFix black screen in mode switching
Doris Liu [Thu, 5 Sep 2013 21:15:09 +0000 (14:15 -0700)]
Fix black screen in mode switching

Bug: 10632592
Change-Id: I3c8bc1f6a17709d39ec88b51a22edfbbab828bde

10 years agoImport translations. DO NOT MERGE
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

10 years agoMerge "Bring back wide angle panorama." into gb-ub-photos-carlsbad
Angus Kong [Thu, 5 Sep 2013 04:47:51 +0000 (04:47 +0000)]
Merge "Bring back wide angle panorama." into gb-ub-photos-carlsbad

10 years agoreintroduce action bar hiding for onDataChanged
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

10 years agoIncrease char limit.
Sascha Haeberling [Wed, 4 Sep 2013 23:59:43 +0000 (16:59 -0700)]
Increase char limit.

  Bug: 10590844

Change-Id: Ib30d348c1806e5c1b174bdd5198b880a2dca14e5

10 years agoBring back 'share 360 photosphere' to filmstrip
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

10 years agoDouble tap to zoom all the way in and out
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

10 years agoBring back wide angle panorama.
Angus Kong [Mon, 19 Aug 2013 22:06:12 +0000 (15:06 -0700)]
Bring back wide angle panorama.

  bug:10293937

Change-Id: I23a977e87b7416f07ecac20025b6c142ae61be05

10 years agoMerge "Import translations. DO NOT MERGE" into gb-ub-photos-carlsbad
Baligh Uddin [Wed, 4 Sep 2013 05:03:40 +0000 (05:03 +0000)]
Merge "Import translations. DO NOT MERGE" into gb-ub-photos-carlsbad

10 years agoUse app_name label now that we have the correct translations.
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

10 years agoImport translations. DO NOT MERGE
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

10 years agoMerge "Don't show the action bar in the capture intent." into gb-ub-photos-carlsbad
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

10 years agoDon't show action bar when in camera preview.
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

10 years agoDon't show the action bar in the capture intent.
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

10 years agoImport translations. DO NOT MERGE
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

10 years agoRename renering message from panorama to photo sphere.
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

10 years agoMerge "Reset zoom view when user exits app or rotate device" into gb-ub-photos-carlsbad
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

10 years agoMerge "Make the preview thumbnail clicable after scaling." 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

10 years agoMake the preview thumbnail clicable after scaling.
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

10 years agoReset zoom view when user exits app or rotate device
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

10 years agoMerge "Automatic versioning for Camera." into gb-ub-photos-carlsbad
Sascha Haeberling [Fri, 30 Aug 2013 23:35:52 +0000 (23:35 +0000)]
Merge "Automatic versioning for Camera." into gb-ub-photos-carlsbad

10 years agoMerge "Measure all children to ensure correct layout position" into gb-ub-photos...
Doris Liu [Fri, 30 Aug 2013 23:30:18 +0000 (23:30 +0000)]
Merge "Measure all children to ensure correct layout position" into gb-ub-photos-carlsbad

10 years agoMerge "Skip bitmaps with 0 dimension." into gb-ub-photos-carlsbad
Angus Kong [Fri, 30 Aug 2013 23:26:15 +0000 (23:26 +0000)]
Merge "Skip bitmaps with 0 dimension." into gb-ub-photos-carlsbad

10 years agoMeasure all children to ensure correct layout position
Doris Liu [Fri, 30 Aug 2013 23:25:00 +0000 (16:25 -0700)]
Measure all children to ensure correct layout position

Bug: 10412775
Change-Id: Ia64d6d4d0d023b208edb70066b4d4670e4ad2bbb

10 years agoSkip bitmaps with 0 dimension.
Angus Kong [Fri, 30 Aug 2013 22:10:38 +0000 (15:10 -0700)]
Skip bitmaps with 0 dimension.

  bug:10514553

Change-Id: I0d26a324ede55b281e60cedc174869f5b863ca31

10 years agoAdd back button handlng to CameraActivity.
Alan Newberger [Fri, 30 Aug 2013 22:19:48 +0000 (15:19 -0700)]
Add back button handlng to CameraActivity.

This CL first detects whether user is in filmstrip mode i.e. not in Camera,
if so brings user back to the first item which is the Camera. If in Camera,
we route back handling to the current Camera module which enables already-
written module handling for back button e.g. backing out of pie menus.

Bug: 8781981
Change-Id: I18377ea5fbdcd8bd8c6fc3af9cb5322d5f5a889a

10 years agoMerge "add up button support for filmstrip" into gb-ub-photos-carlsbad
Alan Newberger [Fri, 30 Aug 2013 21:22:55 +0000 (21:22 +0000)]
Merge "add up button support for filmstrip" into gb-ub-photos-carlsbad

10 years agoadd up button support for filmstrip
Alan Newberger [Fri, 23 Aug 2013 17:10:30 +0000 (10:10 -0700)]
add up button support for filmstrip

This CL adds up affordance handling to CameraActivity. There was no working call to reset the filmstrip back to the camera, so this CL adds a controller which then calls reload, which is itself fixed to work as desired. Note that during testing I identified issue 10563392, I've decided to file that separately since it is orthogonal to up button function, but it does affect the overall experience and should be fixed.

Bug: 10414498
Change-Id: I1ee914dc1d264adb1fb5a363c2d6174070cd7b71

10 years agoMerge "Let the Camera app remember which mode it was started in last." into gb-ub...
Sascha Haeberling [Fri, 30 Aug 2013 17:24:38 +0000 (17:24 +0000)]
Merge "Let the Camera app remember which mode it was started in last." into gb-ub-photos-carlsbad

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 30 Aug 2013 03:32:08 +0000 (20:32 -0700)]
Import translations. DO NOT MERGE

Change-Id: I27af5d736c885d9dbadfb635c5c6ea3a8f570543
Auto-generated-cl: translation import

10 years agoMerge "Fix gap between camera controls and nav bar" into gb-ub-photos-carlsbad
Doris Liu [Fri, 30 Aug 2013 01:54:47 +0000 (01:54 +0000)]
Merge "Fix gap between camera controls and nav bar" into gb-ub-photos-carlsbad

10 years agoFix gap between camera controls and nav bar
Doris Liu [Fri, 30 Aug 2013 01:06:45 +0000 (18:06 -0700)]
Fix gap between camera controls and nav bar

Bug: 10097187
Change-Id: I9918a09a1e0b2d3c5a89330b800a9b7f2c2a6408

10 years agoMerge "Fix of memory issues with bitmaps in filmstrip." into gb-ub-photos-carlsbad
Sascha Haeberling [Fri, 30 Aug 2013 00:47:49 +0000 (00:47 +0000)]
Merge "Fix of memory issues with bitmaps in filmstrip." into gb-ub-photos-carlsbad

10 years agoFix of memory issues with bitmaps in filmstrip.
Sascha Haeberling [Fri, 30 Aug 2013 00:28:49 +0000 (17:28 -0700)]
Fix of memory issues with bitmaps in filmstrip.

  Bug: 10495593

We should use the bigger scale factor of the two, and not the smaller.

Change-Id: I5a1ff6fe7d6b50c0128ff17709daa94cef9cb65b

10 years agoMerge "Disable shutter button while picture is being taken." into gb-ub-photos-carlsbad
Sascha Haeberling [Fri, 30 Aug 2013 00:20:15 +0000 (00:20 +0000)]
Merge "Disable shutter button while picture is being taken." into gb-ub-photos-carlsbad

10 years ago1:1 zoom integration
Doris Liu [Fri, 23 Aug 2013 20:35:24 +0000 (13:35 -0700)]
1:1 zoom integration

Bug: 10308195
Change-Id: I940891f6aa3e24575174ff888c384fddaaa5b3c8

10 years agoDisable shutter button while picture is being taken.
Sascha Haeberling [Thu, 29 Aug 2013 00:49:00 +0000 (17:49 -0700)]
Disable shutter button while picture is being taken.

  Bug: 7328018

Change-Id: I98160d52c542186aa9f2d85f66a4e0120a917e38

10 years agoMerge "Flip capture thumb when using front facing camera" into gb-ub-photos-carlsbad
Doris Liu [Thu, 29 Aug 2013 00:02:22 +0000 (00:02 +0000)]
Merge "Flip capture thumb when using front facing camera" into gb-ub-photos-carlsbad

10 years agoFlip capture thumb when using front facing camera
Doris Liu [Wed, 28 Aug 2013 21:28:45 +0000 (14:28 -0700)]
Flip capture thumb when using front facing camera

Bug: 10495008
Change-Id: I9f444625e64be35afe44b0d7f50d81fbd1936ae8

10 years agoLet the Camera app remember which mode it was started in last.
Sascha Haeberling [Wed, 28 Aug 2013 22:28:57 +0000 (15:28 -0700)]
Let the Camera app remember which mode it was started in last.

  Bug: 7320368

Change-Id: Ia2ae47693f453c9bcff315af87fe1e5a44b6e5c7

10 years agoAutomatic versioning for Camera.
Sascha Haeberling [Wed, 28 Aug 2013 21:51:53 +0000 (14:51 -0700)]
Automatic versioning for Camera.

  Bug: 10461009

This is the scheme copied from GMS Core and modified by Babel, which
allows us to generate version number more easily and also incorporate
build numbers into it.

Change-Id: I6ed4bf03e545a22423cb9936a5fcb67a50133490

10 years agoMerge "Add rotate support in Film Strip" into gb-ub-photos-carlsbad
ztenghui [Wed, 28 Aug 2013 20:52:25 +0000 (20:52 +0000)]
Merge "Add rotate support in Film Strip" into gb-ub-photos-carlsbad

10 years agoAdd rotate support in Film Strip
ztenghui [Fri, 23 Aug 2013 18:47:56 +0000 (11:47 -0700)]
Add rotate support in Film Strip

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

10 years agoMerge "Revert "Add rotate support in Film Strip"" into gb-ub-photos-carlsbad
Tenghui Zhu [Wed, 28 Aug 2013 16:50:48 +0000 (16:50 +0000)]
Merge "Revert "Add rotate support in Film Strip"" into gb-ub-photos-carlsbad

10 years agoRevert "Add rotate support in Film Strip"
Tenghui Zhu [Wed, 28 Aug 2013 16:47:42 +0000 (16:47 +0000)]
Revert "Add rotate support in Film Strip"

This reverts commit 568ad02f9fd3993abf4b973bdd49a34737267c77.

Change-Id: I300376126b55191e4112b8aabf3f9f61cc27fef6

10 years agoMerge "Add rotate support in Film Strip" into gb-ub-photos-carlsbad
ztenghui [Wed, 28 Aug 2013 16:28:13 +0000 (16:28 +0000)]
Merge "Add rotate support in Film Strip" into gb-ub-photos-carlsbad

10 years agoAdd rotate support in Film Strip
ztenghui [Fri, 23 Aug 2013 18:47:56 +0000 (11:47 -0700)]
Add rotate support in Film Strip

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: I0b8128a806fa9e777a87967b294555daadced1c5

10 years agoUse the well-translated camera_label instead of app_name.
Sascha Haeberling [Tue, 27 Aug 2013 19:54:17 +0000 (12:54 -0700)]
Use the well-translated camera_label instead of app_name.

  Bug: 10509953

Change-Id: Ia5522fce1892e521c12fcc2f152afe7009026ac5

10 years agoMerge "Bring back Share to filmstrip" into gb-ub-photos-carlsbad
Mangesh Ghiware [Tue, 27 Aug 2013 17:08:51 +0000 (17:08 +0000)]
Merge "Bring back Share to filmstrip" into gb-ub-photos-carlsbad

10 years agoMerge "Remove RefocusHelper." into gb-ub-photos-carlsbad
Sascha Haeberling [Tue, 27 Aug 2013 00:39:40 +0000 (00:39 +0000)]
Merge "Remove RefocusHelper." into gb-ub-photos-carlsbad

10 years agoRemove RefocusHelper.
Sascha Haeberling [Tue, 27 Aug 2013 00:21:48 +0000 (17:21 -0700)]
Remove RefocusHelper.

  Bug: 10494566

Change-Id: I0e5c665867fe324883ff199327df1ef3736cc7c7

10 years agoMerge "Remove Refocus string and icon" into gb-ub-photos-carlsbad
Sascha Haeberling [Tue, 27 Aug 2013 00:20:12 +0000 (00:20 +0000)]
Merge "Remove Refocus string and icon" into gb-ub-photos-carlsbad

10 years agoRemove Refocus string and icon
Sascha Haeberling [Mon, 26 Aug 2013 23:55:53 +0000 (16:55 -0700)]
Remove Refocus string and icon

  Bug: 10494566

Change-Id: I49c61a5e1ae31e0458250e6cc624d63547ac0372

10 years agoBring back Share to filmstrip
Mangesh Ghiware [Fri, 23 Aug 2013 20:28:21 +0000 (13:28 -0700)]
Bring back Share to filmstrip

Bug: 10367406
Change-Id: I37834442e3af209fb00b98e6da524263ac8c70f0

10 years agoMake parsing integers for details dialog more robust.
Sascha Haeberling [Mon, 26 Aug 2013 21:40:03 +0000 (14:40 -0700)]
Make parsing integers for details dialog more robust.

  Bug: 7141309

Change-Id: I031e2f062ea786acb94d41385c5913c47d719ccd