161150 Commits

Author SHA1 Message Date
Deepanshu Gupta
ae24a4e920 am 2b98abde: am 8f9ebc65: am 3bd5cbb1: Merge "Use right colors for status bar and nav bar." into lmp-dev
automerge: 5f77229

* commit '5f7722991ec80a4f93083cef6525ccc75221a9d0':
  Use right colors for status bar and nav bar.
2015-03-25 00:21:04 +00:00
Deepanshu Gupta
e1e8c5ee85 am 6fa9d554: am 0b76cf6f: am 34751c79: Merge "Better shadows." into lmp-dev
automerge: 43091cb

* commit '43091cbd204c7b563df5d9771e36a429c5e78c5f':
  Better shadows.
2015-03-25 00:20:56 +00:00
Deepanshu Gupta
abd4ce3a24 am 5bc625d8: am a62a18e3: am 311a0f54: Merge "Fix layoutlib tests." into lmp-dev
automerge: 360ac6f

* commit '360ac6f5610598eb6a841f285a3c42dc72198475':
  Fix layoutlib tests.
2015-03-25 00:20:48 +00:00
Deepanshu Gupta
56789fdb1a am 862f5900: am 44b5a1c8: am e541f350: Merge "Update JRE for runConfigurations." into lmp-dev
* commit '862f5900e8abce1cc20979a4dca76e1f0b982880':
  Update JRE for runConfigurations.
2015-03-25 00:08:31 +00:00
Deepanshu Gupta
590656314f am dbb38b30: (-s ours) am cbb4ec78: am 6f5fac81: Merge "Fix project settings. [DO NOT MERGE]" into lmp-dev
* commit 'dbb38b30612dc054ba3bf066f8528cccfceb47ad':
  Fix project settings. [DO NOT MERGE]
2015-03-25 00:08:28 +00:00
Deepanshu Gupta
92d46e594b am e97079d9: am a16bb347: am 44fea603: Merge "Fix RoundRect radius." into lmp-dev
* commit 'e97079d97a5c914d06c24cb9deda1da9bea88aeb':
  Fix RoundRect radius.
2015-03-25 00:08:23 +00:00
Deepanshu Gupta
5f7722991e am 2b98abde: am 8f9ebc65: am 3bd5cbb1: Merge "Use right colors for status bar and nav bar." into lmp-dev
* commit '2b98abde26aa2033562b48d635d6f2ba11c48908':
  Use right colors for status bar and nav bar.
2015-03-25 00:08:09 +00:00
Deepanshu Gupta
43091cbd20 am 6fa9d554: am 0b76cf6f: am 34751c79: Merge "Better shadows." into lmp-dev
* commit '6fa9d5546fa27665de3f64564897a77735b2a1b0':
  Better shadows.
2015-03-25 00:08:05 +00:00
Deepanshu Gupta
360ac6f561 am 5bc625d8: am a62a18e3: am 311a0f54: Merge "Fix layoutlib tests." into lmp-dev
* commit '5bc625d83d60fbb27ab2297051971be91fb3e415':
  Fix layoutlib tests.
2015-03-25 00:08:01 +00:00
Deepanshu Gupta
862f5900e8 am 44b5a1c8: am e541f350: Merge "Update JRE for runConfigurations." into lmp-dev
* commit '44b5a1c8471ef5e1cd3dcfffec5a9e439f228766':
  Update JRE for runConfigurations.
2015-03-25 00:02:18 +00:00
Deepanshu Gupta
dbb38b3061 am cbb4ec78: am 6f5fac81: Merge "Fix project settings. [DO NOT MERGE]" into lmp-dev
* commit 'cbb4ec78675c8179cdedafba1972ac062844c70a':
  Fix project settings. [DO NOT MERGE]
2015-03-25 00:02:06 +00:00
Deepanshu Gupta
e97079d97a am a16bb347: am 44fea603: Merge "Fix RoundRect radius." into lmp-dev
* commit 'a16bb347e120ba17e87f33ff0364380211d01baf':
  Fix RoundRect radius.
2015-03-25 00:01:58 +00:00
Deepanshu Gupta
2b98abde26 am 8f9ebc65: am 3bd5cbb1: Merge "Use right colors for status bar and nav bar." into lmp-dev
* commit '8f9ebc65939ed3ac2e7fdc135e8513fd8d65daaf':
  Use right colors for status bar and nav bar.
2015-03-25 00:01:53 +00:00
Deepanshu Gupta
6fa9d5546f am 0b76cf6f: am 34751c79: Merge "Better shadows." into lmp-dev
* commit '0b76cf6ff56c59a04783714d40163576e3081cf1':
  Better shadows.
2015-03-25 00:01:49 +00:00
Deepanshu Gupta
5bc625d83d am a62a18e3: am 311a0f54: Merge "Fix layoutlib tests." into lmp-dev
* commit 'a62a18e341180ccf6f5379a7d753584f6cee2e7c':
  Fix layoutlib tests.
2015-03-25 00:01:43 +00:00
Deepanshu Gupta
44b5a1c847 am e541f350: Merge "Update JRE for runConfigurations." into lmp-dev
* commit 'e541f35055709ec43407649b8517639ff00e42d6':
  Update JRE for runConfigurations.
2015-03-24 23:55:18 +00:00
Deepanshu Gupta
cbb4ec7867 am 6f5fac81: Merge "Fix project settings. [DO NOT MERGE]" into lmp-dev
* commit '6f5fac817abee63d9211e8e43646196950c43707':
  Fix project settings. [DO NOT MERGE]
2015-03-24 23:55:14 +00:00
Deepanshu Gupta
a16bb347e1 am 44fea603: Merge "Fix RoundRect radius." into lmp-dev
* commit '44fea60376e4e851b07eb365fd581c5b9404611f':
  Fix RoundRect radius.
2015-03-24 23:55:10 +00:00
Deepanshu Gupta
8f9ebc6593 am 3bd5cbb1: Merge "Use right colors for status bar and nav bar." into lmp-dev
* commit '3bd5cbb1f3d837d7799fb4b33b4dda99adbeeeb4':
  Use right colors for status bar and nav bar.
2015-03-24 23:55:06 +00:00
Deepanshu Gupta
0b76cf6ff5 am 34751c79: Merge "Better shadows." into lmp-dev
* commit '34751c79d6696054b19b5fd0e2946c1dbe5bd9bd':
  Better shadows.
2015-03-24 23:55:02 +00:00
Deepanshu Gupta
a62a18e341 am 311a0f54: Merge "Fix layoutlib tests." into lmp-dev
* commit '311a0f54ac95a1649474498748fff8327b0c917d':
  Fix layoutlib tests.
2015-03-24 23:54:58 +00:00
Deepanshu Gupta
e541f35055 Merge "Update JRE for runConfigurations." into lmp-dev 2015-03-24 23:52:29 +00:00
Deepanshu Gupta
6f5fac817a Merge "Fix project settings. [DO NOT MERGE]" into lmp-dev 2015-03-24 23:52:18 +00:00
Deepanshu Gupta
44fea60376 Merge "Fix RoundRect radius." into lmp-dev 2015-03-24 23:51:50 +00:00
Deepanshu Gupta
3bd5cbb1f3 Merge "Use right colors for status bar and nav bar." into lmp-dev 2015-03-24 23:51:30 +00:00
Deepanshu Gupta
34751c79d6 Merge "Better shadows." into lmp-dev 2015-03-24 23:51:11 +00:00
Deepanshu Gupta
311a0f54ac Merge "Fix layoutlib tests." into lmp-dev 2015-03-24 23:50:54 +00:00
Deepanshu Gupta
00c2adf5db Better shadows.
Better shadows for rectangles and rounded rectangles (includes circles).

The shadow painting code is mostly from CardView library, but modified
heavily since CardView needs to draw the shadow inside view bounds.

Change-Id: I88c9f19b1c16839b8d6db6df2bebff126fa5a9a3
2015-03-24 14:06:49 -07:00
Deepanshu Gupta
7c834296ac Fix RoundRect radius.
Android APIs use radius for measuring the corner's curvature, but Java2D
APIs use diameter. Add the missing conversion.

Change-Id: I630fc8712e8301324c641885c0c4adf644d13b7e
2015-03-24 11:43:39 -07:00
Eino-Ville Talvala
571864611b ImageReader: Switch to RAW16 from RAW_SENSOR
Change-Id: I6362a997b0895686f988896de0463d834354f238
2015-03-23 20:19:54 -07:00
Eino-Ville Talvala
3dd5a398fd Add DEPTH image formats, support in ImageReader
- Add an explicit mapping between public ImageFormat/
  PixelFormat enums and internal HAL format/dataspace.
- Add DEPTH16 and DEPTH_POINT_CLOUD formats
- Wire up mapping layer to ImageReader to support depth
  formats

Change-Id: I8197eccef900cc91baddcfcb934ccd4d8c972eff
2015-03-23 20:17:10 -07:00
Yin-Chia Yeh
981e056c01 Camera: update createStream API to add new rotation field
Change-Id: I0f4343a0bfa7bf09ba887c78a1da1c08daa35333
2015-03-23 19:44:37 -07:00
Yin-Chia Yeh
35286a2268 Camera: add @hide API for setting camera rotation
Only adding API header. Haven't filled in implementation.

Change-Id: I99a1c84d194dd20562845a0f566dd10ddb3041b7
2015-03-23 19:44:29 -07:00
Eino-Ville Talvala
0d6d03f111 Camera2: Add camera pose and distortion fields
- android.lens.info.poseRotation
- android.lens.info.poseTranslation
- android.lens.info.intrinsicCalibration
- android.lens.info.radialDistortion

Change-Id: I3f8cf258b600bc58d0743e44aa6c456cd4b8a906
2015-03-23 19:44:19 -07:00
Eino-Ville Talvala
838beb2a84 Camera2: Wire depth formats into StreamConfigurationMap
Change-Id: I9046b60dca83d090efd9c74c98bfdfebdeae8751
2015-03-23 19:44:10 -07:00
Eino-Ville Talvala
a2d90d326e Camera2: Remove unused parameters in ICameraDeviceUser#createStream
- width, height, format are unused

Change-Id: I26540aab1118108b0325df69cfa2dd23da41849b
2015-03-23 19:43:56 -07:00
Zhijun He
3e880a3648 camera2: update API txt for the API change
Change-Id: I4a9476849f5fde9dff669876bbdaf055bd3adc48
2015-03-23 19:41:41 -07:00
Zhijun He
72a26f7162 Camera2: update generated code
To solve the cherry-pick out of order issue.

Change-Id: If74a87005914dcd3fd15808482fcac4d0f70bae7
2015-03-23 19:41:33 -07:00
Martin Storsjo
e686047f53 camera2: Clarify the documentation on the ImageReader usecase
Uncompressed JPEG data is an oxymoron. Also mention the other
usecases for ImageReader.

Change-Id: I75261baf162a58c415705db99afa474c3826f900
2015-03-23 19:41:25 -07:00
Yin-Chia Yeh
950323e120 Camera2: framework updates for HAL3.3 keys
1. Return new keys in legacy shim
2. Codegened doc update from the spec change
3. Remove DISABLED mode from available scene mode list to ensure
   DISABLED is listed iff scene mode is not supported

Change-Id: If3dc74ea7e0fe6135722723f211024b604094f59
2015-03-23 19:41:18 -07:00
Eino-Ville Talvala
c93573c5f4 Camera2: Add hidden depth stream configuration tags
Change-Id: Iec1ceb894d90210bc3ab06acc92dcbbe42b74465
2015-03-23 19:41:10 -07:00
Chien-Yu Chen
19d26b3854 CameraManager: implement flashlight controls
Implement the flashlight controls and callbacks and update the
torch mode states.

Bug: 2682206
Change-Id: I59025f34f9ece75dd535166a25c428b8d68c6e4b
2015-03-23 19:41:00 -07:00
Chien-Yu Chen
7e3973c148 CameraManager: add torch mode APIs for flashlight
Add torch mode APIs to support flashlight without opening any
camera devices.

Bug: 2682206
Change-Id: Ifb66c309f23fd7e9f124016e0d9c6b364d19acdd
2015-03-23 19:40:53 -07:00
Zhijun He
712e5b8ec0 Camera2: add lens facing EXTERNAL enum
This is for usb camera support

Change-Id: Id8329e31ad0622bdc06c60e87e97c742a9719b3b
2015-03-23 19:40:45 -07:00
Zhijun He
de2e4d0130 Camera2: metadata spec update for reprocessing
Change-Id: I37eda90970eace23c42ba9106d4db1587df8d1b4
2015-03-23 19:40:37 -07:00
Yin-Chia Yeh
b8a93f3fc6 Camera: codegen doc update
Codegen doc update only.

Change-Id: I444d59effb957e58b14c363174693cd6c7c84ebd
2015-03-23 19:40:08 -07:00
Yin-Chia Yeh
8611f15c5a Camera2: lens shading related HAL3.3 update
Codegen doc update.

Change-Id: I0e997b3e6fde7636bef3accdd0f8b7b969d37afa
2015-03-23 19:40:00 -07:00
Zhijun He
42f617d0cf Camera2: add precapture trigger CANCEL
Bug: 19265647
Change-Id: I8f94ee5ace6dd3040ee2f350d589e24e53694f1b
2015-03-23 19:39:53 -07:00
Yin-Chia Yeh
63193a717f Camera2: doc update for HAL3.3 tonemapping change
Codegen doc change.

Change-Id: Idd5185767c177f3179e5833be3f42357a5ead25f
2015-03-23 19:39:43 -07:00
Pavel Zhamaitsiak
7aa0345fc4 Merge "Wi-Fi Calling: Update strings" into lmp-mr1-wfc-dev
automerge: eda354b

* commit 'eda354b7695a873dca210afb0c8516f8f3db164f':
  Wi-Fi Calling: Update strings
2015-03-23 22:12:04 +00:00