OSDN Git Service

android-x86/packages-apps-Camera2.git
9 years agoam e9541583: am f379211c: am 47c4474e: Merge "Force filmstrip images to generate...
Alan Newberger [Thu, 25 Sep 2014 18:53:06 +0000 (18:53 +0000)]
am e9541583: am f379211c: am 47c4474e: Merge "Force filmstrip images to generate in JPEG compression format" into ub-camera-glacier

* commit 'e9541583a10a2de2f0cbd8ea7aa8b79f02431760':
  Force filmstrip images to generate in JPEG compression format

9 years agoam d0f873b9: am fc0e5d89: am 4d2f3bf4: Merge "Recreate a OneCameraManager instance...
Puneet Lall [Thu, 25 Sep 2014 18:42:28 +0000 (18:42 +0000)]
am d0f873b9: am fc0e5d89: am 4d2f3bf4: Merge "Recreate a OneCameraManager instance for each Activity." into ub-camera-glacier

* commit 'd0f873b9c6cab64d549287254175f48acf78ab6d':
  Recreate a OneCameraManager instance for each Activity.

9 years agoam 814310de: am 437fd924: am ee3123ba: Stability: add null check for all CameraProxy...
Senpo Hu [Thu, 25 Sep 2014 18:42:28 +0000 (18:42 +0000)]
am 814310de: am 437fd924: am ee3123ba: Stability: add null check for all CameraProxy obj references in PhotoModule.

* commit '814310de540722dd71c07a4aa35cbb511f78e2e0':
  Stability: add null check for all CameraProxy obj references in PhotoModule.

9 years agoam f379211c: am 47c4474e: Merge "Force filmstrip images to generate in JPEG compressi...
Alan Newberger [Thu, 25 Sep 2014 18:41:52 +0000 (18:41 +0000)]
am f379211c: am 47c4474e: Merge "Force filmstrip images to generate in JPEG compression format" into ub-camera-glacier

* commit 'f379211cc6ec4ca292d100a53a8e1ea49958fcae':
  Force filmstrip images to generate in JPEG compression format

9 years agoam fc0e5d89: am 4d2f3bf4: Merge "Recreate a OneCameraManager instance for each Activi...
Puneet Lall [Thu, 25 Sep 2014 18:33:52 +0000 (18:33 +0000)]
am fc0e5d89: am 4d2f3bf4: Merge "Recreate a OneCameraManager instance for each Activity." into ub-camera-glacier

* commit 'fc0e5d895cbad548cb2cb1d874d1c0fed49333c9':
  Recreate a OneCameraManager instance for each Activity.

9 years agoam 437fd924: am ee3123ba: Stability: add null check for all CameraProxy obj reference...
Senpo Hu [Thu, 25 Sep 2014 18:33:51 +0000 (18:33 +0000)]
am 437fd924: am ee3123ba: Stability: add null check for all CameraProxy obj references in PhotoModule.

* commit '437fd924f0bcffafa9aafcb719e233c68d81042b':
  Stability: add null check for all CameraProxy obj references in PhotoModule.

9 years agoam 47c4474e: Merge "Force filmstrip images to generate in JPEG compression format...
Alan Newberger [Thu, 25 Sep 2014 18:33:37 +0000 (18:33 +0000)]
am 47c4474e: Merge "Force filmstrip images to generate in JPEG compression format" into ub-camera-glacier

* commit '47c4474ea9e51a58f2ba1795de90c9aaf135f442':
  Force filmstrip images to generate in JPEG compression format

9 years agoMerge "Force filmstrip images to generate in JPEG compression format" into ub-camera...
Alan Newberger [Thu, 25 Sep 2014 18:27:01 +0000 (18:27 +0000)]
Merge "Force filmstrip images to generate in JPEG compression format" into ub-camera-glacier

9 years agoam 4d2f3bf4: Merge "Recreate a OneCameraManager instance for each Activity." into...
Puneet Lall [Thu, 25 Sep 2014 18:21:59 +0000 (18:21 +0000)]
am 4d2f3bf4: Merge "Recreate a OneCameraManager instance for each Activity." into ub-camera-glacier

* commit '4d2f3bf448d8546920a3d94ce15033357388d2cc':
  Recreate a OneCameraManager instance for each Activity.

9 years agoam ee3123ba: Stability: add null check for all CameraProxy obj references in PhotoModule.
Senpo Hu [Thu, 25 Sep 2014 18:21:58 +0000 (18:21 +0000)]
am ee3123ba: Stability: add null check for all CameraProxy obj references in PhotoModule.

* commit 'ee3123ba4b4cc107423441bb8d687c14a2dc4b9a':
  Stability: add null check for all CameraProxy obj references in PhotoModule.

9 years agoForce filmstrip images to generate in JPEG compression format
Alan Newberger [Thu, 25 Sep 2014 18:21:01 +0000 (11:21 -0700)]
Force filmstrip images to generate in JPEG compression format

Due to https://github.com/bumptech/glide/issues/156, we sometimes
were getting PNG cache image generation which greatly increased
latency and introduced jank. As workaround, explicitly forcing
images to utilize JPEG format.

Bug: 17597861
Change-Id: I49d7266d4ff0173d253877612b3076489a6b385a

9 years agoMerge "Recreate a OneCameraManager instance for each Activity." into ub-camera-glacier
Puneet Lall [Thu, 25 Sep 2014 18:14:23 +0000 (18:14 +0000)]
Merge "Recreate a OneCameraManager instance for each Activity." into ub-camera-glacier

9 years agoStability: add null check for all CameraProxy obj references in PhotoModule.
Senpo Hu [Thu, 25 Sep 2014 17:53:12 +0000 (10:53 -0700)]
Stability: add null check for all CameraProxy obj references in PhotoModule.

Bug: 17643705
Bug: 17604028
Change-Id: I6073f32bae286168c040f5667494ede1384ce3fc

9 years agoRecreate a OneCameraManager instance for each Activity.
Puneet Lall [Thu, 25 Sep 2014 04:30:53 +0000 (21:30 -0700)]
Recreate a OneCameraManager instance for each Activity.

Bug: 17484715
Change-Id: If484e3b40ef32324fa77629b1687cd4317466e2e

9 years agoam f49e3882: am 3f8c75b2: am da6f3acc: Skip disk caching for session data
Alan Newberger [Thu, 25 Sep 2014 16:39:19 +0000 (16:39 +0000)]
am f49e3882: am 3f8c75b2: am da6f3acc: Skip disk caching for session data

* commit 'f49e3882849e68acda0eaa39ad11e4cd207e2cd1':
  Skip disk caching for session data

9 years agoam e25f2203: am 92db2cb4: am 6b2d1e0b: Merge "Revert temporary session images in...
Alan Newberger [Thu, 25 Sep 2014 16:39:18 +0000 (16:39 +0000)]
am e25f2203: am 92db2cb4: am 6b2d1e0b: Merge "Revert temporary session images in filmstrip to RGB_565" into ub-camera-glacier

* commit 'e25f22030ee7f3628824c3cc74ec8bda7bb9d681':
  Revert temporary session images in filmstrip to RGB_565

9 years agoam 68a63db4: am af73f898: am 347dccbe: Ensure Camera doesn\'t attempt access of back...
Alan Newberger [Thu, 25 Sep 2014 16:39:18 +0000 (16:39 +0000)]
am 68a63db4: am af73f898: am 347dccbe: Ensure Camera doesn\'t attempt access of back camera on Nakasi

* commit '68a63db488679cca1e9723813fe692fc1a9ace82':
  Ensure Camera doesn't attempt access of back camera on Nakasi

9 years agoam 3f8c75b2: am da6f3acc: Skip disk caching for session data
Alan Newberger [Thu, 25 Sep 2014 16:23:34 +0000 (16:23 +0000)]
am 3f8c75b2: am da6f3acc: Skip disk caching for session data

* commit '3f8c75b21820b64551a3226ab71bdb7707b286f9':
  Skip disk caching for session data

9 years agoam 92db2cb4: am 6b2d1e0b: Merge "Revert temporary session images in filmstrip to...
Alan Newberger [Thu, 25 Sep 2014 16:23:34 +0000 (16:23 +0000)]
am 92db2cb4: am 6b2d1e0b: Merge "Revert temporary session images in filmstrip to RGB_565" into ub-camera-glacier

* commit '92db2cb42b74da6dbf94f79edb2671d517441aeb':
  Revert temporary session images in filmstrip to RGB_565

9 years agoam af73f898: am 347dccbe: Ensure Camera doesn\'t attempt access of back camera on...
Alan Newberger [Thu, 25 Sep 2014 16:23:33 +0000 (16:23 +0000)]
am af73f898: am 347dccbe: Ensure Camera doesn\'t attempt access of back camera on Nakasi

* commit 'af73f89883e9386cf309c029efba19c82597b136':
  Ensure Camera doesn't attempt access of back camera on Nakasi

9 years agoam da6f3acc: Skip disk caching for session data
Alan Newberger [Thu, 25 Sep 2014 01:37:00 +0000 (01:37 +0000)]
am da6f3acc: Skip disk caching for session data

* commit 'da6f3accc02c942b1f2dd1c248edb6a0bd66ee10':
  Skip disk caching for session data

9 years agoSkip disk caching for session data
Alan Newberger [Thu, 25 Sep 2014 01:23:13 +0000 (18:23 -0700)]
Skip disk caching for session data

Bring back full color depth but don't bother with a disk cache
for temporary session images, since they will go away and be
replaced by mediastore entries anyway.

Bug: 17642071
Change-Id: I1a8483b71d69967033074fc4d8c69c9dfb17651e

9 years agoam 6b2d1e0b: Merge "Revert temporary session images in filmstrip to RGB_565" into...
Alan Newberger [Thu, 25 Sep 2014 01:10:06 +0000 (01:10 +0000)]
am 6b2d1e0b: Merge "Revert temporary session images in filmstrip to RGB_565" into ub-camera-glacier

* commit '6b2d1e0b660e931c6cbc91a25ec85df070712e65':
  Revert temporary session images in filmstrip to RGB_565

9 years agoam 347dccbe: Ensure Camera doesn\'t attempt access of back camera on Nakasi
Alan Newberger [Thu, 25 Sep 2014 01:10:04 +0000 (01:10 +0000)]
am 347dccbe: Ensure Camera doesn\'t attempt access of back camera on Nakasi

* commit '347dccbe1ed10ceec190af4d3797a197426f1caf':
  Ensure Camera doesn't attempt access of back camera on Nakasi

9 years agoMerge "Revert temporary session images in filmstrip to RGB_565" into ub-camera-glacier
Alan Newberger [Thu, 25 Sep 2014 01:09:03 +0000 (01:09 +0000)]
Merge "Revert temporary session images in filmstrip to RGB_565" into ub-camera-glacier

9 years agoRevert temporary session images in filmstrip to RGB_565
Alan Newberger [Thu, 25 Sep 2014 00:59:02 +0000 (17:59 -0700)]
Revert temporary session images in filmstrip to RGB_565

A simple way to avoid performance issues for now until we get around
the significant load issues seen in writing ARGB_8888 to disk cache.

Bug: 17642071
Change-Id: I6017980fce6e633b52dce93f3f46931e5bcc3d9c

9 years agoEnsure Camera doesn't attempt access of back camera on Nakasi
Alan Newberger [Thu, 25 Sep 2014 00:19:25 +0000 (17:19 -0700)]
Ensure Camera doesn't attempt access of back camera on Nakasi

Bug: 17647004
Change-Id: I823f98cfdfcc7429b6acf98215e4a08787bc1bb9

9 years agoam 59cfca2f: am 9db50c18: am 2631a15a: Don\'t show aspect ratio UI if using API2...
Alan Newberger [Wed, 24 Sep 2014 22:36:50 +0000 (22:36 +0000)]
am 59cfca2f: am 9db50c18: am 2631a15a: Don\'t show aspect ratio UI if using API2 portability

* commit '59cfca2fd973402ca1de8486ed38d005707d5556':
  Don't show aspect ratio UI if using API2 portability

9 years agoam 9db50c18: am 2631a15a: Don\'t show aspect ratio UI if using API2 portability
Alan Newberger [Wed, 24 Sep 2014 22:13:17 +0000 (22:13 +0000)]
am 9db50c18: am 2631a15a: Don\'t show aspect ratio UI if using API2 portability

* commit '9db50c18fdd35f98d45fec66db55693bb9f1d9ae':
  Don't show aspect ratio UI if using API2 portability

9 years agoam 2631a15a: Don\'t show aspect ratio UI if using API2 portability
Alan Newberger [Wed, 24 Sep 2014 22:04:09 +0000 (22:04 +0000)]
am 2631a15a: Don\'t show aspect ratio UI if using API2 portability

* commit '2631a15a37b890f4ee720c5a4bbe3e654524deb6':
  Don't show aspect ratio UI if using API2 portability

9 years agoDon't show aspect ratio UI if using API2 portability
Alan Newberger [Wed, 24 Sep 2014 21:23:30 +0000 (14:23 -0700)]
Don't show aspect ratio UI if using API2 portability

Avoid preview size changes due to current state of locking in API2
portability implementation.

Bug: 17462976
Change-Id: I9426380699988d67b21ce86850ef00736e84a5d6

9 years agoam a02991d9: am d8dbf53c: am eeeed4fa: new sounds for timer ticker and pano / photosp...
Spike Sprague [Wed, 24 Sep 2014 03:53:10 +0000 (03:53 +0000)]
am a02991d9: am d8dbf53c: am eeeed4fa: new sounds for timer ticker and pano / photosphere intermediate captures

* commit 'a02991d9523775e60a349e1deced9a63ad145237':
  new sounds for timer ticker and pano / photosphere intermediate captures

9 years agoam 668f0efc: am c89420a6: am 7d1fb593: Merge "monkey test NPE fix, another null check...
Spike Sprague [Wed, 24 Sep 2014 03:29:02 +0000 (03:29 +0000)]
am 668f0efc: am c89420a6: am 7d1fb593: Merge "monkey test NPE fix, another null check on mCameraDevice" into ub-camera-glacier

* commit '668f0efca1d8864c50787b39927a5e0fdf6c415a':
  monkey test NPE fix, another null check on mCameraDevice

9 years agoam d8dbf53c: am eeeed4fa: new sounds for timer ticker and pano / photosphere intermed...
Spike Sprague [Wed, 24 Sep 2014 01:57:21 +0000 (01:57 +0000)]
am d8dbf53c: am eeeed4fa: new sounds for timer ticker and pano / photosphere intermediate captures

* commit 'd8dbf53c7235456fc2fd3e0e77e50e5d6c00a753':
  new sounds for timer ticker and pano / photosphere intermediate captures

9 years agoam eeeed4fa: new sounds for timer ticker and pano / photosphere intermediate captures
Spike Sprague [Wed, 24 Sep 2014 01:47:39 +0000 (01:47 +0000)]
am eeeed4fa: new sounds for timer ticker and pano / photosphere intermediate captures

* commit 'eeeed4fa00ed842050bc7e0edd3b37c262802a5b':
  new sounds for timer ticker and pano / photosphere intermediate captures

9 years agoam c89420a6: am 7d1fb593: Merge "monkey test NPE fix, another null check on mCameraDe...
Spike Sprague [Wed, 24 Sep 2014 01:24:29 +0000 (01:24 +0000)]
am c89420a6: am 7d1fb593: Merge "monkey test NPE fix, another null check on mCameraDevice" into ub-camera-glacier

* commit 'c89420a6c2e44b17a7dcc556f9a633db58ba4ab5':
  monkey test NPE fix, another null check on mCameraDevice

9 years agonew sounds for timer ticker and pano / photosphere intermediate captures
Spike Sprague [Wed, 27 Aug 2014 19:01:36 +0000 (12:01 -0700)]
new sounds for timer ticker and pano / photosphere intermediate captures

companions CL: ag/534823

bug: 17281234

Change-Id: I9d98d8e869dcefdbd0f7e0b53dea6b8e024a8e3b

9 years agoam 7d1fb593: Merge "monkey test NPE fix, another null check on mCameraDevice" into...
Spike Sprague [Wed, 24 Sep 2014 01:03:23 +0000 (01:03 +0000)]
am 7d1fb593: Merge "monkey test NPE fix, another null check on mCameraDevice" into ub-camera-glacier

* commit '7d1fb593ae26e4f327e47bcbb857057da4ea23a0':
  monkey test NPE fix, another null check on mCameraDevice

9 years agoMerge "monkey test NPE fix, another null check on mCameraDevice" into ub-camera-glacier
Spike Sprague [Wed, 24 Sep 2014 00:44:00 +0000 (00:44 +0000)]
Merge "monkey test NPE fix, another null check on mCameraDevice" into ub-camera-glacier

9 years agoam fe8184af: am 1db7f286: am b60af188: Merge "Fix filmstrip item bounds to filmstrip...
Alan Newberger [Tue, 23 Sep 2014 17:12:33 +0000 (17:12 +0000)]
am fe8184af: am 1db7f286: am b60af188: Merge "Fix filmstrip item bounds to filmstrip scale" into ub-camera-glacier

* commit 'fe8184af85604e6a87fe1e74df026a78732f08ce':
  Fix filmstrip item bounds to filmstrip scale

9 years agoam 1db7f286: am b60af188: Merge "Fix filmstrip item bounds to filmstrip scale" into...
Alan Newberger [Tue, 23 Sep 2014 17:00:03 +0000 (17:00 +0000)]
am 1db7f286: am b60af188: Merge "Fix filmstrip item bounds to filmstrip scale" into ub-camera-glacier

* commit '1db7f2860a5117ad2082802f9e3ce7c0314bfee8':
  Fix filmstrip item bounds to filmstrip scale

9 years agoam b60af188: Merge "Fix filmstrip item bounds to filmstrip scale" into ub-camera...
Alan Newberger [Tue, 23 Sep 2014 16:53:25 +0000 (16:53 +0000)]
am b60af188: Merge "Fix filmstrip item bounds to filmstrip scale" into ub-camera-glacier

* commit 'b60af188e3bc712a7f06700c591c428834237dff':
  Fix filmstrip item bounds to filmstrip scale

9 years agoMerge "Fix filmstrip item bounds to filmstrip scale" into ub-camera-glacier
Alan Newberger [Tue, 23 Sep 2014 16:43:58 +0000 (16:43 +0000)]
Merge "Fix filmstrip item bounds to filmstrip scale" into ub-camera-glacier

9 years agoam 7e08f366: am 9f3628da: am 5f86f7fd: Cleanup gesture UI hide code
Alan Newberger [Tue, 23 Sep 2014 00:53:41 +0000 (00:53 +0000)]
am 7e08f366: am 9f3628da: am 5f86f7fd: Cleanup gesture UI hide code

* commit '7e08f3666544edb0fc096a78e82ebc4070674527':
  Cleanup gesture UI hide code

9 years agoam 34920701: am 8f1ffed7: am b2b0e02c: Clean up unused code
Alan Newberger [Tue, 23 Sep 2014 00:53:41 +0000 (00:53 +0000)]
am 34920701: am 8f1ffed7: am b2b0e02c: Clean up unused code

* commit '349207016a09a174c6a4a8c5b2698cdd11145183':
  Clean up unused code

9 years agoam 9f3628da: am 5f86f7fd: Cleanup gesture UI hide code
Alan Newberger [Tue, 23 Sep 2014 00:44:43 +0000 (00:44 +0000)]
am 9f3628da: am 5f86f7fd: Cleanup gesture UI hide code

* commit '9f3628da2cbef7db47e5f9f5e0e2f69a451ee4b9':
  Cleanup gesture UI hide code

9 years agoam 8f1ffed7: am b2b0e02c: Clean up unused code
Alan Newberger [Tue, 23 Sep 2014 00:44:42 +0000 (00:44 +0000)]
am 8f1ffed7: am b2b0e02c: Clean up unused code

* commit '8f1ffed79db5d7e17f56501b5d62157846fb55bd':
  Clean up unused code

9 years agoam 5f86f7fd: Cleanup gesture UI hide code
Alan Newberger [Tue, 23 Sep 2014 00:35:31 +0000 (00:35 +0000)]
am 5f86f7fd: Cleanup gesture UI hide code

* commit '5f86f7fdd19dad9cdf670e0504cfaddefd4a89fc':
  Cleanup gesture UI hide code

9 years agoam b2b0e02c: Clean up unused code
Alan Newberger [Tue, 23 Sep 2014 00:35:30 +0000 (00:35 +0000)]
am b2b0e02c: Clean up unused code

* commit 'b2b0e02cb5f0aba8fed9389193fa98150da75efc':
  Clean up unused code

9 years agoCleanup gesture UI hide code
Alan Newberger [Mon, 22 Sep 2014 19:30:08 +0000 (12:30 -0700)]
Cleanup gesture UI hide code

Relocate show/hide of zoom UI in the onScaleBegin/onScaleEnd classes.

Bug: 17613719

Change-Id: I400161c95c08c7f3b6b36487de703296236595bb

9 years agoClean up unused code
Alan Newberger [Mon, 22 Sep 2014 19:05:56 +0000 (12:05 -0700)]
Clean up unused code

This UI code is completely unused, and has no reference from rest of
app. Delete for cleanup.

Bug: 17613719

Change-Id: I1d9d443ef6642cd434725fe71e59fa0220258789

9 years agomonkey test NPE fix, another null check on mCameraDevice
Spike Sprague [Mon, 22 Sep 2014 17:52:32 +0000 (10:52 -0700)]
monkey test NPE fix, another null check on mCameraDevice

bug: 17604028
Change-Id: I7b45c101045b765562146ebe2c779e227a6227bd

9 years agoFix filmstrip item bounds to filmstrip scale
Alan Newberger [Sun, 21 Sep 2014 23:11:29 +0000 (16:11 -0700)]
Fix filmstrip item bounds to filmstrip scale

There's no reason to scale filmstrip items to anything other
than the fixed filmstrip scale, and doing otherwise interferes
with Glide caching and introduces flickers upon zoom.

Bug: 17597708
Change-Id: Ia143b4d95a48e9e23bbf36ec0edf93599caaa01b

9 years agoam 67bcd21a: (-s ours) am 82da5e95: (-s ours) am 02758e4c: (-s ours) Merge "Import...
Baligh Uddin [Fri, 19 Sep 2014 23:03:13 +0000 (23:03 +0000)]
am 67bcd21a: (-s ours) am 82da5e95: (-s ours) am 02758e4c: (-s ours) Merge "Import translations. DO NOT MERGE" into ub-camera-glacier

* commit '67bcd21a8245e4f478dd581085902a644dfeacdf':
  Import translations. DO NOT MERGE

9 years agoam 82da5e95: (-s ours) am 02758e4c: (-s ours) Merge "Import translations. DO NOT...
Baligh Uddin [Fri, 19 Sep 2014 22:54:21 +0000 (22:54 +0000)]
am 82da5e95: (-s ours) am 02758e4c: (-s ours) Merge "Import translations. DO NOT MERGE" into ub-camera-glacier

* commit '82da5e9543cf97c5e25a78b90ae94ea9cb32f5ee':
  Import translations. DO NOT MERGE

9 years agoam 5b88b83a: am 284a9b48: am 30ae8c64: Merge "Changed tap-to-meter rectangle and...
Jiawen Chen [Fri, 19 Sep 2014 22:47:40 +0000 (22:47 +0000)]
am 5b88b83a: am 284a9b48: am 30ae8c64: Merge "Changed tap-to-meter rectangle and weights." into ub-camera-glacier

* commit '5b88b83ac82974c0b80343175c29644d226ee772':
  Changed tap-to-meter rectangle and weights.

9 years agoam 5628cfde: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-sprout-dev
Baligh Uddin [Fri, 19 Sep 2014 22:47:40 +0000 (22:47 +0000)]
am 5628cfde: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-sprout-dev

* commit '5628cfde3c815fdfd6814be94c536dedd69e79e9':
  Import translations. DO NOT MERGE

9 years agoam 02758e4c: (-s ours) Merge "Import translations. DO NOT MERGE" into ub-camera-glacier
Baligh Uddin [Fri, 19 Sep 2014 22:43:59 +0000 (22:43 +0000)]
am 02758e4c: (-s ours) Merge "Import translations. DO NOT MERGE" into ub-camera-glacier

* commit '02758e4c60ea1ff5a78c6d7d8d77ee353a2bf6f5':
  Import translations. DO NOT MERGE

9 years agoam 284a9b48: am 30ae8c64: Merge "Changed tap-to-meter rectangle and weights." into...
Jiawen Chen [Fri, 19 Sep 2014 22:42:45 +0000 (22:42 +0000)]
am 284a9b48: am 30ae8c64: Merge "Changed tap-to-meter rectangle and weights." into ub-camera-glacier

* commit '284a9b48c896d4435362e7f757885b47ff748a1b':
  Changed tap-to-meter rectangle and weights.

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-sprout-dev
Baligh Uddin [Fri, 19 Sep 2014 22:33:41 +0000 (22:33 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-sprout-dev

9 years agoMerge "Import translations. DO NOT MERGE" into ub-camera-glacier
Baligh Uddin [Fri, 19 Sep 2014 22:33:35 +0000 (22:33 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-camera-glacier

9 years agoam 30ae8c64: Merge "Changed tap-to-meter rectangle and weights." into ub-camera-glacier
Jiawen Chen [Fri, 19 Sep 2014 22:28:39 +0000 (22:28 +0000)]
am 30ae8c64: Merge "Changed tap-to-meter rectangle and weights." into ub-camera-glacier

* commit '30ae8c64cec9313fc050daf94ae3fbddedf80b36':
  Changed tap-to-meter rectangle and weights.

9 years agoMerge "Changed tap-to-meter rectangle and weights." into ub-camera-glacier
Jiawen Chen [Fri, 19 Sep 2014 22:17:29 +0000 (22:17 +0000)]
Merge "Changed tap-to-meter rectangle and weights." into ub-camera-glacier

9 years agoam 14f9d310: am 40b52050: am e684ea54: Merge "Fix CameraSettingsActivityHelper" into...
Alan Newberger [Fri, 19 Sep 2014 21:27:03 +0000 (21:27 +0000)]
am 14f9d310: am 40b52050: am e684ea54: Merge "Fix CameraSettingsActivityHelper" into ub-camera-glacier

* commit '14f9d3102161b59b46988cd6bfd48ff3b2a6aa7a':
  Fix CameraSettingsActivityHelper

9 years agoam 545c313a: am 94cd6522: am 19942a17: Merge "implement new trash icon, plus some...
Spike Sprague [Fri, 19 Sep 2014 21:27:02 +0000 (21:27 +0000)]
am 545c313a: am 94cd6522: am 19942a17: Merge "implement new trash icon, plus some asset cleanup" into ub-camera-glacier

* commit '545c313a87e04b6a66888359144dbe91e7e62311':
  implement new trash icon, plus some asset cleanup

9 years agoam 40b52050: am e684ea54: Merge "Fix CameraSettingsActivityHelper" into ub-camera...
Alan Newberger [Fri, 19 Sep 2014 21:14:45 +0000 (21:14 +0000)]
am 40b52050: am e684ea54: Merge "Fix CameraSettingsActivityHelper" into ub-camera-glacier

* commit '40b52050078c664295b7bb830110587e64119bbb':
  Fix CameraSettingsActivityHelper

9 years agoam 94cd6522: am 19942a17: Merge "implement new trash icon, plus some asset cleanup...
Spike Sprague [Fri, 19 Sep 2014 21:14:44 +0000 (21:14 +0000)]
am 94cd6522: am 19942a17: Merge "implement new trash icon, plus some asset cleanup" into ub-camera-glacier

* commit '94cd65226208eed1b9f350d0b8f5e8b82fa39290':
  implement new trash icon, plus some asset cleanup

9 years agoam e684ea54: Merge "Fix CameraSettingsActivityHelper" into ub-camera-glacier
Alan Newberger [Fri, 19 Sep 2014 21:03:32 +0000 (21:03 +0000)]
am e684ea54: Merge "Fix CameraSettingsActivityHelper" into ub-camera-glacier

* commit 'e684ea54121ef885a0aa84cd3bea50c5a345d55e':
  Fix CameraSettingsActivityHelper

9 years agoam 19942a17: Merge "implement new trash icon, plus some asset cleanup" into ub-camera...
Spike Sprague [Fri, 19 Sep 2014 21:03:31 +0000 (21:03 +0000)]
am 19942a17: Merge "implement new trash icon, plus some asset cleanup" into ub-camera-glacier

* commit '19942a171844d6bd361026a6b8df2eebaa0661db':
  implement new trash icon, plus some asset cleanup

9 years agoMerge "Fix CameraSettingsActivityHelper" into ub-camera-glacier
Alan Newberger [Fri, 19 Sep 2014 20:59:46 +0000 (20:59 +0000)]
Merge "Fix CameraSettingsActivityHelper" into ub-camera-glacier

9 years agoMerge "implement new trash icon, plus some asset cleanup" into ub-camera-glacier
Spike Sprague [Fri, 19 Sep 2014 20:54:55 +0000 (20:54 +0000)]
Merge "implement new trash icon, plus some asset cleanup" into ub-camera-glacier

9 years agoam 7a133b82: am baae9e84: am 8bbb5122: Merge "add null check to updateCameraParameter...
Spike Sprague [Fri, 19 Sep 2014 19:57:07 +0000 (19:57 +0000)]
am 7a133b82: am baae9e84: am 8bbb5122: Merge "add null check to updateCameraParametersPreferences to apease the monkey" into ub-camera-glacier

* commit '7a133b82a571188d56a4aa8b7773af5dffa11f6f':
  add null check to updateCameraParametersPreferences to apease the monkey

9 years agoam baae9e84: am 8bbb5122: Merge "add null check to updateCameraParametersPreferences...
Spike Sprague [Fri, 19 Sep 2014 19:32:08 +0000 (19:32 +0000)]
am baae9e84: am 8bbb5122: Merge "add null check to updateCameraParametersPreferences to apease the monkey" into ub-camera-glacier

* commit 'baae9e8478990258edc7e6d014a68e0796859de9':
  add null check to updateCameraParametersPreferences to apease the monkey

9 years agoam 8bbb5122: Merge "add null check to updateCameraParametersPreferences to apease...
Spike Sprague [Fri, 19 Sep 2014 18:30:27 +0000 (18:30 +0000)]
am 8bbb5122: Merge "add null check to updateCameraParametersPreferences to apease the monkey" into ub-camera-glacier

* commit '8bbb51221106c12b0cf7e933fc2af2a63b84b1c1':
  add null check to updateCameraParametersPreferences to apease the monkey

9 years agoMerge "add null check to updateCameraParametersPreferences to apease the monkey"...
Spike Sprague [Fri, 19 Sep 2014 18:22:56 +0000 (18:22 +0000)]
Merge "add null check to updateCameraParametersPreferences to apease the monkey" into ub-camera-glacier

9 years agoadd null check to updateCameraParametersPreferences to apease the monkey
Spike Sprague [Fri, 19 Sep 2014 18:18:46 +0000 (11:18 -0700)]
add null check to updateCameraParametersPreferences to apease the monkey

bug: 17580046
Change-Id: I4a109c1134684f6d5b2dafdb138137ef36f208f0

9 years agoam 3c1f4c48: am 476a9e24: am 963775c3: portability layer doesn\'t work well with...
Spike Sprague [Fri, 19 Sep 2014 06:48:59 +0000 (06:48 +0000)]
am 3c1f4c48: am 476a9e24: am 963775c3: portability layer doesn\'t work well with startPreviewWithCallback() here\'s a dirty dirty workaround.

* commit '3c1f4c48c69d8946d2ff65bf4b30e48e8124fded':
  portability layer doesn't work well with startPreviewWithCallback() here's a dirty dirty workaround.

9 years agoam 476a9e24: am 963775c3: portability layer doesn\'t work well with startPreviewWithC...
Spike Sprague [Fri, 19 Sep 2014 06:38:51 +0000 (06:38 +0000)]
am 476a9e24: am 963775c3: portability layer doesn\'t work well with startPreviewWithCallback() here\'s a dirty dirty workaround.

* commit '476a9e2490d91a125fc608d4e4b4b31768b65ee7':
  portability layer doesn't work well with startPreviewWithCallback() here's a dirty dirty workaround.

9 years agoam 963775c3: portability layer doesn\'t work well with startPreviewWithCallback(...
Spike Sprague [Fri, 19 Sep 2014 06:19:18 +0000 (06:19 +0000)]
am 963775c3: portability layer doesn\'t work well with startPreviewWithCallback() here\'s a dirty dirty workaround.

* commit '963775c3092e2553ae8157df9e5d307d4f711de1':
  portability layer doesn't work well with startPreviewWithCallback() here's a dirty dirty workaround.

9 years agoportability layer doesn't work well with startPreviewWithCallback()
Spike Sprague [Fri, 19 Sep 2014 02:44:07 +0000 (19:44 -0700)]
portability layer doesn't work well with startPreviewWithCallback()
here's a dirty dirty workaround.

bug: 17576554
Change-Id: Ief40b65ce49712153f6ef604a3513348e493d4d9

9 years agoam f18e95bc: am af25fb04: am 3c3b31df: mode switch jank fixes
Spike Sprague [Thu, 18 Sep 2014 20:34:07 +0000 (20:34 +0000)]
am f18e95bc: am af25fb04: am 3c3b31df: mode switch jank fixes

* commit 'f18e95bc5548f9c05e4debd47d43cc9d2be0655d':
  mode switch jank fixes

9 years agoam af25fb04: am 3c3b31df: mode switch jank fixes
Spike Sprague [Thu, 18 Sep 2014 20:20:46 +0000 (20:20 +0000)]
am af25fb04: am 3c3b31df: mode switch jank fixes

* commit 'af25fb04968d9212ec47367f6ba78ee20ca76d05':
  mode switch jank fixes

9 years agoam 3c3b31df: mode switch jank fixes
Spike Sprague [Thu, 18 Sep 2014 20:11:13 +0000 (20:11 +0000)]
am 3c3b31df: mode switch jank fixes

* commit '3c3b31dfd5ec7a43e89cd4695cc8c498afc3a91d':
  mode switch jank fixes

9 years agomode switch jank fixes
Spike Sprague [Mon, 8 Sep 2014 17:43:04 +0000 (10:43 -0700)]
mode switch jank fixes

puts many ValueAnimators news into initialize methods
changes startPreview() calls to startPreviewWithCallback()
puts MultToggleImageButton's bitmap combine into an AsyncTask

bug: 17070332
Change-Id: Idea6396264588b345ed27b9f96f9434ff3e7e77c

9 years agoimplement new trash icon, plus some asset cleanup
Spike Sprague [Thu, 18 Sep 2014 17:52:35 +0000 (10:52 -0700)]
implement new trash icon, plus some asset cleanup

bug: 17566685
Change-Id: Ia7b55ad3b6fed939c19abcde12cbf34726ba919c

9 years agoChanged tap-to-meter rectangle and weights.
Jiawen Chen [Wed, 17 Sep 2014 00:05:37 +0000 (17:05 -0700)]
Changed tap-to-meter rectangle and weights.

Bug: 17417649

- Clarified widths in Settings3A.
  - For Gcam only, reduced AE box to 12.25% of the shorter edge of the crop
  rectangle. This matches the setting on Nexus 5.
  - For Gcam only, changed AE weight to 22 after consultations with Ryan.
  - Tested with Gcam and it final shots look great in HDR scenes.
- Does not fully address b/17417649: ISP AE ignores the weight completely and
  overcompensates for the tap region.
- Changed AutoFocusHelper to take touch points in normalized portrait
  coordinates along with a sensor orientation. The output is a MeteringRectangle
  in sensor pixels.
  - Fixed a bug where a digital-zoomed tap doesn't work when the rect intersects
    edges. It should have been clamp, not check for intersection and return the
    full crop rectangle if it doesn't intersect.

- Submit simultaneously with ag/549706.

Change-Id: If084e64ecbfc4a08ece96a7cebfcaf835d92b9d1

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 17 Sep 2014 04:45:54 +0000 (21:45 -0700)]
Import translations. DO NOT MERGE

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

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 17 Sep 2014 04:43:27 +0000 (21:43 -0700)]
Import translations. DO NOT MERGE

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

9 years agoFix CameraSettingsActivityHelper
Alan Newberger [Wed, 17 Sep 2014 03:54:56 +0000 (20:54 -0700)]
Fix CameraSettingsActivityHelper

Previous hack to allow activity up button to work, interfered with
custom preference merging we use to conditonally add items to
Settings. Now fixed by allowing internal control of whether the
full preference tree is returned by the fragment or just the
desired subtree, so that the Helper can access the full tree.

Bug: 17534830
Change-Id: I11510f365b9e212f07009b2233bb5d8036228774

9 years agoam 56d1c6bd: (-s ours) am 9a275f5e: (-s ours) Merge "Import translations. DO NOT...
Baligh Uddin [Tue, 16 Sep 2014 16:50:34 +0000 (16:50 +0000)]
am 56d1c6bd: (-s ours) am 9a275f5e: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-dev

* commit '56d1c6bdbf75d851078a08b755d7895c70b6b053':
  Import translations. DO NOT MERGE

9 years agoam b99765c2: am 0d7a8c08: am 6f1dfe69: Merge "Don\'t set mCameraAppUI to null in...
Puneet Lall [Tue, 16 Sep 2014 16:46:45 +0000 (16:46 +0000)]
am b99765c2: am 0d7a8c08: am 6f1dfe69: Merge "Don\'t set mCameraAppUI to null in onDestroy" into ub-camera-glacier

* commit 'b99765c252c9410e232fe8747553f549c5417540':
  Don't set mCameraAppUI to null in onDestroy

9 years agoam 778c50fc: am ad1462a9: am a16219d5: set proper alpha on shutter button on mode...
Spike Sprague [Tue, 16 Sep 2014 16:46:44 +0000 (16:46 +0000)]
am 778c50fc: am ad1462a9: am a16219d5: set proper alpha on shutter button on mode switch, eliminates a janky alpha flash

* commit '778c50fc562c12f794a0d3b65317c719ce8f1425':
  set proper alpha on shutter button on mode switch, eliminates a janky alpha flash

9 years agoam 9a275f5e: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Tue, 16 Sep 2014 15:32:08 +0000 (15:32 +0000)]
am 9a275f5e: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-dev

* commit '9a275f5eed1e0b6fdcafd9fdd42cd2568db2cfc6':
  Import translations. DO NOT MERGE

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Tue, 16 Sep 2014 15:20:49 +0000 (15:20 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoam 0d7a8c08: am 6f1dfe69: Merge "Don\'t set mCameraAppUI to null in onDestroy" into...
Puneet Lall [Tue, 16 Sep 2014 08:36:05 +0000 (08:36 +0000)]
am 0d7a8c08: am 6f1dfe69: Merge "Don\'t set mCameraAppUI to null in onDestroy" into ub-camera-glacier

* commit '0d7a8c08446f94264870538f76bc0c2846e0dd48':
  Don't set mCameraAppUI to null in onDestroy

9 years agoam ad1462a9: am a16219d5: set proper alpha on shutter button on mode switch, eliminat...
Spike Sprague [Tue, 16 Sep 2014 08:32:02 +0000 (08:32 +0000)]
am ad1462a9: am a16219d5: set proper alpha on shutter button on mode switch, eliminates a janky alpha flash

* commit 'ad1462a9492cdf9e98bb0c94cdd4b6c89e0dd47f':
  set proper alpha on shutter button on mode switch, eliminates a janky alpha flash

9 years agoam 6f1dfe69: Merge "Don\'t set mCameraAppUI to null in onDestroy" into ub-camera...
Puneet Lall [Tue, 16 Sep 2014 08:21:16 +0000 (08:21 +0000)]
am 6f1dfe69: Merge "Don\'t set mCameraAppUI to null in onDestroy" into ub-camera-glacier

* commit '6f1dfe69b93bfb42c11d456901e9d3ffee826cce':
  Don't set mCameraAppUI to null in onDestroy

9 years agoMerge "Don't set mCameraAppUI to null in onDestroy" into ub-camera-glacier
Puneet Lall [Mon, 15 Sep 2014 21:41:55 +0000 (21:41 +0000)]
Merge "Don't set mCameraAppUI to null in onDestroy" into ub-camera-glacier

9 years agoDon't set mCameraAppUI to null in onDestroy
Puneet Lall [Mon, 15 Sep 2014 18:29:59 +0000 (11:29 -0700)]
Don't set mCameraAppUI to null in onDestroy

BUG: 17408047

Note that we originally set this to null to address BUG: 12805279
which involved leaking Views.  However, this has regressed and will
require another look regardless.  The number of views leaked
with and without the null assignment is the same, so this change
does not make the regression any worse.

Change-Id: If90aeebb081073eb4f5b928919fc67ef710e1054

9 years agoam a16219d5: set proper alpha on shutter button on mode switch, eliminates a janky...
Spike Sprague [Mon, 15 Sep 2014 19:26:53 +0000 (19:26 +0000)]
am a16219d5: set proper alpha on shutter button on mode switch, eliminates a janky alpha flash

* commit 'a16219d51937bda5f3e69c0e77171ae0fb893823':
  set proper alpha on shutter button on mode switch, eliminates a janky alpha flash