1870 Commits

Author SHA1 Message Date
Mike Lockwood
25d1fdc357 Quick and dirty test app for new SerialPort API
Signed-off-by: Mike Lockwood <lockwood@android.com>
2012-02-10 10:51:20 -08:00
Fabrice Di Meglio
2a7e7a08d9 Update BiDiTests app
- add more unit tests for GridLayout (layout created by code)

Change-Id: I462c41a7c5bdcb6c5d3762570f5d415cc0fa0bde
2012-02-09 17:32:24 -08:00
Romain Guy
68c02e25e8 Merge "Preliminary support for clipRect(Rect, Op)" 2012-02-07 17:07:00 -08:00
Romain Guy
967e2bf3ac Preliminary support for clipRect(Rect, Op)
This adds basic support for clip regions. It is currently disabled at compile
time. Enabling clip regions will require setting up a stencil buffer.

Change-Id: I638616a972276e38737f8ac0633692c3845eaa74
2012-02-07 17:04:34 -08:00
Fabrice Di Meglio
bf2ab0b80c Update BiDiTest app for adding GridLayout unit tests
- added basic GridLayout unit tests for LTR / RTL / Locale cases

Change-Id: Ied9814b2f56acb5d3666e78ad600f487ce4dc911
2012-02-06 17:20:25 -08:00
Chris Craik
d5544ac710 Merge "Pause webkit painting when UI tile painting queue is full" 2012-02-06 10:00:58 -08:00
Mathias Agopian
37f6934e86 a test to measure the touch latency
Change-Id: I01782274563fc9d6e4c1ba48e5aa371c164ed589
2012-02-05 22:25:32 -08:00
Chris Craik
4390c6b4a6 Pause webkit painting when UI tile painting queue is full
Change-Id: I8836d7951f8f02d7f966dc22d807ea785ac9e637
2012-02-03 16:07:11 -08:00
Fabrice Di Meglio
ca050ab273 Merge "Update BiDiTest app" 2012-02-02 13:25:30 -08:00
Fabrice Di Meglio
2b9ac31db4 Update BiDiTest app
- update basic layout for being scrollable
- add more test strings

Change-Id: Iec1b495619cdd76639f127fb1ac4e4f41d0726d8
2012-02-02 13:16:51 -08:00
Romain Guy
bbf1bc8b6c Merge "Add optional metadata to initiliaze the render threat." 2012-02-01 16:15:17 -08:00
Romain Guy
211370fd94 Add optional metadata to initiliaze the render threat.
The render threat is likely to break your application if you initiate it.
As such it must be explicitely requested using the following meta-data
tag in your manifest's application tag:

<meta-data android:name="android.graphics.renderThread" android:value="true" />

Change-Id: Ibf0a48af2a0d091562bf6907eac970e3d1d601c4
2012-02-01 16:10:55 -08:00
Stephen Hines
c97992b489 Merge "Add test for "public final static"-reflected constant fields." 2012-02-01 14:01:35 -08:00
Xia Wang
6b11072884 am 606b16bc: am e546b879: am ccc11c4d: Merge "Fix a typo in image processing test" into ics-mr1
* commit '606b16bc160e66709408b3e49e273efcff0a148d':
  Fix a typo in image processing test
2012-02-01 10:59:44 -08:00
Xia Wang
e2ce3b8252 Fix a typo in image processing test
Change-Id: I6c39a144dc7c724188e6ebad76c51c3ac1e818e1
2012-02-01 10:47:18 -08:00
Stephen Hines
071abd1a5c Add test for "public final static"-reflected constant fields.
Change-Id: I00d7ed4e3dd2c3137de27f9e78d49aa0c59d3d6d
2012-01-31 19:33:57 -08:00
Stephen Hines
b1ea64edb0 Test RS struct writing/reading.
BUG=5569561

Note that this only tests the issue described in the bug. It does not actually
produce an error on any recent version of RS.

Change-Id: I0194b13cb3f4ff01ce95d966e8e2dd74119a3946
2012-01-31 15:27:08 -08:00
Stephen Hines
caaac348ed Merge "Fix bugs with unsigned rsAtomicCas/Max/Min." 2012-01-26 13:55:57 -08:00
Stephen Hines
109116bb2f Fix bugs with unsigned rsAtomicCas/Max/Min.
BUG=5888007

rsAtomicMax/Min did not have proper semantics for unsigned integers. They were
always using signed comparisons. rsAtomicCas had the wrong function signature
in our math library, leading to no way to properly link/execute it.

Change-Id: I336cdd8cd9f2d8093f12e101b55b2797515f039b
2012-01-25 18:17:34 -08:00
Chris Craik
9f46b11229 Merge "Allow profiling of animation performance" 2012-01-24 14:15:25 -08:00
Chris Craik
702c6fdc47 Allow profiling of animation performance
Also fixes manual testing mode
Depends on external/webkit change: https://android-git.corp.google.com/g/#/c/159794/

Change-Id: I169e80f9b5328b1b5a7b0aeaf09652de67febd8d
2012-01-24 13:25:49 -08:00
Dianne Hackborn
8a59b7f95f Add new test for showing very slow animations.
Change-Id: Ibcc3e46a72210cf8a8e4cf5a932e2c9a7995f0f1
2012-01-24 11:10:40 -08:00
Romain Guy
5ff9df6582 Add full support for Canvas.setDrawFilter()
Change-Id: I0ad35d0603c4eeda469014803be14c1dcdde918c
2012-01-23 17:09:05 -08:00
Guang Zhu
7a640a0936 Merge "Revert "Use port 18000 instead of 8000 for layout tests"" 2012-01-20 17:06:42 -08:00
Guang Zhu
d467347d73 Revert "Use port 18000 instead of 8000 for layout tests"
port 8000 is no longer being occupied, plus this approach never worked 100% because some pages have access to port 8000 hard coded in HTML


This reverts commit e2b9d7f2f027907c7dcdbfb9e99297ff799ce482
2012-01-20 17:06:11 -08:00
Romain Guy
bad1216619 Merge "Deprecate unused APIs" 2012-01-19 17:34:26 -08:00
Romain Guy
f9d9c065ed Deprecate unused APIs
Change-Id: I0107e246b632dda96b8b025217936954f1f46283
2012-01-19 17:16:38 -08:00
Romain Guy
4785a6ff8d Merge "Full support for Canvas.drawPosText" 2012-01-18 18:01:34 -08:00
Romain Guy
671d6cf460 Full support for Canvas.drawPosText
This also introduces a small optimization when rendering text.

Change-Id: Iff620ac97bf878eaac406bccc6daa07052c93890
2012-01-18 18:00:12 -08:00
Stephen Hines
1f541a0423 Run ComputePerf multiple times.
Change-Id: I715c726f15416685b715a14a25c9595d9a9a124b
2012-01-18 15:06:57 -08:00
Romain Guy
11d06a73df Merge "Fix text encoding when drawing with drawPosText in software" 2012-01-17 14:54:45 -08:00
Romain Guy
62b6eaa7f3 Fix text encoding when drawing with drawPosText in software
Change-Id: I0cd8ee526189c38c50953a1a08b50e0b31c55d8c
2012-01-17 14:53:26 -08:00
Fabrice Di Meglio
c7c09960ff Merge "Fix bug #5870701 Thai text can be clipped when there are more glyphs generated than the initial number of code points" 2012-01-17 11:51:22 -08:00
Fabrice Di Meglio
03e250aefa Fix bug #5870701 Thai text can be clipped when there are more glyphs generated than the initial number of code points
- compute total advances correctly by iterating on the advances array for up to mShaperItem.num_glyphs
- update unit tests

Change-Id: I00af68bef88702215e9222ed80dbffcc81df51a7
2012-01-13 19:49:46 -08:00
Xia Wang
e328d6b0a6 am b18a7c3e: am 1446c7b2: Merge "Get average value for image processing test bug#: 5566079" into ics-mr1
* commit 'b18a7c3ef1ff92ee2b8407743ffc4d7fd8b8ba70':
  Get average value for image processing test bug#: 5566079
2012-01-11 17:57:14 -08:00
Narayan Kamath
81754949e0 Merge "Write unit tests for android.speech.tts." 2012-01-11 03:39:57 -08:00
Steve Block
c93643be42 Remove some stale TODOs from the Java Bridge tests
These TODOs were related to testing behavior with JavaScript and Java arrays.
This is now tested thoroughly in JavaBridgeArrayTest.java and
JavaBridgeArrayCoercionTest.java.

No functional change.

Change-Id: I5972b929c3e2743c06aff626c983b4b749ea452f
2012-01-11 11:04:12 +00:00
Narayan Kamath
c60aad2a8a Write unit tests for android.speech.tts.
Change-Id: Ie5b3b4cdd13be2babee9a44bae00da179b372d12
2012-01-09 13:38:55 +00:00
Guang Zhu
57420bf883 Small tweaks to Tile Benchmark test
* tag the module as 'tests' so the apk gets includes in test build
* merge the instrumentation into TileBenchmark app and eliminate
  the test apk entirely
* changed the default test suite to 'alexa25_2011' which is a suite
  of pages based on top 25 news sites from alexa, includes primarily
  english sites, and 3 CJK sites

Change-Id: Icd40a70b560bfd7c521adf8ad4b1068483698103
2012-01-05 15:16:42 -08:00
Xia Wang
6e31a7b762 Get average value for image processing test
bug#: 5566079

Change-Id: Ib7022d20c773c4995b9d3d6eaf4857682190eb5e
2011-12-19 17:30:03 -08:00
Jesse Wilson
0f05f1ebef Merge "Track libcore tests moving from frameworks/base to libcore." 2011-12-16 07:36:32 -08:00
Jesse Wilson
0102c21f6b Track libcore tests moving from frameworks/base to libcore.
Bug: http://b/3073226
Change-Id: I07076e6ed74fcae5482dff477ed102c770c197c9
2011-12-13 13:35:04 -05:00
Chris Craik
09a71e073a Update tilebenchmark to work with current drawing infrastructure
bug:5062896

depends on external/webkit change: https://android-git.corp.google.com/g/#/c/154840/

- directly discard textures, instead of sending an invalidate through webkit
- better ui on smaller screens
- pass native pointer through jni calls

Change-Id: Icadbf8944edc5a2b1f8dc27bab53ac665c975462
2011-12-12 18:10:53 -08:00
Alex Sakhartchouk
f8c1f1c17c Merge "Making UI a bit more responsive." 2011-12-09 10:04:27 -08:00
Alex Sakhartchouk
e7a5b5aa9a Making UI a bit more responsive.
Change-Id: I92875e9304675fcda978a49c1447e22911e2a839
2011-12-07 20:22:08 -08:00
Daniel Sandler
1ba22cc33d am b490d8d6: am 29933fb2: Merge "Improve handling of small largeIcons in tablet ticker." into ics-mr1
* commit 'b490d8d6214114391622b4302ca2f5f39b2166c6':
  Improve handling of small largeIcons in tablet ticker.
2011-12-07 17:43:39 -08:00
Daniel Sandler
a3850b6839 Improve handling of small largeIcons in tablet ticker.
The tablet system bar is too short for a full notification
row, but it will show the largeIcon of a new notification in
its full frame, intruding into the main application content
rectangle a bit. This is a good thing---the notifications
really pop out at you---but it looks a little odd if the
largeIcon is actually *small*: the icon is vertically
centered in the larger (invisible) rectangle, making it look
poorly centered on the system bar.

This change will detect short largeIcons and center them in
the system bar's height instead. Additionally, it applies
the same ticker background all the way to the left
underneath largeIcons that are not full-frame (and therefore
have transparent regions).

Bug: 5708907
Bug: 5560485
Change-Id: I32af45632df164c58fb960110063dbaa08b5536c
2011-12-07 15:53:00 -05:00
Alex Sakhartchouk
7cee31835d Merge "Fixing file writing bug" 2011-12-07 11:07:42 -08:00
Stephen Hines
d53333cc21 Remove warnings about unused results.
Change-Id: I53004b4452c5e1ac6ff0dab8430de7f73e8a99b9
2011-12-06 16:48:43 -08:00
Alex Sakhartchouk
5de7657ac2 Fixing file writing bug
Change-Id: I01b6fa9f14ecf01e8957cb1b9277ba88eea46845
2011-12-06 14:49:12 -08:00