OSDN Git Service

android-x86/packages-apps-Camera2.git
10 years agoMerge "Add context to parameters passed to ExtraSettings" into gb-ub-photos-denali
Seth Raphael [Fri, 4 Apr 2014 17:28:43 +0000 (17:28 +0000)]
Merge "Add context to parameters passed to ExtraSettings" into gb-ub-photos-denali

10 years agoAdd context to parameters passed to ExtraSettings
Seth Raphael [Thu, 3 Apr 2014 23:34:45 +0000 (16:34 -0700)]
Add context to parameters passed to ExtraSettings

Bug: 13791528
Change-Id: Ibcc4db1ab07b274f18f1ab369747d759180f155b

10 years agoMerge "Add resources for tutorials." into gb-ub-photos-denali
Sascha Haeberling [Fri, 4 Apr 2014 16:03:57 +0000 (16:03 +0000)]
Merge "Add resources for tutorials." into gb-ub-photos-denali

10 years agoMerge "Fix hdr check." into gb-ub-photos-denali
Andy Huibers [Fri, 4 Apr 2014 15:45:35 +0000 (15:45 +0000)]
Merge "Fix hdr check." into gb-ub-photos-denali

10 years agoFix hdr check.
Andy Huibers [Fri, 4 Apr 2014 06:23:29 +0000 (23:23 -0700)]
Fix hdr check.

Change-Id: I7ebd06a985fbc0661d71b189fe1fdbf620f1c341

10 years agoMerge "Use only filename from path as reference." into gb-ub-photos-denali
Andy Huibers [Fri, 4 Apr 2014 15:29:48 +0000 (15:29 +0000)]
Merge "Use only filename from path as reference." into gb-ub-photos-denali

10 years agoMerge "Import translations. DO NOT MERGE" into gb-ub-photos-denali
Baligh Uddin [Fri, 4 Apr 2014 14:35:15 +0000 (14:35 +0000)]
Merge "Import translations. DO NOT MERGE" into gb-ub-photos-denali

10 years agoUse only filename from path as reference.
Andy Huibers [Fri, 4 Apr 2014 05:32:46 +0000 (22:32 -0700)]
Use only filename from path as reference.

Change-Id: Ifa3dd1a8c89cab5b135953eebca70f4ed53c1102

10 years agoMerge "Logging revisions." into gb-ub-photos-denali
Andy Huibers [Fri, 4 Apr 2014 01:40:22 +0000 (01:40 +0000)]
Merge "Logging revisions." into gb-ub-photos-denali

10 years agoLogging revisions.
Andy Huibers [Sat, 29 Mar 2014 21:06:54 +0000 (14:06 -0700)]
Logging revisions.

Bug: 13747555

Change-Id: Ic5f735de89f9a69d981cdeab209b3966532697c7

10 years agoFix layout error during mode switch
Doris Liu [Thu, 3 Apr 2014 22:59:00 +0000 (15:59 -0700)]
Fix layout error during mode switch

Cause for the incorrect layout: the two modes have a preview
of the same aspect ratio, and therefore bottom bar did not need to re-layout
after the mode switch and it incidentally skipped adjusting preview position.

Bug: 13210080

Change-Id: Iad722abd682885633885ff0e8d9fba4efb4e5e6a

10 years agoMerge "Move SettingsManager back into Activity." into gb-ub-photos-denali
Sascha Haeberling [Thu, 3 Apr 2014 19:48:02 +0000 (19:48 +0000)]
Merge "Move SettingsManager back into Activity." into gb-ub-photos-denali

10 years agoFix for visibilty of cling out of sync with the external viewer button
Doris Liu [Thu, 3 Apr 2014 18:28:43 +0000 (11:28 -0700)]
Fix for visibilty of cling out of sync with the external viewer button

Due to no visiblity changed listener provided from Framework, a subclass
of the image button was created to track the visiblity change of itself
and more importantly its ancesters. This way cling is gauranteed to be
in sync with the visility of the button.

Also fixed preference type of showing refocus viewer cling.

Bug: 13754204
Bug: 13752484
Change-Id: Iaf38c076d5b1e251f3d5d4b4ccba1bd8447999aa

10 years agoMove SettingsManager back into Activity.
Sascha Haeberling [Thu, 3 Apr 2014 06:27:50 +0000 (23:27 -0700)]
Move SettingsManager back into Activity.

We cannot easily share one instance between Activities as the manager
needs the current module index. So this can cause crashes if two
Activity instances are around and one gets destroyed.

Change-Id: I964b14460669c4fbe3a51ab80cd385d5dfa0a16d

10 years agoMerge "Add API to query the current auto-rotation setting" into gb-ub-photos-denali
Angus Kong [Thu, 3 Apr 2014 02:49:32 +0000 (02:49 +0000)]
Merge "Add API to query the current auto-rotation setting" into gb-ub-photos-denali

10 years agoTurn Lights-Out mode back on.
Sascha Haeberling [Thu, 3 Apr 2014 01:16:42 +0000 (18:16 -0700)]
Turn Lights-Out mode back on.

  Bug: 13765919

This is reverting http://ag/436107

Change-Id: Id40645f2555d3133b0e866de57c8c951d8c3b86d

10 years agoMerge "Remove unused ComboPreferences cruft." into gb-ub-photos-denali
Sascha Haeberling [Wed, 2 Apr 2014 23:32:42 +0000 (23:32 +0000)]
Merge "Remove unused ComboPreferences cruft." into gb-ub-photos-denali

10 years agoRemove unused ComboPreferences cruft.
Sascha Haeberling [Wed, 2 Apr 2014 23:25:03 +0000 (16:25 -0700)]
Remove unused ComboPreferences cruft.

Change-Id: Ib2e005e00316f8840e29fb559e34c6a5d9f28950

10 years agoAdd resources for tutorials.
Sascha Haeberling [Wed, 2 Apr 2014 22:51:02 +0000 (15:51 -0700)]
Add resources for tutorials.

  Bug: 13337436

Change-Id: I51eeb1def89d4bb0c0e6388454f65ca43d4afbb9

10 years agoAvoid a race condition causing dup'd images.
Seth Raphael [Wed, 2 Apr 2014 21:43:39 +0000 (14:43 -0700)]
Avoid a race condition causing dup'd images.

When a session is finished, it is written to the
media store.

We now have a listener looking for new images in
the media store.  If that happens to fire before
the session manager has updated the filmstrip,
the photo ends up being added twice.

Now, the listener checks to see if it is a photo
already being handled by a session

Bug: 13644124

Change-Id: I8a3c4a161ad0c326d9295f6714f6c6cbbcc6764e

10 years agoWhen we reset app ui, re-enable shutter button.
Seth Raphael [Wed, 2 Apr 2014 21:46:03 +0000 (14:46 -0700)]
When we reset app ui, re-enable shutter button.

This allows all modules to have a known state on
resume.

Change-Id: I8efab600b7c6df611e522bb20c8a164006a27a9d

10 years agoMerge "Fix crash related to deleted items being processed" into gb-ub-photos-denali
Seth Raphael [Wed, 2 Apr 2014 20:45:15 +0000 (20:45 +0000)]
Merge "Fix crash related to deleted items being processed" into gb-ub-photos-denali

10 years agoFix crash related to deleted items being processed
Seth Raphael [Wed, 2 Apr 2014 00:32:42 +0000 (17:32 -0700)]
Fix crash related to deleted items being processed

If an item from the media store was being edited
there is a race condition where the item may be
deleted from the media store before it is finished

The resulting update to the media store cannot
find the original item, and therefore results in
0 rows being updated, which is what is desired,
as the item was deleted by the user.

Bug: 11598186
Change-Id: I1b2945f638676ccd63ab70ba201d2488df920eb3

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 2 Apr 2014 19:16:53 +0000 (12:16 -0700)]
Import translations. DO NOT MERGE

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

10 years agoMerge "Move disk IO from first time use background task." into gb-ub-photos-denali
Erin Dahlgren [Wed, 2 Apr 2014 17:47:21 +0000 (17:47 +0000)]
Merge "Move disk IO from first time use background task." into gb-ub-photos-denali

10 years agoMerge "Make SettingsManager accessible on app-level, not Activity-level." into gb...
Sascha Haeberling [Wed, 2 Apr 2014 17:31:21 +0000 (17:31 +0000)]
Merge "Make SettingsManager accessible on app-level, not Activity-level." into gb-ub-photos-denali

10 years agoMerge "Fix broken shutter button enabling in Photo and Video." into gb-ub-photos...
Erin Dahlgren [Wed, 2 Apr 2014 16:51:27 +0000 (16:51 +0000)]
Merge "Fix broken shutter button enabling in Photo and Video." into gb-ub-photos-denali

10 years agoAdd API to query the current auto-rotation setting
Angus Kong [Wed, 2 Apr 2014 13:23:22 +0000 (06:23 -0700)]
Add API to query the current auto-rotation setting

bug:13527779
Change-Id: I1ebcab1108bb03a997508033befeec26fb9a6b7e

10 years agoMake SettingsManager accessible on app-level, not Activity-level.
Sascha Haeberling [Wed, 2 Apr 2014 04:45:51 +0000 (21:45 -0700)]
Make SettingsManager accessible on app-level, not Activity-level.

  Bug: 13754773

This also cleans up the SettingsManager and removes all constructor
parameters except the context, which is needed.

Change-Id: I60a8d5582771e5a1f53a761897f4d41c30e50166

10 years agoMerge "Refactor UsageStatistic so it can be disabled more easily." into gb-ub-photos...
Sascha Haeberling [Wed, 2 Apr 2014 04:18:45 +0000 (04:18 +0000)]
Merge "Refactor UsageStatistic so it can be disabled more easily." into gb-ub-photos-denali

10 years agoFix broken shutter button enabling in Photo and Video.
Erin Dahlgren [Tue, 1 Apr 2014 21:03:25 +0000 (14:03 -0700)]
Fix broken shutter button enabling in Photo and Video.

When I went in to implement globally disabling the shutter button during
a certain state transition of the app, I realized that

1. enabling the shutter button in Photo and Video was totally broken: the
   methods being used for enabling the shutter button were totally empty!
2. setShutterEnabled in the AppController was totally empty.
3. we've done a horrible job with keeping names consistent: capture button
   != shutter button.

So I've fixed all of these things, which should solve existing bugs and make
my original task easier.

Change-Id: If1ae3b8c740ef678fbd20c2ffbb93576f48c8c19

10 years agoMerge "Fix capture button layout for RTL" into gb-ub-photos-denali
Doris Liu [Wed, 2 Apr 2014 00:54:05 +0000 (00:54 +0000)]
Merge "Fix capture button layout for RTL" into gb-ub-photos-denali

10 years agoRefactor UsageStatistic so it can be disabled more easily.
Sascha Haeberling [Mon, 31 Mar 2014 20:22:17 +0000 (13:22 -0700)]
Refactor UsageStatistic so it can be disabled more easily.

Change-Id: I2ca6e7d5642b1400d4b13f2c45cb48793b2fc178

10 years agoMerge "Temp swipe interception to support swipe from capture button" into gb-ub-photo...
Doris Liu [Tue, 1 Apr 2014 23:55:13 +0000 (23:55 +0000)]
Merge "Temp swipe interception to support swipe from capture button" into gb-ub-photos-denali

10 years agoTemp swipe interception to support swipe from capture button
Doris Liu [Tue, 1 Apr 2014 22:53:56 +0000 (15:53 -0700)]
Temp swipe interception to support swipe from capture button

Bug: 13535296
Change-Id: I911336ce407abbfe51759bb38ffff9a534a49de6

10 years agoMerge "properly resize capture flash anim overlay" into gb-ub-photos-denali
Spike Sprague [Tue, 1 Apr 2014 23:51:16 +0000 (23:51 +0000)]
Merge "properly resize capture flash anim overlay" into gb-ub-photos-denali

10 years agoFix capture button layout for RTL
Doris Liu [Tue, 1 Apr 2014 20:58:30 +0000 (13:58 -0700)]
Fix capture button layout for RTL

Created a class to handle the custom layout of mode options
and bottom bar, simplied the dependency between the two in
terms of positioning.

Also did some restructuring in layout resources for better readability

Bug: 13734579

Change-Id: I7088057e0c84f02f3cc6d598935d64b68dbc9526

10 years agoMove disk IO from first time use background task.
Erin Dahlgren [Tue, 1 Apr 2014 22:11:34 +0000 (15:11 -0700)]
Move disk IO from first time use background task.

Bug: 13251352
Change-Id: Ib6b0dbebb00f3210a649bb4d2782d65faaceb41c

10 years agoproperly resize capture flash anim overlay
Spike Sprague [Tue, 1 Apr 2014 20:25:38 +0000 (13:25 -0700)]
properly resize capture flash anim overlay

bug: 13651263
Change-Id: Icc9b23613185a0a5be606ec06c3e3ad4255be5c0

10 years agoMerge "Move CameraPerformanceTracker methods to beginning of triggers." into gb-ub...
Erin Dahlgren [Tue, 1 Apr 2014 21:10:27 +0000 (21:10 +0000)]
Merge "Move CameraPerformanceTracker methods to beginning of triggers." into gb-ub-photos-denali

10 years agoMove CameraPerformanceTracker methods to beginning of triggers.
Erin Dahlgren [Tue, 1 Apr 2014 18:48:40 +0000 (11:48 -0700)]
Move CameraPerformanceTracker methods to beginning of triggers.

Bug: 11376004
Change-Id: I9aa5d632e4ca5462b4d2604a80346df6897fa413

10 years agoMove Camera2 launcher icons into res_p
Alan Newberger [Tue, 1 Apr 2014 18:16:40 +0000 (11:16 -0700)]
Move Camera2 launcher icons into res_p

Relocate icons into res_p as they are primarily for Camera2.

Bug: 13745522
Change-Id: If936a14350c4fa7443c7b6084dbb5386bd7d3fff

10 years agoMerge "Change flash animation duration and maximum alpha." into gb-ub-photos-denali
Angus Kong [Tue, 1 Apr 2014 17:02:43 +0000 (17:02 +0000)]
Merge "Change flash animation duration and maximum alpha." into gb-ub-photos-denali

10 years agoEnable all logging for dogfooding.
Sascha Haeberling [Tue, 1 Apr 2014 04:40:44 +0000 (21:40 -0700)]
Enable all logging for dogfooding.

I will file a big to determine what logging level is right for launching.
For now let's enable all logs again we had it before, otherwise we might
miss some important logs.

Change-Id: I2abc7ca47c92987d594002bf09c82a69a6d6b056

10 years agoChange flash animation duration and maximum alpha.
Angus Kong [Tue, 1 Apr 2014 01:58:26 +0000 (18:58 -0700)]
Change flash animation duration and maximum alpha.

bug:13340312
Change-Id: Ic239e345dfe2d8dd501565f2ea4614d0505ac478

10 years agoMerge "Re-add ongoing session when Activity is restarted." into gb-ub-photos-denali
Sascha Haeberling [Tue, 1 Apr 2014 01:17:11 +0000 (01:17 +0000)]
Merge "Re-add ongoing session when Activity is restarted." into gb-ub-photos-denali

10 years agoMerge "New generic cling widget, add cling for refocus editor button" into gb-ub...
Doris Liu [Tue, 1 Apr 2014 01:16:36 +0000 (01:16 +0000)]
Merge "New generic cling widget, add cling for refocus editor button" into gb-ub-photos-denali

10 years agoRe-add ongoing session when Activity is restarted.
Sascha Haeberling [Mon, 31 Mar 2014 23:58:11 +0000 (16:58 -0700)]
Re-add ongoing session when Activity is restarted.

  Bug: 13637563

Change-Id: I0fd9a521479d8805f8c1d82b8f930a23d16b4217

10 years agoMerge "keep three dots option toggle on the screen" into gb-ub-photos-denali
Spike Sprague [Tue, 1 Apr 2014 01:06:06 +0000 (01:06 +0000)]
Merge "keep three dots option toggle on the screen" into gb-ub-photos-denali

10 years agokeep three dots option toggle on the screen
Spike Sprague [Mon, 31 Mar 2014 20:58:01 +0000 (13:58 -0700)]
keep three dots option toggle on the screen

bug: 13716654
Change-Id: I142d2ce8c026ad4f4fded15475e4d2a42e10f859

10 years agoNew generic cling widget, add cling for refocus editor button
Doris Liu [Mon, 31 Mar 2014 22:27:40 +0000 (15:27 -0700)]
New generic cling widget, add cling for refocus editor button

Bug: 13307036
Change-Id: If3a1759cbc0cbc66de1d3d15a3ae18999bf0bd1f

10 years agoFix mode switcher RTL layout
Doris Liu [Mon, 31 Mar 2014 23:19:56 +0000 (16:19 -0700)]
Fix mode switcher RTL layout

Bug: 13732534
Change-Id: I30360263eb2aaf900be0e05101558fde41e6944c

10 years agoMake last module used sticky after all camera launches.
Erin Dahlgren [Mon, 31 Mar 2014 20:54:30 +0000 (13:54 -0700)]
Make last module used sticky after all camera launches.

Bug: 13716653
Change-Id: If72a2dc7a3dfe94f5ff73b6034b6bafc8073f40c

10 years agoMerge "Enable a memory override through Gservices." into gb-ub-photos-denali
Sascha Haeberling [Mon, 31 Mar 2014 18:24:59 +0000 (18:24 +0000)]
Merge "Enable a memory override through Gservices." into gb-ub-photos-denali

10 years agoAdd log for unfinished synchronous job.
Angus Kong [Mon, 31 Mar 2014 16:19:27 +0000 (09:19 -0700)]
Add log for unfinished synchronous job.

bug:13566485
Change-Id: Ic3920bcc5c2c8ffdfd7f55f6e688ddfea44cad93

10 years agoEnable a memory override through Gservices.
Sascha Haeberling [Sat, 29 Mar 2014 00:23:34 +0000 (17:23 -0700)]
Enable a memory override through Gservices.

  Bug: 13591498

Change-Id: I8515c57c2349279fb74071854b85021716895fa6

10 years agoIf debug is on, log everything.
Sascha Haeberling [Sat, 29 Mar 2014 00:14:16 +0000 (17:14 -0700)]
If debug is on, log everything.

Change-Id: I706874c9ea1b03c2fd9f987cda9581f72883c914

10 years agoAllow modules to hard reset settings to prevent out-of-sync errors.
Erin Dahlgren [Fri, 28 Mar 2014 19:44:04 +0000 (12:44 -0700)]
Allow modules to hard reset settings to prevent out-of-sync errors.

Bug: 13663716
Bug: 13507557
Change-Id: Ie4e66c356c69c3a75a568dae13ddd2d42f60179e

10 years agoMerge "Remove white balance and non-HDR scene mode settings" into gb-ub-photos-denali
Doris Liu [Fri, 28 Mar 2014 20:00:05 +0000 (20:00 +0000)]
Merge "Remove white balance and non-HDR scene mode settings" into gb-ub-photos-denali

10 years agoRemove white balance and non-HDR scene mode settings
Doris Liu [Thu, 27 Mar 2014 21:43:31 +0000 (14:43 -0700)]
Remove white balance and non-HDR scene mode settings

Also hook up HDR setting with scene mode to ensure it functions correctly

Bug: 13546569
Bug: 13546102
Change-Id: I71ef1841fc2bcb22f6ca0e286c31806ea049c79e

10 years agoChange processing logic so that it can be suspended
Sascha Haeberling [Fri, 28 Mar 2014 01:53:15 +0000 (18:53 -0700)]
Change processing logic so that it can be suspended

  Bug: 13591498

Change-Id: Ib6e86bd6da197415676a80b212ea910ad0215f5d

10 years agoMerge "Import translations. DO NOT MERGE" into gb-ub-photos-denali
Baligh Uddin [Thu, 27 Mar 2014 21:48:22 +0000 (21:48 +0000)]
Merge "Import translations. DO NOT MERGE" into gb-ub-photos-denali

10 years agoHide bottom bar of Camera when filmstrip is visible
Alan Newberger [Wed, 26 Mar 2014 21:51:12 +0000 (14:51 -0700)]
Hide bottom bar of Camera when filmstrip is visible

This CL hides the bottom bar, i.e. capture button and onscreen indicators,
when the filmstrip is visible. We hide a wrapper; modules may independently
control the visibility of the items in the wrapper e.g. Photo Sphere turns
the actual buttons invisible even if the wrapper becomes visible.

This change takes care of the most egregious issues with widgets visible to
TalkBack under the filmstrip, but there are still others e.g. 'align to start'
for Photo Sphere, can be navigated to. I'll file a separate bug to pursue
a more aggressive wrapper visibility toggle which turns off the whole camera
preview, mode switcher, etc.

Bug: 13644558
Bug: 13589550
Change-Id: I1cf7e9079210c85f29b3e35e0f7dbf176b86976e

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 26 Mar 2014 21:40:54 +0000 (14:40 -0700)]
Import translations. DO NOT MERGE

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

10 years agoAdd content description for filmstrip images, video button
Alan Newberger [Wed, 26 Mar 2014 17:12:53 +0000 (10:12 -0700)]
Add content description for filmstrip images, video button

This CL corrects a missing content description for video icon in
filmstrip. It also adds content description for images so that when
a user in TalkBack highlights an image, it describes its timestamp.

Bug: 13644357
Bug: 13589550

Change-Id: I029b141cee4ddc325a5e5569ef10de600734b0f4

10 years agoAdd content description for secure lockscreen filmstrip icon
Alan Newberger [Wed, 26 Mar 2014 18:49:46 +0000 (11:49 -0700)]
Add content description for secure lockscreen filmstrip icon

This CL adds a description for the lock icon in the secure filmstrip.

Bug: 13644391
Bug: 13589550
Change-Id: Ib81e3a419d51ca14d6d4d912de22d04bac4d3234

10 years agoFix video recording announcements
Alan Newberger [Wed, 26 Mar 2014 18:28:50 +0000 (11:28 -0700)]
Fix video recording announcements

Video recording announcements were implemented in the past, but broken
due to null shutter button View during attempt. I pushed the announcements
into the VideoUI where IMO it belongs, and it encapsulates the implementation
detail that I use the timer View (which works fine).

Bug: 13644953
Bug: 13589550
Change-Id: I0d5135e5d23d9c4df594307d0beb5d5be934e409

10 years agoUse debug.Log instead of android.util.Log.
Angus Kong [Tue, 11 Mar 2014 23:27:30 +0000 (16:27 -0700)]
Use debug.Log instead of android.util.Log.

1. Change to use com.android.camera.debug.Log instead of android.util.Log.
2. Add DebugCameraProxy to support more detailed debug info.
3. Add CameraErrorCallback in CameraManager.
4. Support posting to a specific handler for CameraErrorCallback.
5. Trim down some TAGs to match the framework tag length limit.
6. Remove some unused codes in CameraSettings.

bug:13324870

Change-Id: I8c20a8a0d11cfd50b6e199b03cbc88d3c4ad2ceb

10 years agoMerge "Clean up stats stubs." into gb-ub-photos-denali
Andy Huibers [Wed, 26 Mar 2014 06:17:14 +0000 (06:17 +0000)]
Merge "Clean up stats stubs." into gb-ub-photos-denali

10 years agoClean up stats stubs.
Andy Huibers [Wed, 26 Mar 2014 02:06:52 +0000 (19:06 -0700)]
Clean up stats stubs.

Change-Id: I3e2aefc2a1e4c5086af43fea18cc39963cfd0c82

10 years agoMerge "Implement callbacks for setProgressMessage" into gb-ub-photos-denali
Carlos Hernandez [Wed, 26 Mar 2014 04:47:49 +0000 (04:47 +0000)]
Merge "Implement callbacks for setProgressMessage" into gb-ub-photos-denali

10 years agoMerge "Disconnect visibility change listener in onDestroy()" into gb-ub-photos-denali
Doris Liu [Wed, 26 Mar 2014 01:02:44 +0000 (01:02 +0000)]
Merge "Disconnect visibility change listener in onDestroy()" into gb-ub-photos-denali

10 years agoDisconnect visibility change listener in onDestroy()
Doris Liu [Wed, 26 Mar 2014 00:59:05 +0000 (17:59 -0700)]
Disconnect visibility change listener in onDestroy()

Bug: 13642099
Change-Id: If31304db8eb7152aea4365e6c112e3254fd8820b

10 years agoImplement callbacks for setProgressMessage
Carlos Hernandez [Tue, 25 Mar 2014 19:26:19 +0000 (12:26 -0700)]
Implement callbacks for setProgressMessage

Change-Id: Id958d39c91ba3371d6b52b8f6005cc533ca38b45

10 years agoMerge "Import translations. DO NOT MERGE" into gb-ub-photos-denali
Baligh Uddin [Tue, 25 Mar 2014 19:03:17 +0000 (19:03 +0000)]
Merge "Import translations. DO NOT MERGE" into gb-ub-photos-denali

10 years agoprovide announcements for peeks states
Alan Newberger [Tue, 25 Mar 2014 16:51:29 +0000 (09:51 -0700)]
provide announcements for peeks states

The peek is a visual element that with this CL, has an
a11y accompaniment.

Bug: 13589550
Change-Id: I92be51f64d43e1f3c1cdb90ac135986455bd2177

10 years agoAdd a11y announcements for Mode List
Alan Newberger [Tue, 25 Mar 2014 18:09:29 +0000 (11:09 -0700)]
Add a11y announcements for Mode List

This CL adds mode list announcements when shown, hidden, and for shimmy.
Adds a Manager to guard access to current state, which calls an event on the
state onCurrentState, in which announcements and other processing can be done.

Bug: 13589550
Change-Id: Ib0f3b555978438426d158c33d3d97f72f3e83130

10 years agorevert camera controls hiding to filmstrip
Alan Newberger [Tue, 25 Mar 2014 02:34:34 +0000 (19:34 -0700)]
revert camera controls hiding to filmstrip

A previous CL added hiding to filmstrip of camera controls, but not
all modes have visible controls themselves, so this CL prevents
those kinds of modes from having controls made visible after returning
from filmstrip. Will pursue a followup CL to do it right.

Bug: 13589550
Change-Id: I3820dad019c068586358d378a6c382f8f9d058be

10 years agoSet capture controls invisible when in filmstrip
Alan Newberger [Tue, 25 Mar 2014 01:47:16 +0000 (18:47 -0700)]
Set capture controls invisible when in filmstrip

Though covered by the filmstrip, by being visible in filmstrip these
controls are reachable in TalkBack when in filmstrip which is confusing.
This CL makes them invisible in filmstrip and filmstrip Talkback is now
clean

Bug: 13589550
Change-Id: Ib92823a6efb07a4f56a83516e7decf08397c6edf

10 years agoMerge "add filmstrip DPAD capabilities" into gb-ub-photos-denali
Alan Newberger [Tue, 25 Mar 2014 00:32:00 +0000 (00:32 +0000)]
Merge "add filmstrip DPAD capabilities" into gb-ub-photos-denali

10 years agoadd filmstrip DPAD capabilities
Alan Newberger [Tue, 25 Mar 2014 00:17:38 +0000 (17:17 -0700)]
add filmstrip DPAD capabilities

this CL adds left/right DPAD handling to filmstrip. If you reach the
first item, the filmstrip is hidden and user is back in capture.

Bug: 13589550
Change-Id: Id2b2d52da31ef65cb568ce4ef3f5cdc9384caf1f

10 years agoShow hint animations forever.
Angus Kong [Mon, 24 Mar 2014 23:40:12 +0000 (16:40 -0700)]
Show hint animations forever.

bug:13544174
Change-Id: I7d679c8e13b41a5d8266c2c2768e914ef3d5ea1b

10 years agoMerge "Disable camera switch after it's pressed." into gb-ub-photos-denali
Angus Kong [Mon, 24 Mar 2014 23:39:12 +0000 (23:39 +0000)]
Merge "Disable camera switch after it's pressed." into gb-ub-photos-denali

10 years agoDisable camera switch after it's pressed.
Angus Kong [Mon, 24 Mar 2014 23:28:16 +0000 (16:28 -0700)]
Disable camera switch after it's pressed.

bug:13477604
Change-Id: I478715b345ce39d6bff65c9eda3a5604fb9d7edb

10 years agoAdd DPAD support to capture window
Alan Newberger [Mon, 24 Mar 2014 22:55:23 +0000 (15:55 -0700)]
Add DPAD support to capture window

This CL adds DPAD support for capture screen gestures, in particular
to mode switcher and to filmstrip. Left goes to mode switcher and again
toggles it off; right goes to filmstrip.

A followon CL will add additional filmstrip calls that control gestures
within the filmstrip itself, namely navigation between items and hiding.

Bug: 13589550
Change-Id: I7b6a7a37c5be8137c2503244dc178284139594dd

10 years agoMerge "add options announcement to onscreen options indicator" into gb-ub-photos...
Alan Newberger [Mon, 24 Mar 2014 22:21:43 +0000 (22:21 +0000)]
Merge "add options announcement to onscreen options indicator" into gb-ub-photos-denali

10 years agoMerge "Focus reset delay changed from 3 to 4 seconds. Bug: 12826152" into gb-ub-photo...
Kevin Gabayan [Mon, 24 Mar 2014 21:42:55 +0000 (21:42 +0000)]
Merge "Focus reset delay changed from 3 to 4 seconds. Bug: 12826152" into gb-ub-photos-denali

10 years agoMerge "More efficient drawing during animation" into gb-ub-photos-denali
Doris Liu [Mon, 24 Mar 2014 21:33:21 +0000 (21:33 +0000)]
Merge "More efficient drawing during animation" into gb-ub-photos-denali

10 years agoadd options announcement to onscreen options indicator
Alan Newberger [Mon, 24 Mar 2014 21:23:50 +0000 (14:23 -0700)]
add options announcement to onscreen options indicator

this CL adds a content description to the onscreen indicator,
whether populated or just '...', to allow TalkBack to describe it.

bug: 13589550
Change-Id: Ic34d32fe466dfbabb93987c5466a3a5729acbcfd

10 years agoFocus reset delay changed from 3 to 4 seconds.
Kevin Gabayan [Mon, 24 Mar 2014 21:13:12 +0000 (14:13 -0700)]
Focus reset delay changed from 3 to 4 seconds.
Bug: 12826152

Change-Id: I91a0dce343035b8d39de092a7f4bb1af26a44c55

10 years agoMerge "let ProcessingServiceManager report if the service is running" into gb-ub...
Carlos Hernandez [Mon, 24 Mar 2014 20:44:50 +0000 (20:44 +0000)]
Merge "let ProcessingServiceManager report if the service is running" into gb-ub-photos-denali

10 years agolet ProcessingServiceManager report if the service is running
Carlos Hernandez [Mon, 24 Mar 2014 20:38:17 +0000 (13:38 -0700)]
let ProcessingServiceManager report if the service is running

Change-Id: Ib706f2446baa12d2b70ff5c5b3d5637214006340

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 24 Mar 2014 20:30:22 +0000 (13:30 -0700)]
Import translations. DO NOT MERGE

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

10 years agoMerge "Add more logging to the processing service." into gb-ub-photos-denali
Sascha Haeberling [Mon, 24 Mar 2014 20:24:58 +0000 (20:24 +0000)]
Merge "Add more logging to the processing service." into gb-ub-photos-denali

10 years agoMore efficient drawing during animation
Doris Liu [Sat, 22 Mar 2014 01:33:57 +0000 (18:33 -0700)]
More efficient drawing during animation

- Improved mode options animation and video capture animation

- Changed the drawPath() calls to drawCircle() as drawing oval is
generally optimized and therefore more efficient. The efficiency
gained depends on the hardware/software specific implementation,
depending on where it's rendered. But drawCircle() should always
no more costly than drawPath().

- Move the video capture button animation to after MediaRecorder
initialization/release to avoid animation being blocked by time
consuming operations.

Bug: 13589320
Change-Id: I9c01374e46d439e33a066cfba07d95749a3caebf

10 years agoMerge "moving m*Animator.end() out of onConfigurationChanged" into gb-ub-photos-denali
Spike Sprague [Mon, 24 Mar 2014 17:57:25 +0000 (17:57 +0000)]
Merge "moving m*Animator.end() out of onConfigurationChanged" into gb-ub-photos-denali

10 years agoMerge "Clean up notifications again after the removal of the notifications manager...
Sascha Haeberling [Mon, 24 Mar 2014 17:14:16 +0000 (17:14 +0000)]
Merge "Clean up notifications again after the removal of the notifications manager." into gb-ub-photos-denali

10 years agoClean up notifications again after the removal of the notifications manager.
Sascha Haeberling [Mon, 24 Mar 2014 16:32:20 +0000 (09:32 -0700)]
Clean up notifications again after the removal of the notifications manager.

  Bug: 12972656

Change-Id: I3b16689ae22bbebd61143f84b55657759da2fad5

10 years agoAdd more logging to the processing service.
Sascha Haeberling [Mon, 24 Mar 2014 16:23:14 +0000 (09:23 -0700)]
Add more logging to the processing service.

  Bug: 13567165

Change-Id: I759ba750e3c911454bad86c4397d02e22837322c

10 years agoDecode fullsize bitmap dimensions on a background thread.
Sam Judd [Fri, 21 Mar 2014 23:02:12 +0000 (16:02 -0700)]
Decode fullsize bitmap dimensions on a background thread.

Bug: 13587605
Change-Id: Ia40e0799947abae3089e66dfcea339a68ee0d8e4