OSDN Git Service

android-x86/packages-apps-Camera2.git
10 years agoMerge "Swap in new focus ring assets and increase the size" into gb-ub-photos-denali
Seth Raphael [Wed, 12 Feb 2014 20:03:21 +0000 (20:03 +0000)]
Merge "Swap in new focus ring assets and increase the size" into gb-ub-photos-denali

10 years agoSwap in new focus ring assets and increase the size
Doris Liu [Wed, 12 Feb 2014 19:37:19 +0000 (11:37 -0800)]
Swap in new focus ring assets and increase the size

Bug: 12954917
Change-Id: I1d9dda5033a5b80bdfa331c161115f237c1dc895

10 years agoMerge "new intent bottom bar ux" into gb-ub-photos-denali
Spike Sprague [Wed, 12 Feb 2014 18:33:26 +0000 (18:33 +0000)]
Merge "new intent bottom bar ux" into gb-ub-photos-denali

10 years agoInvalidate background drawable of filmstrip layout
Angus Kong [Wed, 12 Feb 2014 02:01:50 +0000 (18:01 -0800)]
Invalidate background drawable of filmstrip layout

bug:12974357
Change-Id: I4e0aaf470268e92274ee48d3045128876181577f

10 years agonew intent bottom bar ux
Spike Sprague [Wed, 12 Feb 2014 00:46:29 +0000 (16:46 -0800)]
new intent bottom bar ux

bug: 12969738
Change-Id: I938a7266a71ed6a6eb4cf3e8a0153d938df11e1f

10 years agoMerge "Add settings entry point into mode switcher" into gb-ub-photos-denali
Doris Liu [Wed, 12 Feb 2014 01:22:56 +0000 (01:22 +0000)]
Merge "Add settings entry point into mode switcher" into gb-ub-photos-denali

10 years agoAdd settings entry point into mode switcher
Doris Liu [Tue, 11 Feb 2014 18:41:40 +0000 (10:41 -0800)]
Add settings entry point into mode switcher

Bug: 12963148
Bug: 12964884
Change-Id: I11b45037abe1716d89fe723170284c61fbb33a87

10 years agoMerge "Use ImageView as background for filmstrip layout." into gb-ub-photos-denali
Angus Kong [Wed, 12 Feb 2014 00:27:43 +0000 (00:27 +0000)]
Merge "Use ImageView as background for filmstrip layout." into gb-ub-photos-denali

10 years agoUse ImageView as background for filmstrip layout.
Angus Kong [Tue, 11 Feb 2014 23:26:01 +0000 (15:26 -0800)]
Use ImageView as background for filmstrip layout.

This is a workaround.

bug:12974357

Change-Id: I7e3601acddb623499776d689575bafb8f8a181d6

10 years agoMerge "Update focus ring indicator with new assets." into gb-ub-photos-denali
Doris Liu [Tue, 11 Feb 2014 23:38:27 +0000 (23:38 +0000)]
Merge "Update focus ring indicator with new assets." into gb-ub-photos-denali

10 years agoUpdate focus ring indicator with new assets.
Doris Liu [Tue, 11 Feb 2014 23:07:00 +0000 (15:07 -0800)]
Update focus ring indicator with new assets.

Bug: 12963258
Change-Id: I8f399aec05c2064b0b6dac0fc2e6fc31b68ca3ad

10 years agoMerge "fixing video mode stop button (too big? not anymore)" into gb-ub-photos-denali
Spike Sprague [Tue, 11 Feb 2014 22:22:06 +0000 (22:22 +0000)]
Merge "fixing video mode stop button (too big? not anymore)" into gb-ub-photos-denali

10 years agoMerge "Import translations. DO NOT MERGE" into gb-ub-photos-denali
Baligh Uddin [Tue, 11 Feb 2014 21:25:46 +0000 (21:25 +0000)]
Merge "Import translations. DO NOT MERGE" into gb-ub-photos-denali

10 years agoMerge "Move photosphere icon assets to protected res dir" into gb-ub-photos-denali
Doris Liu [Tue, 11 Feb 2014 20:30:34 +0000 (20:30 +0000)]
Merge "Move photosphere icon assets to protected res dir" into gb-ub-photos-denali

10 years agofixing video mode stop button (too big? not anymore)
Spike Sprague [Tue, 11 Feb 2014 20:27:23 +0000 (12:27 -0800)]
fixing video mode stop button (too big? not anymore)

bug: 12970650
Change-Id: Idf22205919b295c0ca51beed93a187da11a327ed

10 years agoMove photosphere icon assets to protected res dir
Doris Liu [Tue, 11 Feb 2014 18:55:10 +0000 (10:55 -0800)]
Move photosphere icon assets to protected res dir

Bug: 12963334
Change-Id: I6b55564971e0db0fab7eed53ca033b4602acb8ed

10 years agoAdd 6dp margins around mode options.
Erin Dahlgren [Tue, 11 Feb 2014 17:59:59 +0000 (09:59 -0800)]
Add 6dp margins around mode options.

Bug: 12954602
Change-Id: I3652fc62987a46626e198d5da694d7972be68547

10 years agoMerge "min / max bottom bar height logic" into gb-ub-photos-denali
Spike Sprague [Tue, 11 Feb 2014 06:11:16 +0000 (06:11 +0000)]
Merge "min / max bottom bar height logic" into gb-ub-photos-denali

10 years agomin / max bottom bar height logic
Spike Sprague [Mon, 6 Jan 2014 19:18:40 +0000 (11:18 -0800)]
min / max bottom bar height logic

bug: 12668831

Change-Id: Iadccd4c150a37955b0c612539edb6b747f87acbb

10 years agoNew focus indicator for touch to focus
Doris Liu [Tue, 11 Feb 2014 01:14:06 +0000 (17:14 -0800)]
New focus indicator for touch to focus

Bug: 12954917
Change-Id: I103c1071c81c48bbbd3a90cce2e2a39df4bd633e

10 years agoMerge "New Settings UI and video quality selection logic." into gb-ub-photos-denali
Sascha Haeberling [Tue, 11 Feb 2014 00:46:37 +0000 (00:46 +0000)]
Merge "New Settings UI and video quality selection logic." into gb-ub-photos-denali

10 years agoNew Settings UI and video quality selection logic.
Sascha Haeberling [Fri, 7 Feb 2014 01:30:53 +0000 (02:30 +0100)]
New Settings UI and video quality selection logic.

  Bug: 12467965
  Bug: 12935910
  Bug: 12575084

Implements the settings as a proper activity/fragment. Also cleans
up some of the old logic we had for handling and displaying settings.
Also has the new L/M/S logic for video quality.

Change-Id: I412af424b74369cef15c7ead2cb09704875972e3

10 years agoMerge "Mode switcher refinements." into gb-ub-photos-denali
Doris Liu [Tue, 11 Feb 2014 00:39:31 +0000 (00:39 +0000)]
Merge "Mode switcher refinements." into gb-ub-photos-denali

10 years agoMerge "Change capture animation to simple flash" into gb-ub-photos-denali
Angus Kong [Mon, 10 Feb 2014 23:49:50 +0000 (23:49 +0000)]
Merge "Change capture animation to simple flash" into gb-ub-photos-denali

10 years agoChange capture animation to simple flash
Angus Kong [Mon, 10 Feb 2014 22:54:29 +0000 (14:54 -0800)]
Change capture animation to simple flash

bug:12959370
Change-Id: I7ea7c9da2642a348d1cb6b802fe64048720ebee8

10 years agoMode switcher refinements.
Doris Liu [Mon, 10 Feb 2014 22:42:08 +0000 (14:42 -0800)]
Mode switcher refinements.

- Increase the mode switch icon size.
- Change mode cover color to 0x191919
- Change the font of mode text to roboto medium
- Change the highlight state of mode icon to fill

Bug: 12954273
Bug: 12954790
Bug: 12954370
Bug: 12953261
Change-Id: I23ef62ae4ce5589da20c7ee6bf805e5af70b62f2

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 10 Feb 2014 23:26:42 +0000 (15:26 -0800)]
Import translations. DO NOT MERGE

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

10 years agoMerge "fixing intent ui controls visibility" into gb-ub-photos-denali
Spike Sprague [Mon, 10 Feb 2014 22:31:00 +0000 (22:31 +0000)]
Merge "fixing intent ui controls visibility" into gb-ub-photos-denali

10 years agofixing intent ui controls visibility
Spike Sprague [Mon, 10 Feb 2014 20:11:20 +0000 (12:11 -0800)]
fixing intent ui controls visibility

bug: 12668877
Change-Id: Ibffc0682fb37f88998d2afddcf52bcd6ef86192f

10 years agoSeparate capture icons into a protected res dir.
Erin Dahlgren [Mon, 10 Feb 2014 20:38:37 +0000 (12:38 -0800)]
Separate capture icons into a protected res dir.

Bug:  12954169
Change-Id: I0ecd4c69fb15308e463047cac16213cbfe125973

10 years agoMerge "De-overlap of undo bar and filmstrip controls." into gb-ub-photos-denali
Angus Kong [Mon, 10 Feb 2014 20:14:59 +0000 (20:14 +0000)]
Merge "De-overlap of undo bar and filmstrip controls." into gb-ub-photos-denali

10 years agoDe-overlap of undo bar and filmstrip controls.
Angus Kong [Mon, 10 Feb 2014 19:37:29 +0000 (11:37 -0800)]
De-overlap of undo bar and filmstrip controls.

bug:12958725

Change-Id: Iaaf31ae02e9f1975b8c3ec20fea2b6da36208278

10 years agoMerge "video stop button diameter increased" into gb-ub-photos-denali
Spike Sprague [Mon, 10 Feb 2014 19:10:19 +0000 (19:10 +0000)]
Merge "video stop button diameter increased" into gb-ub-photos-denali

10 years agovideo stop button diameter increased
Spike Sprague [Mon, 10 Feb 2014 18:54:54 +0000 (10:54 -0800)]
video stop button diameter increased

bug: 12954412
Change-Id: I7b2cd286fbd0871fdaec185090c304edcb582c1e

10 years agoNew mode drawer.
Doris Liu [Wed, 5 Feb 2014 00:57:55 +0000 (16:57 -0800)]
New mode drawer.

-Changed the entire look of the mode drawer by using a live preview
 as background, and use circle icons rather than block shaped icons
-Fade in the blurred preview frame during mode switch
-Add highlighted and selected states to mode icons
-Center the mode drawer in preview rather than whole screen
-Swapped mode order in the drawer

TODO:
-Add settings access point
-Refine swipe in/out behavior of the drawer

Change-Id: Ibab0fe960bcfbb9635ca7f45d50178cb1ef2941f

10 years agoMerge "Ensure that mode options and indicators are fixed size." into gb-ub-photos...
Erin Dahlgren [Sat, 8 Feb 2014 01:37:21 +0000 (01:37 +0000)]
Merge "Ensure that mode options and indicators are fixed size." into gb-ub-photos-denali

10 years agoMerge "Add grid lines option and indicator." into gb-ub-photos-denali
Erin Dahlgren [Sat, 8 Feb 2014 01:36:35 +0000 (01:36 +0000)]
Merge "Add grid lines option and indicator." into gb-ub-photos-denali

10 years agoMerge "size bottom bar width to match preview area" into gb-ub-photos-denali
Spike Sprague [Sat, 8 Feb 2014 01:33:59 +0000 (01:33 +0000)]
Merge "size bottom bar width to match preview area" into gb-ub-photos-denali

10 years agoAdd grid lines option and indicator.
Erin Dahlgren [Fri, 7 Feb 2014 20:38:57 +0000 (12:38 -0800)]
Add grid lines option and indicator.

Bug: 12454164
Change-Id: Iae088cee0cc67041bb304f276a5ffe84a813df5e

10 years agoShared texture view in photosphere.
Erin Dahlgren [Mon, 3 Feb 2014 18:12:27 +0000 (10:12 -0800)]
Shared texture view in photosphere.

Change-Id: I8dd4898e3800b02fa7f0488104dcfa4600b3845f

10 years agosize bottom bar width to match preview area
Spike Sprague [Sat, 8 Feb 2014 00:01:48 +0000 (16:01 -0800)]
size bottom bar width to match preview area

bug: 12563756
Change-Id: If6d26aa050ab130a177a6c2c21e38ee11cb985b5

10 years agoEnsure that mode options and indicators are fixed size.
Erin Dahlgren [Fri, 7 Feb 2014 22:11:36 +0000 (14:11 -0800)]
Ensure that mode options and indicators are fixed size.

Change-Id: I487cefaaffe8d2adb2f078692a7a0af16e48dfa3

10 years agoMove onPreviewAreaSizeChanged() out of layout pass
Angus Kong [Fri, 7 Feb 2014 19:20:00 +0000 (11:20 -0800)]
Move onPreviewAreaSizeChanged() out of layout pass

Change-Id: I4eb6f6ffda1438fca7575328ce09945d40549d51

10 years agoScale high aspect ratio Bitmaps to use full texture size.
Andy Huibers [Fri, 7 Feb 2014 18:10:16 +0000 (10:10 -0800)]
Scale high aspect ratio Bitmaps to use full texture size.

Bug:11137777

Change-Id: I1a7ae213d3cdc199d381b89b610c5a195e30fbe9

10 years agoFix an IllegalStateException introduced by ag/413832.
Erin Dahlgren [Wed, 5 Feb 2014 22:53:06 +0000 (14:53 -0800)]
Fix an IllegalStateException introduced by ag/413832.

Change-Id: Ib160c313af4e60215a9a91b93a2ec2506a06c5d2

10 years agoMerge "Treat mode toggle as indicators or default toggle view." into gb-ub-photos...
Erin Dahlgren [Wed, 5 Feb 2014 22:44:25 +0000 (22:44 +0000)]
Merge "Treat mode toggle as indicators or default toggle view." into gb-ub-photos-denali

10 years agoTreat mode toggle as indicators or default toggle view.
Erin Dahlgren [Mon, 3 Feb 2014 23:55:31 +0000 (15:55 -0800)]
Treat mode toggle as indicators or default toggle view.

Change-Id: I25a97cea27893ab76a8930c99de8e65eb2904b36

10 years agoMerge "Revert "Revert "Import translations. DO NOT MERGE""" into gb-ub-photos-denali
Geoff Mendal [Wed, 5 Feb 2014 22:42:13 +0000 (22:42 +0000)]
Merge "Revert "Revert "Import translations. DO NOT MERGE""" into gb-ub-photos-denali

10 years agoRevert "Revert "Import translations. DO NOT MERGE""
Geoff Mendal [Wed, 5 Feb 2014 22:42:08 +0000 (22:42 +0000)]
Revert "Revert "Import translations. DO NOT MERGE""

This reverts commit f8919f0be4f94288edac60f9ab65768f335ab847.

Change-Id: Ibbb702ec82939254d88aba30e58ffc12b0411bbc

10 years agoMerge "Revert "Import translations. DO NOT MERGE"" into gb-ub-photos-denali
Geoff Mendal [Wed, 5 Feb 2014 22:26:40 +0000 (22:26 +0000)]
Merge "Revert "Import translations. DO NOT MERGE"" into gb-ub-photos-denali

10 years agoRevert "Import translations. DO NOT MERGE"
Geoff Mendal [Wed, 5 Feb 2014 22:26:34 +0000 (22:26 +0000)]
Revert "Import translations. DO NOT MERGE"

This reverts commit c31dc66e88992d92decf8c2121cb99c481fec3f0.

Change-Id: I0f938daddcb866947a5015b91cbd8cb650e0bf18

10 years agoMerge "Import translations. DO NOT MERGE" into gb-ub-photos-denali
Geoff Mendal [Wed, 5 Feb 2014 22:05:50 +0000 (22:05 +0000)]
Merge "Import translations. DO NOT MERGE" into gb-ub-photos-denali

10 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 5 Feb 2014 21:53:40 +0000 (13:53 -0800)]
Import translations. DO NOT MERGE

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

10 years agoMerge "Prevent crash if first-time location dialog." into gb-ub-photos-denali
Sascha Haeberling [Wed, 5 Feb 2014 21:36:56 +0000 (21:36 +0000)]
Merge "Prevent crash if first-time location dialog." into gb-ub-photos-denali

10 years agoPrevent crash if first-time location dialog.
Sascha Haeberling [Wed, 5 Feb 2014 21:06:27 +0000 (22:06 +0100)]
Prevent crash if first-time location dialog.

Change-Id: I34f44220202f7b7b39facf7caf9cd46e6e44acc4

10 years agoMerge "Properly guard the weak reference." into gb-ub-photos-denali
Sascha Haeberling [Wed, 5 Feb 2014 21:03:22 +0000 (21:03 +0000)]
Merge "Properly guard the weak reference." into gb-ub-photos-denali

10 years agoProperly guard the weak reference.
Sascha Haeberling [Wed, 5 Feb 2014 20:48:55 +0000 (21:48 +0100)]
Properly guard the weak reference.

  Bug: 12805279

Change-Id: I268b121807d10edaba5d627eb3fc2d2ffc6579d3

10 years agoUpdate new Camera2 indicator assets.
Erin Dahlgren [Wed, 5 Feb 2014 19:05:21 +0000 (11:05 -0800)]
Update new Camera2 indicator assets.

Bug: 12893552
Change-Id: I9d8133291626563d0e044f9735592b591671332c

10 years agoElevate refocus to its own mode, merge craft and camera.
Erin Dahlgren [Mon, 3 Feb 2014 21:24:55 +0000 (13:24 -0800)]
Elevate refocus to its own mode, merge craft and camera.

Change-Id: I9686db26993319fdaf09f09c0610bb65e00a0e05

10 years agoAvoid activity leaks.
Sascha Haeberling [Tue, 4 Feb 2014 11:48:55 +0000 (12:48 +0100)]
Avoid activity leaks.

  Bug: 12805279

Change-Id: Ib91ff2d286f6a0e0d67dad673e7af24600e15759

10 years agoMerge "Add support for grid lines overlay." into gb-ub-photos-denali
Erin Dahlgren [Wed, 5 Feb 2014 01:07:53 +0000 (01:07 +0000)]
Merge "Add support for grid lines overlay." into gb-ub-photos-denali

10 years agoAdd support for grid lines overlay.
Erin Dahlgren [Tue, 4 Feb 2014 23:23:30 +0000 (15:23 -0800)]
Add support for grid lines overlay.

Bug: 12454164
Change-Id: Iecf175e6dd41d8c2ce42c177f5bc91ec997c420b

10 years agoadd a11y string for "more options" ellipsis
Spike Sprague [Tue, 4 Feb 2014 22:19:41 +0000 (14:19 -0800)]
add a11y string for "more options" ellipsis

bug: 10745077
Change-Id: I50c68fc295d2b07eb8a923bfde3e97b7496d2f4d

10 years agoMerge "Make sure video quality requested is valid." into gb-ub-photos-denali
Andy Huibers [Tue, 4 Feb 2014 20:54:27 +0000 (20:54 +0000)]
Merge "Make sure video quality requested is valid." into gb-ub-photos-denali

10 years agoMerge "add a11y announcement when multi toggle button changes" into gb-ub-photos...
Alan Newberger [Tue, 4 Feb 2014 19:00:44 +0000 (19:00 +0000)]
Merge "add a11y announcement when multi toggle button changes" into gb-ub-photos-denali

10 years agoadd a11y announcement when multi toggle button changes
Alan Newberger [Tue, 4 Feb 2014 17:15:47 +0000 (09:15 -0800)]
add a11y announcement when multi toggle button changes

addressing TODO with a manual announcement whenever the content
description of a button changes. Does checking of existing content
description to reduce chattiness when options are set by the system
e.g. on a resolution or orientation change. Still a bit of chattiness
on startup if the app is setting a button to a nonstandard value, but
I think its acceptable, it's giving user useful information about
nonstandard options on startup.

Bug: 10745077
Change-Id: I81089b2f4f7f14b90c4436199895a0f67075c3d3

10 years agoMerge "Set bottom bar to a consistent color across app." into gb-ub-photos-denali
Erin Dahlgren [Tue, 4 Feb 2014 17:02:40 +0000 (17:02 +0000)]
Merge "Set bottom bar to a consistent color across app." into gb-ub-photos-denali

10 years agoMerge "Center mode options according to spec." into gb-ub-photos-denali
Erin Dahlgren [Tue, 4 Feb 2014 17:00:15 +0000 (17:00 +0000)]
Merge "Center mode options according to spec." into gb-ub-photos-denali

10 years agoMake sure video quality requested is valid.
Andy Huibers [Tue, 4 Feb 2014 16:03:35 +0000 (08:03 -0800)]
Make sure video quality requested is valid.

Bug: 12824921
Change-Id: I653ad18359417844846b792d8ffa3b697e03f07e

10 years agoMerge "Import translations. DO NOT MERGE" into gb-ub-photos-denali
Geoff Mendal [Tue, 4 Feb 2014 02:31:34 +0000 (02:31 +0000)]
Merge "Import translations. DO NOT MERGE" into gb-ub-photos-denali

10 years agoMerge "add content descriptions for filmstrip controls" into gb-ub-photos-denali
Alan Newberger [Tue, 4 Feb 2014 01:44:13 +0000 (01:44 +0000)]
Merge "add content descriptions for filmstrip controls" into gb-ub-photos-denali

10 years agoadd content descriptions for filmstrip controls
Alan Newberger [Tue, 4 Feb 2014 01:23:50 +0000 (17:23 -0800)]
add content descriptions for filmstrip controls

adding TalkBack descriptions for action buttons shown on the bottom of filmstrip.

Bug: 10745077
Change-Id: I3ea278fb065629b43f0ccc9821fe19e6f1d9c4f9

10 years agoImport translations. DO NOT MERGE
Geoff Mendal [Tue, 4 Feb 2014 00:25:46 +0000 (16:25 -0800)]
Import translations. DO NOT MERGE

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

10 years agoAdd content URI for current filmstrip item to Gallery intent
Alan Newberger [Mon, 3 Feb 2014 23:03:26 +0000 (15:03 -0800)]
Add content URI for current filmstrip item to Gallery intent

when starting Gallery, if there is a current filmstrip ID, retrieve
its content URI and pass to the GalleryHelper to process it. Do nothing
within the GalleryHelper at this time.

Bug: 12587688
Change-Id: I5becbfa7d12e739383b9f2ef3d3dba7460fa3d25

10 years agoCenter mode options according to spec.
Erin Dahlgren [Mon, 3 Feb 2014 22:39:53 +0000 (14:39 -0800)]
Center mode options according to spec.

* spec: https://drive.google.com/a/google.com/#folders/0B0GnUi_SFKJtdHp4YnBnLTZxcjQ
* for modes like video with less than the total possible
  mode options, center the options.

Change-Id: I79dce62ced916d2ed20d04e805abe2bfdd60c779

10 years agoFix the build by adding eventproto foreground stubs.
Erin Dahlgren [Mon, 3 Feb 2014 22:08:20 +0000 (14:08 -0800)]
Fix the build by adding eventproto foreground stubs.

Change-Id: I6319378499e105c5638d8ef4788fbc21ed073936

10 years agoSet bottom bar to a consistent color across app.
Erin Dahlgren [Mon, 3 Feb 2014 22:01:54 +0000 (14:01 -0800)]
Set bottom bar to a consistent color across app.

Change-Id: Ieda492a9dbc122a828d8b5d8df831fbe99e6295f

10 years agoCorrectly log the source of a foreground event.
Erin Dahlgren [Fri, 31 Jan 2014 19:13:33 +0000 (11:13 -0800)]
Correctly log the source of a foreground event.

Bug: 12589465
Change-Id: Ib26d44e1a8fdc4e03561c6a00886682881106ec2

10 years agoMove mode options to transparent overlay.
Erin Dahlgren [Thu, 30 Jan 2014 22:11:20 +0000 (14:11 -0800)]
Move mode options to transparent overlay.

Change-Id: Iec0423668c58a5b849841afc45def923210df6fd

10 years agoMerge "adding accessibilty strings to ui items" into gb-ub-photos-denali
Spike Sprague [Fri, 31 Jan 2014 22:47:58 +0000 (22:47 +0000)]
Merge "adding accessibilty strings to ui items" into gb-ub-photos-denali

10 years agoMerge "First pass on tracking camera performance" into gb-ub-photos-denali
Doris Liu [Fri, 31 Jan 2014 20:03:29 +0000 (20:03 +0000)]
Merge "First pass on tracking camera performance" into gb-ub-photos-denali

10 years agoFirst pass on tracking camera performance
Doris Liu [Thu, 30 Jan 2014 20:29:27 +0000 (12:29 -0800)]
First pass on tracking camera performance

Record time spent on cold/warm start, mode switching for later
hooking up with instrument tests.

Bug: 12838163
Change-Id: I1004f2b26d9ff9d59b4729e7323c079a6b561fdc

10 years agoMerge "Log swipes out of filmstrip." into gb-ub-photos-denali
Erin Dahlgren [Fri, 31 Jan 2014 18:21:19 +0000 (18:21 +0000)]
Merge "Log swipes out of filmstrip." into gb-ub-photos-denali

10 years agoMerge "Move tiny planet editor into the edit action." into gb-ub-photos-denali
Sascha Haeberling [Fri, 31 Jan 2014 17:48:00 +0000 (17:48 +0000)]
Merge "Move tiny planet editor into the edit action." into gb-ub-photos-denali

10 years agoPrevent Tiny Planet from crashing often.
Sascha Haeberling [Fri, 31 Jan 2014 16:56:15 +0000 (17:56 +0100)]
Prevent Tiny Planet from crashing often.

  Bug: 11050122

Make sure the preview rendering is always happening on the
handler thread.

Change-Id: Id5a2e5d939fa6bd3520dc8bfa5bb1803ef6fb1c5

10 years agoMove tiny planet editor into the edit action.
Sascha Haeberling [Fri, 31 Jan 2014 14:21:02 +0000 (15:21 +0100)]
Move tiny planet editor into the edit action.

  Bug: 12553864

Change-Id: I3431565928bef637c11246fc6e711ef3d1f925ce

10 years agoLog swipes out of filmstrip.
Erin Dahlgren [Thu, 30 Jan 2014 02:13:34 +0000 (18:13 -0800)]
Log swipes out of filmstrip.

Bug: 12589465
Change-Id: I13b20b3e56b1ae4285ecc00ca4c2fb5a42fa75ed

10 years agoMerge "Add logging for swipe to filmstrip from camera." into gb-ub-photos-denali
Erin Dahlgren [Thu, 30 Jan 2014 23:05:29 +0000 (23:05 +0000)]
Merge "Add logging for swipe to filmstrip from camera." into gb-ub-photos-denali

10 years agoAdd logging for swipe to filmstrip from camera.
Erin Dahlgren [Thu, 30 Jan 2014 01:29:18 +0000 (17:29 -0800)]
Add logging for swipe to filmstrip from camera.

Bug: 12589465
Change-Id: Ia57c1f341d7c9262b96823121e046fe4c4378b5c

10 years agoDon't add duplicate identical OnSettingChangedListeners.
Erin Dahlgren [Wed, 29 Jan 2014 23:44:57 +0000 (15:44 -0800)]
Don't add duplicate identical OnSettingChangedListeners.

Bug: 12802314
Change-Id: I8baa668205633a9f5c9da259f0fa28dbca951a77

10 years agoMerge "Fix NPE" into gb-ub-photos-denali
Doris Liu [Thu, 30 Jan 2014 21:31:46 +0000 (21:31 +0000)]
Merge "Fix NPE" into gb-ub-photos-denali

10 years agoMerge "Changes the picture size settings to L,M,S from concrete resolutions." into...
Sascha Haeberling [Thu, 30 Jan 2014 21:21:01 +0000 (21:21 +0000)]
Merge "Changes the picture size settings to L,M,S from concrete resolutions." into gb-ub-photos-denali

10 years agoFix NPE
Doris Liu [Thu, 30 Jan 2014 21:11:29 +0000 (13:11 -0800)]
Fix NPE

This NPE is caused by not having a PreviewStatusListener in
photosphere module. Hooking up PreviewStatusListener in
photosphere requires a refactor which is non-trivial amount
of work.

So for now, a null check is added here to prevent NPE
and the logic of detecting and handling device flip will be
added into photosphere to properly handle device flp.

Part II at ag/412607

Bug: 12679997
Change-Id: I5392674e387800e6a2a3114ec3f834b439aed31e

10 years agoChanges the picture size settings to L,M,S from concrete resolutions.
Sascha Haeberling [Wed, 29 Jan 2014 19:54:39 +0000 (20:54 +0100)]
Changes the picture size settings to L,M,S from concrete resolutions.

  Bug: 12575084
  Bug: 12717251

The strategy in detail:
- Sort all available sizes
- For 'large', select the resolution with the most pixels.
- Use the 'large' resolution aspect ratio as the target AR.
- Create a list of resolutions with AR close to 'large'.
- If only two more are available, use them for medium and small.
- If less are available, boarden the search in complete list.
- Again, if only two more are available, use them for medium and small.
- Otherwise find medium resolution with total pixels closest to  50% of 'large' and ...
  small as 25% of 'large' pixels.
- If they both come out the same, select either one small for 'small' or one larger
  for 'medium'.

Change-Id: Ib94fdf0ce987968bccd85abbf5be7bdaa914325f

10 years agoMerge "add additional lifecycle states to PanoramaViewHelper" into gb-ub-photos-denali
Alan Newberger [Thu, 30 Jan 2014 17:33:03 +0000 (17:33 +0000)]
Merge "add additional lifecycle states to PanoramaViewHelper" into gb-ub-photos-denali

10 years agoadd additional lifecycle states to PanoramaViewHelper
Alan Newberger [Wed, 29 Jan 2014 02:09:30 +0000 (18:09 -0800)]
add additional lifecycle states to PanoramaViewHelper

Bug: 12192549
Change-Id: I36668db7657c8b285419e7eca824b3d6e495e5ef

10 years agoadding accessibilty strings to ui items
Spike Sprague [Wed, 29 Jan 2014 02:48:22 +0000 (18:48 -0800)]
adding accessibilty strings to ui items

Change-Id: I3f2356c765bd2799dfa1009ff6707fc3af87383e

10 years agoMerge "Use mutable drawable to avoid sharing drawable states" into gb-ub-photos-denali
Doris Liu [Wed, 29 Jan 2014 07:31:58 +0000 (07:31 +0000)]
Merge "Use mutable drawable to avoid sharing drawable states" into gb-ub-photos-denali

10 years agoUse mutable drawable to avoid sharing drawable states
Doris Liu [Wed, 29 Jan 2014 02:22:51 +0000 (18:22 -0800)]
Use mutable drawable to avoid sharing drawable states

Bug: 12594617
Change-Id: I798b67ed42a5593c346643d42ebf1143d54551e6

10 years agoMerge "Fix secure camera launch crash." into gb-ub-photos-denali
Erin Dahlgren [Wed, 29 Jan 2014 01:49:27 +0000 (01:49 +0000)]
Merge "Fix secure camera launch crash." into gb-ub-photos-denali