summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Prune unneeded density resources from APK" into klp-devAdam Lesinski2013-10-181-1/+38
|\
| * Prune unneeded density resources from APKAdam Lesinski2013-10-151-1/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. bug:11224465 Change-Id: I99b3950fe3d8116a5625968ed383442315ae8526
* | Layoutlib Create: Remove references to java package class Objects.Deepanshu Gupta2013-10-173-3/+138
| | | | | | | | | | | | | | Remove references to Java 7 class java.util.Objects and replace it with a new class that can be loaded on Java 6. Change-Id: Ibbd9b20b8bc89e247f1d0c48d743d06d1a4f0704
* | Merge "Fix layoutlib for KK" into klp-devDeepanshu Gupta2013-10-184-15/+50
|\ \
| * | Fix layoutlib for KKDeepanshu Gupta2013-10-164-15/+50
| |/ | | | | | | | | | | | | | | Fix a NPE, update the native methods for NinePatch and update an ICU method to return the right value as required by DatePicker widget. Bug: 11140701 Change-Id: Id92fc5359acf6dde1bcdbc781aaf637fdb6eecbf
* | Layoutlib: Add DateIntervalFormat_Delegate required by CalendarViewDeepanshu Gupta2013-10-172-0/+71
| | | | | | | | Change-Id: Ica79267a4eb231db833cb0232cfacf419fe73de3
* | am 873c76d0: am fb1ee08c: am a49c3585: Merge "Fix CalendarView to show the ↵Deepanshu Gupta2013-10-172-0/+62
|\ \ | | | | | | | | | | | | | | | | | | right month and year label." into jb-mr2-dev * commit '873c76d0475def6f89fe02458828a549a7a7b5a2': Fix CalendarView to show the right month and year label.
| * \ am fb1ee08c: am a49c3585: Merge "Fix CalendarView to show the right month ↵Deepanshu Gupta2013-10-172-0/+62
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | and year label." into jb-mr2-dev * commit 'fb1ee08ca4424969c148760937d18ec0e3de206c': Fix CalendarView to show the right month and year label.
| | * \ Merge "Fix CalendarView to show the right month and year label." into jb-mr2-devDeepanshu Gupta2013-10-172-0/+62
| | |\ \
| | | * | Fix CalendarView to show the right month and year label.Deepanshu Gupta2013-10-162-0/+62
| | | | | | | | | | | | | | | | | | | | Change-Id: I95431f1054678d4192bd1621c1f69b29268f55e9
* | | | | am 92a80b18: am 9b827a7d: am ec555902: Merge "Layoutlib: Update the wifi ↵Deepanshu Gupta2013-10-178-7/+6
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | icon in the status bar." into jb-mr2-dev * commit '92a80b1830082d109be4902c357424535305130d': Layoutlib: Update the wifi icon in the status bar.
| * | | | am 9b827a7d: am ec555902: Merge "Layoutlib: Update the wifi icon in the ↵Deepanshu Gupta2013-10-178-7/+6
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | status bar." into jb-mr2-dev * commit '9b827a7d6dcb8c60411a24e2c8970f3fc24f0380': Layoutlib: Update the wifi icon in the status bar.
| | * | | Merge "Layoutlib: Update the wifi icon in the status bar." into jb-mr2-devDeepanshu Gupta2013-10-178-7/+6
| | |\ \ \ | | | |/ / | | |/| |
| | | * | Layoutlib: Update the wifi icon in the status bar.Deepanshu Gupta2013-10-148-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue: https://code.google.com/p/android/issues/detail?id=60993 Change-Id: Ia43ed40b42c79f67dcd5809b827d4fecbc823c25
* | | | | am 9568ad39: am 94e5ada7: am 81f74f4b: Fix DatePicker and Calendar widget in ↵Deepanshu Gupta2013-10-171-2/+8
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | layoutlib. * commit '9568ad393194cbd42866e64dada88207b44462a6': Fix DatePicker and Calendar widget in layoutlib.
| * | | | am 94e5ada7: am 81f74f4b: Fix DatePicker and Calendar widget in layoutlib.Deepanshu Gupta2013-10-171-2/+8
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * commit '94e5ada7d629f125262fcc052cf15355a34a678a': Fix DatePicker and Calendar widget in layoutlib.
| | * | | Fix DatePicker and Calendar widget in layoutlib.Deepanshu Gupta2013-10-161-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | Issue: https://code.google.com/p/android/issues/detail?id=59732 Change-Id: I281b3fdad88c591281a3645592c84f3e2cb61d09
* | | | | am 7dc35060: am df076962: am 1cf5df38: Layoutlib Create: Remove references ↵Deepanshu Gupta2013-10-1726-443/+1669
|\ \ \ \ \ | |/ / / / | | | | / | |_|_|/ |/| | | | | | | | | | | to non-std Java classes. * commit '7dc35060a828c473dcc75d13d31edaa75768a40f': Layoutlib Create: Remove references to non-std Java classes.
| * | | am df076962: am 1cf5df38: Layoutlib Create: Remove references to non-std ↵Deepanshu Gupta2013-10-1726-443/+1669
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | Java classes. * commit 'df0769628e2bfcefb5f78375b74775b3a825ca9f': Layoutlib Create: Remove references to non-std Java classes.
| | * | Layoutlib Create: Remove references to non-std Java classes.Deepanshu Gupta2013-10-1626-443/+1669
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not add the non-standard Java classes. Updates the references to all non-standard classes to new classes in com.android.tools.layoulib.create package. This also treats java.lang.AutoCloseable which is part of Java 7 similarly so that we can still run on Java 6. Change-Id: Iac5b272652e2780c9bb72d19f415d150948ca589
* | | Merge "Ignore certain WindowManager flags when touch exploration is enabled" ↵Alan Viverette2013-10-081-0/+4
|\ \ \ | | | | | | | | | | | | into klp-dev
| * | | Ignore certain WindowManager flags when touch exploration is enabledAlan Viverette2013-10-071-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specifically, ignore any flags that alter the visibility of the navigation bar and transparency. BUG: 11082573 Change-Id: I17264dc55a1c6c3cb9b9cf92d5121799cecee5b8
* | | | AAPT emits error for res with no 'default' productAdam Lesinski2013-10-041-4/+65
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | 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: I804cd04a053269a35b7e1c1cc743b77493337bf9
* | | Merge "Fix layoutlib build" into klp-devMarco Nelissen2013-10-031-0/+6
|\ \ \
| * | | Fix layoutlib buildMarco Nelissen2013-10-031-0/+6
| | | | | | | | | | | | | | | | Change-Id: Ica9f506ae06311d9bcd98bc11e64a8699d4f88cb
* | | | Update liblayoutJohn Reck2013-10-021-2/+2
|/ / / | | | | | | | | | | | | | | | Fix build Change-Id: I6c9223205874f7709fcf9e69a7779c54f52ba48b
* | | Merge "Fix permissions on WindowManagerService.showAssistant()" into klp-devJim Miller2013-09-281-5/+0
|\ \ \
| * | | Fix permissions on WindowManagerService.showAssistant()Jim Miller2013-09-271-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since binder call permissions are not transitive by design, the proper way to fix this is to have the call talk directly to keyguard from the navigation bar. Fixes bug 9409008 Change-Id: Ibd90a79bb638c969b514455a2ad93c6ff668222d
* | | | Add badging of Payment appsAdam Lesinski2013-09-271-11/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | HCE apps that declare themselves as payment apps will receive that badge when running aapt dump badging. bug:10899864 Change-Id: I7c095214412465ad7a925285d6167e12de16b600
* | | | Add support for dumping new badgingAdam Lesinski2013-09-271-3/+68
|/ / / | | | | | | | | | | | | | | | | | | | | | APKs with AccessibilityServices, PrintServices, and or DeviceAdmin will have those services dumped when running 'aapt dump badging'. bug:10899864 Change-Id: I9c1f1f36c397b128dca802510368573a54977459
* | | am 31207780: am 0ecfe381: am 54d88f76: Fix ClassCastException when rendering ↵Deepanshu Gupta2013-09-134-129/+156
|\ \ \ | |/ / | | | | | | | | | | | | | | | ListView * commit '31207780338b97e396927701ca0da7a61d6d44b2': Fix ClassCastException when rendering ListView
| * | am 0ecfe381: am 54d88f76: Fix ClassCastException when rendering ListViewDeepanshu Gupta2013-09-134-129/+156
| |\ \ | | |/ | | | | | | | | | * commit '0ecfe3819269062805c4c56cdc1470c2fc3856c8': Fix ClassCastException when rendering ListView
| | * Fix ClassCastException when rendering ListViewDeepanshu Gupta2013-09-104-129/+156
| | | | | | | | | | | | | | | Bug: b.android.com/59300 Change-Id: Ia350adb3308daa8170bff755302760790163c811
* | | Merge "Preparation for deleting WebViewClassic" into klp-devJonathan Dixon2013-09-111-16/+0
|\ \ \
| * | | Preparation for deleting WebViewClassicJonathan Dixon2013-08-251-16/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 10427705 - layoutlib has references to classes that no longer build into the host core JAR when WebViewClassic is removed. - preloaded-classes should not reference WebViewClassic classes. Change-Id: I4d6773a88ea2932982278127a3c96d38be54ddf5
* | | | Fix issue #10688644: Java crash in com.android.phone:Dianne Hackborn2013-09-111-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | java.lang.SecurityException: Operation not allowed There was a situation I wasn't taking into account -- components declared by the system has a special ability to run in the processes of other uids. This means that if that code loaded into another process tries to do anything needing an app op verification, it will fail, because it will say it is calling as the system package name but it is not actually coming from the system uid. To fix this, we add a new Context.getOpPackageName() to go along-side getBasePackageName(). This is a special call for use by all app ops verification, which will be initialized with either the base package name, the actual package name, or now the default package name of the process if we are creating a context for system code being loaded into a non-system process. I had to update all of the code doing app ops checks to switch to this method to get the calling package name. Also improve the security exception throw to have a more descriptive error message. Change-Id: Ic04f77b3938585b02fccabbc12d2f0dc62b9ef25
* | | | Merge "Add isPremultiplied option to Bitmap_Delegate in LayoutLib" into klp-devDeepanshu Gupta2013-09-092-14/+88
|\ \ \ \
| * | | | Add isPremultiplied option to Bitmap_Delegate in LayoutLibDeepanshu Gupta2013-09-042-14/+88
| | | | | | | | | | | | | | | | | | | | Change-Id: Id06921d8db2fe898fdc60ef9d05d05f8dfe3f94a
* | | | | Fix build.Dianne Hackborn2013-09-081-0/+10
| | | | | | | | | | | | | | | | | | | | Change-Id: Ifeac5d09a654ee1183ae26519c8b44f560afd636
* | | | | Added support for supports-input manifest elementMichael Wright2013-09-051-50/+87
| | | | | | | | | | | | | | | | | | | | Change-Id: Ifa7c87908081585c1940b5a47fdf5138a287d9ea
* | | | | am b50de495: am dd4efc22: am 3a762d8b: Merge "Fix text rendering" into ↵Deepanshu Gupta2013-09-055-193/+300
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | jb-mr2-dev * commit 'b50de4951aaea6d6f01432dc17b7c5de778a2e71': Fix text rendering
| * | | | am dd4efc22: am 3a762d8b: Merge "Fix text rendering" into jb-mr2-devDeepanshu Gupta2013-09-055-193/+300
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | * commit 'dd4efc22c736973ecfa1b7b4af9e71f971dd48b3': Fix text rendering
| | * | | Fix text renderingDeepanshu Gupta2013-09-055-193/+300
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: I54de3c05eca5e8affb1135c120eea24c3afe8a47
* | | | | am 97c88368: am c78d173b: am 68411471: Merge "Fix layout rendering for RTL ↵Deepanshu Gupta2013-09-0515-19/+81
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | locales" into jb-mr2-dev * commit '97c88368e0036665507c8cd84c71d26953784c85': Fix layout rendering for RTL locales
| * | | | am c78d173b: am 68411471: Merge "Fix layout rendering for RTL locales" into ↵Deepanshu Gupta2013-09-0515-19/+81
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | jb-mr2-dev * commit 'c78d173b730dcfdf107e6ac2bc959d459fe3eedd': Fix layout rendering for RTL locales
| | * | | Fix layout rendering for RTL localesDeepanshu Gupta2013-09-0415-19/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: I1ed0d516ab64120a0abca413ba678036661508f8
* | | | | Transition API changes from API council recommendationsChet Haase2013-09-041-26/+1
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | Issue #10460684 KLP API Review: android.view.transition and android.animation Issue #10570740 Transitions: inflate transition targets from xml Change-Id: I7a3f6d3aece2fcafc5efd555d033f79e86635c98
* | | | Merge "Better aidl generated dependency" into klp-devYing Wang2013-08-261-0/+10
|\ \ \ \ | |_|_|/ |/| | |
| * | | Better aidl generated dependencyYing Wang2013-08-231-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously if an imported aidl file has been deleted or moved, the generated dependency file still contains the stale file name, and make will fail with "No rule to make target <the deleted/moved file>". This change uses technique described in section "Automatic Dependency Generation", Chapter 8 of "Managing Projects with GNU Make (3d Edition)". The same technique is used by the Android platform build system to generate C/C++ header dependencies. Bug: 10459179 Change-Id: Ib0c01a4234ef1af994487fdc846cdf8d13a675f6
* | | | Merge "Add CancellationSignal support to file operations." into klp-devJeff Sharkey2013-08-231-3/+5
|\ \ \ \ | |/ / / |/| | |