Kenny Root
7abab32c00
am af101312: am 520ee7bc: am a2e8365c: am 9b0da58e: Merge "Introduce a restorecon JNI binding."
...
* commit 'af101312c880f440a2c33965e4479feaa1fd6b82':
Introduce a restorecon JNI binding.
2012-08-16 15:37:16 -07:00
Kenny Root
520ee7bcad
am a2e8365c: am 9b0da58e: Merge "Introduce a restorecon JNI binding."
...
* commit 'a2e8365cc883de0d3e56e9f4af350ecfe1b8fc4c':
Introduce a restorecon JNI binding.
2012-08-16 15:32:52 -07:00
Kenny Root
a2e8365cc8
am 9b0da58e: Merge "Introduce a restorecon JNI binding."
...
* commit '9b0da58e3a30b760de37138cdd51d20f269c383e':
Introduce a restorecon JNI binding.
2012-08-16 15:29:41 -07:00
Kenny Root
617ccc081f
am 1090f702: Merge "Remove StatFs from AndroidRuntime JNI"
...
* commit '1090f7023abefc448a492e143f76f9e0925fd6ee':
Remove StatFs from AndroidRuntime JNI
2012-08-16 15:29:34 -07:00
Kenny Root
64a39f36f6
am e62f5f94: am 3f1e8b90: Remove StatFs from AndroidRuntime JNI
...
* commit 'e62f5f9412cac934b1b7bd42bc1a53eebe4fb6ad':
Remove StatFs from AndroidRuntime JNI
2012-08-16 14:59:04 -07:00
Kenny Root
3f1e8b90b0
Remove StatFs from AndroidRuntime JNI
...
Change-Id: I88039794cf3e4a959b37c29c67f16f2dc0751a5c
2012-08-16 14:55:18 -07:00
Kenny Root
9b0da58e3a
Merge "Introduce a restorecon JNI binding."
2012-08-16 14:38:30 -07:00
Kenny Root
165fdbabdc
am 1be4713a: am a579f792: am d69b47c0: am 8942e5a3: Merge "Use libcore Posix class for StatFs implementation"
...
* commit '1be4713a9bdd213f6badb2069fcc46f2009c8333':
Use libcore Posix class for StatFs implementation
2012-08-16 14:31:34 -07:00
Kenny Root
89db6a40af
Remove StatFs from AndroidRuntime JNI
...
Change-Id: I88039794cf3e4a959b37c29c67f16f2dc0751a5c
2012-08-16 14:31:31 -07:00
Kenny Root
a579f7926a
am d69b47c0: am 8942e5a3: Merge "Use libcore Posix class for StatFs implementation"
...
* commit 'd69b47c087a87355df76a5276ab18af847f64367':
Use libcore Posix class for StatFs implementation
2012-08-16 14:26:07 -07:00
Kenny Root
d69b47c087
am 8942e5a3: Merge "Use libcore Posix class for StatFs implementation"
...
* commit '8942e5a32ae2d1a36b65efe5b26cc06227ea0ca5':
Use libcore Posix class for StatFs implementation
2012-08-16 14:22:31 -07:00
Kenny Root
bdd23ae9f5
Use libcore Posix class for StatFs implementation
...
Remove some JNI and duplicated functionality and use libcore's Posix
class for the statfs function instead.
Change-Id: Ic1e161dc10c18c2c6ee81d895a0efd8910086dbf
2012-08-16 10:55:47 -07:00
Jeff Brown
23e3ba534c
am 778a616f: am 7c964e78: Merge changes I39804ee6,I6a5a7ea2 into jb-mr1-dev
...
* commit '778a616febe81517dc149bc4adc72a3e27bbc49e':
Use spline interpolation for auto-brightness.
Add FloatMath.hypot.
2012-08-16 02:11:25 -07:00
Jeff Brown
270e3381e7
Add FloatMath.hypot.
...
Change-Id: I6a5a7ea2254300614dbbf540f40e39dbec2d2900
2012-08-16 01:30:22 -07:00
mike wakerly
2665c988af
am af4fa8d7: am 8046b5e0: Merge "UsbRequest: set ByteBuffer.position() upon success." into jb-mr1-dev
...
* commit 'af4fa8d73981126bfbdd68f0e17640624bb1693c':
UsbRequest: set ByteBuffer.position() upon success.
2012-08-09 16:14:13 -07:00
mike wakerly
a3665ba95d
UsbRequest: set ByteBuffer.position() upon success.
...
Also clears allocated buffer before copying.
Closes http://b.android.com/28023
Bug: 5385026
Bug: 6766413
Change-Id: Icf2c1d45db4fb2a9bd1fcfdb29aa7308034faaf0
2012-08-09 15:28:10 -07:00
Jeff Brown
415e6ba016
am 35489c0a: am 1670dc9a: Merge "Add FloatMath.exp." into jb-mr1-dev
...
* commit '35489c0a3d61092487c1678793256ba754aa677d':
Add FloatMath.exp.
2012-08-08 18:32:57 -07:00
Jeff Brown
1670dc9abf
Merge "Add FloatMath.exp." into jb-mr1-dev
2012-08-08 18:29:08 -07:00
Jeff Brown
5d728bb9ff
Add FloatMath.exp.
...
Change-Id: I7f215e5fd4cb942ddee56eebaef04be565ac79f3
2012-08-08 18:23:53 -07:00
Romain Guy
b1ab6e0dfe
am 091b5171: am c89b14bb: It seems that apparently useless public APIs are actually useful Bug #6953651
...
* commit '091b5171397c6fd4296eb61001e0fcf1e67ade08':
It seems that apparently useless public APIs are actually useful Bug #6953651
2012-08-08 15:12:09 -07:00
Romain Guy
c89b14bba0
It seems that apparently useless public APIs are actually useful
...
Bug #6953651
Change-Id: Ic47ce504e63262711f5d3edc76f7d2b9c12471ad
2012-08-08 14:58:54 -07:00
Romain Guy
b3d8102f53
am 01069430: am 03ad783c: Merge "Cleanup of libhwui" into jb-mr1-dev
...
* commit '010694307e595a52d300334c05aac1215b864c10':
Cleanup of libhwui
2012-08-07 12:03:44 -07:00
Romain Guy
17112ad8a2
Cleanup of libhwui
...
Change-Id: Ib7f5771548462c00027a8ad57badfb68c50644f9
2012-08-07 11:25:15 -07:00
Elliott Hughes
99c406e42b
Switch DateUtils and Time over to using the CLDR for all week and month names.
...
Change-Id: I92c73c269c6f90125cf834d434883595ba4b42d4
2012-08-06 19:41:22 -07:00
Craig Mautner
b068163406
am af59e0e3: am 7de53949: Merge "Add features to DisplayManager." into jb-mr1-dev
...
* commit 'af59e0e30cac2209654cc9e16deb3cd32279a3d4':
Add features to DisplayManager.
2012-08-03 08:30:23 -07:00
Craig Mautner
9de4936c99
Add features to DisplayManager.
...
Added Surface.setDisplayId().
Added callbacks to DisplayManagerService.
Change-Id: Idd3f85f8ca1f1208962f1196efd6a3ab51c8c259
2012-08-02 14:30:30 -07:00
Romain Guy
cc4d056993
am 5d89b70a: am 413ab3a5: Merge "Improve gradients" into jb-mr1-dev
...
* commit '5d89b70a5df86526f5eb6bec7ece20d2dc90ac90':
Improve gradients
2012-07-31 19:00:58 -07:00
Romain Guy
42e1e0d482
Improve gradients
...
Avoid using textures for common gradients (two stops from 0.0 to 1.0)
Change-Id: Iff55d21b126c8cfc4cfb701669f2339c8f6b131a
2012-07-31 18:55:16 -07:00
Elliott Hughes
776708222a
Merge "Fix Time.parse and Time.parse3339 crashing bugs."
2012-07-30 08:03:02 -07:00
Romain Guy
c3e4f0a72b
Merge "Rename drawGeneralText to drawText" into jb-mr1-dev
2012-07-27 16:42:52 -07:00
Romain Guy
c25259519f
Rename drawGeneralText to drawText
...
Change-Id: I5062ea5b0605fc7af27f410fafc930d10f38e926
2012-07-27 16:41:22 -07:00
Romain Guy
a0aa479c0e
am 97e27072: am dfac68ea: Merge "Corrected typo when checking InputStream methods"
...
* commit '97e270721bf29d25b513c1f2be71a8543d048f5d':
Corrected typo when checking InputStream methods
2012-07-27 15:54:30 -07:00
Romain Guy
97e270721b
am dfac68ea: Merge "Corrected typo when checking InputStream methods"
...
* commit 'dfac68eacc60c130e54345d98bd45c99573cb627':
Corrected typo when checking InputStream methods
2012-07-27 15:49:23 -07:00
Romain Guy
dfac68eacc
Merge "Corrected typo when checking InputStream methods"
2012-07-27 13:58:12 -07:00
Edward Savage-Jones
8ac41bb79e
Corrected typo when checking InputStream methods
...
Corrected a small typo where Java InputStream methods are
incorrectly checked when creating a JNI InputStream adaptor.
Change-Id: I5f14897e0d5ddceb4b2af6be46769713f0487624
2012-07-27 15:14:24 +02:00
Elliott Hughes
68dcd1750e
Fix Time.parse and Time.parse3339 crashing bugs.
...
Two reported by users, the other spotted by inspection.
Bug: http://code.google.com/p/android/issues/detail?id=16002
Bug: http://code.google.com/p/android/issues/detail?id=22225
Change-Id: I86fe022fda4af68e5a6fb9dc5dd2abdb75e9d966
2012-07-25 19:47:45 -07:00
Jeff Brown
fa25bf5382
Add display manager skeleton.
...
The purpose of this change is to remove direct reliance on
SurfaceFlinger for describing the size and characteristics of
displays.
This patch also starts to make a distinction between logical displays
and physical display devices. Currently, the window manager owns
the concept of a logical display whereas the new display
manager owns the concept of a physical display device.
Change-Id: I7e0761f83f033be6c06fd1041280c21500bcabc0
2012-07-25 18:56:16 -07:00
rpcraig
554cb0c290
Introduce a restorecon JNI binding.
...
Label the vmdl.*\.tmp files and the final .apk file differently.
Modify the WallpaperManagerService to restorecon the wallpaper file.
Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
Change-Id: Idfc056e9ec0508d7e11100626a7114f341f1af70
2012-07-25 11:07:39 -04:00
Mathias Agopian
4530a50a7b
Merge "New bindings generated by glgen"
2012-07-23 17:59:47 -07:00
Raph Levien
eba77803dc
Merge "Hardware implementation of glyph positioning (bug 5443796)"
2012-07-23 17:29:09 -07:00
Thomas Tafertshofer
37c9b49ab5
New bindings generated by glgen
...
Fixes crash of methods when NULL was used as a
(valid) parameter for a nio.buffer argument.
Bug: 6845189
Change-Id: Iae379d607bbca15d6d23e74e852f94c7f68637f9
2012-07-23 17:09:36 -07:00
Raph Levien
996e57c843
Hardware implementation of glyph positioning (bug 5443796)
...
This implementation adds a drawGeneralText() method to the OpenGL
Renderer, which supports both a global x, y position, an array of
individual glyph positions, and also a length parameter (which enables
drawing of underline and strikethrough. It also adds the method to the
display list (with marshalling and unmarshalling).
With this change, the existing drawText() method is removed entirely, as
it's subsumed by the new method. It's easy enough to revert to the old
functionality if needed by passing in a NULL positions array.
Change-Id: I8c9e6ce4309fd51cc5511db85df99f6de8f4f6f5
2012-07-23 16:52:20 -07:00
Mathias Agopian
16a4003b11
Merge "updated gles20 bindings, fixes broken methods"
2012-07-23 16:25:33 -07:00
Nick Kralevich
b8acd060d4
am fa6e1ea7: am 2c932143: Merge "s/LOG/ALOG/ in HAVE_SELINUX blocks"
...
* commit 'fa6e1ea773a74aa6a996a783ff16c495ab3cc822':
s/LOG/ALOG/ in HAVE_SELINUX blocks
2012-07-20 10:00:45 -07:00
Nick Pelly
95f1158908
Introduce SystemClock#elapsedRealtimeNano.
...
Change-Id: I47e1b14d45c5321f959d46e1805f86aafd72f5d4
2012-07-20 09:51:09 -07:00
Nick Kralevich
fa6e1ea773
am 2c932143: Merge "s/LOG/ALOG/ in HAVE_SELINUX blocks"
...
* commit '2c932143ffe865d49c741e466b425bdbabbd1f2f':
s/LOG/ALOG/ in HAVE_SELINUX blocks
2012-07-19 17:14:51 -07:00
Thomas Tafertshofer
dd06946252
updated gles20 bindings, fixes broken methods
...
this adds correct versions of the broken GLES20 methods
glGetShaderSource, glGetActiveAttrib and glGetActiveUniform.
the old functions are still there and need to be @hide later.
Bug: 6006380
Change-Id: I8127a77c4b89aa8a9a54bea88774077535e2139d
2012-07-19 17:04:47 -07:00
Mathias Agopian
d48a84cea5
Merge "Updated OpenGL bindings to fix nio buffer crash"
2012-07-18 18:31:28 -07:00
Raph Levien
161ebab85d
Increase text layout cache size in bytes
...
The mark positioning changes increase the number of bytes needed per
glyph from 6 to 14. This patch compensates by allocating more total
memory for the text layout cache.
Change-Id: I3cf59547394a41779cf6e92e67688b0fdc85f1a3
2012-07-18 16:16:41 -07:00
Raph Levien
4f3c8f7026
Fix overly verbose logging in TextLayoutCache
...
I meant to log certain debug values only when DEBUG_GLYPHS was set, but
I used #ifdef instead of #if (when it's not set, it's 0, rather than
undefined).
Change-Id: Ic27fee7dd355009c1873f0a2e12614849bbceebd
2012-07-18 15:40:44 -07:00