Commit Graph

9793 Commits

Author SHA1 Message Date
Eino-Ville Talvala
ab463b3ece EmulatedFakeCamera2: Support construct_default_request HAL method.
Bug: 6243944

Change-Id: I888fefae0b08532862171323774808cf241cdad1
2012-05-15 14:56:54 -07:00
Eino-Ville Talvala
bb54bb03ec EmulatedFakeCamera2: Update to match camera_metadata changes
Bug: 6243944
Change-Id: I3ff301829827b7e694c371efe7915667d9a66493
2012-05-14 18:08:18 -07:00
Eino-Ville Talvala
7479f77186 Merge "Add minimal operation to new fake camera emulator." 2012-05-14 18:03:37 -07:00
Brett Chabot
d2d16091aa Fix Eclipse classpath.
Remove Exchange/src, and add junit-runner.

Change-Id: I786a8732bf78413e96454f2201edc75f9ab639ac
2012-05-11 14:27:28 -07:00
Eino-Ville Talvala
61fbf61670 Add minimal operation to new fake camera emulator.
- Rework to match latest camera 2 HAL.

- Somewhat realistic scene lighting simulation, for allowing a
  realistic range of exposure and gain values.

- Supports raw Bayer sensor data only, at 640x480

- Only one stream configurable

- No support for reprocessing, 3A, flash, YUV, JPEG, etc

Bug: 6243944
Change-Id: I14fbad58ffeff37162c56d9daff7e4f75ab879c3
2012-05-10 16:23:28 -07:00
Dianne Hackborn
eea5f58180 am 47c76a81: am f2bc2a02: Work on issue #6475693 OnSystemUiVisibilityChangeListener reporting...
* commit '47c76a815cc978e30c7b64708879d6175b129b0f':
  Work on issue #6475693 OnSystemUiVisibilityChangeListener reporting...
2012-05-10 15:38:22 -07:00
Dianne Hackborn
47c76a815c am f2bc2a02: Work on issue #6475693 OnSystemUiVisibilityChangeListener reporting...
* commit 'f2bc2a024cbcf12500c598dc97f71cfcb0168007':
  Work on issue #6475693 OnSystemUiVisibilityChangeListener reporting...
2012-05-10 15:36:09 -07:00
Dianne Hackborn
f2bc2a024c Work on issue #6475693 OnSystemUiVisibilityChangeListener reporting...
...incorrect visibility when the ActionBar overflow menu is opened

Improve API demos.

Change-Id: I3e831152a0dbb56270a80cf58e9441b55059c884
2012-05-10 15:26:52 -07:00
Jean-Michel Trivi
0d6a581375 am 33783712: am f6b7dd7e: Merge "Add FLAC encoder to the list of media codecs." into jb-dev
* commit '3378371247ce4c4ac9b40325b411005de5a554ca':
  Add FLAC encoder to the list of media codecs.
2012-05-10 11:57:03 -07:00
Jean-Michel Trivi
3378371247 am f6b7dd7e: Merge "Add FLAC encoder to the list of media codecs." into jb-dev
* commit 'f6b7dd7e7d6cd9c8ee18f6b8c9fba2f26a50bd35':
  Add FLAC encoder to the list of media codecs.
2012-05-10 10:45:17 -07:00
Jean-Michel Trivi
f6b7dd7e7d Merge "Add FLAC encoder to the list of media codecs." into jb-dev 2012-05-10 09:55:15 -07:00
Jean-Michel Trivi
cb62e8bf28 Add FLAC encoder to the list of media codecs.
Bug 5525503

Change-Id: I2326bfec38dbbb641d8c32f5dee98da9da6c3a83
2012-05-09 15:54:27 -07:00
Xavier Ducrohet
1af872f6cf am 1ccd581a: am 6bd1ae5e: Fix skin.
* commit '1ccd581a94fed7a92b8d2d63cf590f34a533e4a7':
  Fix skin.
2012-05-09 01:55:08 -07:00
Xavier Ducrohet
1ccd581a94 am 6bd1ae5e: Fix skin.
* commit '6bd1ae5e75a7ac67a72d15d6f0900284eaa4ea51':
  Fix skin.
2012-05-09 01:45:28 -07:00
Xavier Ducrohet
6bd1ae5e75 Fix skin.
Bug: 6447905

Change-Id: I50779c5c343ed9f0bf432336b861153e9b047f07
2012-05-07 18:14:36 -07:00
Xavier Ducrohet
4f39b9bf12 Fix skin.
Change-Id: I50779c5c343ed9f0bf432336b861153e9b047f07
2012-05-07 17:15:14 -07:00
Guang Zhu
7969e2fd95 am 5cbd4839: Merge "more fixes to monkey motion event timing" into jb-dev
* commit '5cbd4839f28b5f33573e926e24c204036c7baa73':
  more fixes to monkey motion event timing
2012-05-06 17:15:34 -07:00
Guang Zhu
5cbd4839f2 Merge "more fixes to monkey motion event timing" into jb-dev 2012-05-06 17:13:21 -07:00
Dianne Hackborn
f56f5e4a46 am f5d3a23d: Improvements to system UI demos.
* commit 'f5d3a23dee245962af09d7e97bb3e4080e6d5c39':
  Improvements to system UI demos.
2012-05-06 12:52:24 -07:00
Dianne Hackborn
f5d3a23dee Improvements to system UI demos.
- Content browser now lets you long press to go into selection mode.
- Overscan demo has more options for controlling more window state.

Change-Id: I04cfb58f515882cc6dccd65cb68bc073e53dcad5
2012-05-06 12:44:34 -07:00
Guang Zhu
77dc0d2eab more fixes to monkey motion event timing
Last attempt to fix ACTION_MOVE ended up breaking stuff
elsewhere.

For a touch based gesture, it usually have a group of motion
events, and typically they have the same down time and individual
event times. Example: a tap should have ACTION_DOWN with same
down time and event time, and subsequent ACTION_UP should have
the same down time as previous one, but a fresh event time.
Similar situation applies to ACTION_DOWN, ACTION_MOVEs,
ACTION_UP sequence of a drag/scroll/fling gesture

In addition, a 5ms delay is added for a tap between DOWN and
UP. And a 5ms delay is added for each injected event in a drag
gesture

Change-Id: I8e65e578152b1c1ff1fa4c0f476ef45806826479
2012-05-04 14:06:50 -07:00
Trevor Johns
37f155bca5 am ccbf6813: am 90e9900c: Merge "Modified Snake Sample app to run on non-touch devices like Google Tv and also devices with no dpad support"
* commit 'ccbf6813f655e4db84671796c0da15b208c4d54b':
  Modified Snake Sample app to run on non-touch devices like Google Tv and also devices with no dpad support
2012-05-04 09:19:07 -07:00
Trevor Johns
ccbf6813f6 am 90e9900c: Merge "Modified Snake Sample app to run on non-touch devices like Google Tv and also devices with no dpad support"
* commit '90e9900c444dc1270646c6d0190e4e7b48a89665':
  Modified Snake Sample app to run on non-touch devices like Google Tv and also devices with no dpad support
2012-05-03 19:34:32 -07:00
Trevor Johns
90e9900c44 Merge "Modified Snake Sample app to run on non-touch devices like Google Tv and also devices with no dpad support" 2012-05-03 18:30:25 -07:00
Andrew Hsieh
3d1461454c am 7d8febcb: am 56849da6: Merge "[MIPS] Import signal.h from bionic. This version fixes the warning emitted by the toolchain"
* commit '7d8febcb1a8c2c0b5a77e6d78c7637433a83071c':
  [MIPS] Import signal.h from bionic. This version fixes the warning emitted by the toolchain
2012-05-02 20:07:52 -07:00
Andrew Hsieh
7d8febcb1a am 56849da6: Merge "[MIPS] Import signal.h from bionic. This version fixes the warning emitted by the toolchain"
* commit '56849da62cb54b9ea105895b2d65e5f40328fa41':
  [MIPS] Import signal.h from bionic. This version fixes the warning emitted by the toolchain
2012-05-02 20:06:03 -07:00
Andrew Hsieh
56849da62c Merge "[MIPS] Import signal.h from bionic. This version fixes the warning emitted by the toolchain" 2012-05-02 19:32:35 -07:00
Raghu Gandham
ae9a5f960c [MIPS] Import signal.h from bionic. This version fixes the
warning emitted by the toolchain
2012-05-02 18:46:58 -07:00
Andy Stadler
23cad5aa2d am a8863a96: Eclipse classpath cleanup
* commit 'a8863a96142779d89b65f71a5cab4e2ad1e6fd97':
  Eclipse classpath cleanup
2012-05-02 11:44:18 -07:00
Andy Stadler
a8863a9614 Eclipse classpath cleanup
- removed UnifiedEmail, not used in JB
- updated references to media/mca packages, which moved
- libcore junit stuff is now accessed via a library, built from external

Bug: 5584451
Change-Id: Ia5358c66ba191a3a08fea731ad5d8ba3e93c1f89
2012-05-02 11:32:16 -07:00
Kartic Grover
a1843415aa Modified Snake Sample app to run on non-touch devices like Google Tv and also devices with no dpad support
2D canvas DrawVertex to create a vector graphic background
touch & keypad playable
landscape & portrait for all known device sizes.  All measurements in DP and nicely scaling.
using xml drawables to rotate "dpad" arrow

Change-Id: I995acaaf0935c13c03fcbcf974ce5af06f46780e
2012-05-02 09:43:34 -07:00
Adam Powell
c774a88a24 am ffb145ce: Follow framework API change in TaskStackBuilder
* commit 'ffb145cea250808c2a72108c915ae04bd15d3833':
  Follow framework API change in TaskStackBuilder
2012-05-01 19:14:31 -07:00
Adam Powell
ffb145cea2 Follow framework API change in TaskStackBuilder
Change-Id: I8d83c2a680b2004fded46630166fc1f9b09a5038
2012-05-01 18:34:30 -07:00
Guang Zhu
e9a60f3c8e am 8749a298: fix how monkey adjust timestamps for motion events
* commit '8749a298c0a94df8fc511bdd08fef4a59d0fadf7':
  fix how monkey adjust timestamps for motion events
2012-05-01 16:11:17 -07:00
Trevor Johns
c3a688b27d am 5cee3da1: am b2c1343d: Merge "Changes in some of the Android samples to support Google TV"
* commit '5cee3da1342301d1f3766a210416af4c510dd480':
  Changes in some of the Android samples to support Google TV
2012-05-01 15:34:52 -07:00
Trevor Johns
5cee3da134 am b2c1343d: Merge "Changes in some of the Android samples to support Google TV"
* commit 'b2c1343d418a034309bdd14db16bf669de394c98':
  Changes in some of the Android samples to support Google TV
2012-05-01 15:33:10 -07:00
Guang Zhu
8749a298c0 fix how monkey adjust timestamps for motion events
Currently for motion events, monkey forces current system uptime
onto both down time and event time. This breaks ACTION_MOVE
events because the down time of it is supposed to be the time
when finger is down.

the new logic is:
* check down time, if it's invalid (<0), fill in uptime
* always update event time with a fresh uptime

Bug: 6424997

Change-Id: I0b445815a5015d48c08bebc921c572164874449d
2012-05-01 13:57:57 -07:00
Trevor Johns
b2c1343d41 Merge "Changes in some of the Android samples to support Google TV" 2012-05-01 13:02:01 -07:00
Robert Greenwalt
8449a7ce97 am 909ec2e1: Merge "Submit fixed script." into jb-dev
* commit '909ec2e1ae92618d5fd351cc23ee55f5693ab532':
  Submit fixed script.
2012-04-27 11:57:24 -07:00
Robert Greenwalt
909ec2e1ae Merge "Submit fixed script." into jb-dev 2012-04-27 11:55:27 -07:00
Robert Greenwalt
9089c7d7e5 Submit fixed script.
Not completely right - seems gubuntu/ubuntu both get unhappy after running
with the 'bridge' option and the PC's routes get hosed (right after the
script is run all is fine, but some agent then removes the routes on the
bridged iface and sets up routes on the native iface (eth0) and things on
the PC lose net access.  Note that you can manually reset the routes and make
it happy again).

The fix I applied to the script was related to turning on rndis on the device
and setting device side dns servers correctly so my 'fix' is not responsible
for the eventual unhappniess on the PC.  Also, the rev-tether continues
to work fine even when the PC is unhappy, so this may be useful.

Perhaps somebody can figure out who is changing the pc routes and why.

bug:4208971
Change-Id: I6ef6a88c71779b2083dad26a4be35ff74c26aae4
2012-04-27 10:45:07 -07:00
Dianne Hackborn
833019656d am 9cd16548: Add API demo for Activity.finishAffinity().
* commit '9cd165488b9ab08d7fae140e3f13dbceecc9d58b':
  Add API demo for Activity.finishAffinity().
2012-04-26 19:27:48 -07:00
Dianne Hackborn
9cd165488b Add API demo for Activity.finishAffinity().
Also fix text on some of the existing demos to use the nice
larger font.

Change-Id: I90d3815cd47cda08217cfc6307d64942f6750ae2
2012-04-26 18:57:13 -07:00
Jeff Brown
27e9f46d46 am 791babef: Merge "Fix Monkey key events." into jb-dev
* commit '791babeffccae04aace73fea4b09d59a8e1a0a92':
  Fix Monkey key events.
2012-04-26 13:53:10 -07:00
Jeff Brown
791babeffc Merge "Fix Monkey key events." into jb-dev 2012-04-26 13:51:08 -07:00
Jeff Brown
f63ed9b83c Fix Monkey key events.
Monkey should not be injecting keys with metastate of -1.
Cleaned up the code to ensure it doesn't happen and to make it more
obvious what's going on.

Bug: 6397645
Change-Id: I7339b2fe14edb0578005f93af1f803a0ae3dec96
2012-04-26 12:11:50 -07:00
James Dong
05bbfd06c5 am d71b64f6: Added software mpeg4 and h263 video encoder to sdk/emulator build
* commit 'd71b64f6c1503b1b3769dcaf76c2fa7a11de7492':
  Added software mpeg4 and h263 video encoder to sdk/emulator build
2012-04-26 11:58:21 -07:00
James Dong
d71b64f6c1 Added software mpeg4 and h263 video encoder to sdk/emulator build
o related-to-bug: 6401068

Change-Id: If0711b68e1f6be88b123fc8117be970c87bc1d8f
2012-04-25 18:12:43 -07:00
Kartic Grover
08bbdb6b21 Changes in some of the Android samples to support Google TV
Made changes in manifest files for 3 Android samples, namely ActionBarCompat, BackupRestore and CrossCompatibility for supporting Google TV devices. Changes related to making touchscreen support as optional and adding support for large screen devices was added.

Change-Id: Ie49b6fe94d750304b249b154b4bd9dffc3f789ee
2012-04-25 16:52:12 -07:00
Raphael Moll
e83c267f4b am 5b9f9e28: am 424c95da: Merge "SDK: Update sdk product library dependency list"
* commit '5b9f9e2852dfecedde177fce0fa5206e8cba249f':
  SDK: Update sdk product library dependency list
2012-04-25 15:59:49 -07:00