62ce332c141cf7bc7200c4c87d63e395874fc3ec |
|
05-Sep-2014 |
Svetoslav <svetoslavganov@google.com> |
Trim unnecessary pages when printing. A user may request a subset of the document's pages to be printed. In this case the expectation is that the resulting document does not include not selected pages. While print serivices can do the trimming themselves or the printer may do so, moving, potantually many, redundant pages is inefficient. The real problem is when saving to a PDF file where the saved file must not have the pages the user did not select. This change adds shredding of undesired pages from the PDF before saving it or passing it to a print service. : bug:17285994 Change-Id: I7deba535af99457bea3c118202314f0f3812e809
/frameworks/base/core/jni/Android.mk
|
abd76d0a091e283117b8aeb642833b8869ea81bf |
|
28-Jul-2014 |
Yong WU <yong.wu@intel.com> |
Integrate NativeActivity with NativeBridge interfaces Bug: 16884833 (cherry picked from commit I73aab8e212860ba5aee9444d801806d3da326a41) Change-Id: I67f037ea81d2a4ede4294afd8b84b7640e534a13
/frameworks/base/core/jni/Android.mk
|
3b852e3489e995600fce19dfdbf3a5d769374d74 |
|
25-Jun-2014 |
Neil Fuller <nfuller@google.com> |
Rewriting android.text.format.Time without the native _tz functions (cherry picked from commit d7f0849b8c053ccc6abf0dc7d5bc07da502782a4) Bug: 15765976 Change-Id: I00f72bd1043ef20f22d25559206b2f741334ba9c
/frameworks/base/core/jni/Android.mk
|
6ba30b85ddfbe37c338ee8dde3dd33322eb38d47 |
|
15-Jul-2014 |
Behdad Esfahbod <behdad@google.com> |
Add android.Paint that inherits SkPaint The idea is that extra paint parameters that only affect text layout (not rendering) will go in android.Paint instead of going into SkPaintOptionsAndroid. We will eventually move those out of SkPaint too. This is currently implemented in PaintImpl.cpp. Will be renamed when current Paint.cpp that has JNI bits is moved to android_graphics_Paint.cpp. Change-Id: Iba66c34dea5da503a13b9c864cb9f2211ac4ba7d
/frameworks/base/core/jni/Android.mk
|
8872b38ef403cc2c44aca07d392f5e9426fd7f54 |
|
23-Jun-2014 |
Derek Sollenberger <djsollen@google.com> |
Separate Canvas JNI code from the implementation. This introduces Canvas.h which is a pure virtual interface that is intended to be used by both Skia and HWUI implementation. To help stage this transition this CL only introduces the interface and Skia implementation. The interface is not intended to be final and will undoubtedly go through iterations in both style and location as we look to introduce the HWUI implementation. BUG:15672762 Change-Id: Ibaccdddb87d3b9358f4f0c1d317ead5282d4ee16
/frameworks/base/core/jni/Android.mk
|
580ff8142b7d0455d0d41ee77572b4f55dd935f0 |
|
17-Jul-2014 |
John Reck <jreck@google.com> |
Revert "Separate Canvas JNI code from the implementation." This reverts commit e28a5afee885cd69a5be5809f88116b601cb1a72. Appears to cause memory corruption and random appearances of chinese Bug: 16343240 Bug: 16336642 Change-Id: Ife169181f40adff4b12948ed5f9d3a88dcec935b
/frameworks/base/core/jni/Android.mk
|
f5d6c555c3430f6e423952ba3ab024380e550bba |
|
23-Jun-2014 |
Derek Sollenberger <djsollen@google.com> |
Separate Canvas JNI code from the implementation. DO NOT MERGE This introduces Canvas.h which is a pure virtual interface that is intended to be used by both Skia and HWUI implementation. To help stage this transition this CL only introduces the interface and Skia implementation. The interface is not intended to be final and will undoubtedly go through iterations in both style and location as we look to introduce the HWUI implementation. BUG:15672762 Change-Id: Idefadede356f688edb8eb09b4a02aa01b4077f62
/frameworks/base/core/jni/Android.mk
|
a4fa3b5aa53cf677b623fe346c585cb8a0c1ce26 |
|
09-Jul-2014 |
destradaa <destradaa@google.com> |
Add support in the platform for Activity Recognition Hardware. Change-Id: I7c4fff3526583475a5edf1f4ba8fede4e9419ead
/frameworks/base/core/jni/Android.mk
|
e1f57d6f44909a66c7ab0af33dbc5289287e823a |
|
30-May-2014 |
Eino-Ville Talvala <etalvala@google.com> |
Camera2: Add CPU/GPU overhead measurement to legacy mode Dumps GL and CPU processing duration and frame timestamps to a file, whenever the device is closed or the stream configuration is changed. - Add PerfMeasurement class to legacy mode - Wire up minimal usage to SurfaceTextureRenderer Change-Id: Ic9d74ca26f706780b746175aa615c7aae4ae52e7
/frameworks/base/core/jni/Android.mk
|
0769e550011d8f8a19e333efe1706ef0e6cc6a5f |
|
03-Jun-2014 |
Colin Cross <ccross@android.com> |
android.os.Process: add killProcessGroup Add Process.killProcessGroup to interface between ActivityManager and libprocessgroup. Bug: 15313911 Change-Id: I5226a6d86153b863e30d936cf1c84e256f0d7ea5
/frameworks/base/core/jni/Android.mk
|
b58d385e17f3b71705f23fe77aa8c12147ec9ea5 |
|
10-Jul-2014 |
Elliott Hughes <enh@google.com> |
resolved conflicts for merge of f6be5a7a to master Change-Id: I6dcfb33981df90877fb9f3752b853cf377633edf
|
92b1896dfd42079c264e68f819273ba71f177fea |
|
10-Jul-2014 |
Elliott Hughes <enh@google.com> |
Switch frameworks/base/core/jni to the new icu. Change-Id: Id12ce02da377ce78f318e10633c47f500237d9d9
/frameworks/base/core/jni/Android.mk
|
88b5b0be887fc5dc3b0b879b4179dde200d2e4d6 |
|
24-Jun-2014 |
Anish Athalye <aathalye@google.com> |
Implement line breaking using ICU break iterator Change-Id: I4ad98757aa2eab5dbc2ae44c0391e900ef20c4d0
/frameworks/base/core/jni/Android.mk
|
3660789f06c5fbcb81e6c7c79612048bff8f0f66 |
|
26-Jun-2014 |
Raph Levien <raph@google.com> |
Switch all text layout to Minikin This patch switches all text layout operations to use Minikin, removes the USE_MINIKIN #ifdef, and deletes some of the code that was only used in the old TextLayout path (although some more refactoring remains). Change-Id: I51b5c4e2bb46cfd9d204c12b9f16f135c769f5b5
/frameworks/base/core/jni/Android.mk
|
4b0959d8db20c08ab1fed37f397b303af229162b |
|
12-Jun-2014 |
Derek Sollenberger <djsollen@google.com> |
Refactor android.graphics.Picture JNI bindings. This is the first CL in a series of CLs to refactor the Graphics JNI bindings. bug: 15672762 Change-Id: I1455fa1330c7426407c06eeaad81ad37a57373b1
/frameworks/base/core/jni/Android.mk
|
b59508fce51b23f0201f4dcba7e4f18bab4f9d1a |
|
23-Apr-2014 |
Robert Phillips <robertphillips@google.com> |
Changes to framework for ToT Skia. Consists of 3 cherry-pick from changes by robertphillips@google.com in master-skia: ----------------------------------------------------------------------- New AndroidPicture wrapper class Address code review comments & use new SkPictureRecorder::partialReplay entry point Addressing code review issues Switch MakePartialCopy to makePartialCopy Conflicts: core/jni/android/graphics/Picture.cpp Ie530ab15b3d549f0ecfb0ecc131f9144a7b72a91 Remove AndroidPicture from GraphicsJNI and split into .h and .cpp ----------------------------------------------------------------------- Fix lingering legacy picture recording behavior Address code review issues Iaf870c2c400dbe70dc32d6d445574904f5ea718f ----------------------------------------------------------------------- Update Android to new SkCanvas::drawPicture interface As of Skia 9b14f26d (Alter SkCanvas::drawPicture (devirtualize, take const SkPicture, take pointer) - https://codereview.chromium.org/313613004) SkCanvas::drawPicture has an alternate signature. The old entry point is deprecated. I63395da61ecc3b58bfd2bc094752081f4b2f7535 ----------------------------------------------------------------------- Change-Id: I041133aeb5639abd853370e512acf93870f82aea
/frameworks/base/core/jni/Android.mk
|
5edb85c17dd7f2cb94ad0bd63816ef01efc71cc2 |
|
05-Jun-2014 |
Eric Laurent <elaurent@google.com> |
Merge "add sound trigger JNI"
|
60b62bc5c11c0bfcdf84ca8f5b2053e5747f86bc |
|
19-Apr-2014 |
Eric Laurent <elaurent@google.com> |
add sound trigger JNI Add JNI for sound trigger hardware native service. Change-Id: Idd0ee42c7af5fe20e7d8295994211de3a517bd13
/frameworks/base/core/jni/Android.mk
|
84a4c887a07c1c2939443f4e0587d7f1ac109e4b |
|
30-May-2014 |
John Reck <jreck@google.com> |
Remove GLRenderer Change-Id: I180286417c1a354fc7eb1eadb1884ac6add0795c
/frameworks/base/core/jni/Android.mk
|
94ecb5506a8834b5e13ad9834762c972126102d0 |
|
24-May-2014 |
Ruben Brunk <rubenbrunk@google.com> |
am a7c97c55: Merge "camera2: Move DngCreator to hardware/camera2." into lmp-preview-dev * commit 'a7c97c552a280ed3a2ff3535a5085f8601f45820': camera2: Move DngCreator to hardware/camera2.
|
b6079005ed0631c3972ff427f56e12523ec214a7 |
|
22-May-2014 |
Ruben Brunk <rubenbrunk@google.com> |
camera2: Move DngCreator to hardware/camera2. Bug: 15091253 Change-Id: Ibe2ee376436e5c796e33c0b782ea68278589f2e6
/frameworks/base/core/jni/Android.mk
|
985086276f90cccd9f37008056645e4c9acb888a |
|
22-May-2014 |
Paul Jensen <pauljensen@google.com> |
Merge "Implement bind-to-network functionality of android.net.Network."
|
94520c74608bfcd61ff987410a8018d87b75d734 |
|
22-May-2014 |
Ruben Brunk <rubenbrunk@google.com> |
Merge "camera2: Add HAL1 compatibility shim skeleton."
|
3876495129cce3ed8ac6f247189b075dc9baec8f |
|
20-May-2014 |
Paul Jensen <pauljensen@google.com> |
Implement bind-to-network functionality of android.net.Network. This is implemented by calling through to netd_client. Included are functions to bind-to-network-for-process strictly for DNS to facilitate startUsingNetworkFeature() reimplementation. Change-Id: Ib22c7d02ea81d251bdfeeb0f64a47ce32eefcb1b
/frameworks/base/core/jni/Android.mk
|
7ab63acdd0a257272512d0bcf5e06036fa0b9fdf |
|
20-May-2014 |
Jesse Hall <jessehall@google.com> |
opengl: Add GLES31 and GLES31Ext classes Bug: 15028495 Change-Id: Ie967c1938060edb42864dd48efa668ae7bf5cd76
/frameworks/base/core/jni/Android.mk
|
feb50af361e4305a25758966b6b5df2738c00259 |
|
10-May-2014 |
Ruben Brunk <rubenbrunk@google.com> |
camera2: Add HAL1 compatibility shim skeleton. This adds basic support for running the Camera2 API on a device running a camera HAL version lower than CAMERA_MODULE_API_VERSION_2_0. This CL includes support for: - N-way preview output streams - N-way jpeg output streams - CameraDevice emulation at the binder interface - Basic camera metadata querying in the CameraManager Bug: 15117269 Bug: 15116722 Change-Id: I8322955034c91f34bb348d4b28c2b774dbef38f6
/frameworks/base/core/jni/Android.mk
|
519c77b71051b1503a33a6af8c22a014735488c4 |
|
21-May-2014 |
Svetoslav Ganov <svetoslavganov@google.com> |
Switching to the final PDF rendering library Change-Id: Id92674ce762af894a5c4b0df0f8e9a711131bccc
/frameworks/base/core/jni/Android.mk
|
a5291466eaca727de04a10eea7d1666bd3ba5adf |
|
21-May-2014 |
Ed Heyl <edheyl@google.com> |
Fix the build: Revert "Switching to the final PDF rendering library" This reverts commit e7a8f476ea3873941ace96751fa2d633c95b7c10. Change-Id: I457e45b0a536bbde721a3355ed860b2363e36467
/frameworks/base/core/jni/Android.mk
|
89ff50cea877e52b71f0310c2c4cbc84fe8c70e8 |
|
21-May-2014 |
Svetoslav <svetoslavganov@google.com> |
Switching to the final PDF rendering library Change-Id: I5bad4fc620378f3ca6b070bbaeee631f526b66c7
/frameworks/base/core/jni/Android.mk
|
f967a5486a78db244624fde4c105aa5e6fa914b9 |
|
29-Apr-2014 |
Ruben Brunk <rubenbrunk@google.com> |
camera2: Plumb DngCreator to native library. Change-Id: Ic58bf6cf5086808b503460ef8e451fc0d6f1f850
/frameworks/base/core/jni/Android.mk
|
dbef65f1a170c8abd819a609aeb30797b2407c9a |
|
15-May-2014 |
Svetoslav <svetoslavganov@google.com> |
Merge "Adding APIs to render PDF documents."
|
4c9355c35a0f62805739823a62ad41ca1cbc6502 |
|
07-May-2014 |
Mike Reed <reed@google.com> |
Frameworks changes to support latest Skia (r14729) Required for a merge in external/skia (I88b4d5cc81c357a8e223bd7860b1029590265200). Includes two cherry-picks: I456df543e1925b280f785c7b3bb81370157f9b09: replace SkRasterizer* with NativeRasterizer* in JNI I98adb200e023369d3ee75f21927fa98f23095a77: Fix Paint.getFlags,setFlags wrt FILTER_BITMAP_FLAG In Paint.setFlags(), turn FILTER_BITMAP_FLAG into a call to SkPaint::setFilterLevel(). In Paint.getFlags(), read SkPaint::getFilterLevel() to determine whether to include FILTER_BITMAP_FLAG in the result. Fixes CTS tests with ToT Skia. Change-Id: I2736f3f68683651574d79a169ff0ab563e0a469e
/frameworks/base/core/jni/Android.mk
|
2836c4722a156ec78d7f4101b394885a354f5dd6 |
|
15-May-2014 |
Raph Levien <raph@google.com> |
Merge "Start of Minikin integration"
|
2961769ea94f69c191a2dd785b2504666c7292d0 |
|
25-Apr-2014 |
Svetoslav <svetoslavganov@google.com> |
Adding APIs to render PDF documents. We need to render PDF documents for two main use cases. First, for print preview. Second, for resterizing the PDF document by a print service before passing it to a printer which does not natively support PDF (most consumer ones). Adding PDF rendering APIs improves guarantees for print quality as the same library is used for preview and rasterization. Also print vendors do not have to license third-party rendering engines. Last but not least as the platform uses PDF as its main print format it should also be able to natively render it. Change-Id: I57004a435db147663cafea40cf3296465aba7f99
/frameworks/base/core/jni/Android.mk
|
315c329544d7c593d1072b071cbb92d9afe74021 |
|
10-May-2014 |
John Reck <jreck@google.com> |
Add TimeInterpolator support to RNA Bug: 14678626 Change-Id: I6554e7fcd42c49fac3618ca792083bb68e358f55
/frameworks/base/core/jni/Android.mk
|
1a73f732f91e97c9c66b808c245ddda36a10e987 |
|
31-Jan-2014 |
Raph Levien <raph@google.com> |
Start of Minikin integration This is the current state of the Minikin integration. All changes are hidden behind USE_MINIKIN #ifdef, so it should be safe to apply. To play with the Minikin branch, set this in your BoardConfig.mk . This change also merges in 64-bit changes that were happenening in parallel. Change-Id: Idd94553bcbe324c5875d0ff06495c966c3e95b7f
/frameworks/base/core/jni/Android.mk
|
9fa4071c4768c63902c6a74a4b480b51a8b95d43 |
|
10-May-2014 |
John Reck <jreck@google.com> |
Refactor VirtualLightRefBase & JNI Change-Id: I8e244e7109e59d5be96871b23bb9b1201c7f9eaa
/frameworks/base/core/jni/Android.mk
|
29894c6176fdacdc933ffad742c0aeb350993787 |
|
08-May-2014 |
Ying Wang <wangying@google.com> |
am db55bb06: am 4463cbc6: am 3b9600b6: Merge "Remove unused LOCAL_LDLIBS." * commit 'db55bb0622e9fbe4b858d59409f516de01c1f1fd': Remove unused LOCAL_LDLIBS.
|
b38e3fdf5a2704913fe2c09e1778774760901a51 |
|
08-May-2014 |
Ying Wang <wangying@google.com> |
Remove unused LOCAL_LDLIBS. Change-Id: I01346e76f4ac6402af0ef33e3b2eef4a69e704a2
/frameworks/base/core/jni/Android.mk
|
08fa40c5cb5229b7969b2a5146855a337870f45a |
|
30-Apr-2014 |
Jim Miller <jaggies@google.com> |
First pass at adding FingerprintManagerService This adds a new service for monitoring and enrolling fingerprints to the platform. Fixed documentation links. Change-Id: I66013be5e09be9c5f9746c46aacf32d3e26c3b73
/frameworks/base/core/jni/Android.mk
|
52244fff29042926e21fa897ef5ab11148e35299 |
|
02-May-2014 |
John Reck <jreck@google.com> |
Add CanvasProperty for drawCircle Change-Id: Icbcc030f5033d2094e567d7c519b9d672f2aac1c
/frameworks/base/core/jni/Android.mk
|
e45b1fd03b524d2b57cc6c222d89076a31a08bea |
|
15-Apr-2014 |
John Reck <jreck@google.com> |
RenderThread animator support Change-Id: Icf29098edfdaf7ed550bbe9d49e9eaefb4167084
/frameworks/base/core/jni/Android.mk
|
b69bb445585a083b8e4ff8a13a1a1a63e9c22a6a |
|
02-Apr-2014 |
Narayan Kamath <narayan@google.com> |
resolved conflicts for merge of 71ab4f4f to master Change-Id: I888c231f7579523e12fbd68f820f0775019e51e0
|
973b4663b0b5ee62006522bf4742af076096e548 |
|
31-Mar-2014 |
Narayan Kamath <narayan@google.com> |
Move zygote startup logic to the frameworks. The Zygote class is now in com.android.internal.os. It is responsible for the vast majority of work before and after the call to fork(). It calls back into the Runtime via the new dalvik.system.ZygoteHooks class to allow the Runtime to perform pre fork cleanup and post fork initialization. The native code in Zygote.cpp is a direct and straightforward port of the existing code in art. Most differences are superficial, for example : - We use C style logging (ALOGE) instead of stream based logging. - We call env->FatalError() instead of using LOG(FATAL) Change-Id: Ia101fb2af12d23894fe57e4134d2bc6d142e5059
/frameworks/base/core/jni/Android.mk
|
37967d46f40c8c52c88ff8c011972a1489d465ec |
|
28-Nov-2012 |
Glenn Kasten <gkasten@google.com> |
Use memcpy_to_i16_from_u8 from audioutils instead of C loop This function may be optimized in the future, and it will make it easier to search for audio sample format-specific code when we need add support for more formats. Change-Id: Iad0585c35ddd2d12857164ed1effcce75f77920c
/frameworks/base/core/jni/Android.mk
|
f666ad7046c0b1b255835f75aeb7d1391067df93 |
|
15-Mar-2014 |
John Reck <jreck@google.com> |
Rename DisplayList->RenderNode Change-Id: Idcca6f26ba6282594789962f5edb3ed53a290fef
/frameworks/base/core/jni/Android.mk
|
67862524056ee2e73a94395139bb8bd0ec1ef38a |
|
28-Feb-2014 |
Chris Craik <ccraik@google.com> |
Fix use of Skia deprecated methods Change-Id: Ib89c20fc94bcce29b7490d6f55c73492735befda
/frameworks/base/core/jni/Android.mk
|
950fe8f8d4d654e645fa7205ca275b5a03feb214 |
|
27-Feb-2014 |
Derek Sollenberger <djsollen@google.com> |
Cleanup unnecessary includes for libskia. The libskia target exports all of its public includes directories so redefining them here is redundant. Also this cleans up and makes it obvious where the framework is making using of private Skia headers. Change-Id: Ie7ecc9ddd3df780bed6b9af54ba58ca58274e043
/frameworks/base/core/jni/Android.mk
|
2b20f6db9c152b6ac89b0999a73894b3db047aa5 |
|
21-Feb-2014 |
Narayan Kamath <narayan@google.com> |
am a1aeac80: am 25c55ca9: am 911b2ce3: am 4a642ee5: Merge "Remove unused JNITest class" * commit 'a1aeac80df09cf8d481474264b1ce78ed64e7464': Remove unused JNITest class
|
42f06b0e22971dd2a2049012751c7cd1965a706b |
|
15-Feb-2014 |
Ashok Bhat <ashok.bhat@arm.com> |
Remove unused JNITest class JNITest class is no longer actively used. This patch removes the class (java and jni) files. JNI interfaces and calls are extensively tested in the art unit tests (art/tests) and in cts (see CtsJniTestCases). Change-Id: I62f7c72deb5d206fa3f545ae39a9cb9011110d0a Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
/frameworks/base/core/jni/Android.mk
|
d430354c6b6b3b39c35e8af90007414c325ccb2d |
|
13-Feb-2014 |
Andreas Huber <andih@google.com> |
Merge "Revert "Split AndroidRuntime into AndroidRuntimeBase base-class and the rest.""
|
9ae000ca8c05ad6f700ad7bf119bbc92fb964b57 |
|
13-Feb-2014 |
Andreas Huber <andih@google.com> |
Revert "Split AndroidRuntime into AndroidRuntimeBase base-class and the rest." This reverts commit 7825334929b098b36e1144872200e75ba6d24b13. Change-Id: I1702eb3ff9d7192d64039c8bf4bc3fc5d8e458c4
/frameworks/base/core/jni/Android.mk
|
04f0cab79d1499a5fe27330bb30dd94151b82880 |
|
13-Feb-2014 |
Andreas Huber <andih@google.com> |
Merge "Split AndroidRuntime into AndroidRuntimeBase base-class and the rest."
|
7825334929b098b36e1144872200e75ba6d24b13 |
|
07-Feb-2014 |
Andreas Huber <andih@google.com> |
Split AndroidRuntime into AndroidRuntimeBase base-class and the rest. AndroidRuntimeBase (exported by libandroid_runtime_base.so) is all you need to link against to gain the ability to do AndroidRuntimeBase::getJNIEnv() thus minimizing build dependencies. Change-Id: Ia7f0c94c8c02b974c068e0db34774827f96aa95b
/frameworks/base/core/jni/Android.mk
|
0d148c8b4ed94891d00acf20aa724493629970e9 |
|
11-Feb-2014 |
Michael Wright <michaelwr@google.com> |
Merge "Move inputservice over to frameworks/native"
|
d6b473713f43dec0828971854fe1018642cfaf27 |
|
11-Feb-2014 |
Michael Wright <michaelwr@google.com> |
Move inputservice over to frameworks/native Remove all of the pieces except the PointerController and SpriteController over to frameworks/native in preparation for inputflinger. Those two need to stay in frameworks/base for now because they depend on Skia currently. In the long run they should be merged into either the InputManager or the WindowManager rather than as a part of the inputservice / inputflinger. Try 2. Change-Id: I84259356d3eb8efc5aefb9d6b311b5fc590ea3ed
/frameworks/base/core/jni/Android.mk
|
f6eebb21d5c58345eca8be25676e34346f5809b2 |
|
11-Feb-2014 |
John Reck <jreck@google.com> |
Merge "Refactor HardwareLayer"
|
04fc583c3dd3144bc6b718fcac4b3e1afdfdb067 |
|
06-Feb-2014 |
John Reck <jreck@google.com> |
Refactor HardwareLayer Defer all the things! Groundwork to allow hardware layers to work in a renderthread world Change-Id: Ib3aa47525f393083621254a743dbaa6352f933bd
/frameworks/base/core/jni/Android.mk
|
453fa30ab2dbff5934e551323763200fac96d723 |
|
11-Feb-2014 |
Michael Wright <michaelwr@google.com> |
Revert "Move inputservice over to frameworks/native" This reverts commit 89e5c7ebb37fabc4368e87e17a502db62598bd61.
/frameworks/base/core/jni/Android.mk
|
89e5c7ebb37fabc4368e87e17a502db62598bd61 |
|
10-Feb-2014 |
Michael Wright <michaelwr@google.com> |
Move inputservice over to frameworks/native Remove all of the pieces except the PointerController and SpriteController over to frameworks/native in preparation for inputflinger. Those two need to stay in frameworks/base for now because they depend on Skia currently. In the long run they should be merged into either the InputManager or the WindowManager rather than as a part of the inputservice / inputflinger. Change-Id: Iebef71f3030fb3d26a5f338eb66d75bb37c17734
/frameworks/base/core/jni/Android.mk
|
4f02bf4eef6af47f35c70c4dda5b7b9523d89ca0 |
|
04-Jan-2014 |
John Reck <jreck@google.com> |
Native-side proxy Remove RemoteGLRenderer Remove reflection-based control Change-Id: If17c2bbb61c7141986d88c4763def77ed1074985
/frameworks/base/core/jni/Android.mk
|
80a3a364fd0c7441dbee4de7dd441a6ce743f066 |
|
09-Jan-2014 |
Vinit Deshpande <vinitd@google.com> |
Merge "Revert "Revert "Move Wifi services to a new git project"""
|
3ffa1a899a6169600dabe39fb8528db9af522ba6 |
|
08-Jan-2014 |
Vinit Deshpande <vinitd@google.com> |
Revert "Revert "Move Wifi services to a new git project"" This reverts commit f1182c9c1abdb4e8f733632d0567410ab9fc1d3c. Change-Id: Ic440cfa6502b651b2cc67faf73c7c9c49df42190
/frameworks/base/core/jni/Android.mk
|
d9feaf49719d58cfc4fad203bd10e75253024fa9 |
|
08-Jan-2014 |
Vinit Deshpande <vinitd@google.com> |
Merge "Revert "Move Wifi services to a new git project""
|
f1182c9c1abdb4e8f733632d0567410ab9fc1d3c |
|
08-Jan-2014 |
Vinit Deshpande <vinitd@google.com> |
Revert "Move Wifi services to a new git project" This reverts commit 4a3f9cf099bbbe52dc0edb2a7e1d1c976bc335a3. Change-Id: I6269a683e842a5d1cfdafea892be86972ae11c40
/frameworks/base/core/jni/Android.mk
|
ed8ed0bc81864c802f25c54aeb896db6055a7c20 |
|
08-Jan-2014 |
Vinit Deshapnde <vinitd@google.com> |
Merge "Move Wifi services to a new git project"
|
23b797ab5151eb2474f3bdd679f2f07bfd723042 |
|
04-Jan-2014 |
John Reck <jreck@google.com> |
EGL migration to native Move EGL state management to native side for RemoteGLRenderer Change-Id: I12b0fed70246564d4caebf87374e8bbca655c572
/frameworks/base/core/jni/Android.mk
|
4a3f9cf099bbbe52dc0edb2a7e1d1c976bc335a3 |
|
27-Dec-2013 |
Vinit Deshapnde <vinitd@google.com> |
Move Wifi services to a new git project Bug: 12175455 Change-Id: I1fa07e29c6a9aae38d9e334d519a9f2445d15613
/frameworks/base/core/jni/Android.mk
|
5438979e498750b6a28ada7974d4e9fe17fd8394 |
|
20-Dec-2013 |
Chris Craik <ccraik@google.com> |
Move GLES20DisplayList functionality into DisplayList Removes unneeded indirection layer Change-Id: I75d3e369eda2788cbc52a3575c4e1c521e842f59
/frameworks/base/core/jni/Android.mk
|
85948593e31157207660dcd144fa5dbe2e6b6585 |
|
13-Dec-2013 |
Kristian Monsen <kristianm@google.com> |
resolved conflicts for merge of 800d4d72 to master Change-Id: Ib1defc447745e5406d64c0d99c962832c79d15ef
|
f5fabdf83d2a1b30fcbd2a25882f98e282e4f762 |
|
12-Dec-2013 |
Kristian Monsen <kristianm@google.com> |
Fix one and hide the other warnings from core/jni Most of the warnings are unused parameter from skia functions. Change-Id: I9df57718d117c26b96163f751ccb056ca86ac072
/frameworks/base/core/jni/Android.mk
|
cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fc |
|
05-Nov-2013 |
John Reck <jreck@google.com> |
RenderThread work Hacky prototype needs a private API to enable Change-Id: I21e0ddf3cdbd38a4036354b5d6012449e1a34849
/frameworks/base/core/jni/Android.mk
|
ebcb32f58a6220802ca129ea33f47b4b69931a10 |
|
05-Dec-2013 |
The Android Open Source Project <initial-contribution@android.com> |
Merge commit 'bac61807d3bcfff957b358cb9ad77850bd373689' into HEAD Change-Id: I29374270c8e0c2f2859efaf1d55af9f73da0f8d7
|
2a69b17309d141375474d68879e5695305b17a3f |
|
23-Nov-2013 |
Dmitry Shmidt <dimitrysh@google.com> |
wifi: Remove obsolete libwpa_client library Change-Id: I222c60ec65375768dc62f9219d115b5b09a374f6 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
/frameworks/base/core/jni/Android.mk
|
e41451993e183067414d9db1785566343fac4063 |
|
23-Nov-2013 |
Dmitry Shmidt <dimitrysh@google.com> |
wifi: Remove obsolete libwpa_client library Change-Id: I222c60ec65375768dc62f9219d115b5b09a374f6 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
/frameworks/base/core/jni/Android.mk
|
aff6ea9516ebb4c7e5bf487f7c867f31e8fbbd96 |
|
18-Nov-2013 |
Raph Levien <raph@google.com> |
Merge "Initial integration of Minikin to framework"
|
a033630e805c407080221e20b236b6054f324670 |
|
23-May-2013 |
Raph Levien <raph@google.com> |
Initial integration of Minikin to framework With this patch, framework does at least some of its text rendering using Minikin instead of TextLayoutCache. There's a lot of stuff broken and not yet implemented, but the phone will boot. Changes are hidden behind USE_MINIKIN, which should be set in BoardConfig.mk for the brave. Without that, there are changes to signatures in JNI methods and so on, but shouldn't be any visible changes. This commit also introduces a new abstraction for Typeface: The new TypefaceImpl abstraction represents the functionality that corresponds to a Java Typeface object. Currently it is backed by SkTypeface, but in the migration to Minikin it is a FontCollection combined with a FontStyle. This patch introduces a USE_MINIKIN preprocessor switch, so there is no substantial change to existing Skia-based code, but which lets us start replacing the implementation with the Minikin version. Change-Id: I532c4c2d32d4f4c1f349dc1db37caa112af587ea
/frameworks/base/core/jni/Android.mk
|
e77a040f3adcdbfc8fea265126c2d27f73c01243 |
|
11-Nov-2013 |
John Reck <jreck@google.com> |
Merge "More refactoring"
|
3083579424785e55ca8f82856a6553ee983c3ffb |
|
07-Nov-2013 |
John Reck <jreck@google.com> |
More refactoring Merge GlRenderer and Gl20Renderer Move GLRenderer to its own file Move native methods from HardwareRenderer to GLRenderer Change-Id: Ib4680b03dd98101b2a428062cc94774ff73baa75
/frameworks/base/core/jni/Android.mk
|
1fc1834d66a4dba4c9620f1f5e8d3474783af591 |
|
06-Nov-2013 |
Michael Wright <michaelwr@google.com> |
Disable unused parameter warning for jni code Change-Id: Iee2620186c8868d86ccb5f8d0fd6239079638e2d
/frameworks/base/core/jni/Android.mk
|
5aca2b8dc4f4ff2d466a64587d06666c7bbd9749 |
|
17-Oct-2013 |
Jeff Sharkey <jsharkey@android.com> |
Plumb through physical device UUID and label. vold now parse out UUID and label for inserted physical devices, and reports them to framework. Add these to hidden StorageVolume class for use by DocumentsUI and MediaProvider. Remove last JNI method in FileUtils! Bug: 11175082 Change-Id: I1cfcd1ade61767b103f693319ea2600008ee2e3c
/frameworks/base/core/jni/Android.mk
|
5b4ef81f2b79dd5d597b1681de4d0311d46693aa |
|
23-Sep-2013 |
Adam Lesinski <adamlesinski@google.com> |
Add Graphics alloc tracking via memtrack Any OpenGL memory reported by /proc/pid/smaps will not be included in the GPU GL memory count and will be considered Unknown. This is an artifact of how some memory reporting is done in libmemtrack and some is done in this module. bug:10294768 Change-Id: Id8fb63b2e86520f4dbc8410573a509e66b96b13b
/frameworks/base/core/jni/Android.mk
|
6811f4e92cbb64e72a0d13eb9b99b5894bd59c76 |
|
19-Sep-2013 |
Svetoslav <svetoslavganov@google.com> |
Move PdfDocument to android.graphics.pdf 1. Move PdfDocument to android.graphics.pdf. 2. Changed the PdfDocument as per API concil request. 3. Updated the documentation. bug:10461180 bug:10552565 bug:10681585 bug:10552336 Change-Id: I08e15b34cf37bb064248c887e6f59808019cafe8
/frameworks/base/core/jni/Android.mk
|
b93489270d41bbaf513f0018164ab8b6d6ca9519 |
|
19-Aug-2013 |
Elliott Hughes <enh@google.com> |
Merge "Remove a fixed-length buffer in the wifi code." into klp-dev
|
a11d574fc632158fe7d6cdd06bd3992c3817ca5c |
|
09-Aug-2013 |
Elliott Hughes <enh@google.com> |
Remove a fixed-length buffer in the wifi code. Also increase the size of the buffer we do need, simplify the code, and fix some of the error checking. (cherry-pick of 56968581ce77d3c0ee4286da6b0d5548874934b9.) Bug: http://code.google.com/p/android/issues/detail?id=36193 Bug: 10363597 Change-Id: Iadd2ee25469a37ddf06c3292b675a4cbcc4ecfa3
/frameworks/base/core/jni/Android.mk
|
da5a3e12f4f8f965c57d6f93c74190f43ea233f3 |
|
11-Aug-2013 |
Jeff Sharkey <jsharkey@android.com> |
Richer ParcelFileDescriptor close events. When reading from the end of a pipe or socket, there is no way to tell if the other end has finished successfully, encountered an error, or outright crashed. To solve this, we create a second socketpair() as a communication channel between the two ends of a pipe or socket pair, sending a status code with details about why the ParcelFileDescriptor was closed. The writer end of a pipe or socket can closeWithError() to send a message to the reader end. When the reader encounters EOF, they call checkError() to detect if any error occured. This also detects the case where the remote process died without sending a success message. This design is also extended to support regular files on disk, using the communication channel above to detect various remote close events or crashes, and delivering that event to a supplied OnCloseListener. Replaces JNI with best-practice Libcore.os calls, and deprecates some flags to match Context. Bug: 10330121 Change-Id: I8cfa1e4fb6f57397667c7f785106193e0faccad3
/frameworks/base/core/jni/Android.mk
|
5827cb5059ed0eec4c73adf1acbd7ee47b2c5c8f |
|
26-Jul-2013 |
Derek Sollenberger <djsollen@google.com> |
Changes needed to support Skia at r10377. Change-Id: Id1e1c8c5938ee1a33c6fa3caabd2c28e89243eb4
/frameworks/base/core/jni/Android.mk
|
2f1a2e423e0fbb64467d6fcfa4e82c6384f31210 |
|
26-Jul-2013 |
Eino-Ville Talvala <etalvala@google.com> |
Camera2 API: Rename package to android.hardware.camera2 Change-Id: I77b7939e199f9fe8e12a59393c24cff08097448c
/frameworks/base/core/jni/Android.mk
|
2ca204e4c0ba805c8fa0db79eeac9608d01cf5b4 |
|
26-Jul-2013 |
Mathias Agopian <mathias@google.com> |
get rid of PixelFormatInfo and simplify things Change-Id: I487d4eef7db0095ace4babf5bb100a8769711257
/frameworks/base/core/jni/Android.mk
|
b519cc52ecba8f44da31173c9fc90a7b66d52b79 |
|
02-Jul-2013 |
Igor Murashkin <iam@google.com> |
camera2 api: Add CameraMetadata get/set support * Add a Rational class * Can get/set Key<T> where T is a primitive (or Rational) * Can get/set Key<T> where T is a primitive array * Can get/set Key<T> where T is an enum (synthetic constructor only) Not implemented yet: * When T is anything else, i.e. Rect, Size, etc Bug: 9529161 Change-Id: I64438024a1e8327a38dd2672652626f0ffbb70e3
/frameworks/base/core/jni/Android.mk
|
9d3b1a424c5c61e24e9659d15fb353026a00d925 |
|
02-Jul-2013 |
Jeff Brown <jeffbrown@google.com> |
Move input library code to frameworks/native. No longer compile libandroidfw as a static library on the device since it already exists as a shared library. Keeping the static library would force us to provide a static library version of libinput for the device as well which doesn't make sense. Change-Id: I3517881b87b47dcc209d80dbd0ac6b5cf29a766f
/frameworks/base/core/jni/Android.mk
|
70725500dcf3b666b43d50563d64705aab58d2d3 |
|
25-Jun-2013 |
Igor Murashkin <iam@google.com> |
Initial camera device implementation * Working streaming preview requests only * Almost everything else returns empty objects that don't do anything Bug: 9213377 Change-Id: Ie6f02a7c0952b0f5ebc41905425b15cae221f7d3
/frameworks/base/core/jni/Android.mk
|
36483e9622b399ea1368fb84ed0c5a5495f65e42 |
|
25-Jun-2013 |
Igor Murashkin <iam@google.com> |
Revert "Initial camera device implementation" This reverts commit 59bc67c732eab53b370b196066e8012d3f6bf09a. Change-Id: I9e1ce3b9f4af4e2b9b98855c0ca533581c87ea7f
/frameworks/base/core/jni/Android.mk
|
59bc67c732eab53b370b196066e8012d3f6bf09a |
|
20-Jun-2013 |
Igor Murashkin <iam@google.com> |
Initial camera device implementation * Working streaming preview requests only * Almost everything else returns empty objects that don't do anything Bug: 9213377 Change-Id: I183dd47ddd737ec2c3c374e5c3461542a97f09b0
/frameworks/base/core/jni/Android.mk
|
b06accf34f53956a5ccd44cecc3604cc2d166cd7 |
|
21-Jun-2013 |
Svetoslav Ganov <svetoslavganov@google.com> |
Merge "Generate PDF from Canvas."
|
9f8203a159d46124a0907a0d9500e599533beed3 |
|
19-Jun-2013 |
Brian Carlstrom <bdc@google.com> |
Remove libdvm dependency Change-Id: I7d37db4e72e9435ecd514340cf61a051dc272f04
/frameworks/base/core/jni/Android.mk
|
ff4adde5737be08d3e2d03fbe588c591d27d4a74 |
|
10-Jun-2013 |
Svetoslav Ganov <svetoslavganov@google.com> |
Generate PDF from Canvas. This change adds simple APIs that enable an Android application to generate a PDF document by drawing content on a canvas. Change-Id: Ibac93d7c37b01a376ce7c48238657d8c7698d588
/frameworks/base/core/jni/Android.mk
|
d7a80774f0a2175f9ee81a7741f9a171c78e0b8b |
|
28-May-2013 |
Derek Sollenberger <djsollen@google.com> |
Modifications needed for updating Skia to r9286. bug: 8719528 Change-Id: I260fefb93c5a8c5dec86acdec66cbe55a2ee8a92
/frameworks/base/core/jni/Android.mk
|
6155251c7bcb75818bdc9bbf1bd863df49994a7c |
|
11-May-2013 |
Brian Carlstrom <bdc@google.com> |
am bf7afa23: am 94f55b30: Merge "Tracking libnativehelper dependencies" * commit 'bf7afa239e9541b3cac5a3c510bfb9b25b4a1348': Tracking libnativehelper dependencies
|
bf7afa239e9541b3cac5a3c510bfb9b25b4a1348 |
|
11-May-2013 |
Brian Carlstrom <bdc@google.com> |
am 94f55b30: Merge "Tracking libnativehelper dependencies" * commit '94f55b30e3e04dbea63836197e76c7464d8d6d37': Tracking libnativehelper dependencies
|
fde1f91d9b370758f79a7eb6e14df38a9789e10a |
|
11-May-2013 |
Brian Carlstrom <bdc@google.com> |
Tracking libnativehelper dependencies Change-Id: I05ec62c43fbe5f8ba23256abac7271ca0b1a7242
/frameworks/base/core/jni/Android.mk
|
ce3fe5fd8a246b7eb96bb189fc58f63006d2e6c8 |
|
07-May-2013 |
Jesse Hall <jessehall@google.com> |
am 4d32a367: am 2787ba25: Merge "Register EGLExt JNI methods" into jb-mr2-dev * commit '4d32a36759b619abdda9c895054f513aef3a3f03': Register EGLExt JNI methods
|
237c2b871f66e06498ad03aaa92964f4434982c5 |
|
06-May-2013 |
Jesse Hall <jessehall@google.com> |
Register EGLExt JNI methods Bug: 8678160 Change-Id: I8ecd2e6da2aee250b3433be18fff6af927b02994
/frameworks/base/core/jni/Android.mk
|
3b748a44c6bd2ea05fe16839caf73dbe50bd7ae9 |
|
18-Apr-2013 |
Romain Guy <romainguy@google.com> |
Pack preloaded framework assets in a texture atlas When the Android runtime starts, the system preloads a series of assets in the Zygote process. These assets are shared across all processes. Unfortunately, each one of these assets is later uploaded in its own OpenGL texture, once per process. This wastes memory and generates unnecessary OpenGL state changes. This CL introduces an asset server that provides an atlas to all processes. Note: bitmaps used by skia shaders are *not* sampled from the atlas. It's an uncommon use case and would require extra texture transforms in the GL shaders. WHAT IS THE ASSETS ATLAS The "assets atlas" is a single, shareable graphic buffer that contains all the system's preloaded bitmap drawables (this includes 9-patches.) The atlas is made of two distinct objects: the graphic buffer that contains the actual pixels and the map which indicates where each preloaded bitmap can be found in the atlas (essentially a pair of x and y coordinates.) HOW IS THE ASSETS ATLAS GENERATED Because we need to support a wide variety of devices and because it is easy to change the list of preloaded drawables, the atlas is generated at runtime, during the startup phase of the system process. There are several steps that lead to the atlas generation: 1. If the device is booting for the first time, or if the device was updated, we need to find the best atlas configuration. To do so, the atlas service tries a number of width, height and algorithm variations that allows us to pack as many assets as possible while using as little memory as possible. Once a best configuration is found, it gets written to disk in /data/system/framework_atlas 2. Given a best configuration (algorithm variant, dimensions and number of bitmaps that can be packed in the atlas), the atlas service packs all the preloaded bitmaps into a single graphic buffer object. 3. The packing is done using Skia in a temporary native bitmap. The Skia bitmap is then copied into the graphic buffer using OpenGL ES to benefit from texture swizzling. HOW PROCESSES USE THE ATLAS Whenever a process' hardware renderer initializes its EGL context, it queries the atlas service for the graphic buffer and the map. It is important to remember that both the context and the map will be valid for the lifetime of the hardware renderer (if the system process goes down, all apps get killed as well.) Every time the hardware renderer needs to render a bitmap, it first checks whether the bitmap can be found in the assets atlas. When the bitmap is part of the atlas, texture coordinates are remapped appropriately before rendering. Change-Id: I8eaecf53e7f6a33d90da3d0047c5ceec89ea3af0
/frameworks/base/core/jni/Android.mk
|
a44dd26a75e24cc021802288fb81f4761e47be6b |
|
11-Apr-2013 |
Michael Wright <michaelwr@google.com> |
Rewrite input handling for native applications Bug: 8473020 Change-Id: Ic4353d8924ab877bec21aff8c2dba9fe725bf906
/frameworks/base/core/jni/Android.mk
|
d830e74ff4bc9aa015f746e54f6922bf5221f1ba |
|
29-Mar-2013 |
Jesse Hall <jessehall@google.com> |
Add android.opengl.GLES30, hidden for now Bug: 8566953 Change-Id: Ia5a01d5e857b4fce12a451e2dcab0359758ad648
/frameworks/base/core/jni/Android.mk
|
d685894212e6dbeac1fda4996903c1da115d49a6 |
|
10-Apr-2013 |
Ying Wang <wangying@google.com> |
Add liblog Bug: 8580410 Change-Id: I746aa8258866508c3a725d0773faf4518096548f
/frameworks/base/core/jni/Android.mk
|
c28867a1d67121ce5963de135e3ae2b1dbd9a33d |
|
26-Mar-2013 |
Jeff Brown <jeffbrown@google.com> |
Use input transport for communications between app and IME. The input method manager service now supplies an input channel for communication while creating an IME session on behalf of the application. This change significanly reduces the overhead of IME event dispatch by using a standard input channel to send input events rather than using binder. This results in fewer thread context switches and fewer object allocations. What's more, the IME may perform additional batching of the motion events that it receives which may help it catch up if it is getting behind while processing them. Bug: 7984576 Bug: 8473020 Change-Id: Ibe26311edd0060cdcae80194f1753482e635786f
/frameworks/base/core/jni/Android.mk
|
bf49422197c81578cc3c0519143714f5006e9d38 |
|
05-Mar-2013 |
Elliott Hughes <enh@google.com> |
am 582c5b85: am 690d3435: Merge "jni: remove obsolete flag from makefile" * commit '582c5b85c5653d93afc63b00ac1efff94d0853ab': jni: remove obsolete flag from makefile
|
d625127db9ed801a23e7026e9f5a199c92eab932 |
|
24-May-2012 |
Bruce Beare <bruce.j.beare@intel.com> |
jni: remove obsolete flag from makefile Change-Id: Ia7e67694a736745333e9d36396b8cb6194fd26ec Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
/frameworks/base/core/jni/Android.mk
|
14567588028d0d70f7313251bda86ace2090f2ba |
|
15-Feb-2013 |
Kristian Monsen <kristianm@google.com> |
resolved conflicts for merge of 58a1ca66 to master-chromium Change-Id: I06b61e6d7d52b584eae03a95220381475b8bff0e
|
58a1ca6642d404b67e5c9e75076b9bbe08e4076b |
|
14-Feb-2013 |
Mathias Agopian <mathias@google.com> |
Merge "split Surface in two classes: SurfaceControl and Surface"
|
3866f0d581ceaa165710feeee9f37fe1b0d7067d |
|
12-Feb-2013 |
Mathias Agopian <mathias@google.com> |
split Surface in two classes: SurfaceControl and Surface SurfaceControl is the window manager side; it can control the attributes of a surface but cannot push buffers to it. Surface on the other hand is the application (producer) side and is used to push buffers to the surface. Change-Id: Ib6754c968924e87e8dd02a2073c7a447f729f4dd
/frameworks/base/core/jni/Android.mk
|
1f6692f1f964bc315822eb29654a2318bb2983d4 |
|
14-Feb-2013 |
Jeff Sharkey <jsharkey@android.com> |
am aec6bcfb: Merge "Parse network stats using native code." # Via Android (Google) Code Review (1) and Jeff Sharkey (1) * commit 'aec6bcfb767a4b9dfd391bff338a8ff284b29549': Parse network stats using native code.
|
9a2c2a6da90abbcc9a064c20e93ed885651f4ae1 |
|
15-Jan-2013 |
Jeff Sharkey <jsharkey@android.com> |
Parse network stats using native code. Switch to parsing detailed network stats with native code, which is 71% faster than ProcFileReader. Change-Id: I2525aaee74d227ce187ba3a74dd08a2b06514deb
/frameworks/base/core/jni/Android.mk
|
7c1a49f5f5ed6613d736464bf5001b777e89ced2 |
|
13-Feb-2013 |
Chris Craik <ccraik@google.com> |
Revert "Merge remote-tracking branch 'goog/master-chromium' into 'goog/master'" DO NOT MERGE This reverts commit 6c0307dd0aefe9a08794b155fc03ee60ebd14f25, reversing changes made to a2cd828b749c444d55c2c41c7dbb85088ff94b9f. Conflicts: packages/SystemUI/res/values-sv/strings.xml Change-Id: Ia178efe8b14751583d47b2826bfe3d3d5463dd2e
/frameworks/base/core/jni/Android.mk
|
d81ec456bb097a712bcbc093c5a1e0075434158e |
|
04-Feb-2013 |
Derek Sollenberger <djsollen@google.com> |
Changes needed to roll Skia to r7527. Change-Id: I84aef3f8a733c869fade06021816646001532758
/frameworks/base/core/jni/Android.mk
|
49a7e454d1c775ded9ebe1308fd6f51861a2ed0b |
|
15-Jan-2013 |
Raph Levien <raph@google.com> |
am 7cd0859a: Merge "Update framework text layout to use Harfbuzz NG" * commit '7cd0859a735c0c6a489d70d5d96e44e9d1a27be8': Update framework text layout to use Harfbuzz NG
|
aaedde51b76901ff05f2a2348eb41f0f5323d954 |
|
30-Oct-2012 |
Raph Levien <raph@google.com> |
Update framework text layout to use Harfbuzz NG These are the frameworks changes to use the new version of Harfbuzz. Change-Id: Idbef325e8fc1c27a9f2296414ddb1f79b778a00e
/frameworks/base/core/jni/Android.mk
|
ca79cf69d09efa0c327e9b1237d86a119aea5da7 |
|
14-Aug-2012 |
Derek Sollenberger <djsollen@google.com> |
Update framework to support r5967 of Skia. bug: 6906025 Change-Id: Iefdb830ec3aa2ab3472c1c142484a7aa21788a15
/frameworks/base/core/jni/Android.mk
|
e4d08f11c49ff4c554df80c12fa2b5b04831e2f5 |
|
07-Nov-2012 |
Elliott Hughes <enh@google.com> |
am 9197d170: am fec5f611: Merge "It\'s 2012. We\'re always WITH_JIT." * commit '9197d170b770f2b87abd0cd0e13dcf71e5a181c2': It's 2012. We're always WITH_JIT.
|
9197d170b770f2b87abd0cd0e13dcf71e5a181c2 |
|
07-Nov-2012 |
Elliott Hughes <enh@google.com> |
am fec5f611: Merge "It\'s 2012. We\'re always WITH_JIT." * commit 'fec5f611fef4fc3b7afa5d7194f4f40d156157ac': It's 2012. We're always WITH_JIT.
|
be8b47f6ce739739caa2e2b36d7b0b336ca9eebb |
|
07-Nov-2012 |
Elliott Hughes <enh@google.com> |
It's 2012. We're always WITH_JIT. Change-Id: Ia3d1a1b1df06816f2cfa3879ec669b34c62cf9b9
/frameworks/base/core/jni/Android.mk
|
b24a1b7f99c4ada2fe45a670962afdf1ddd7f67b |
|
30-Oct-2012 |
Glenn Kasten <gkasten@google.com> |
Remove obsolete references to libmedia_native Bug: 6654403 Change-Id: I05d8e81fd31617b587fd1228a303c40db83e7f2d
/frameworks/base/core/jni/Android.mk
|
ad0090e7b8c70cf44609aafbfea8c3946e2802a9 |
|
17-Oct-2012 |
Kenny Root <kroot@google.com> |
resolved conflicts for merge of 85f9ba9e to jb-mr1-dev-plus-aosp Change-Id: I9ae49075935f0e9ec432ce9d828ee26a4fcdb44c
|
c9a1aabc49d31370e3bf41f85b805499640230b1 |
|
17-Oct-2012 |
Kenny Root <kroot@google.com> |
Remove HAVE_SELINUX guards Change-Id: I6c2161471f657aa1645695ffd56ff434b0c2b426
/frameworks/base/core/jni/Android.mk
|
a3ae43942586e1f2b08fdc46963c73826ad6648c |
|
19-Sep-2012 |
Zhihai Xu <zhihaixu@google.com> |
ISSUE 6849488 Bluedroid stack, remove system/bluetooth. remove system/bluetooth stuff. bug 6849488 Change-Id: I9ea87c9cd60d5ecfa0d58d28301554e716cd2893
/frameworks/base/core/jni/Android.mk
|
cbad976b2a36a0895ca94510d5208a86f66cf596 |
|
05-Sep-2012 |
Jeff Brown <jeffbrown@google.com> |
Add support for Wifi display. Change-Id: I99693786cf9d07d07d3400046c55eb4933730b80
/frameworks/base/core/jni/Android.mk
|
64a55af0ac700baecb0877235eb42caac59a3560 |
|
26-Aug-2012 |
Jeff Brown <jeffbrown@google.com> |
Add plumbing for new surface flinger display API. Cleaned up the implementation of Surface and SurfaceSession to use more consistent naming and structure. Added JNI for all of the new surface flinger display API calls. Enforced the requirement that all Surfaces created by the window manager be named. Updated the display manager service to use the new methods. Change-Id: I2a658f1bfd0437e1c6f9d22df8d4ffcce7284ca2
/frameworks/base/core/jni/Android.mk
|
a579f7926af72597f1c11c5df0486253d5d2c435 |
|
16-Aug-2012 |
Kenny Root <kroot@google.com> |
am d69b47c0: am 8942e5a3: Merge "Use libcore Posix class for StatFs implementation" * commit 'd69b47c087a87355df76a5276ab18af847f64367': Use libcore Posix class for StatFs implementation
|
bdd23ae9f5ea2b3e0720e76711345cad0fa8d6dd |
|
16-Aug-2012 |
Kenny Root <kroot@google.com> |
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
/frameworks/base/core/jni/Android.mk
|
fa25bf5382467b1018bd9af7f1cb30a23d7d59f7 |
|
24-Jul-2012 |
Jeff Brown <jeffbrown@google.com> |
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
/frameworks/base/core/jni/Android.mk
|
34196187365687d3f144a6de5fef811b52545ac0 |
|
18-Jan-2012 |
Jaikumar Ganesh <jaikumar@google.com> |
Remove BT references from System Server. Change-Id: Icfdb3e140aa35174a8b70da57472a1bf2bd0143b Conflicts: services/java/com/android/server/SystemServer.java
/frameworks/base/core/jni/Android.mk
|
313a2167098ce8498db3a50d70724f260e8169c0 |
|
18-Jan-2012 |
Jaikumar Ganesh <jaikumar@google.com> |
Delete various Bluetooth files for stack integration.
/frameworks/base/core/jni/Android.mk
|
6b1e838fc16d397359f82c3a4f5700f1ed7dd910 |
|
03-Jul-2012 |
Thomas Tafertshofer <tafertth@google.com> |
EGL 1.4 bindings generated by glgen Change-Id: I1c3da57101f4ea089a12f1796f25b72d6852141e
/frameworks/base/core/jni/Android.mk
|
450f21a97da3d12fa835ed436cab251bbc34cf89 |
|
08-Jun-2012 |
Kenny Root <kroot@google.com> |
am d26f7139: Merge "resolved conflicts for merge of 9855f6e2 to jb-dev-plus-aosp" into jb-dev-plus-aosp * commit 'd26f7139a7ff42ca1be470657515767f7509955b': Add JNI bindings for some of the libselinux interfaces.
|
e38b1c4d156a569efc646e86a72ab3a3e3ccf6fc |
|
08-Jun-2012 |
Kenny Root <kroot@google.com> |
resolved conflicts for merge of 9855f6e2 to jb-dev-plus-aosp Change-Id: I012bd3b5946dedba3439285caa93739d44ebc60f
|
517f67fe4b70c5a1907cb503d62b906a1eed2e1e |
|
05-Jun-2012 |
Billy Hewlett <billyh@google.com> |
Fix hardcoded font path. Allow adding new font path thru Skia changes. Bug: 6609231 Change-Id: I7b28c6f7ac1c227c7059b486635cadb39a6eacc3
/frameworks/base/core/jni/Android.mk
|
7304c343821309dd15f769b18f1de2fa43751573 |
|
12-May-2012 |
Jeff Brown <jeffbrown@google.com> |
Move power HAL interactions to PowerManagerService. This refactoring sets the stage for a follow-on change that will make use additional functions of the power HAL. Moved functionality from android.os.Power into PowerManagerService. None of these functions make sense being called outside of the system server. Moving them to the PowerManagerService makes it easier to ensure that the power HAL is initialized exactly once. Similarly, moved ShutdownThread out of the policy package and into the services package where it can tie into the PowerManagerService as needed. Bug: 6435382 Change-Id: I958241bb124fb4410d96f5d5eb00ed68d60b29e5
/frameworks/base/core/jni/Android.mk
|
51d81f3c3e0ca2c04da68e93b7f4981843b74604 |
|
04-May-2012 |
Colin Cross <ccross@android.com> |
Use libsuspend to trigger suspend Calling to libsuspend to trigger suspend instead of letting the power hal do it. Change-Id: I3cf51fea4d288f9fc19ce5aae39cdd581e8b44cb
/frameworks/base/core/jni/Android.mk
|
9f25b7fdf216c9ef0bd2322cd223eeaf0d60f77f |
|
10-Apr-2012 |
Jeff Brown <jeffbrown@google.com> |
Request key maps from input manager service. Instead of each application loading the KeyCharacterMap from the file system, get them from the input manager service as part of the InputDevice object. Refactored InputManager to be a proper singleton instead of having a bunch of static methods. InputManager now maintains a cache of all InputDevice objects that it has loaded. Currently we never invalidate the cache which can cause InputDevice to return stale motion ranges if the device is reconfigured. This will be fixed in a future change. Added a fake InputDevice with ID -1 to represent the virtual keyboard. Change-Id: If7a695839ad0972317a5aab89e9d1e42ace28eb7
/frameworks/base/core/jni/Android.mk
|
c07fca3831baf4d812dd724f506b4ed23dcc39e0 |
|
13-Jan-2012 |
Stephen Smalley <sds@tycho.nsa.gov> |
Add JNI bindings for some of the libselinux interfaces. Change-Id: Ifcc68cb06f9f56a04f3bc64dd9906a9436fabc88
/frameworks/base/core/jni/Android.mk
|
ba4d0433319393d626d2169683209e4956a087e2 |
|
28-Mar-2012 |
James Dong <jdong@google.com> |
frameworks base Android.mk file changes Change-Id: I7459b9e959a60751b8fa6e0d893cb2c820c064ce
/frameworks/base/core/jni/Android.mk
|
d927a1d99630c05ff773f0e9e8791ca9a965e020 |
|
28-Mar-2012 |
James Dong <jdong@google.com> |
Deleted the media, camera, drm related files since they are relocated Change-Id: I9bc5573ee07e30b305b5b879023aa9ec69e10b91
/frameworks/base/core/jni/Android.mk
|
ae75f994cc50837afe79d3bfbc576811e3602fef |
|
16-Mar-2012 |
Glenn Kasten <gkasten@google.com> |
Add libmedia_native Change-Id: Ib8cff8abd73723b793f08da99ad59549f219e0e7
/frameworks/base/core/jni/Android.mk
|
a1cff5043d0fbd78fcf9c48e7658e56a5b0c2de3 |
|
21-Feb-2012 |
Chet Haase <chet@google.com> |
Handle view properties at the native level Basic functionality of handling View properties (transforms, left/right/top/bottom, and alpha) at the native DisplayList level. This logic is disabled for now (via compile-time flags in View.java and DisplayListRenderer.h) as we continue work on it (there is no advantage to the new approach until we optimize invalidation and rendering paths to use the new code path). Change-Id: I370c8d21fbd291be415f55515ab8dced6f6d51a3
/frameworks/base/core/jni/Android.mk
|
481c1570dc5cdf58265b53f657801709dd05d1df |
|
09-Mar-2012 |
Jeff Brown <jeffbrown@google.com> |
Add Java wrappers for new atrace functionality. Instrument a few parts of the input dispatcher and the view hierarchy. Change-Id: I49285c9fb3502253baa1ffed60f521b8c24fccaf
/frameworks/base/core/jni/Android.mk
|
d84e1ce0b535128f03416145554fb405f9fade3e |
|
07-Mar-2012 |
Jeff Sharkey <jsharkey@android.com> |
Split Parcel JNI details away from Binder. This is purely a refactoring, with no change to the underlying functionality. Change-Id: I41b59f14e57d1cc144274a01f77658d99a1bfe02
/frameworks/base/core/jni/Android.mk
|
08965ec67ada98f63f8ac879cc44c8b0e7ff046d |
|
06-Mar-2012 |
Mathias Agopian <mathias@google.com> |
fixup hardcoded include paths for new project Change-Id: Id443ec5c99bb4d7653905f1be1f72a029e0cf087
/frameworks/base/core/jni/Android.mk
|
83c64e6b624a876436d2ef5d2f173b10407e27b4 |
|
21-Feb-2012 |
Mathias Agopian <mathias@google.com> |
frameworks/base refactoring create the new libandroidfw from parts of libui and libutils Change-Id: I1584995616fff5d527a2aba63921b682a6194d58
/frameworks/base/core/jni/Android.mk
|
b01e8bf57b7492b77e3445db51471edcbadda75e |
|
30-Aug-2011 |
Mike Lockwood <lockwood@android.com> |
New Serial Manager API: SerialManager: provides access to serial ports SerialPort: for reading and writing data to and from serial ports IO with both array based and direct ByteBuffers is supported. Accessing serial ports requires android.permission.SERIAL_PORT permission Each platform must configure list of supported serial ports in the config_serialPorts resource overlay (this is needed to prevent apps from accidentally accessing the bluetooth or other system UARTs). In addition, the platform uevent.rc file must set the owner to the /dev/tty* files to "system" so the framework can access the port. Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/jni/Android.mk
|
e5360fbf3efe85427f7e7f59afe7bbeddb4949ac |
|
01-Nov-2011 |
Jeff Brown <jeffbrown@google.com> |
Rewrite SQLite database wrappers. The main theme of this change is encapsulation. This change preserves all existing functionality but the implementation is now much cleaner. Instead of a "database lock", access to the database is treated as a resource acquisition problem. If a thread's owns a database connection, then it can access the database; otherwise, it must acquire a database connection first, and potentially wait for other threads to give up theirs. The SQLiteConnectionPool encapsulates the details of how connections are created, configured, acquired, released and disposed. One new feature is that SQLiteConnectionPool can make scheduling decisions about which thread should next acquire a database connection when there is contention among threads. The factors considered include wait queue ordering (fairness among peers), whether the connection is needed for an interactive operation (unfairness on behalf of the UI), and whether the primary connection is needed or if any old connection will do. Thus one goal of the new SQLiteConnectionPool is to improve the utilization of database connections. To emulate some quirks of the old "database lock," we introduce the concept of the primary database connection. The primary database connection is the one that is typically used to perform write operations to the database. When a thread holds the primary database connection, it effectively prevents other threads from modifying the database (although they can still read). What's more, those threads will block when they try to acquire the primary connection, which provides the same kind of mutual exclusion features that the old "database lock" had. (In truth, we probably don't need to be requiring use of the primary database connection in as many places as we do now, but we can seek to refine that behavior in future patches.) Another significant change is that native sqlite3_stmt objects (prepared statements) are fully encapsulated by the SQLiteConnection object that owns them. This ensures that the connection can finalize (destroy) all extant statements that belong to a database connection when the connection is closed. (In the original code, this was very complicated because the sqlite3_stmt objects were managed by SQLiteCompiledSql objects which had different lifetime from the original SQLiteDatabase that created them. Worse, the SQLiteCompiledSql finalizer method couldn't actually destroy the sqlite3_stmt objects because it ran on the finalizer thread and therefore could not guarantee that it could acquire the database lock in order to do the work. This resulted in some rather tortured logic involving a list of pending finalizable statements and a high change of deadlocks or leaks.) Because sqlite3_stmt objects never escape the confines of the SQLiteConnection that owns them, we can also greatly simplify the design of the SQLiteProgram, SQLiteQuery and SQLiteStatement objects. They no longer have to wrangle a native sqlite3_stmt object pointer and manage its lifecycle. So now all they do is hold bind arguments and provide a fancy API. All of the JNI glue related to managing database connections and performing transactions is now bound to SQLiteConnection (rather than being scattered everywhere). This makes sense because SQLiteConnection owns the native sqlite3 object, so it is the only class in the system that can interact with the native SQLite database directly. Encapsulation for the win. One particularly tricky part of this change is managing the ownership of SQLiteConnection objects. At any given time, a SQLiteConnection is either owned by a SQLiteConnectionPool or by a SQLiteSession. SQLiteConnections should never be leaked, but we handle that case too (and yell about it with CloseGuard). A SQLiteSession object is responsible for acquiring and releasing a SQLiteConnection object on behalf of a single thread as needed. For example, the session acquires a connection when a transaction begins and releases it when finished. If the session cannot acquire a connection immediately, then the requested operation blocks until a connection becomes available. SQLiteSessions are thread-local. A SQLiteDatabase assigns a distinct session to each thread that performs database operations. This is very very important. First, it prevents two threads from trying to use the same SQLiteConnection at the same time (because two threads can't share the same session). Second, it prevents a single thread from trying to acquire two SQLiteConnections simultaneously from the same database (because a single thread can't have two sessions for the same database which, in addition to being greedy, could result in a deadlock). There is strict layering between the various database objects, objects at lower layers are not aware of objects at higher layers. Moreover, objects at higher layers generally own objects at lower layers and are responsible for ensuring they are properly disposed when no longer needed (good for the environment). API layer: SQLiteDatabase, SQLiteProgram, SQLiteQuery, SQLiteStatement. Session layer: SQLiteSession. Connection layer: SQLiteConnectionPool, SQLiteConnection. Native layer: JNI glue. By avoiding cyclic dependencies between layers, we make the architecture much more intelligible, maintainable and robust. Finally, this change adds a great deal of new debugging information. It is now possible to view a list of the most recent database operations including how long they took to run using "adb shell dumpsys dbinfo". (Because most of the interesting work happens in SQLiteConnection, it is easy to add debugging instrumentation to track all database operations in one place.) Change-Id: Iffb4ce72d8bcf20b4e087d911da6aa84d2f15297
/frameworks/base/core/jni/Android.mk
|
a356bf1cd81614a94ef6c720998792480ade4c84 |
|
14-Dec-2011 |
Nick Pelly <npelly@google.com> |
Rewrite NDEF parsing in Java, clean-up API. o Lots of documentation fixes. o Add NdefMessage(NdefRecord ... records) ctor o Add NdefRecord.createMime() o Add NdefRecord.createExternal() o Add toString(), equals() and hashCode() implementations o Deprecate NdefRecord(byte[]) and NdefRecord.toByteArray() o Remove framework dependency on libnfc_ndef.so o Remove NfcAdapter.getDefaultAdapter(), its been deprecated a while next step: o Attempt to move NdefMessage -> Intent conversion into NDEF, and make it CTS tested. This will ensure consistent NDEF -> Intent mapping across all Android devices. Change-Id: Ifed4910caa9a1d6bad32dbf0a507ab22bca35e22
/frameworks/base/core/jni/Android.mk
|
0a0a1248cfc03940174cbd9af677bafd7280a3bc |
|
02-Dec-2011 |
Jeff Brown <jeffbrown@google.com> |
Add a new class to receive vsync events. Change-Id: I4e384336d2813752a6d65fda6a77e86113a4510c
/frameworks/base/core/jni/Android.mk
|
32cbc3855c2a971aa5a801fd339fb6a37db91a1a |
|
01-Dec-2011 |
Jeff Brown <jeffbrown@google.com> |
Refactor InputQueue as InputEventReceiver. This change simplifies the code associated with receiving input events from input channels and makes it more robust. It also does a better job of ensuring that input events are properly recycled (sometimes we dropped them on the floor). This change also adds a sequence number to all events, which is handy for determining whether we are looking at the same event or a new one, particularly when events are recycled. Change-Id: I4ebd88f73b5f77f3e150778cd550e7f91956aac2
/frameworks/base/core/jni/Android.mk
|
a95826582773a194ed7fb66bc29c9b82fe9bb8d1 |
|
10-Nov-2011 |
Romain Guy <romainguy@google.com> |
Initialize egl_cache with an app writeable file Change-Id: I5dda234feab0fedd6e4179a80715ae20dee1c833
/frameworks/base/core/jni/Android.mk
|
98a4f7e7e12effb78b3d1035e5a670ccbbf5bca1 |
|
03-Sep-2011 |
JP Abgrall <jpa@google.com> |
NetworkManagement SocketTagger: Migrate QTagUid support to JNI. * Instead of javaland trying to write commands to /proc/net/xt_qtaguid/ctrl use the libcutils/qtaguid.c support via JNI. * Get rid of tagToKernel() handled by qtaguid library. Requires libcutils changes from c/132538/ Change-Id: I9de5b3fa4a596c56835024c6d376769a0eea7db1
/frameworks/base/core/jni/Android.mk
|
1ee60119c4fa51ebfa781cf5fdc33f192e8551b8 |
|
26-Jul-2011 |
Ted Bonkenburg <tedbo@google.com> |
Remove ParcelSurfaceTexture and update MediaPlayer This removes the ParcelSurfaceTexture class since that functionality has been folded into Surface.java. The change also updates the MediaPlayer to get rid of setParcelSurfaceTexture() and modifies setTexture() to use the new Surface functionality in order to simplify the code. Change-Id: Iafa75ea3188263928128325d8a726786971b4de4
/frameworks/base/core/jni/Android.mk
|
5de5b1a91e25ef4931661fdd089d7e0e2b7da035 |
|
09-Aug-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix Harbuzz shaper for being able to do select other scripts than Common or Arabic - need to take care of diacritics marks that return HB_Script_Inherited for a script Change-Id: Icbfea46b305e15849b25410fed07d9cd5dfeb818
/frameworks/base/core/jni/Android.mk
|
f09e46e938cd041315f25de3d23560c12c08bf4e |
|
08-Aug-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Revert "Adapt TextLayoutCache for new Harfbuzz scripts" This reverts commit 7f4ae758ba4724f7c3031d33ad8e749c11d1e059 This CL created a regression: #5134317 Arabic Keyboard does not appear
/frameworks/base/core/jni/Android.mk
|
7f4ae758ba4724f7c3031d33ad8e749c11d1e059 |
|
03-Aug-2011 |
Russell Brenner <russellbrenner@google.com> |
Adapt TextLayoutCache for new Harfbuzz scripts The Harfbuzz script setting was wired to HB_Script_Common for left- to-right text and HB_Script_Arabic for right-to-left. This change selects from additional scripts using some utility APIs from Harfbuzz. Change-Id: I34a6f1e0407c8d122bc968443948e7863d1f91ed
/frameworks/base/core/jni/Android.mk
|
66269ea6f68f2f25888ce1080c94ac782742fafc |
|
12-Jul-2011 |
Kenny Root <kroot@google.com> |
Move extract native libraries to JNI code The built-in ZipFile class was quite a long time to find an unpack libraries. Move everything to using the libutils ZipFileRO class that goes quite a bit faster. Initial measurements are 6 times faster than the Java code. Also, read files off the disk and compare their CRC against the APK's CRC to see if we need to write the new file to disk. This also cuts down the bootup time by up to a second per APK that has native files. Change-Id: Ic464a7969a17368fb6a6b81d026888c4136c7603
/frameworks/base/core/jni/Android.mk
|
75d086e5b2ed3c7ff70f60ca1f616138b825f551 |
|
17-Jul-2011 |
Doug Kwan <dougkwan@google.com> |
Add C code to use BDADDR_ANY macro properly. The macro expands into code that is not valid C++. So we need to use a C helper. Change-Id: I5e7a46dd2af404972c1b4b97d21398d77c339cac
/frameworks/base/core/jni/Android.mk
|
dafbf247ee4d0c14d501a23612115ab3a1306288 |
|
16-Jul-2011 |
Romain Guy <romainguy@google.com> |
Remove unused code Change-Id: I7f7fc6bac03c92087037fc56b78fc43a1e93dae5
/frameworks/base/core/jni/Android.mk
|
bd882b1c8708686d373c56e07e6bb8b1cb6ffd9e |
|
12-Jul-2011 |
Jeff Brown <jeffbrown@google.com> |
Remove the simulator target from all makefiles. Bug: 5010576 Change-Id: I04d722f258951a3078fe07899f5bbe8aac02a8e8
/frameworks/base/core/jni/Android.mk
|
84e297238f53f83c9e7de499e711b997d09514e0 |
|
27-Jun-2011 |
Andy McFadden <fadden@android.com> |
Remove native EventRecurrence parser Switch over to the new parser. Bug 4575374 Change-Id: If78d8042fb266182900398f7fc464a048c779966
/frameworks/base/core/jni/Android.mk
|
4532c5e49cc0d029c53a3aee3e0b1fdf8ffd2ec4 |
|
10-Jun-2011 |
Jamie Gennis <jgennis@google.com> |
Merge "Add ParcelSurfaceTexture Java class to enable ISurfaceTexture sharing via Binder."
|
050316184b01c0d1a01c46afae7429b89a27c31b |
|
07-Jun-2011 |
tedbo <tedbo@google.com> |
Add ParcelSurfaceTexture Java class to enable ISurfaceTexture sharing via Binder. This adds a new ParcelSurfaceTexture.java class that can be instantiated with a SurfaceTexture and used to send the corresponding ISurfaceTexture interface to another process via Binder. The ParcelSurfaceTexture java object can then be used to create an ANativeWindow based on the SurfaceTextureClient interface. Change-Id: Ie38ea948b866e52f36a6d0f6cde19b54a8546817
/frameworks/base/core/jni/Android.mk
|
66e9af6c549b1f6ab4e3f26e2bab14b115ad3848 |
|
08-Jun-2011 |
Romain Guy <romainguy@google.com> |
Remove obsolete code. Change-Id: I2f990528bdc0dc6127f367e55c55287d43dd29f9
/frameworks/base/core/jni/Android.mk
|
4a627c71ff53a4fca1f961f4b1dcc0461df18a06 |
|
01-Apr-2011 |
Christopher Tate <ctate@google.com> |
Full local backup infrastructure This is the basic infrastructure for pulling a full(*) backup of the device's data over an adb(**) connection to the local device. The basic process consists of these interacting pieces: 1. The framework's BackupManagerService, which coordinates the collection of app data and routing to the destination. 2. A new framework-provided BackupAgent implementation called FullBackupAgent, which is instantiated in the target applications' processes in turn, and knows how to emit a datastream that contains all of the app's saved data files. 3. A new shell-level program called "bu" that is used to bridge from adb to the framework's Backup Manager. 4. adb itself, which now knows how to use 'bu' to kick off a backup operation and pull the resulting data stream to the desktop host. 5. A system-provided application that verifies with the user that an attempted backup/restore operation is in fact expected and to be allowed. The full agent implementation is not used during normal operation of the delta-based app-customized remote backup process. Instead it's used during user-confirmed *full* backup of applications and all their data to a local destination, e.g. via the adb connection. The output format is 'tar'. This makes it very easy for the end user to examine the resulting dataset, e.g. for purpose of extracting files for debug purposes; as well as making it easy to contemplate adding things like a direct gzip stage to the data pipeline during backup/restore. It also makes it convenient to construct and maintain synthetic backup datasets for testing purposes. Within the tar format, certain artificial conventions are used. All files are stored within top-level directories according to their semantic origin: apps/pkgname/a/ : Application .apk file itself apps/pkgname/obb/: The application's associated .obb containers apps/pkgname/f/ : The subtree rooted at the getFilesDir() location apps/pkgname/db/ : The subtree rooted at the getDatabasePath() parent apps/pkgname/sp/ : The subtree rooted at the getSharedPrefsFile() parent apps/pkgname/r/ : Files stored relative to the root of the app's file tree apps/pkgname/c/ : Reserved for the app's getCacheDir() tree; not stored. For each package, the first entry in the tar stream is a file called "_manifest", nominally rooted at apps/pkgname. This file contains some metadata about the package whose data is stored in the archive. The contents of shared storage can optionally be included in the tar stream. It is placed in the synthetic location: shared/... uid/gid are ignored; app uids are assigned at install time, and the app's data is handled from within its own execution environment, so will automatically have the app's correct uid. Forward-locked .apk files are never backed up. System-partition .apk files are not backed up unless they have been overridden by a post-factory upgrade, in which case the current .apk *is* backed up -- i.e. the .apk that matches the on-disk data. The manifest preceding each application's portion of the tar stream provides version numbers and signature blocks for version checking, as well as an indication of whether the restore logic should expect to install the .apk before extracting the data. System packages can designate their own full backup agents. This is to manage things like the settings provider which (a) cannot be shut down on the fly in order to do a clean snapshot of their file trees, and (b) manage data that is not only irrelevant but actively hostile to non-identical devices -- CDMA telephony settings would seriously mess up a GSM device if emplaced there blind, for example. When a full backup or restore is initiated from adb, the system will present a confirmation UI that the user must explicitly respond to within a short [~ 30 seconds] timeout. This is to avoid the possibility of malicious desktop-side software secretly grabbing a copy of all the user's data for nefarious purposes. (*) The backup is not strictly a full mirror. In particular, the settings database is not cloned; it is handled the same way that it is in cloud backup/restore. This is because some settings are actively destructive if cloned onto a different (or especially a different-model) device: telephony settings and AndroidID are good examples of this. (**) On the framework side it doesn't care that it's adb; it just sends the tar stream to a file descriptor. This can easily be retargeted around whatever transport we might decide to use in the future. KNOWN ISSUES: * the security UI is desperately ugly; no proper designs have yet been done for it * restore is not yet implemented * shared storage backup is not yet implemented * symlinks aren't yet handled, though some infrastructure for dealing with them has been put in place. Change-Id: Ia8347611e23b398af36ea22c36dff0a276b1ce91
/frameworks/base/core/jni/Android.mk
|
c6cc0f8c19d9eccf408a443fa2bf668af261dcd0 |
|
12-Apr-2011 |
Joe Onorato <joeo@google.com> |
Rename ViewRoot to ViewAncestor. ViewRoot is about to be a new public class for poking at ViewAncestor. Change-Id: Ie95d707c6d8bbb48f78d093d7b2667851812a7d5
/frameworks/base/core/jni/Android.mk
|
8f0095cd33558e9cc8a440047908e53b68906f5f |
|
03-May-2011 |
Romain Guy <romainguy@google.com> |
Allows to render with an OpenGL context inside a TextureView. Change-Id: I59453f7fc3997f0502a1c5d325d37fed376fabc7
/frameworks/base/core/jni/Android.mk
|
2352b978a3c94cd88f41d0d908f961333fdac1e9 |
|
13-Apr-2011 |
Jeff Brown <jeffbrown@google.com> |
Initial checkin of spot presentation for touchpad gestures. Added a new PointerIcon API (hidden for now) for loading pointer icons. Fixed a starvation problem in the native Looper's sendMessage implementation which caused new messages to be posted ahead of old messages sent with sendMessageDelayed. Redesigned the touch pad gestures to be defined in terms of more fluid finger / spot movements. The objective is to reinforce the natural mapping between fingers and spots which means there must not be any discontinuities in spot motion relative to the fingers. Removed the SpotController stub and folded its responsibilities into PointerController. Change-Id: I5126b1e69d95252fda7f2a684c9287e239a57163
/frameworks/base/core/jni/Android.mk
|
69a017bc1d1649350f830dfada5c6ed5eac0b770 |
|
08-Apr-2011 |
Elliott Hughes <enh@google.com> |
More JNI exception-throwing cleanup. There are a few (unimportant) bug fixes here. There were several attempts to throw exceptions in situations where there's already a pending exception. There were also cases where the code was wrong; it was checking for a NULL return from Get*ArrayElements and throwing NPE, but passing NULL is an error that causes a crash and a NULL return means an exception has already been thrown. I didn't want to get into the Scoped* classes just yet, but that was by far the easiest way to fix this. Change-Id: I0b31160ee51b96e82539f6514b8412b149dba7c3
/frameworks/base/core/jni/Android.mk
|
696257ccf315a1da042787c5b2d1f80c7146fc94 |
|
26-Mar-2011 |
Mathias Agopian <mathias@google.com> |
merge libsurfaceflinger_client into libgui this is the first step in unifying surfacetexture and surface. for this reason the header files were not moved, as most of them will eventually go away. NOTE: currently we keep libsurfaceflinger_client.so as an empty library to workaround prebuilt binaries wrongly linking against it. Change-Id: I130f0de2428e8579033dc41394d093f4e1431a00
/frameworks/base/core/jni/Android.mk
|
aa5eb64a0c0709a05731a934c033f213d6dbcc2f |
|
23-Mar-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Use Harfbuzz instead of ICU4C for computing advances"
|
9f82b580d744ce4baf057b061994394dcf239eed |
|
08-Mar-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Use Harfbuzz instead of ICU4C for computing advances - use Harfbuzz shaper for shaping and getting glyphs - add test app for showing result of drawText() and drawGlyphs() - add private API in Canvas and Paint for test app Change-Id: Ia15be216f8636d2d864066e9b7de2f53008c30f6
/frameworks/base/core/jni/Android.mk
|
2ed2462aa29c564f5231f317c27b3188da875e52 |
|
15-Mar-2011 |
Jeff Brown <jeffbrown@google.com> |
Improve VelocityTracker numerical stability. Replaced VelocityTracker with a faster and more accurate native implementation. This avoids the duplicate maintenance overhead of having two implementations. The new algorithm requires that the sample duration be at least 10ms in order to contribute to the velocity calculation. This ensures that the velocity is not severely overestimated when samples arrive in bursts. The new algorithm computes the exponentially weighted moving average using weights based on the relative duration of successive sample periods. The new algorithm is also more careful about how it handles individual pointers going down or up and their effects on the collected movement traces. The intent is to preserve the last known velocity of pointers as they go up while also ensuring that other motion samples do not count twice in that case. Bug: 4086785 Change-Id: I2632321232c64d6b8faacdb929e33f60e64dcdd3
/frameworks/base/core/jni/Android.mk
|
b46ecb352617b4c2f2d5f716aa6af6f518d1f579 |
|
11-Mar-2011 |
Mike Lockwood <lockwood@android.com> |
am 75c95e9a: am 0eb7b697: Merge changes Ib63ab95a,I585b0610,Ia84da0b5 into honeycomb-mr1 * commit '75c95e9a6d5a91b660af62f72b5a3bac0f5c3811': UsbManager: Hide APIs not needed for USB host or accessory support. Remove MtpClient class from framework and public API UsbDevice: Move IO related methods to new UsbDeviceConnection class
|
acc29cc91be634070c92a807df412ced97b9b375 |
|
11-Mar-2011 |
Mike Lockwood <lockwood@android.com> |
UsbDevice: Move IO related methods to new UsbDeviceConnection class UsbDevice is now just an immutable parcelable object like UsbInterface and UsbEndpoint. All IO related functionality is now contained in UsbDeviceConnection and UsbRequest. Bug: 4067029 Change-Id: Ia84da0b512a697acc940eee0c3566711c62e1a68 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/jni/Android.mk
|
1eb12937329d0fcdc29d9c5ab6c549c42d2dcd52 |
|
03-Mar-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Add TextLayout Cache"
|
a06d86ab8177ee9e631e0ee4e39688bf42179bde |
|
02-Mar-2011 |
Leon Scroggins <scroggo@google.com> |
Move NinePatchPeeker into its own file. This way it can be used by other clients that want to draw ninepatches. Ultimately the goal is to allow ninepatch drawing from native code for WebView. Bug:3009375 Change-Id: Id13cef17ed7655a07e9f055586b686cf1e4af392
/frameworks/base/core/jni/Android.mk
|
d313c665e618af3194f504064bcd284fe5368682 |
|
25-Feb-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Add TextLayout Cache - use GenerationCache for caching - move GenerationCache.h from libs/hwui/utils to include/utils - add #define for cache activation / deactivation Change-Id: Ifaf519f0b5e33b087a453e4aa6430162d8438f20
/frameworks/base/core/jni/Android.mk
|
6062c5912dc79704b489fc8c289b78a400ed05ee |
|
22-Feb-2011 |
Derek Sollenberger <djsollen@google.com> |
Skia Merge (revision 808) This is a companion CL to the one found in /external/skia Change-Id: If81748545435cab20a5d8479329ab333cb973e16
/frameworks/base/core/jni/Android.mk
|
929a1c219248b62778807cac8ea256c7ac0fda6a |
|
02-Feb-2011 |
Brian Carlstrom <bdc@google.com> |
Removing android.security.MessageDigest Bug: 3392028 Change-Id: I6b9732da17d086ba00c846c3ad1c7fb39baf9502
/frameworks/base/core/jni/Android.mk
|
e7d511e148bc901ef41ac44d7b3593e5d803f72f |
|
30-Dec-2010 |
Mike Lockwood <lockwood@android.com> |
New APIs for USB host support: UsbManager: - is now a service retrievable via Context.getSystemService(Context.USB_SERVICE). - provides support for returning a list all connected USB devices - broadcasts ACTION_USB_DEVICE_ATTACHED and USB_DEVICE_DETACHED when devices are added and removed from the USB host bus UsbDevice: - represents an attached USB device. UsbInterface: - represents an interface on a USB device - devices may have multiple interfaces if they provide multiple sets of functionality (for example, android phones typically have interfaces for both USB mass storage and adb) UsbEndpoint: - represents an endpoint on a USB interface - endpoints are used for sending or receiving data (only in one or the other direction) UsbRequest: - encapsulates a send or receive request to be sent over an endpoint Change-Id: Ieef3e434c62760770ea839070cf5eba1a705967a Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/jni/Android.mk
|
6714efc5e0c52953b65e774de0003e22377e7d39 |
|
20-Dec-2010 |
Jamie Gennis <jgennis@google.com> |
Add the SurfaceTexture java class. This class exposes to Java the application-side interface to the SurfaceTexture C++ class. Change-Id: I0dba42aad90257c7adbde6fa362658c0717b70d0
/frameworks/base/core/jni/Android.mk
|
264f6cd0b9215f75dd5917252abea98e8fce6222 |
|
06-Jan-2011 |
Mike Lockwood <lockwood@android.com> |
Temporarily remove UsbManager support for USB host. A new USB host API will be added in an upcoming commit Change-Id: I5816c10c7acd236d31ab8ae255fc83c77121eea0 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/jni/Android.mk
|
d07c9d5d920c261ef10efc825ee5225e83ad1c5b |
|
29-Dec-2010 |
Mike Lockwood <lockwood@android.com> |
UsbManager: Add methods to convert between USB device names and IDs Change-Id: I199a47805b629cc7b1714191d6af2fd70c2bda6d Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/jni/Android.mk
|
49ed71db425c5054e3ad9526496a7e116c89556b |
|
07-Dec-2010 |
Jeff Brown <jeffbrown@google.com> |
Add support for fallback keycodes. This change enables the framework to synthesize key events to implement default behavior when an application does not handle a key. For example, this change enables numeric keypad keys to perform their associated special function when numlock is off. The application is informed that it is processing a fallback keypress so it can choose to ignore it. Added a new keycode for switching applications. Added ALT key deadkeys. New default key mappings: - ESC -> BACK - Meta+ESC -> HOME - Alt+ESC -> MENU - Meta+Space -> SEARCH - Meta+Tab -> APP_SWITCH Fixed some comments. Fixed some tests. Change-Id: Id7f3b6645f3a350275e624547822f72652f3defe
/frameworks/base/core/jni/Android.mk
|
6e0ecb4eed5cd2e1f15766d7028467129974a12d |
|
04-Nov-2010 |
Chet Haase <chet@google.com> |
Adding JNI methods as a faster reflection mechanism This approach is only for the common cases of void-return, single-argument float/int methods. Change-Id: Ifb31535a6f717b85417eced93c579be6e461e039
/frameworks/base/core/jni/Android.mk
|
cd0e839a2448deea50f79bddeba782c546b33893 |
|
14-Oct-2010 |
Nick Pelly <npelly@google.com> |
NFC: Move NFC service implementation out of system_server. NFC service is now an application service in packages/apps/Nfc. NFC service is registered through ServiceManager.addService(), and the proxy object NfcAdapter obtains a handle to it through ServiceManager.getService(). **Important** Had to add new symbols AID_NFC / NFC_UID / android.uid.nfc and modify service_manager.c, Process.java and PackageManagerService.java in order to force the com.android.nfc process to take a fixed uid, so that it can use ServiceManager.addService(). Most of the JNI has moved to packages/apps/Nfc/jni. However NdefRecord and NdefMessage require some in-process native code, so android_com_NdefMessage.cpp and android_com_NdefRecord.cpp stay in frameworks/base/core/jni. They link to a very small library libnfc_ndef.so that implements NDEF message parsing. This has been added to core.mk so all devices (even without NFC hardware) can work with NDEF data. Bug: 3041259 Bug: 3097445 Change-Id: If7f00cd8f2053acfc9319ca366d4a9c02bd396e6 Signed-off-by: Nick Pelly <npelly@google.com>
/frameworks/base/core/jni/Android.mk
|
4715bd91f5949a1919156a5a5cb50f0cccda645e |
|
29-Sep-2010 |
Nick Pelly <npelly@google.com> |
resolved conflicts for merge of f4c3b7e9 to master Change-Id: Idcdc521144f3072058b2bb6cb383e42c852e64f4
|
038cabe0247ee46df62f9363f1a303bc5b9c1028 |
|
24-Sep-2010 |
Nick Pelly <npelly@google.com> |
NFC integration Source: Trusted_NFC_Device_Host_AA03.01e02_google.zip code drop (23-Sep-2010) Conflicts: core/java/android/app/ApplicationContext.java core/java/android/provider/Settings.java core/jni/Android.mk core/jni/AndroidRuntime.cpp core/res/AndroidManifest.xml include/utils/Asset.h Change-Id: I62c92f4c79f5ee65126c97602f6bc1c15794e573 Signed-off-by: Nick Pelly <npelly@google.com>
/frameworks/base/core/jni/Android.mk
|
a23cdda0a5fad7798454ecb05a7855cb9211ea22 |
|
23-Sep-2010 |
Wei-Ta Chen <weita@google.com> |
am ac487f70: am 6b849e21: Unhide BitmapRegionDecoder. Merge commit 'ac487f708f7b58dbd4f3021b520c6ed5975daebe' * commit 'ac487f708f7b58dbd4f3021b520c6ed5975daebe': Unhide BitmapRegionDecoder.
|
6b849e2123be98eb2a1a25b8abf0b13a279ce952 |
|
07-Sep-2010 |
Wei-Ta Chen <weita@google.com> |
Unhide BitmapRegionDecoder. 1. Rename LargeBitmap to BitmapRegionDecoder 2. Move the instantiations of BitmapRegionDecoder out of BitmapFactory. 3. Remove the use of MemoryFile in BitmapRegionDecoder, since MemoryFile's API had been modified in master. Otherwise, the change will break the master build. 4. Move AssetStreamAdaptor, AutoFDSeek and nullObjectReturn to Utils.h because BitmapFactory.cpp and BitmapRegionDecoder.cpp both need to use these utility functions. Most of the modifications, except for (2) and (3), were reviewed in https://android-git.corp.google.com/g/#change,64716 . However, that change broke the master build due to (3) and was reverted eventually. So, instead of withdrawing this change and waiting for that change to be checked in again, I merge the two changes into one. Change-Id: I2202c0fbbbd6d6676bbd9637e690023ea4099c40
/frameworks/base/core/jni/Android.mk
|
cfa590392660fc4a50dc90c456d1fab69e6e0662 |
|
08-Sep-2010 |
Elliott Hughes <enh@google.com> |
am 664c48e9: am 4c7d3f28: Merge "Remove dead code: NIOBuffer." into gingerbread Merge commit '664c48e991a70d07646d54125e97f579f3a33be4' * commit '664c48e991a70d07646d54125e97f579f3a33be4': Remove dead code: NIOBuffer.
|
7b29804ba2b0db1a627b680b3fe2c5036139513b |
|
08-Sep-2010 |
Wei-Ta Chen <weita@google.com> |
am 8fc6f8b2: am 1b214be9: Merge "Revert "Rename LargeBitmap to BitmapRegionDecoder for having a better API."" into gingerbread Merge commit '8fc6f8b2152564cab6ede025644f9bc3ee61ce16' * commit '8fc6f8b2152564cab6ede025644f9bc3ee61ce16': Revert "Rename LargeBitmap to BitmapRegionDecoder for having a better API."
|
340ce75b446f6a6afc12b0582be3fc34ac3a5364 |
|
08-Sep-2010 |
Wei-Ta Chen <weita@google.com> |
Revert "Rename LargeBitmap to BitmapRegionDecoder for having a better API." This reverts commit 50ba3d2c09a9131f3578d271adf2bc8258ca1742.
/frameworks/base/core/jni/Android.mk
|
50cb7dc458e65b75fb69a3a3fed972e7ed913703 |
|
08-Sep-2010 |
Wei-Ta Chen <weita@google.com> |
am a295a390: am b356f8ac: Merge "Rename LargeBitmap to BitmapRegionDecoder for having a better API." into gingerbread Merge commit 'a295a3908befeb9dd30203c612d95411d68492ed' * commit 'a295a3908befeb9dd30203c612d95411d68492ed': Rename LargeBitmap to BitmapRegionDecoder for having a better API.
|
edf7223bc2972b99306e31c5b424c365d9248817 |
|
08-Sep-2010 |
Elliott Hughes <enh@google.com> |
Remove dead code: NIOBuffer. Working on speeding up our NIO implementation, I came across this suboptimal code. Happily, it turns out to be unused. Bug: 2935622 Change-Id: I07ae6e573d63e439f496d55af215b34598d8258a
/frameworks/base/core/jni/Android.mk
|
50ba3d2c09a9131f3578d271adf2bc8258ca1742 |
|
07-Sep-2010 |
Wei-Ta Chen <weita@google.com> |
Rename LargeBitmap to BitmapRegionDecoder for having a better API. Move AssetStreamAdaptor, AutoFDSeek and nullObjectReturn to Utils.h because BitmapFactory.cpp and BitmapRegionDecoder.cpp both need to use these utility functions. Change-Id: I3e60c7fe4abd0289e1384e69a08fd20fe6fb0e10
/frameworks/base/core/jni/Android.mk
|
1b10d3d23512f9f9a091e1f4c27bb3dc47806f6c |
|
17-Aug-2010 |
Joseph Wen <josephwen@google.com> |
am 81dcea60: am f1f48bc7: Do JPEG tile-based decoding. Merge commit '81dcea6093dfcdadd52982505249a5eacf47a81b' * commit '81dcea6093dfcdadd52982505249a5eacf47a81b': Do JPEG tile-based decoding.
|
f1f48bc7f200f54c76b22d845d8ba8419879b375 |
|
19-Jul-2010 |
Joseph Wen <josephwen@google.com> |
Do JPEG tile-based decoding. Change-Id: I5c1b4ac3c02eb4350ef0ba9a7877b22cfd730cfb
/frameworks/base/core/jni/Android.mk
|
7b6d0d99b6904b511996267efae215fe9cb5e98f |
|
11-Aug-2010 |
Dianne Hackborn <hackbod@google.com> |
am 679ac09a: am a5ae50cd: Merge "More native work." into gingerbread Merge commit '679ac09a5c22175354f3a04b28456b323839530e' * commit '679ac09a5c22175354f3a04b28456b323839530e': More native work.
|
08d5b8fad8d46ccb64db2fdcb4d66972ec87bf48 |
|
04-Aug-2010 |
Dianne Hackborn <hackbod@google.com> |
More native work. Implement save/restore of state, and add native APIs for configuration information. Change-Id: I2a3ddc2ba605db58d7c8b2b31b9215fb323f90b5
/frameworks/base/core/jni/Android.mk
|
163935113919a184122b8b3bd672ef08c8df65dc |
|
08-Aug-2010 |
Romain Guy <romainguy@android.com> |
Make libhwui entirely optional. The makefile variable USE_OPENGL_RENDERER must be set to true to compile libhwui and the related code in the JNI layer. This change also removes obsolete APIs from Canvas that must not be used and would be confusing if left in. These APIs were remnants of our first attempt at an OpenGL renderer for the view hierarchy and had not been taken out before Android 1.0 was released. Change-Id: I2475ff1307212bab26c926724f3c508681c7dae1
/frameworks/base/core/jni/Android.mk
|
50558b956157dad980441bf4fb44931ce834e36b |
|
22-Jul-2010 |
Mathias Agopian <mathias@google.com> |
resolved conflicts for merge of bc54e63c to master Change-Id: I4245b15b4cda6963d735442c0c6a04a0477ff5e1
|
72a6b1c389606761c559bb0bd740220b140d4447 |
|
20-Jul-2010 |
Danica Chang <danicachang@google.com> |
deleted android_bluetooth_ScoSocket.cpp from makefile Change-Id: I40d107c9efa415de29977fa0998a746d9c24240e
/frameworks/base/core/jni/Android.mk
|
1bf797857e025e8a71db86fb9e79765a767ec1eb |
|
15-Jul-2010 |
Mathias Agopian <mathias@google.com> |
new SensorService remove old sensor service and implement SensorManager on top of the new (native) SensorManger API. Change-Id: Iddb77d498755da3e11646473a44d651f12f40281
/frameworks/base/core/jni/Android.mk
|
fb4e1e24a93c7e6bc0fcdb3f5cfadfbc19503cd8 |
|
16-Jul-2010 |
Kenny Root <kroot@google.com> |
resolved conflicts for merge of 181bb0ab to master Change-Id: I2284e7c671d127da0d124fbabae8d887727fd5bf
|
02c8730c1bf19daf48bec8c6995df676a00a73b1 |
|
01-Jul-2010 |
Kenny Root <kroot@google.com> |
Add API to call to vold for mounting OBBs * Unhide StorageService class; hide all the USB-related items * Add application-visible API to StorageManager for OBB files * Add class for parceling OBB info across binders (ObbInfo) * Add a JNI glue class to libutils/ObbFile (ObbScanner) * Add API to MountService to deal with calling into vold and checking permissions Change-Id: I33ecf9606b8ff535f3a2ada83931da6bbef41cfd
/frameworks/base/core/jni/Android.mk
|
0dff8d4afdc1b1ab545196dc21c2bf524f91ef88 |
|
15-Jul-2010 |
Joe Onorato <joeo@android.com> |
am a6be4e01: am 3a053db2: Merge "The ICU data is no longer compiled directly into the shared library." into gingerbread Merge commit 'a6be4e01b23610cbcc27c6f26cfa390beabfa1fe' * commit 'a6be4e01b23610cbcc27c6f26cfa390beabfa1fe': The ICU data is no longer compiled directly into the shared library.
|
aa1933ac4cb135be5469db275af7a758cdfdf744 |
|
14-Jul-2010 |
Joe Onorato <joeo@android.com> |
The ICU data is no longer compiled directly into the shared library. Change-Id: I1f6adf66a28b62a6f45c1622d669cb8c519adcbb
/frameworks/base/core/jni/Android.mk
|
f7cb1f75fdaedf996cab7c4690b080adc7bc5b97 |
|
02-Jul-2010 |
Doug Felt <dougfelt@google.com> |
Support bidi/shaping for getTextPath Move layout-related code into separate class since it's needed by both canvas and paint. Change-Id: Iba89a1d94d7cca650255ffa3cbc952b988a51b54
/frameworks/base/core/jni/Android.mk
|
81ea83d10883886013bc95eac2fe032acf1e7aa9 |
|
30-Jun-2010 |
Mike Lockwood <lockwood@android.com> |
Move MTP JNI code from libandroid_runtime to libmedia_jni Signed-off-by: Mike Lockwood <lockwood@android.com> Change-Id: I0c54bbe4e6146beba7d22e782e02ded420f50dbd
/frameworks/base/core/jni/Android.mk
|
98ef64e4a89ced79094d4ff3dc0123c1989f9e10 |
|
29-Jun-2010 |
Mike Lockwood <lockwood@android.com> |
MTP: Add MtpServer Java class to wrap MTP device support. Change-Id: I818c2d3b3f52ad5bb515acc4d3288b2b43e11908 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/jni/Android.mk
|
f40e4928b9d8e1da4166c76dbd3f86a6bd2d3f72 |
|
29-Jun-2010 |
Chris Tate <ctate@android.com> |
am 96725326: am 31e0ffe8: Merge "Native input event dispatching." into gingerbread Merge commit '96725326149687168937cf62f75364cf9cc3e96b' * commit '96725326149687168937cf62f75364cf9cc3e96b': Native input event dispatching.
|
349703effce5acc53ed96f7ed8556131f0c65e18 |
|
22-Jun-2010 |
Jeff Brown <jeffbrown@google.com> |
Native input event dispatching. Target identification is now fully native. Fixed a couple of minor issues related to input injection. Native input enabled by default, can be disabled by setting WindowManagerPolicy.ENABLE_NATIVE_INPUT_DISPATCH to false. Change-Id: I7edf66ed3e987cc9306ad4743ac57a116af452ff
/frameworks/base/core/jni/Android.mk
|
e4d011201cea40d46cb2b2eef401db8fddc5c9c6 |
|
17-Jun-2010 |
Romain Guy <romainguy@google.com> |
Add libhwui, to hardware accelerate the Canvas API using OpenGL ES 2.0. This is the initial checkin to setup the library and turn on OEGL ES 2.0 in ViewRoot, not a functional renderer. Change-Id: I6655c54166e2967da2e21e7d6dcfba78bf113b44
/frameworks/base/core/jni/Android.mk
|
8e03b7566c42621fda01186b66b019142eb84fbf |
|
14-Jun-2010 |
Jeff Brown <jeffbrown@google.com> |
resolved conflicts for merge of 9e660c82 to master Change-Id: Ic4bd85cbaa5b9a10dcb474a0dad46490bf967e43
|
46b9ac0ae2162309774a7478cd9d4e578747bfc2 |
|
23-Apr-2010 |
Jeff Brown <jeffbrown@google.com> |
Native input dispatch rewrite work in progress. The old dispatch mechanism has been left in place and continues to be used by default for now. To enable native input dispatch, edit the ENABLE_NATIVE_DISPATCH constant in WindowManagerPolicy. Includes part of the new input event NDK API. Some details TBD. To wire up input dispatch, as the ViewRoot adds a window to the window session it receives an InputChannel object as an output argument. The InputChannel encapsulates the file descriptors for a shared memory region and two pipe end-points. The ViewRoot then provides the InputChannel to the InputQueue. Behind the scenes, InputQueue simply attaches handlers to the native PollLoop object that underlies the MessageQueue. This way MessageQueue doesn't need to know anything about input dispatch per-se, it just exposes (in native code) a PollLoop that other components can use to monitor file descriptor state changes. There can be zero or more targets for any given input event. Each input target is specified by its input channel and some parameters including flags, an X/Y coordinate offset, and the dispatch timeout. An input target can request either synchronous dispatch (for foreground apps) or asynchronous dispatch (fire-and-forget for wallpapers and "outside" targets). Currently, finding the appropriate input targets for an event requires a call back into the WindowManagerServer from native code. In the future this will be refactored to avoid most of these callbacks except as required to handle pending focus transitions. End-to-end event dispatch mostly works! To do: event injection, rate limiting, ANRs, testing, optimization, etc. Change-Id: I8c36b2b9e0a2d27392040ecda0f51b636456de25
/frameworks/base/core/jni/Android.mk
|
2d6145993e19d2bb664766dbaf3c1e9ad3d12cdc |
|
10-Jun-2010 |
Romain Guy <romainguy@google.com> |
Move OpenGL support out of ViewRoot into a new HardwareRenderer class. Change-Id: Iffaed924a5defc3c4df26223c390dc27eee115b1
/frameworks/base/core/jni/Android.mk
|
7c5ded5d367078a7686872159229c998b558fac3 |
|
06-Jun-2010 |
Christopher Tate <ctate@google.com> |
am 8207e2fd: am a8ebe8b3: am df2e2eff: Merge "Watchdog now records kernel stacks when it fires" into froyo
|
a8ebe8b3f5aea0d3f09a62d6d255f99c1f911f7b |
|
06-Jun-2010 |
Christopher Tate <ctate@google.com> |
am df2e2eff: Merge "Watchdog now records kernel stacks when it fires" into froyo Merge commit 'df2e2eff9446c0220515fa7aab7857135e04e12e' into kraken * commit 'df2e2eff9446c0220515fa7aab7857135e04e12e': Watchdog now records kernel stacks when it fires
|
ecaa7b41ca49154ceaa9a7504eb0a86b89a96026 |
|
04-Jun-2010 |
Christopher Tate <ctate@google.com> |
Watchdog now records kernel stacks when it fires The kernel threads are appended to the usual /data/anr/traces.txt file and dropboxed along with the usual Dalvik stack dumps. Change-Id: I120f1f5ee54c965efe9ac0c7f40fdef56385f1fa NOTE: this change depends on the kernel publishing /proc/$PID/stack
/frameworks/base/core/jni/Android.mk
|
755fd617258d3f1731b2829d681cab680db0fdd5 |
|
26-May-2010 |
Mike Lockwood <lockwood@android.com> |
Prototype Content Provider support for MTP/PTP devices. At this point much of the plumbing is in place, but only a few simple queries are supported. This is enough to support a proof of concept sample program that navigates the file hierarchy of a digital camera connected via USB. Also removed obsolete ptptest host test program. Change-Id: I17644344b9f0ce1ecc302bc0478c1f3d44a1647f Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/jni/Android.mk
|
2807df89af680e46cb35ee0035bb10b42d3136a2 |
|
27-May-2010 |
Mike Lockwood <lockwood@android.com> |
Move CursorWindow class from core/jni to libbinder To allow use of the native CursorWindow class outside of the core framework jni Change-Id: I72e8dcb91a2c691130c33cdfd9a25d343da1c592 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/jni/Android.mk
|
fa9e7c05c7be6891a6cf85a11dc635a6e6853078 |
|
06-May-2010 |
Christopher Tate <ctate@google.com> |
Sketch of Native input for MessageQueue / Looper / ViewRoot MessageQueue now uses a socket for internal signalling, and is prepared to also handle any number of event input pipes, once the plumbing is set up with ViewRoot / Looper to tell it about them as appropriate. Change-Id: If9eda174a6c26887dc51b12b14b390e724e73ab3
/frameworks/base/core/jni/Android.mk
|
69969e48f2bca9339662dddfacff0bbf6374ed7f |
|
04-May-2010 |
Dianne Hackborn <hackbod@google.com> |
First pass at NativeActivity. This is a rough sketch of the new pure-native API, which you can use through a NativeActivity in your manifest (no Java code in the .apk needed!). Intentionally no docs yet, the API is still being seriously messed with. But it works. Change-Id: I0e916d58a0d159ecaf3689e41834eb8dc681c0c0
/frameworks/base/core/jni/Android.mk
|
a40b3a8d98ca7d3daa3ae7651263fe3c35b0b908 |
|
08-Apr-2010 |
Dan Egnor <egnor@google.com> |
am c1420832: am 5945579e: Merge "Change TrafficStats to a new JNI implementation." into froyo Merge commit 'c1420832a8f9c7fa62b143ce63c71062b3969c1b' into kraken * commit 'c1420832a8f9c7fa62b143ce63c71062b3969c1b': Change TrafficStats to a new JNI implementation.
|
2b4abcd0c7c4361af8ab6d5d7b073fb75ac6d219 |
|
08-Apr-2010 |
Dan Egnor <egnor@google.com> |
Change TrafficStats to a new JNI implementation. Also change phone's ConnectionStateTrackers to use it directly, rather than through the INetStat binder interface. Bug: 2578938 Change-Id: I8858e2609cbec3be845a0ce5178cb03f67e01b41
/frameworks/base/core/jni/Android.mk
|
00b74270c9f136a8727c5f6cda0997a3a905f385 |
|
26-Mar-2010 |
Mike Lockwood <lockwood@android.com> |
Move files internal to LocationManagerService from framework.jar to services.jar Change-Id: Iebbfc49b8300ab59730733efdf489ec87ea45a25 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/jni/Android.mk
|
dae8e94cce0881f3e10ef5e34b881f512bb52a75 |
|
24-Feb-2010 |
Doug Felt <dougfelt@google.com> |
Add support for accessing native bidi implementation via jni. Include a simple test to verify that the bidi code works.
/frameworks/base/core/jni/Android.mk
|
000479f9e325b4e426a67033abd92d47da412725 |
|
10-Feb-2010 |
Mathias Agopian <mathias@google.com> |
split libsurfaceflinger_client and libcamera_client out of libui
/frameworks/base/core/jni/Android.mk
|
870d81d038391d1d3896e7f2fa44801d1667f5bf |
|
08-Feb-2010 |
Doug Zongker <dougz@android.com> |
remove android.os.Base64Utils There are no more users of this code. Change-Id: Ie0109ece2ea329aeb9607e9193eaf0808955eab9
/frameworks/base/core/jni/Android.mk
|
bca2d613e0d6d2630fedd302c0d779b7610adbcf |
|
30-Nov-2009 |
Wei-Ta Chen <weita@google.com> |
Add a Java API that converts yuv data to a jpeg. The compression is done in the native layer via calling libjpeg. Bug: 2285598
/frameworks/base/core/jni/Android.mk
|
a6276fdd4253c3a7150ab675678c750473ab6c45 |
|
28-Dec-2009 |
Jack Palevich <jackpal@google.com> |
A library for encoding and decoding ETC1 textures. The ETC1 compressed texture format is commonly supported by OpenGL ES 2.0-capable devices.
/frameworks/base/core/jni/Android.mk
|
726a570258828d85e401ab62fd4220812fe9344f |
|
25-Nov-2009 |
Mike Lockwood <lockwood@android.com> |
resolved conflicts for merge of dfaf2e03 to master Change-Id: I440d2042dd404a421789063e42102699fa33b7c0
|
3a32213c4029a03fe39486f3d6ebd0ea18928ee1 |
|
24-Nov-2009 |
Mike Lockwood <lockwood@android.com> |
Remove HardwareService and move vibrator support to VibratorService. The lights support is only needed by PowerManagerService and NotificationManagerService, so we do not need a Binder API for it. Move backlight and notification light support to new LightsService class. The camera flash is now handled directly by the camera HAL, so the flash Hardware service flash support is obsolete. Change-Id: I086d681f54668e7f7de3e8b90df3de19d59833c5 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/jni/Android.mk
|
8914a04b16791cda98de88b5f94d9fee3acedfca |
|
20-Nov-2009 |
Vasu Nori <vnori@google.com> |
am 483ae632: am 5a03f36e: maintain cache of statementids returned by sqlite upon compiling a sql stmnt Merge commit '483ae6328701d29e9731af25c64b09b1e18bc2e7' * commit '483ae6328701d29e9731af25c64b09b1e18bc2e7': maintain cache of statementids returned by sqlite upon compiling a sql stmnt
|
5a03f36ef845f73eb4473193dbb0f93dd12a51af |
|
21-Oct-2009 |
Vasu Nori <vnori@google.com> |
maintain cache of statementids returned by sqlite upon compiling a sql stmnt
/frameworks/base/core/jni/Android.mk
|
560814f6b11abe83ff0c4ed18cac015c276b3181 |
|
19-Nov-2009 |
Jack Palevich <jackpal@google.com> |
Add a Java API for OpenGL ES 2.0. Currently this API is hidden. Add a test program.
/frameworks/base/core/jni/Android.mk
|
bd022f423a33f0794bb53e5b0720da2d67e4631c |
|
15-Aug-2009 |
Nick Pelly <npelly@google.com> |
Bluetooth: API change. Split BluetoothDevice into BluetoothDevice and BluetoothAdapter. BluetoothAdapter: Represents the local BT adapter. Operations on the local adapter (start a scan, etc). BluetoothDevice: Represents a remote BT device. Operations on remote devices (pair, connect, etc). IBluetoothDevice.aidl -> Bluetooth.aidl BluetoothDeviceService.java -> BluetoothDeviceService.java TODO: Javadoc
/frameworks/base/core/jni/Android.mk
|
b5af325fb1d21a9295bf3009cc95e5ead4999247 |
|
10-Jul-2009 |
Mike Reed <reed@google.com> |
rename libsgl/libcorecg to libskia
/frameworks/base/core/jni/Android.mk
|
dfe983bd7979ccb1602f29b8f9804c98411d9cd6 |
|
02-Jul-2009 |
Mathias Agopian <mathias@google.com> |
Merge commit 'goog/master' into merge_master
|
2df7c15aa0e8f5afc804fd20250316f9e50fdb59 |
|
26-Jun-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am b505ae41: Merge change 5459 into donut Merge commit 'b505ae4195d9b8a93c71b1f9da6d7d8c3aaa3c08' * commit 'b505ae4195d9b8a93c71b1f9da6d7d8c3aaa3c08': Make the BackupHelperDispatcher properly handle multiple helpers.
|
4ababd922eac5931e0222862ff082dc29e012816 |
|
26-Jun-2009 |
Joe Onorato <joeo@android.com> |
Make the BackupHelperDispatcher properly handle multiple helpers.
/frameworks/base/core/jni/Android.mk
|
1f7300818fae32dcef5a5387b04c8f304b5e1cd5 |
|
26-Jun-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am c44989d6: Merge change 5350 into donut Merge commit 'c44989d6c7bcc761fb37f54fd37aac2070ba8e5e' * commit 'c44989d6c7bcc761fb37f54fd37aac2070ba8e5e': move ui/Time.cpp to core/jni, since this is the only place it is used
|
864c0d50cda714d73fa70e3600ec36b5db8a835a |
|
25-Jun-2009 |
Mathias Agopian <mathias@google.com> |
move ui/Time.cpp to core/jni, since this is the only place it is used
/frameworks/base/core/jni/Android.mk
|
f31868e59fbf59a8d479587c80b648fb37a166fc |
|
25-Jun-2009 |
Mathias Agopian <mathias@google.com> |
merge master in master_gl
|
4527acb0c39258792ae55604cb4d71006bf8d938 |
|
22-Jun-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 856dd8a6: Merge change 4952 into donut Merge commit '856dd8a60a70a5b7dca2bf2114872ce063e2ad60' * commit '856dd8a60a70a5b7dca2bf2114872ce063e2ad60': Helper API cleanup. Allows multiple helpers to function,
|
06290a4bb9b280fa14a2bbeb2d3ceb09396a78c3 |
|
19-Jun-2009 |
Joe Onorato <joeo@android.com> |
Helper API cleanup. Allows multiple helpers to function, because they'll always go in the same order, and this lets us not have to write headers to keep them paired.
/frameworks/base/core/jni/Android.mk
|
f73bbd042367b65780316d2335784686dedd0459 |
|
20-Jun-2009 |
Mathias Agopian <mathias@google.com> |
Merge commit 'goog/master' into merge_master
|
52b0e73443ff8da195fbf0df851a028e07a691b2 |
|
19-Jun-2009 |
Ben Cheng <bccheng@android.com> |
Process new property definitions for JIT-specific options for apps performance tuning and debugging.
/frameworks/base/core/jni/Android.mk
|
1c14776a13546fc2642baa251c8f1b7c545b0272 |
|
19-Jun-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 16ce3504: Merge change 4708 into donut Merge commit '16ce3504c5bf98d95d5c36001f755bb4b15253c9' * commit '16ce3504c5bf98d95d5c36001f755bb4b15253c9': Make RestoreHelper and friends also write out the snapshot state.
|
d2d9ceb7305d593c1b767bbb05de0082a9af4109 |
|
18-Jun-2009 |
Joe Onorato <joeo@android.com> |
Make RestoreHelper and friends also write out the snapshot state.
/frameworks/base/core/jni/Android.mk
|
69f066c8fc42b9f0acc5c41f8ffd972f8d6d0584 |
|
16-Jun-2009 |
Mathias Agopian <mathias@google.com> |
Merge commit 'goog/master' into merge_master
|
daf701fa6250ae89ad93e2e41127e0f676a322a5 |
|
15-Jun-2009 |
Christopher Tate <ctate@google.com> |
am 2fdd428e: Fix some backup reader/writer issues; make local transport do backup Merge commit '2fdd428e0f18384160f7c38ce3a2cd9ba7e7b2c2' * commit '2fdd428e0f18384160f7c38ce3a2cd9ba7e7b2c2': Fix some backup reader/writer issues; make local transport do backup Fix the jni initializer. Add RestoreFileHelper, BackupDataInput, and add java wrappers for the methods on BackupDataOutput. Fix bug #1812041: activity manager crash with bad args. Journal backup requests so that they won't be lost in a crash Fix data connection issues.
|
1cf587496fcb1d652bab9fc6792fb106b6fefaa4 |
|
12-Jun-2009 |
Joe Onorato <joeo@android.com> |
Add RestoreFileHelper, BackupDataInput, and add java wrappers for the methods on BackupDataOutput.
/frameworks/base/core/jni/Android.mk
|
2da99bdaa1712f00525e6a84b58044332cb1baef |
|
27-May-2009 |
Mathias Agopian <mathias@google.com> |
Merge commit 'goog/master' into merge_master Conflicts: include/ui/Rect.h libs/ui/ISurfaceComposer.cpp
|
67880624cc323bd4b2443d473fedc99327b97b29 |
|
27-May-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am c0139711: Merge change 2432 into donut Merge commit 'c0139711b0e4a07ad997fb4130c674ed2d90e2fc' * commit 'c0139711b0e4a07ad997fb4130c674ed2d90e2fc': Make android_runtime to not include libemoji but use dlopen() instead.
|
0b6955a48bad9aee01ae2f0c06d3f168ca603ab7 |
|
27-May-2009 |
Nick Pelly <npelly@google.com> |
New BluetoothSocket API. Modeled on blocking java.net.Socket and java.net.ServerSocket library. Public interface is: public final class BluetoothSocket implements Closeable { public static BluetoothSocket createRfcommSocket(String address, int port) throws IOException; public static BluetoothSocket createInsecureRfcommSocket(String address, int port) throws IOException; public void connect() throws IOException; public void close() throws IOException; public String getAddress(); public InputStream getInputStream() throws IOException; public OutputStream getOutputStream() throws IOException; } public final class BluetoothServerSocket implements Closeable { public static BluetoothServerSocket listenUsingRfcommOn(int port) throws IOException; public static BluetoothServerSocket listenUsingUnsecureRfcommOn(int port) throws IOException; public BluetoothSocket accept() throws IOException; public BluetoothSocket accept(int timeout) throws IOException; public void close() throws IOException; }
/frameworks/base/core/jni/Android.mk
|
63507babb6798d65bf965de6ea4622b7ec65aa28 |
|
26-May-2009 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Make android_runtime to not include libemoji but use dlopen() instead. This must be submitted with change 2432
/frameworks/base/core/jni/Android.mk
|
947f4f4d384ea26eb2145cc070a3eed42c59534a |
|
22-May-2009 |
Mathias Agopian <mathias@google.com> |
merge master to master_gl
|
f5e17310d19494834466f237367452dfe1bd51cb |
|
20-May-2009 |
Nick Pelly <npelly@google.com> |
Remove Database.java API. This provided SDP functionality to Java, but is not currently used by any Apps. I will shortly be providing SDP functionality in a new API, but it will be quite different to this one, and in the mean-time keeping this stale code updated with other API changes is a pain.
/frameworks/base/core/jni/Android.mk
|
25ba5b6564224dceefa086b5c439ef28dad530ca |
|
19-May-2009 |
Mathias Agopian <mathias@google.com> |
checkpoint: split libutils into libutils + libbinder
/frameworks/base/core/jni/Android.mk
|
bad962bf407bbb7a7ce296fb75f1883375afa832 |
|
20-May-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am e2914615: Merge change 2099 into donut Merge commit 'e29146158b6048936671decc060d398a68333fc0' * commit 'e29146158b6048936671decc060d398a68333fc0': Hook up the backup data writer, and add a utility to read the backup data files.
|
d2110dbce071a236b6176de344ca797b737542eb |
|
19-May-2009 |
Joe Onorato <joeo@android.com> |
Hook up the backup data writer, and add a utility to read the backup data files.
/frameworks/base/core/jni/Android.mk
|
6ec72e3fa9cdf9e896f3042fb1b1b4f3f6cea541 |
|
08-May-2009 |
Mathias Agopian <mathias@google.com> |
Merge commit 'goog/master' into merge_master
|
1a36071092c209ac763fdb48dcfe87043a2b2cf6 |
|
08-May-2009 |
The Android Open Source Project <initial-contribution@android.com> |
manual merge of 7ec32cc Merge commit '7ec32cc'
|
b1a7ffef3a0007b6991b8338460f6aac8cbb11e8 |
|
07-May-2009 |
Joe Onorato <joeo@android.com> |
More backup tests
/frameworks/base/core/jni/Android.mk
|
fa6eda01a9f3df0102ce6a65302c8674cc9c7e50 |
|
30-Apr-2009 |
Mathias Agopian <mathias@google.com> |
Merge commit 'goog/master' into merge_master Conflicts: libs/surfaceflinger/Layer.cpp libs/surfaceflinger/SurfaceFlinger.cpp opengl/libagl/egl.cpp opengl/libs/EGL/egl.cpp opengl/libs/GLES_CM/gl.cpp opengl/libs/GLES_CM/gl_api.in opengl/libs/gl_entries.in opengl/libs/tools/glapigen
|
cb49634c7373e3b48bb73e516331901525af36c0 |
|
29-Apr-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 1fb758e: Merge change 546 into donut Merge commit '1fb758e94b5b9e342b6dc6452cb5bd7cf0cc4ed6' * commit '1fb758e94b5b9e342b6dc6452cb5bd7cf0cc4ed6': Add (hidden for now) purgeable bitmaps
|
c70e06bbfac0d92ec218a32e35d9d7fa80f23cc9 |
|
24-Apr-2009 |
Mike Reed <reed@google.com> |
Add (hidden for now) purgeable bitmaps BitmapFactory::Options now let you specify if the resulting bitmap can be "purgeable". If so, then its decoded pixels may be purged when not actively being drawn, freeing up that RAM. When such a bitmap is drawn, it will automatically be re-decoded on demand. This is done by having the bitmap keep a reference/copy of the encoded data. Where it is a reference or a copy is controlled by the "shareable" flag in Options. If this is true, the implementation *may* just reference the encode data (e.g. a file descriptor) rathern than making a complete copy of it. Currently, purgeable is not supported for generic inputstreams, but is enabled for byte-array, file-descriptor, and assets, though for impl reasons only file-descripts are currently enabled for "shareable", but that may change in the future.
/frameworks/base/core/jni/Android.mk
|
13b3b5c9b2594fe2a42e479ae4f3f733fce911dc |
|
17-Apr-2009 |
Mathias Agopian <mathias@google.com> |
Merge commit 'goog/master' into merge_master
|
1c4907ee77392afb768c2f088e0dedbe4239f6fb |
|
14-Apr-2009 |
Jack Palevich <jackpal@google.com> |
Manually merge 129, 174, and 233 from donut This adds a static OpenGL ES API. Here are the three commit messages for the original changes: Clean up trivial Eclipse warnings and fix whitespace. Added @Override to overridden methods. Removed unused imports. Converted tabs to spaces. Removed \r characters from end-of-lines. Add .gitignore file to ignore the .class files that are generated when the "gen" script is run. This is the 2nd commit message: Improve glgen + gen script is really a bash script rather than a sh script, so declare that to be true. (For example, it uses pushd, which is a part of bash, but not a part of sh. Not sure how this worked until now. Possibly gen was only run in environments where /bin/sh was really bash. + Check the results of the java compile of the code generator, and abort the script if the compile fails. + Turn on the bash shell option that guards against using uninitialized variables in the script. + Remove the generated class files. Refactor JniCodeEmitter into two classes: a general-purpose JniCodeEmitter and a specific Jsr239CodeEmitter. The hope is to use JniCodeEmitter as a base for emitting static OpenGL ES bindings. This is the 3rd commit message: Add an Android-specific static OpenGL ES 1.1 Java API. This change adds four new public classes that expose a static OpenGL ES 1.1 API: android.opengl.GLES10 android.opengl.GLES10Ext android.opengl.GLES11 android.opengl.GLES11Ext Benefits: + The static API is slightly faster (1% to 4%) than the existing Interface based JSR239 API. + The static API is similar to the C API, which should make it easier to import C-based example code. + The static API provides a clear path for adding new OpenGL ES 1.1 extensions and OpenGL ES 2.0 APIs, neither of which currently have a JSR standard. Example: import static android.opengl.GLES10.*; ... glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); Note that it is possible to mix-and-match calls to both the static and JSR239 APIs. This works because neither API maintains state. They both call through to the same underlying C OpenGL ES APIs. Implementation details: This change enhances the "glgen" "gen" script to generate both the original JSR239 and new static OpenGL ES APIs. The contents of the generated JSR239 classes remained the same as before, so there is no need to check in new versions of the generated JSR239 classes. As part of this work the gen script was updated to be somewhat more robust, and to work with git instead of perforce. The script prints out commands to git add the generated files, but leaves it up to the script runner to actually execute those commands.
/frameworks/base/core/jni/Android.mk
|
27f8002e591b5c579f75b2580183b5d1c4219cd4 |
|
16-Apr-2009 |
Jack Palevich <jackpal@google.com> |
Add an Android-specific static OpenGL ES 1.1 Java API. This change adds four new public classes that expose a static OpenGL ES 1.1 API: android.opengl.GLES10 android.opengl.GLES10Ext android.opengl.GLES11 android.opengl.GLES11Ext Benefits: + The static API is slightly faster (1% to 4%) than the existing Interface based JSR239 API. + The static API is similar to the C API, which should make it easier to import C-based example code. + The static API provides a clear path for adding new OpenGL ES 1.1 extensions and OpenGL ES 2.0 APIs, neither of which currently have a JSR standard. Example: import static android.opengl.GLES10.*; ... glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); Note that it is possible to mix-and-match calls to both the static and JSR239 APIs. This works because neither API maintains state. They both call through to the same underlying C OpenGL ES APIs. Implementation details: This change enhances the "glgen" "gen" script to generate both the original JSR239 and new static OpenGL ES APIs. The contents of the generated JSR239 classes remained the same as before, so there is no need to check in new versions of the generated JSR239 classes. As part of this work the gen script was updated to be somewhat more robust, and to work with git instead of perforce. The script prints out commands to git add the generated files, but leaves it up to the script runner to actually execute those commands.
/frameworks/base/core/jni/Android.mk
|
1473f46cbc82aa6f0ba744cc896a36923823d55b |
|
10-Apr-2009 |
Mathias Agopian <mathias@google.com> |
Integrate from //sandbox/mathias/donut/...@145728 SurfaceFlinger rework for new EGL driver model support.
/frameworks/base/core/jni/Android.mk
|
84d8d693bd79082069d1781284213030006841b7 |
|
02-Apr-2009 |
Jack Palevich <> |
AI 144129: Remove hidden class android.os.Exec. Change BugReportService to use java.os.ProcessBuilder instead. Remove unused import from DumpStateReceiver. An earlier change list created a private copy of this class for Term. BUG=1750582 Automated import of CL 144129
/frameworks/base/core/jni/Android.mk
|
b2a3dd88a53cc8c6d19f6dc8ec4f3d6c4abd9b54 |
|
09-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@137197
/frameworks/base/core/jni/Android.mk
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/jni/Android.mk
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/jni/Android.mk
|
d24b8183b93e781080b2c16c487e60d51c12da31 |
|
11-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@130745
/frameworks/base/core/jni/Android.mk
|
9266c558bf1d21ff647525ff99f7dadbca417309 |
|
16-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@126645
/frameworks/base/core/jni/Android.mk
|
b798689749c64baba81f02e10cf2157c747d6b46 |
|
10-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@125939
/frameworks/base/core/jni/Android.mk
|
f013e1afd1e68af5e3b868c26a653bbfb39538f8 |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/frameworks/base/core/jni/Android.mk
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/core/jni/Android.mk
|