summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Don't keep LayoutlibCallback reference.Deepanshu Gupta2015-05-143-84/+12
| | | | | | | | Switch to the newer API that enables keeping a reference only to the ParserFactory which is a much leaner object as compared to LayoutlibCallback. Change-Id: I9b7afd93226db23786a00b2951cbf5ae5b8f3e5f
* Move couple of intellij libraries to project level.Deepanshu Gupta2015-05-143-24/+26
| | | | | | | | Move framework and layoutlib api libraries back to being project libraries so that other modules can depend on it. This enables custom widget libraries project to merge through cleanly. Change-Id: I4f00d6fb378a80662f32491a2b0061d6bf61899f
* Fix build.Deepanshu Gupta2015-05-132-5/+3
| | | | | | | | When doing the full build, javalib.jar wasn't created. However, mm had created the javalib.jar. Fix the build by not depending on javalib.jar, but on classes.jar Change-Id: I643676b1d73cbfce42946a065a2ada6c50cc959a
* Update rendering fidelity tag to use constant.Deepanshu Gupta2015-05-131-4/+4
| | | | Change-Id: If6c1076aa1e070c6bda7be16516fe0e18a95fe2d
* Use Balanced line breaker instead of HighQuality.Deepanshu Gupta2015-05-131-1/+1
| | | | | | | Fallback to the Balanced line breaker till the time HighQuality one is implemented. Change-Id: I51e9882c5c733e5409f932ef740684829340ced9
* Update nav bar icons.Deepanshu Gupta2015-05-1324-14/+149
| | | | | | | | | | - Add a script to copy the icons from the original source. - Update layout used for the navigation bar to be closer to the original layout. - Update test image with the latest rendering. - Add a nexus 5 landscape device config to help with testing. Change-Id: I0b6674955e0970a6a8cce148b1b7aa61e1752ccd
* Load ICU data in LayoutLibDeepanshu Gupta2015-05-134-6/+19
| | | | | | Also return the correct version numbers for ICU data. Change-Id: I7de973b5553c73948870b97bdc12a880bb2fdd85
* Add missing delegates for M preview.Deepanshu Gupta2015-05-1336-376/+491
| | | | | | | | | | | | | - Remove ICU dependency (use the version bundled with platform). - Restructure intelliJ project to move dependencies to module. - Minor fixes to layoutlib tests. TODO: - Load ICU data. - Hyphenator doesn't work. - High quality line breaker not present. Change-Id: I965e096e17bfc97ee995a649c3f4f6f64bb4f70d
* Run setup for full tests only once.Deepanshu Gupta2015-05-131-26/+36
| | | | Change-Id: Iee64dbd88d473b7be08581f26ccddf649aed8e56
* Remove kxml dependency.Deepanshu Gupta2015-05-137-43/+151
| | | | | | | Create XmlPullParser using callback provided by the client. This enables clients to choose which XmlPullParser implementation they want. Change-Id: I9ad97a4777820cdbe5c8fc3716f74ddec9065c70
* Merge "Fix build" into mnc-devJorim Jaggi2015-05-131-2/+2
|\
| * Fix buildJorim Jaggi2015-05-131-2/+2
| | | | | | | | Change-Id: Ia9277c6c983758d301c89312e39b59a2db0b29c4
* | Merge "Make sure the app can draw a frame before unlocking" into mnc-devJorim Jaggi2015-05-131-1/+5
|\ \ | |/
| * Make sure the app can draw a frame before unlockingJorim Jaggi2015-05-131-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - The mechanism to stop windows drawing while window animator was animating was somehow flaky. It relied on the fact that the client would call relayout() whenever the animating state changed. This is mostly the case, but not for lockscreen animations. Instead, we now use a push model, where window manager tells the app that the state has changed. - In addition, it only stopped drawing if that window was animating, but then only resumed drawing after all windows have finished animating. Now, we do this per window, so we only stop drawing for windows that are currently animating. - We resume the top activity now at the very beginning of the unlocking sequence. This gives the app a chance to draw a frame before the user sees anything. If it's to slow, then we just use the outdated framebuffer. Bug: 19964562 Change-Id: Ifef8abd189a3146d854b81b9b948861e4d38c155
* | Merge "AAPT2: Fix issue where @null was wrongly encoded" into mnc-devAdam Lesinski2015-05-133-9/+34
|\ \
| * | AAPT2: Fix issue where @null was wrongly encodedAdam Lesinski2015-05-123-9/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | @null must be encoded as TYPE_REFERENCE with a value of 0. TYPE_NULL is used by the runtime as a placeholder when resolving style attributes. If we set a style attribute to TYPE_NULL, the runtime will throw. The runtime will convert a TYPE_REFERENCE with value 0 to a proper null value. Change-Id: Id983ca7e1fbee3124dddafe32f1b5741b824225b
* | | Merge "AAPT2: Debug: Dump only targetted style" into mnc-devAdam Lesinski2015-05-135-27/+79
|\ \ \ | |/ /
| * | AAPT2: Debug: Dump only targetted styleAdam Lesinski2015-05-125-27/+79
| | | | | | | | | | | | Change-Id: Id7c5a4b5d0880520e1fea05e5a31d398946c5f05
* | | Merge "AAPT2: inferred style parent processing" into mnc-devAdam Lesinski2015-05-138-19/+48
|\ \ \ | |/ /
| * | AAPT2: inferred style parent processingAdam Lesinski2015-05-128-19/+48
| | | | | | | | | | | | Change-Id: I8fbc4feef16b6039cf4c526fcfb767dc75a9c131
* | | Merge "AAPT2: Support static lib referencing static lib" into mnc-devAdam Lesinski2015-05-1320-457/+751
|\ \ \ | |/ /
| * | AAPT2: Support static lib referencing static libAdam Lesinski2015-05-1220-457/+751
| |/ | | | | | | | | | | | | | | | | | | | | | | When a static library A references static library B, and app C references both A and B, we get the following symbol merging, symbols from library B get imported twice. We must only check that symbol references to library B are valid when building library A. We should only merge all the symbols when building final app C. Change-Id: I23cba33b0901dcbb5328d9c9dfaa6a979c073c36
* | Revert "Anti-alias by default"Chris Craik2015-05-131-1/+1
|/ | | | | | | | | | bug:20948129 Keep HIDDEN_DEFAULT_PAINT_FLAGS name. This reverts commit 1b60cc0529161b5eca6407b551d67d355994c567. Change-Id: I97cd9c556375c74c52b006bda4fc7b3a2cfa89e1
* Update LayoutLib for theme key changes to fix buildAlan Viverette2015-05-071-14/+9
| | | | Change-Id: I47b400b320f16688cd32c1d8955a660637d93f4d
* Retry "Always show auxiliary subtypes from NavBar keyboard icon."Seigo Nonaka2015-05-061-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | This CL relands I1e50ee42838a1bf64a612da4904aa93458d44ea4, which was reverted by I3decaf37198e5864a1763a059df4a36ebc70c5a7 due to the build breakage in 'layoutlib' target, with a proper fix. Hereafter the original CL description is repeated. The auxiliary subtypes should be listed if the input method picker is opened from NavBar keyboard icon. However there is only IMM#showInputMethodPicker() API to open input method picker and this is also used from LockScreen or Settings UI. Auxiliary subtypes should not be listed there(Id7cf5d122). Thus framework shows auxiliary subtypes based on IMMS#mInputShown and LockScreen state, but it is not a perfect solution. If a physical keyboard is connected, the soft input may be gone. As the result, auxiliary subtypes won't be listed even if it is opened from NavBar keyboard icon. To fix this issue, this CL introduces IMM#showInputMethodPicker(boolean) to be able to decide showing auxiliary subtypes by caller. Note that IMM#showInputMethodPicker(boolean) is still hidden with @hide. There is no public API change in this CL. Bug: 20763994 Change-Id: Id156c85535a221235737ea6dcc15a67f1c4b9f71
* am 0fe14486: am 2021c877: am 33e54563: am 4b125836: Merge "Added function to ↵Diego Perez2015-05-071-0/+4
|\ | | | | | | | | | | | | render a drawable in all available states" into lmp-mr1-dev * commit '0fe14486211e3ade7f29ea76e16211853fe9cd7a': Added function to render a drawable in all available states
| * am 2021c877: am 33e54563: am 4b125836: Merge "Added function to render a ↵Diego Perez2015-05-072-6/+56
| |\ | | | | | | | | | | | | | | | | | | drawable in all available states" into lmp-mr1-dev * commit '2021c8773150dd47d8781375af94143cb22afd9d': Added function to render a drawable in all available states
| | * am 33e54563: am 4b125836: Merge "Added function to render a drawable in all ↵Diego Perez2015-05-072-6/+56
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | available states" into lmp-mr1-dev * commit '33e54563daa0db610f9dc8b9d4fca8f826ffec73': Added function to render a drawable in all available states
| | | * Merge "Added function to render a drawable in all available states" into ↵Diego Perez2015-05-072-6/+56
| | | |\ | | | | | | | | | | | | | | | lmp-mr1-dev
| | | | * Added function to render a drawable in all available statesAndrew Shulaev2015-05-072-6/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 01cdf8b135be3bf67b9386dc929109c3db82c730. Change-Id: I596855047d78c3c718744ad61432fc45e1239634 (cherry picked from commit 1f158819bc7cf58f97e47fabfaf23b2fb838f2eb)
| * | | | am 613aef87: am 86bff0bb: am 0e20bd8e: Merge changes I60c09f33,Ie0134c2b ↵Diego Perez2015-05-073-7/+36
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into lmp-mr1-dev * commit '613aef87cf6a5958ff2fd255348f92f8d3de152e': Add new parameter to the render method to allow forcing a measure pass. Avoid caching mImage on the main render loop and use clipping.
| | * | | am 86bff0bb: am 0e20bd8e: Merge changes I60c09f33,Ie0134c2b into lmp-mr1-devDiego Perez2015-05-073-7/+36
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | | | | | | * commit '86bff0bb63f3667f0b450420514c931b1f4d25d2': Add new parameter to the render method to allow forcing a measure pass. Avoid caching mImage on the main render loop and use clipping.
| | | * | Merge changes I60c09f33,Ie0134c2b into lmp-mr1-devDiego Perez2015-05-073-7/+36
| | | |\ \ | | | | |/ | | | |/| | | | | | | | | | | | | | | | * changes: Add new parameter to the render method to allow forcing a measure pass. Avoid caching mImage on the main render loop and use clipping.
| | | | * Add new parameter to the render method to allow forcing a measure pass.Diego Perez2015-04-282-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I60c09f3375fc85c257a449f4372220741e01db54 (cherry picked from commit c13aa0c035cd226d27323bc0e533632ba32f6a84)
| | | | * Avoid caching mImage on the main render loop and use clipping.Diego Perez2015-04-222-5/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + Added a session flag that avoids caching mImage. This is useful when mImage is just a Graphics2D wrapper that might change at any time. + Make GcSnapshot aware of the clipping so it doesn't need to render the whole area if not needed. Change-Id: Ie0134c2bc2741b5fa6648313864c851bbac066cf (cherry picked from commit 2c5e85b303077d2120b428bd4c7e6ecb6970935b)
* | | | | am 9af506fb: am 143eaa81: am 2ea82244: am 263e6dfa: Merge "Make status and ↵Diego Perez2015-05-073-2/+36
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | navigation bars widgets and usable from layouts" into lmp-mr1-dev * commit '9af506fb5b5f1c7f36fb439c2b120ad2b0cda602': Make status and navigation bars widgets and usable from layouts
| * | | | am 143eaa81: am 2ea82244: am 263e6dfa: Merge "Make status and navigation ↵Diego Perez2015-05-073-2/+36
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | bars widgets and usable from layouts" into lmp-mr1-dev * commit '143eaa81934e47c8acb8338d1a2383eb79b690ef': Make status and navigation bars widgets and usable from layouts
| | * | | am 2ea82244: am 263e6dfa: Merge "Make status and navigation bars widgets and ↵Diego Perez2015-05-073-2/+36
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | usable from layouts" into lmp-mr1-dev * commit '2ea82244f0b4396444ec891ab664f9ac40c0b55b': Make status and navigation bars widgets and usable from layouts
| | | * | Merge "Make status and navigation bars widgets and usable from layouts" into ↵Diego Perez2015-05-063-2/+36
| | | |\ \ | | | | | | | | | | | | | | | | | | lmp-mr1-dev
| | | | * | Make status and navigation bars widgets and usable from layoutsDiego Perez2015-04-213-2/+36
| | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will allow the theme editor to render these components separately. Change-Id: I8b2e0e78039b44623152e34f68ffcdfab5aa9885
* | | | | am ae4619dd: am df4c977d: am 24e10c0b: am 19dbe50b: Merge "Move StatusBar to ↵Diego Perez2015-05-071-1/+2
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | use statusBarColor theme attribute" into lmp-mr1-dev * commit 'ae4619dd7f3d48cae2e9b83681849a77a8201142': Move StatusBar to use statusBarColor theme attribute
| * | | | am df4c977d: am 24e10c0b: am 19dbe50b: Merge "Move StatusBar to use ↵Diego Perez2015-05-071-1/+2
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | statusBarColor theme attribute" into lmp-mr1-dev * commit 'df4c977d760ccfcf929c77b100faa5f8f38df158': Move StatusBar to use statusBarColor theme attribute
| | * | | am 24e10c0b: am 19dbe50b: Merge "Move StatusBar to use statusBarColor theme ↵Diego Perez2015-05-071-1/+2
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | attribute" into lmp-mr1-dev * commit '24e10c0bad54bdd3b37f6f7effea8f76b687ce3f': Move StatusBar to use statusBarColor theme attribute
| | | * | Merge "Move StatusBar to use statusBarColor theme attribute" into lmp-mr1-devDiego Perez2015-05-061-1/+2
| | | |\ \
| | | | * | Move StatusBar to use statusBarColor theme attributeDiego Perez2015-04-301-1/+2
| | | | |/ | | | | | | | | | | | | | | | Change-Id: Ic0d8f4520a6dcb7225a2947cc56dc06a7340d3ba
| * | | | am ffeb8117: am 9c13c8de: am bc47abe4: Merge "Make sure shaders use a color ↵Diego Perez2015-05-074-8/+19
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | model compatible with the destination." into lmp-mr1-dev * commit 'ffeb8117b139f61dd7c92bda6a7d47b83871cb66': Make sure shaders use a color model compatible with the destination.
| | * | | am 9c13c8de: am bc47abe4: Merge "Make sure shaders use a color model ↵Diego Perez2015-05-074-8/+19
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | compatible with the destination." into lmp-mr1-dev * commit '9c13c8de8291aac69958a106248d3229ff90609f': Make sure shaders use a color model compatible with the destination.
| | | * | Merge "Make sure shaders use a color model compatible with the destination." ↵Diego Perez2015-05-064-8/+19
| | | |\ \ | | | | | | | | | | | | | | | | | | into lmp-mr1-dev
| | | | * | Make sure shaders use a color model compatible with the destination.Diego Perez2015-04-154-8/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Iaf6e14bb86835c36a5b0c37519ac2ee794d10081 (cherry picked from commit 158ac454073a460375123d7d05152a7c6490efb6)
* | | | | | am a131bfe0: am 3dbd18cd: am 872e9950: am 1f8e3de4: Merge "More layoutlib ↵Deepanshu Gupta2015-05-0713-14/+467
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tests." into lmp-mr1-dev * commit 'a131bfe094c007721d006fc9ca21cfa74f41dfef': More layoutlib tests.