OSDN Git Service

android-x86/frameworks-base.git
10 years agoam 16c4d154: Revert "move libandroidfw to frameworks/native"
Adam Lesinski [Mon, 27 Jan 2014 18:41:47 +0000 (10:41 -0800)]
am 16c4d154: Revert "move libandroidfw to frameworks/native"

* commit '16c4d154dca43c662571129af31b27433b919a32':
  Revert "move libandroidfw to frameworks/native"

10 years agoam 9ab9b93e: Filter unneeded assets from additional resource directories
Bryan Mawhinney [Mon, 27 Jan 2014 18:41:44 +0000 (10:41 -0800)]
am 9ab9b93e: Filter unneeded assets from additional resource directories

* commit '9ab9b93eae8b2fc747d6101cf0e4c19b2218715f':
  Filter unneeded assets from additional resource directories

10 years agoam ebcef6b8: Update BridgeInflater and delegate to support inheritContext arg
Alan Viverette [Mon, 27 Jan 2014 18:41:42 +0000 (10:41 -0800)]
am ebcef6b8: Update BridgeInflater and delegate to support inheritContext arg

* commit 'ebcef6b896b3b1693862aad9c5000c450ba598a5':
  Update BridgeInflater and delegate to support inheritContext arg

10 years agoam 9a9fa163: Don\'t pseudolocalize untranslatable strings.
Narayan Kamath [Mon, 27 Jan 2014 18:41:39 +0000 (10:41 -0800)]
am 9a9fa163: Don\'t pseudolocalize untranslatable strings.

* commit '9a9fa163c384e7fff159d339dfcce3b3122bece5':
  Don't pseudolocalize untranslatable strings.

10 years agoam 9636071b: Reimplement ZipFileRO in terms of libziparchive.
Narayan Kamath [Mon, 27 Jan 2014 18:41:36 +0000 (10:41 -0800)]
am 9636071b: Reimplement ZipFileRO in terms of libziparchive.

* commit '9636071bdc29df0ed5d801d0499bdb76abade1db':
  Reimplement ZipFileRO in terms of libziparchive.

10 years agoam cd28bd37: Add new aapt flag --error-on-missing-config-entry
Ying Wang [Mon, 27 Jan 2014 18:41:32 +0000 (10:41 -0800)]
am cd28bd37: Add new aapt flag --error-on-missing-config-entry

* commit 'cd28bd37ea2d88dd72930f032ca73daaad5744b4':
  Add new aapt flag --error-on-missing-config-entry

10 years agoam 24dffd0b: Support API change.
Craig Mautner [Mon, 27 Jan 2014 18:41:29 +0000 (10:41 -0800)]
am 24dffd0b: Support API change.

* commit '24dffd0b0beb58d900bf232448596064f3c7d483':
  Support API change.

10 years agoam 58f1f361: Dump maxSdk of uses-permission during badging
Adam Lesinski [Mon, 27 Jan 2014 18:41:26 +0000 (10:41 -0800)]
am 58f1f361: Dump maxSdk of uses-permission during badging

* commit '58f1f3617cb6d96e3f3cf3d5c99004a362f0a61e':
  Dump maxSdk of uses-permission during badging

10 years agoam d8df6b57: Fix text size in Fake Action Bar
Deepanshu Gupta [Mon, 27 Jan 2014 18:41:22 +0000 (10:41 -0800)]
am d8df6b57: Fix text size in Fake Action Bar

* commit 'd8df6b570f10cec486b2af708e9a393f3012317d':
  Fix text size in Fake Action Bar

10 years agoam 03a057c1: Manual merge of changes from frameworks/base/tools
Deepanshu Gupta [Mon, 27 Jan 2014 18:41:19 +0000 (10:41 -0800)]
am 03a057c1: Manual merge of changes from frameworks/base/tools

* commit '03a057c1af9ca3f125c7924bf0b78da52223d8d3':
  Manual merge of changes from frameworks/base/tools

10 years agoam b30296b5: Re-apply several tools fixes lost by the directory rearrangement.
Elliott Hughes [Mon, 27 Jan 2014 18:41:16 +0000 (10:41 -0800)]
am b30296b5: Re-apply several tools fixes lost by the directory rearrangement.

* commit 'b30296b5fda75bf383c7ab3f567eb41820747869':
  Re-apply several tools fixes lost by the directory rearrangement.

10 years agoam 2675f769: Escape strings that are output by aapt dump badging
Maurice Chu [Mon, 27 Jan 2014 18:41:11 +0000 (10:41 -0800)]
am 2675f769: Escape strings that are output by aapt dump badging

* commit '2675f769673f69b0661ddee346292f25cb30a296':
  Escape strings that are output by aapt dump badging

10 years agoam 6fbaf6cf: Update a test corresponding to I11ed9a767588f808
Satoshi Kataoka [Mon, 27 Jan 2014 18:41:08 +0000 (10:41 -0800)]
am 6fbaf6cf: Update a test corresponding to I11ed9a767588f808

* commit '6fbaf6cfd8c85984c75ca2ef8c1dc8bde844bb07':
  Update a test corresponding to I11ed9a767588f808

10 years agoam 24e4f21e: fix build.
Nick Kralevich [Mon, 27 Jan 2014 18:41:05 +0000 (10:41 -0800)]
am 24e4f21e: fix build.

* commit '24e4f21e78ffb7a46db3e03add5df99da3f1c945':
  fix build.

10 years agoam 8cf61845: Prune unneeded density resources from APK
Adam Lesinski [Mon, 27 Jan 2014 18:40:59 +0000 (10:40 -0800)]
am 8cf61845: Prune unneeded density resources from APK

* commit '8cf61845187e301dfc4f64b42921977d38766a34':
  Prune unneeded density resources from APK

10 years agoam 76327314: Fix aapt when outputting meta-data tag values
Maurice Chu [Mon, 27 Jan 2014 18:40:56 +0000 (10:40 -0800)]
am 76327314: Fix aapt when outputting meta-data tag values

* commit '76327314d2238e105f8b94909f9c0cf85caca318':
  Fix aapt when outputting meta-data tag values

10 years agoam f314dc01: Update tests corresponding to I0e920ee79c526c3ae
Satoshi Kataoka [Mon, 27 Jan 2014 18:40:53 +0000 (10:40 -0800)]
am f314dc01: Update tests corresponding to I0e920ee79c526c3ae

* commit 'f314dc01210d117959ae2a303d0311cd071ee927':
  Update tests corresponding to I0e920ee79c526c3ae

10 years agoam 47dcb469: Manual merge of e4ccb864 from frameworks/base/tools to frameworks/tools
Alan Viverette [Mon, 27 Jan 2014 18:40:50 +0000 (10:40 -0800)]
am 47dcb469: Manual merge of e4ccb864 from frameworks/base/tools to frameworks/tools

* commit '47dcb469db6e81b733a3f2eaa6bc4396ebfb3fd0':
  Manual merge of e4ccb864 from frameworks/base/tools to frameworks/tools

10 years agoam 8ff15b4c: AAPT emits error for res with no \'default\' product
Adam Lesinski [Mon, 27 Jan 2014 18:40:47 +0000 (10:40 -0800)]
am 8ff15b4c: AAPT emits error for res with no \'default\' product

* commit '8ff15b4cada7998e78c93934ab2c869c322d7e07':
  AAPT emits error for res with no 'default' product

10 years agoam 492d1643: Update layoutlib
John Reck [Mon, 27 Jan 2014 18:40:44 +0000 (10:40 -0800)]
am 492d1643: Update layoutlib

* commit '492d16434acaaf050f676b6767fbf020fd6ff772':
  Update layoutlib

10 years agoam c363be85: Update fake powermanager to new interface
Marco Nelissen [Mon, 27 Jan 2014 18:40:40 +0000 (10:40 -0800)]
am c363be85: Update fake powermanager to new interface

* commit 'c363be85de7b6cd67762b0f7fb2392fe421c553e':
  Update fake powermanager to new interface

10 years agoam 29e74621: resolved conflicts for merge of fb2e3c8d to master
Jim Miller [Mon, 27 Jan 2014 18:40:37 +0000 (10:40 -0800)]
am 29e74621: resolved conflicts for merge of fb2e3c8d to master

* commit '29e746211878d5204e983ef1fc2812d444052f63':
  resolved conflicts for merge of fb2e3c8d to master

10 years agoam 94fc9124: resolved conflicts for merge of 0c923b7c to master
Adam Lesinski [Mon, 27 Jan 2014 18:40:35 +0000 (10:40 -0800)]
am 94fc9124: resolved conflicts for merge of 0c923b7c to master

* commit '94fc9124f51f0a101cc11e4563f9c647980fe2aa':
  resolved conflicts for merge of 0c923b7c to master

10 years agoam a5018c90: resolved conflicts for merge of 5223a5ff to master
Adam Lesinski [Mon, 27 Jan 2014 18:40:32 +0000 (10:40 -0800)]
am a5018c90: resolved conflicts for merge of 5223a5ff to master

* commit 'a5018c900f126ee8424c82497f32983873db741b':
  resolved conflicts for merge of 5223a5ff to master

10 years agoam e98d2cb6: Fix ClassCastException when rendering ListView
Deepanshu Gupta [Mon, 27 Jan 2014 18:40:29 +0000 (10:40 -0800)]
am e98d2cb6: Fix ClassCastException when rendering ListView

* commit 'e98d2cb65c0915d5278c593d14ff4bdc778557f7':
  Fix ClassCastException when rendering ListView

10 years agoam 8732bd89: Add new getOpPackageName for BridgeContext
Kenny Root [Mon, 27 Jan 2014 18:40:26 +0000 (10:40 -0800)]
am 8732bd89: Add new getOpPackageName for BridgeContext

* commit '8732bd893ae507346dad068a33edcc4beb99faed':
  Add new getOpPackageName for BridgeContext

10 years agoam 6ee095ba: Merge \'Preparation for deleting WebViewClassic\'
Jonathan Dixon [Mon, 27 Jan 2014 18:40:23 +0000 (10:40 -0800)]
am 6ee095ba: Merge \'Preparation for deleting WebViewClassic\'

* commit '6ee095ba7a6ca31f0e92c34482ce8d1a5db084b3':
  Merge 'Preparation for deleting WebViewClassic'

10 years agoam 70f5cc1d: Add isPremultiplied option to Bitmap_Delegate in LayoutLib
Deepanshu Gupta [Mon, 27 Jan 2014 18:40:13 +0000 (10:40 -0800)]
am 70f5cc1d: Add isPremultiplied option to Bitmap_Delegate in LayoutLib

* commit '70f5cc1d5bb9c67781fa6e076e21547547301a3b':
  Add isPremultiplied option to Bitmap_Delegate in LayoutLib

10 years agoam f6ee5fa3: Fix build, fallout from change 451f6b981a2cd
Narayan Kamath [Mon, 27 Jan 2014 18:40:08 +0000 (10:40 -0800)]
am f6ee5fa3: Fix build, fallout from change 451f6b981a2cd

* commit 'f6ee5fa3e2219e6c6ea56c4bdb7b5df528d336c4':
  Fix build, fallout from change 451f6b981a2cd

10 years agoam ec4fdec7: Add support for supports-input element to aapt
Michael Wright [Mon, 27 Jan 2014 18:40:06 +0000 (10:40 -0800)]
am ec4fdec7: Add support for supports-input element to aapt

* commit 'ec4fdec76f2916b91a69d979f400cd69a3812631':
  Add support for supports-input element to aapt

10 years agoam 859e19f9: libpng usage tweaks
John Reck [Mon, 27 Jan 2014 18:40:03 +0000 (10:40 -0800)]
am 859e19f9: libpng usage tweaks

* commit '859e19f97d481bf07c768087d8eb3031fac77aad':
  libpng usage tweaks

10 years agoam 19acfb8e: Fix text rendering
Deepanshu Gupta [Mon, 27 Jan 2014 18:39:59 +0000 (10:39 -0800)]
am 19acfb8e: Fix text rendering

* commit '19acfb8e873a04d42619d222c43eda95d259d0a5':
  Fix text rendering

10 years agoam 8930cb4f: Fix layout rendering for RTL locales
Deepanshu Gupta [Mon, 27 Jan 2014 18:39:48 +0000 (10:39 -0800)]
am 8930cb4f: Fix layout rendering for RTL locales

* commit '8930cb4f37ff0fbde65f7afd4bbe06ab77677f78':
  Fix layout rendering for RTL locales

10 years agoam 7cce7bb5: Remove scenes from Resource.cpp
Chet Haase [Mon, 27 Jan 2014 18:39:45 +0000 (10:39 -0800)]
am 7cce7bb5: Remove scenes from Resource.cpp

* commit '7cce7bb5d8d68e78a414c176dc89a803f706c9ce':
  Remove scenes from Resource.cpp

10 years agoam 282e181b: Revert "Move frameworks/base/tools/ to frameworks/tools/"
Adam Lesinski [Mon, 27 Jan 2014 18:39:29 +0000 (10:39 -0800)]
am 282e181b: Revert "Move frameworks/base/tools/ to frameworks/tools/"

* commit '282e181b58cf72b6ca770dc7ca5f91f135444502':
  Revert "Move frameworks/base/tools/ to frameworks/tools/"

10 years agoRevert "move libandroidfw to frameworks/native"
Adam Lesinski [Fri, 24 Jan 2014 21:27:13 +0000 (13:27 -0800)]
Revert "move libandroidfw to frameworks/native"

This reverts commit 84b6292c33d71b5739828d08aa8101d1954577f2.

10 years agoFilter unneeded assets from additional resource directories
Bryan Mawhinney [Fri, 24 Jan 2014 16:18:13 +0000 (16:18 +0000)]
Filter unneeded assets from additional resource directories

This change ensures that assets that are not needed for the
preferred density are stripped from additional directories
specified by the -S flag

For simplicity, the logic for deciding which assets are not
needed is still applied per directory, rather than globally,
which may still result in some unneeded assets being included
in the final output.

Bug: 12604267
Change-Id: Ic1378570c2d9cd1c854c507e784233818c19efca

10 years agoUpdate BridgeInflater and delegate to support inheritContext arg
Alan Viverette [Wed, 8 Jan 2014 23:15:01 +0000 (15:15 -0800)]
Update BridgeInflater and delegate to support inheritContext arg

Change-Id: I06673f35cd4625301677f74f3e6d49669df7c271

10 years agoDon't pseudolocalize untranslatable strings.
Narayan Kamath [Wed, 18 Dec 2013 13:27:30 +0000 (13:27 +0000)]
Don't pseudolocalize untranslatable strings.

bug: https://code.google.com/p/android/issues/detail?id=63004

(cherry picked from commit 7e1b8ff3e15b35b92978e572ccbfbc47cedce242)

Change-Id: I99ba1a915ae8fc61f70ce570b782108171d0fcaa

10 years agoReimplement ZipFileRO in terms of libziparchive.
Narayan Kamath [Tue, 3 Dec 2013 13:16:03 +0000 (13:16 +0000)]
Reimplement ZipFileRO in terms of libziparchive.

This lets us share zip archive processing code with both
the runtime (Art, dalvik) and critical java code
(StrictJarFile).

This change also moves several utility methods to ZipUtils
and dedups code across several zip inflation methods.

One of the side effects of this change is that several
processing loops are now O(n) instead of O(n^2).

bug: 10193060

(cherry picked from commit e9d380f9303692950166472b1dfab083e1af8133)

Change-Id: I53e7d0c0af266cb1fe4e293e1177b2590cc44224

10 years agoAdd new aapt flag --error-on-missing-config-entry
Ying Wang [Fri, 15 Nov 2013 01:12:10 +0000 (17:12 -0800)]
Add new aapt flag --error-on-missing-config-entry

It forces aapt to return an error if aapt fails to find an resource
entry for a configuration.

Bug: 11259444
Change-Id: Ie5674a29dff5d4455e7d7c94f6b25560fb1305b7

10 years agoSupport API change.
Craig Mautner [Wed, 13 Nov 2013 03:24:14 +0000 (19:24 -0800)]
Support API change.

From
https://googleplex-android-review.git.corp.google.com/#/c/387811/.

Change-Id: I3958a55c72b095c53b054c11c5653ba581881188

10 years agoDump maxSdk of uses-permission during badging
Adam Lesinski [Tue, 12 Nov 2013 20:59:08 +0000 (12:59 -0800)]
Dump maxSdk of uses-permission during badging

If the manifest specifies a maxSdkVersion for which to
stop granting a certain permission, output that value
when dumping badging.

bug:11630700
Change-Id: I922a3186340383828e1af3ce0815efb407d9d535

10 years agoFix text size in Fake Action Bar
Deepanshu Gupta [Mon, 11 Nov 2013 07:17:56 +0000 (12:47 +0530)]
Fix text size in Fake Action Bar

Merge f4800bc from frameworks/base

Issue: 11436018
Change-Id: Id74c11037cb43d01f6cd79126623c84edfc37aaf

10 years agoManual merge of changes from frameworks/base/tools
Deepanshu Gupta [Wed, 6 Nov 2013 09:45:32 +0000 (15:15 +0530)]
Manual merge of changes from frameworks/base/tools

Manually merge of following changes:
9cb5f5b5233f2331748d108d71f4b685762f32a7
1cf5df38f4bdafa1beb2674ca548ad6d9650766b
083e3caf66c21f7cc9511db479726c38d90e2d2f
81f74f4bc96ea4266cebe1b785d095558f540800
39e75835399f4d979cf82069dae2bd1ec496fb81
272d1bce798a5fef42cc2ee31f629d00c89f66eb
45f5cd49fa898a59484edfd8e291dbe10df82db2

Change-Id: Ie21ca480ac117e16e28eb554474835b762ccb104

10 years agoRe-apply several tools fixes lost by the directory rearrangement.
Elliott Hughes [Tue, 29 Oct 2013 22:25:52 +0000 (15:25 -0700)]
Re-apply several tools fixes lost by the directory rearrangement.

Leaks on error in tools/aapt/Images.cpp.
https://code.google.com/p/android/issues/detail?id=61552

Two missing fclose calls in tools/aapt/Resource.cpp.
https://code.google.com/p/android/issues/detail?id=61553

Missing fclose in tools/aidl/aidl.cpp.
https://code.google.com/p/android/issues/detail?id=61554

Change-Id: I56ce144958296961b77354815efc1a245564594b

10 years agoEscape strings that are output by aapt dump badging
Maurice Chu [Wed, 23 Oct 2013 00:33:11 +0000 (17:33 -0700)]
Escape strings that are output by aapt dump badging

Also, changed getComponentName() to output a String8 object
instead of a const char * because the const char * is an internal
buffer of a String8 object which gets immediately destroyed
after returning from getComponentName().

Bug: 11329761
Change-Id: Ic459dec0ad3b20162c36de0ee492bcc022863b12

10 years agoUpdate a test corresponding to I11ed9a767588f808
Satoshi Kataoka [Tue, 22 Oct 2013 03:14:41 +0000 (12:14 +0900)]
Update a test corresponding to I11ed9a767588f808

Change-Id: Ic802c075390f11fa4a5c14b8397a045b2dfec75c

10 years agofix build.
Nick Kralevich [Sat, 19 Oct 2013 16:51:03 +0000 (09:51 -0700)]
fix build.

In frameworks/base commit 1125235da15a5655e1fdf3b5f24df48dafccee90,
the IPowerManager interface was updated to add updateWakeLockUids,
but this file was not updated.

Fixed.

Change-Id: I8d5def02b7cadf5a154634bdff18cacb84b718f4

10 years agoPrune unneeded density resources from APK
Adam Lesinski [Fri, 18 Oct 2013 20:42:09 +0000 (13:42 -0700)]
Prune unneeded density resources from APK

When a preferred density is specified, prune all but the
closest matching density when the exact density resource does not
exist.

If a preferred density resource does not exist and a higher density
resource exists, prune all but the resource with the next highest
density relative to the preferred density.

If a preferred density resource does not exist and there is no
higher density resource, prune all but the resource with the next
lowest density relative to the preferred density.

Manual merge of I99b3950fe3d8116a5625968ed383442315ae8526 from
frameworks/base/tools to frameworks/tools

bug:11224465
Change-Id: Idddf55dad27f114ffc429b61317c3a5b1435d808

10 years agoFix aapt when outputting meta-data tag values
Maurice Chu [Thu, 17 Oct 2013 01:28:46 +0000 (18:28 -0700)]
Fix aapt when outputting meta-data tag values

This fixes outputting string as well as not crashing when the
<meta-data> element has an "android:resource" attribute instead
of an "android:value" attribute.

Bug: 11255844
Change-Id: Iadb62b5dcb18ea3db8dbd2ba3241f489606d535d

10 years agoUpdate tests corresponding to I0e920ee79c526c3ae
Satoshi Kataoka [Tue, 15 Oct 2013 06:16:09 +0000 (15:16 +0900)]
Update tests corresponding to I0e920ee79c526c3ae

Bug: 11035379
Bug: 5137498

Change-Id: Ief2a151bd83b75bf5b07d53b190a61f341541a21

10 years agoManual merge of e4ccb864 from frameworks/base/tools to frameworks/tools
Alan Viverette [Tue, 8 Oct 2013 01:06:51 +0000 (18:06 -0700)]
Manual merge of e4ccb864 from frameworks/base/tools to frameworks/tools

Change-Id: I4893e72caf3dfd68bd503fd8daeabc8550d770a2

10 years agoAAPT emits error for res with no 'default' product
Adam Lesinski [Mon, 7 Oct 2013 23:54:01 +0000 (16:54 -0700)]
AAPT emits error for res with no 'default' product

Rather than ignoring resources that do not match the specified
product, we keep track of the ignored ones and make sure that
some variant of the resource that matches the product was processed.

bug:10860838
Change-Id: I7a35f37fda2c9561634f75323bd4cb2b9047e29b

10 years agoUpdate layoutlib
John Reck [Fri, 4 Oct 2013 16:43:13 +0000 (09:43 -0700)]
Update layoutlib

Change-Id: Ifafe5a47fbef7ff0894e679d04d71942eb8d1237

10 years agoUpdate fake powermanager to new interface
Marco Nelissen [Thu, 3 Oct 2013 21:29:18 +0000 (14:29 -0700)]
Update fake powermanager to new interface

Change-Id: I6f14498d7002b4720293a1c77f4fbb66869c36fb

10 years agoresolved conflicts for merge of fb2e3c8d to master
Jim Miller [Tue, 1 Oct 2013 22:43:16 +0000 (15:43 -0700)]
resolved conflicts for merge of fb2e3c8d to master

Change-Id: I159b529adae04a33a965ec0d43fc9a47e82b6417

10 years agoresolved conflicts for merge of 0c923b7c to master
Adam Lesinski [Tue, 1 Oct 2013 00:16:09 +0000 (17:16 -0700)]
resolved conflicts for merge of 0c923b7c to master

Change-Id: I4f314b48c7714706329509d931d2c53079f5e248

10 years agoresolved conflicts for merge of 5223a5ff to master
Adam Lesinski [Mon, 30 Sep 2013 23:23:15 +0000 (16:23 -0700)]
resolved conflicts for merge of 5223a5ff to master

Change-Id: I6523e4b7df88f21fbe0ecd3ab8f493e5a9867305

10 years agoFix ClassCastException when rendering ListView
Deepanshu Gupta [Tue, 10 Sep 2013 23:38:39 +0000 (16:38 -0700)]
Fix ClassCastException when rendering ListView

Bug: b.android.com/59300
Change-Id: I1e73910cf42de1b02f11cc77f575af9492320a19

10 years agoAdd new getOpPackageName for BridgeContext
Kenny Root [Thu, 12 Sep 2013 05:38:32 +0000 (22:38 -0700)]
Add new getOpPackageName for BridgeContext

Change-Id: Ib39b0bd2d1eb794ae4565e54251e4355fa139a14

10 years agoMerge 'Preparation for deleting WebViewClassic'
Jonathan Dixon [Thu, 12 Sep 2013 00:34:37 +0000 (17:34 -0700)]
Merge 'Preparation for deleting WebViewClassic'

Originally from I4d6773a88ea2932982278127a3c96d38be54ddf5

- file has move to a different git project in master, so manually
  re-applied the diff that landed in klp-dev

Change-Id: I813210bd6160ab71c7a4dff9c221db31d8cc305c

10 years agoAdd isPremultiplied option to Bitmap_Delegate in LayoutLib
Deepanshu Gupta [Mon, 9 Sep 2013 19:32:19 +0000 (12:32 -0700)]
Add isPremultiplied option to Bitmap_Delegate in LayoutLib

Change-Id: I2398af48913682ec698389b695aa256204c8aa47

10 years agoFix build, fallout from change 451f6b981a2cd
Narayan Kamath [Mon, 9 Sep 2013 09:32:38 +0000 (10:32 +0100)]
Fix build, fallout from change 451f6b981a2cd

Change-Id: Id85d06221eccbda786721a05f3f6d9d94c1cbb74

10 years agoAdd support for supports-input element to aapt
Michael Wright [Fri, 6 Sep 2013 23:50:52 +0000 (16:50 -0700)]
Add support for supports-input element to aapt

Change-Id: Ie8c8c44f126383c351f2ebb9ae7c3694fb0a9b16

10 years agolibpng usage tweaks
John Reck [Thu, 5 Sep 2013 23:26:04 +0000 (16:26 -0700)]
libpng usage tweaks

 Bug: 10447005

 Call png_set_interlace_handling explicitly instead of relying on
 implicit handling that logs warnings

 Include filename when printing warnings

Change-Id: Ia343427f5522dc8ab1010f8d7017e86f389caf99

10 years agoFix text rendering
Deepanshu Gupta [Thu, 5 Sep 2013 20:49:17 +0000 (13:49 -0700)]
Fix text rendering

There are still some errors
1. Little vertical clippping for extra tall glyphs.
2. Breaking into scripts isn't perfect which results in incorrect layout
of text.

Change-Id: Ib7b008b4ab5e689038678825289199aeb4bd815b

10 years agoFix layout rendering for RTL locales
Deepanshu Gupta [Thu, 5 Sep 2013 20:25:20 +0000 (13:25 -0700)]
Fix layout rendering for RTL locales

This changeset adds the framework resources for RTL locales and mirrors
the layout if the application is RTL aware.
Use ICU to check the character orientation of the locale - right to left
or left to right. Set the layout direction on the top level layout
accordingly. Also, load the RTL resources for Nav Bar when the locale is
RTL.

Change-Id: Icbb57ee2ac7c6d8dfc34c2f04dce34d820b9b1ed

10 years agoRemove scenes from Resource.cpp
Chet Haase [Thu, 5 Sep 2013 00:41:11 +0000 (17:41 -0700)]
Remove scenes from Resource.cpp

Part of the Transition API changes, except that the tools/ directory
got moved between klp and master, so re-making the same changes here.

Issue #10460684 KLP API Review: android.view.transition and android.animation

Change-Id: Icedca1dc689285b4b213f9376656b26f18c7f23e

10 years agoRevert "Move frameworks/base/tools/ to frameworks/tools/"
Adam Lesinski [Fri, 24 Jan 2014 02:17:42 +0000 (18:17 -0800)]
Revert "Move frameworks/base/tools/ to frameworks/tools/"

This reverts commit 9f6a119c8aa276432ece4fe2118bd8a3c9b1067e.

10 years agoam 7023df08: Revert "AArch64: Make graphics classes 64-bit compatible"
Narayan Kamath [Mon, 27 Jan 2014 16:55:58 +0000 (08:55 -0800)]
am 7023df08: Revert "AArch64: Make graphics classes 64-bit compatible"

* commit '7023df08f14ec5dee76ac54c03e870f84e297636':
  Revert "AArch64: Make graphics classes 64-bit compatible"

10 years agoam 477d7d1b: Revert "Follow up for change 18b4cbeedef21c1fa666a110a157b."
Narayan Kamath [Mon, 27 Jan 2014 16:55:55 +0000 (08:55 -0800)]
am 477d7d1b: Revert "Follow up for change 18b4cbeedef21c1fa666a110a157b."

* commit '477d7d1be9340c4730663af7b748d67e85bc2951':
  Revert "Follow up for change 18b4cbeedef21c1fa666a110a157b."

10 years agoam c5b281c9: Follow up for change 18b4cbeedef21c1fa666a110a157b.
Narayan Kamath [Mon, 27 Jan 2014 16:55:52 +0000 (08:55 -0800)]
am c5b281c9: Follow up for change 18b4cbeedef21c1fa666a110a157b.

* commit 'c5b281c981d7290e3615d105cf2e23afc32c304d':
  Follow up for change 18b4cbeedef21c1fa666a110a157b.

10 years agoam 18b4cbee: AArch64: Make graphics classes 64-bit compatible
Ashok Bhat [Mon, 27 Jan 2014 16:55:48 +0000 (08:55 -0800)]
am 18b4cbee: AArch64: Make graphics classes 64-bit compatible

* commit '18b4cbeedef21c1fa666a110a157bab66edff976':
  AArch64: Make graphics classes 64-bit compatible

10 years agoam 4507ea9e: resolved conflicts for merge of 1cd2834f to master
Narayan Kamath [Mon, 27 Jan 2014 16:55:46 +0000 (08:55 -0800)]
am 4507ea9e: resolved conflicts for merge of 1cd2834f to master

* commit '4507ea9e3cabcf68f250da20c10cf0edcb6eb3f2':
  AssetManager cookies should be int32_t and not void*.

10 years agoRevert "AArch64: Make graphics classes 64-bit compatible"
Narayan Kamath [Mon, 27 Jan 2014 14:21:38 +0000 (14:21 +0000)]
Revert "AArch64: Make graphics classes 64-bit compatible"

This reverts commit 18b4cbeedef21c1fa666a110a157bab66edff976.

Change-Id: I0c52983a3ab1ace3ff743de546a43eca28e5cb0e

10 years agoRevert "Follow up for change 18b4cbeedef21c1fa666a110a157b."
Narayan Kamath [Mon, 27 Jan 2014 14:21:22 +0000 (14:21 +0000)]
Revert "Follow up for change 18b4cbeedef21c1fa666a110a157b."

This reverts commit c5b281c981d7290e3615d105cf2e23afc32c304d.

Change-Id: Id36f463e73068e14bc8fac0a289180be078ffbf9

10 years agoFollow up for change 18b4cbeedef21c1fa666a110a157b.
Narayan Kamath [Mon, 27 Jan 2014 13:36:57 +0000 (13:36 +0000)]
Follow up for change 18b4cbeedef21c1fa666a110a157b.

Fix a few functions that were not converted correctly.

Change-Id: Ieb6bd9ea90af595080f1248a1d5892c460228290

10 years agoAArch64: Make graphics classes 64-bit compatible
Ashok Bhat [Mon, 20 Jan 2014 20:08:01 +0000 (20:08 +0000)]
AArch64: Make graphics classes 64-bit compatible

This a merger of two commits submitted to AOSP by
the following authors:

ashok.bhat@arm.com, david.butcher@arm.coma
craig.barber@arm.com, kevin.petit@arm.com and
marcus.oakland@arm.com

Due to the very large number of internal conflicts, I
have chosen to cherry-pick this change instead
of letting it merge through AOSP because the merge
conflict resolution would be very hard to review.

Commit messages below:

================================================
AArch64: Make graphics classes 64-bit compatible

Changes in this patch include

[x] Long is used to store native pointers as they can
    be 64-bit.

[x] Some minor changes have been done to conform with
    standard JNI practice (e.g. use of jint instead of int
    in JNI function prototypes)

[x] AssetAtlasManager is not completely 64-bit compatible
    yet. Specifically mAtlasMap member has to be converted
    to hold native pointer using long. Added a TODO to
    AssetAtlasManager.java to indicate the change required.

Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Signed-off-by: Craig Barber <craig.barber@arm.com>
Signed-off-by: Kévin PETIT <kevin.petit@arm.com>
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
==================================================================

AArch64: Use long for pointers in graphics/Camera

For storing pointers, long is used in
android/graphics/Camera class, as native
pointers can be 64-bit.

In addition, some minor changes have been done
to conform with standard JNI practice (e.g. use of
jint instead of int in JNI function prototypes)

Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
===================================================================

Change-Id: Ib3eab85ed97ea3e3c227617c20f8d213f17d4ba0

10 years agoresolved conflicts for merge of 1cd2834f to master
Narayan Kamath [Mon, 27 Jan 2014 12:12:07 +0000 (12:12 +0000)]
resolved conflicts for merge of 1cd2834f to master

10 years agoam 30e20ac5: am ebd43d46: am dff83e2b: am d5970e9c: Merge "AssetManager cookies shoul...
Narayan Kamath [Mon, 27 Jan 2014 12:07:15 +0000 (12:07 +0000)]
am 30e20ac5: am ebd43d46: am dff83e2b: am d5970e9c: Merge "AssetManager cookies should be int32_t and not void*."

* commit '30e20ac528731a778eec45506d1e57c8839b318a':
  AssetManager cookies should be int32_t and not void*.

10 years agoam ebd43d46: am dff83e2b: am d5970e9c: Merge "AssetManager cookies should be int32_t...
Narayan Kamath [Mon, 27 Jan 2014 12:04:30 +0000 (12:04 +0000)]
am ebd43d46: am dff83e2b: am d5970e9c: Merge "AssetManager cookies should be int32_t and not void*."

* commit 'ebd43d46ebf53005ae60af59948f8ed634f9bafb':
  AssetManager cookies should be int32_t and not void*.

10 years agoam dff83e2b: am d5970e9c: Merge "AssetManager cookies should be int32_t and not void*."
Narayan Kamath [Mon, 27 Jan 2014 12:01:15 +0000 (04:01 -0800)]
am dff83e2b: am d5970e9c: Merge "AssetManager cookies should be int32_t and not void*."

* commit 'dff83e2b121b356a264e908f8a7d64584eab9b73':
  AssetManager cookies should be int32_t and not void*.

10 years agoam d5970e9c: Merge "AssetManager cookies should be int32_t and not void*."
Narayan Kamath [Mon, 27 Jan 2014 11:58:32 +0000 (03:58 -0800)]
am d5970e9c: Merge "AssetManager cookies should be int32_t and not void*."

* commit 'd5970e9ca34038051f694c7349fa5f3548ee9499':
  AssetManager cookies should be int32_t and not void*.

10 years agoMerge "AssetManager cookies should be int32_t and not void*."
Narayan Kamath [Mon, 27 Jan 2014 11:56:03 +0000 (11:56 +0000)]
Merge "AssetManager cookies should be int32_t and not void*."

10 years agoAssetManager cookies should be int32_t and not void*.
Narayan Kamath [Mon, 27 Jan 2014 11:17:22 +0000 (11:17 +0000)]
AssetManager cookies should be int32_t and not void*.

Cookies are really indices into vectors and arrays, so
they don't need to be void*. We choose int32_t instead
of size_t to allow their width to be well specified.

(cherry picked from commit ebfdd0f467e39c3af8d92cade78263935340acb7)
(cherry picked from commit a7fa2e592e2e579e5acdb903dba83fc074ebc215)
(cherry picked from commit a9d5701b034ed2d9771b3f0943e1add00741d7cd)

Change-Id: I2aed3db568b6fdc487bf99e2c5dd123206736fda

10 years agoam a7fa2e59: AssetManager cookies are now int32_t, not void*.
Narayan Kamath [Mon, 27 Jan 2014 11:14:28 +0000 (03:14 -0800)]
am a7fa2e59: AssetManager cookies are now int32_t, not void*.

* commit 'a7fa2e592e2e579e5acdb903dba83fc074ebc215':
  AssetManager cookies are now int32_t, not void*.

10 years agoAssetManager cookies are now int32_t, not void*.
Narayan Kamath [Fri, 24 Jan 2014 14:06:08 +0000 (14:06 +0000)]
AssetManager cookies are now int32_t, not void*.

This makes cookies on both the java & native side
4 byte signed integral values.

Change-Id: I6843d6c5ba7ff42dc454f20240844a158ae8e818

10 years agoam 5197d074: am dafb2420: am d4b688cf: am d165f365: am 5d2d911a: am d1eeb674: Merge...
Wink Saville [Sun, 26 Jan 2014 17:01:19 +0000 (09:01 -0800)]
am 5197d074: am dafb2420: am d4b688cf: am d165f365: am 5d2d911a: am d1eeb674: Merge "Telephony: Modify code to check that PUK code length is always 8."

* commit '5197d0740c3a8be692622fd4af17ba490e88da6c':
  Telephony: Modify code to check that PUK code length is always 8.

10 years agoam dafb2420: am d4b688cf: am d165f365: am 5d2d911a: am d1eeb674: Merge "Telephony...
Wink Saville [Sun, 26 Jan 2014 16:58:24 +0000 (16:58 +0000)]
am dafb2420: am d4b688cf: am d165f365: am 5d2d911a: am d1eeb674: Merge "Telephony: Modify code to check that PUK code length is always 8."

* commit 'dafb2420a34a5b39aca6ddf993e86778edd76b5d':
  Telephony: Modify code to check that PUK code length is always 8.

10 years agoam d4b688cf: am d165f365: am 5d2d911a: am d1eeb674: Merge "Telephony: Modify code...
Wink Saville [Sun, 26 Jan 2014 16:55:49 +0000 (16:55 +0000)]
am d4b688cf: am d165f365: am 5d2d911a: am d1eeb674: Merge "Telephony: Modify code to check that PUK code length is always 8."

* commit 'd4b688cf97736eb4c543149686ab851b9ea21161':
  Telephony: Modify code to check that PUK code length is always 8.

10 years agoam d165f365: am 5d2d911a: am d1eeb674: Merge "Telephony: Modify code to check that...
Wink Saville [Sun, 26 Jan 2014 16:52:26 +0000 (16:52 +0000)]
am d165f365: am 5d2d911a: am d1eeb674: Merge "Telephony: Modify code to check that PUK code length is always 8."

* commit 'd165f365b394b7632d8a0cfbc14bbf4004858333':
  Telephony: Modify code to check that PUK code length is always 8.

10 years agoam 5d2d911a: am d1eeb674: Merge "Telephony: Modify code to check that PUK code length...
Wink Saville [Sun, 26 Jan 2014 16:49:09 +0000 (08:49 -0800)]
am 5d2d911a: am d1eeb674: Merge "Telephony: Modify code to check that PUK code length is always 8."

* commit '5d2d911ad1f69392cf2a56237ce7ad3bb9e78ffa':
  Telephony: Modify code to check that PUK code length is always 8.

10 years agoam d1eeb674: Merge "Telephony: Modify code to check that PUK code length is always 8."
Wink Saville [Sun, 26 Jan 2014 16:43:28 +0000 (08:43 -0800)]
am d1eeb674: Merge "Telephony: Modify code to check that PUK code length is always 8."

* commit 'd1eeb6747820f549ec724546a84e3860b4580587':
  Telephony: Modify code to check that PUK code length is always 8.

10 years agoMerge "Telephony: Modify code to check that PUK code length is always 8."
Wink Saville [Sat, 25 Jan 2014 21:51:34 +0000 (21:51 +0000)]
Merge "Telephony: Modify code to check that PUK code length is always 8."

10 years agoam 921f4f92: am 38eda9c4: Remove unnecessary logging.
Craig Mautner [Sat, 25 Jan 2014 01:33:05 +0000 (17:33 -0800)]
am 921f4f92: am 38eda9c4: Remove unnecessary logging.

* commit '921f4f926472e5f5864cae203538f47fda6cdbdf':
  Remove unnecessary logging.

10 years agoam 38eda9c4: Remove unnecessary logging.
Craig Mautner [Sat, 25 Jan 2014 01:30:58 +0000 (01:30 +0000)]
am 38eda9c4: Remove unnecessary logging.

* commit '38eda9c42bf327f6f521c766ea716305e5f71c05':
  Remove unnecessary logging.

10 years agoRemove unnecessary logging.
Craig Mautner [Sat, 25 Jan 2014 01:26:52 +0000 (17:26 -0800)]
Remove unnecessary logging.

Fixes bug 12593710.

Change-Id: I55c33bb4d6c9e17e810be7cc033e01fb9d2d6cf7

10 years agoam 31d9989e: Merge "Add app version codes to procstats."
Dianne Hackborn [Fri, 24 Jan 2014 23:32:41 +0000 (15:32 -0800)]
am 31d9989e: Merge "Add app version codes to procstats."

* commit '31d9989e75f3e72d4240f18392939a23dd6375da':
  Add app version codes to procstats.

10 years agoMerge "Add app version codes to procstats."
Dianne Hackborn [Fri, 24 Jan 2014 23:30:51 +0000 (23:30 +0000)]
Merge "Add app version codes to procstats."