Commit Graph

4820 Commits

Author SHA1 Message Date
android-build-team Robot e7935db536 release-request-ccd04736-6e66-4825-a227-ecd69d8b5337-for-git_oc-mr1-release-4163697 snap-temp-L79500000080559163
Change-Id: I29a0df65f76250a6ba7359be1bcf28f5798e7d77
2017-07-07 22:01:47 +00:00
Tianjie Xu 84e4b9fe87 Merge "Fix a rare failure for imgdiff when random data equals gzip header" am: b87a166a16 am: 8542502f1f am: 233f4b0b4b
am: 79c1562dc9

Change-Id: Ice4f792e23043b595e20110d72cab292edc16041
2017-07-07 18:32:43 +00:00
Tianjie Xu 79c1562dc9 Merge "Fix a rare failure for imgdiff when random data equals gzip header" am: b87a166a16 am: 8542502f1f
am: 233f4b0b4b

Change-Id: If7e81b8e794f34d374d385eb5603353cdfec524f
2017-07-07 18:11:59 +00:00
Tianjie Xu 233f4b0b4b Merge "Fix a rare failure for imgdiff when random data equals gzip header" am: b87a166a16
am: 8542502f1f

Change-Id: Iaf46b8d2abad2357975ba6ecedaeed522c20b51e
2017-07-07 17:55:18 +00:00
Tianjie Xu 8542502f1f Merge "Fix a rare failure for imgdiff when random data equals gzip header"
am: b87a166a16

Change-Id: Ic3c7d102cc7a2b992c699add012076a4bda549c6
2017-07-07 17:52:26 +00:00
Tianjie Xu b87a166a16 Merge "Fix a rare failure for imgdiff when random data equals gzip header" 2017-07-07 17:42:12 +00:00
Luke Song 37f3b5cdcb Restructure vr_ui am: c392888df7 -s ours
am: 1c8189c851

Change-Id: I40c240c5887fce0b766289c2629258fe40e054ba
2017-07-07 01:23:42 +00:00
Luke Song 1c8189c851 Restructure vr_ui
am: c392888df7  -s ours

Change-Id: I898ecb8a10383d0aaba9cbaf3f47911b5e895576
2017-07-07 01:21:36 +00:00
Android Build Merger (Role) f2654a5484 Merge "Introduce VR recovery ui am: edc6b52f00 -s ours am: 6660c97f07" 2017-07-07 00:43:25 +00:00
Luke Song 14daca2d9f Introduce VR recovery ui am: edc6b52f00 -s ours
am: 6660c97f07

Change-Id: I95633e944dd3ea8706b794ef07663ee7309e822d
2017-07-07 00:42:45 +00:00
Luke Song 45a74276d2 Introduce VR recovery ui am: edc6b52f00 -s ours
am: 6660c97f07

Change-Id: I115b8a1a0c218457a33b1f1031d91eeba39efad1
2017-07-07 00:41:55 +00:00
Luke Song 6660c97f07 Introduce VR recovery ui
am: edc6b52f00  -s ours

Change-Id: I4b6b4a5c7ffc3ae29c0b35d91f19ed56048ab049
2017-07-07 00:38:12 +00:00
Luke Song c392888df7 Restructure vr_ui
Get rid of pixel offset variables, and use makefile variables in
BoardConfigs.

Cherry picked from commit 81a8e4cab2

Bug: 37779982
Test: Verified vr ui has same behavior.
Change-Id: Ifbf44e27d7101aedbe3c0e6db4b8181d56efadfd
2017-07-06 16:49:27 -07:00
Tianjie Xu 14ebc1e5ae Fix a rare failure for imgdiff when random data equals gzip header
In a rare case, a random chunk will pass both the gzip header check
and the inflation process; but fail the uncompressed length check in the
footer. This leads to a imgdiff failure. So, we should treat this chunk
as 'normal' instead of 'inflated' while generating the patch.

Bug: 63334984
Test: imgdiff generates patch successfully on previous failing images.
Change-Id: Ice84f22d3653bce9756bda91e70528c0d2f264a0
2017-07-06 16:49:11 -07:00
Luke Song edc6b52f00 Introduce VR recovery ui
A version of screen ui with specific adjustments for vr device
compatibility.

Cherry picked from commit a44dba7f4e

Bug: 37779982
Test: "adb reboot recovery" to view
Change-Id: If6b0f26c1b587f8d0176060685b5efb6c67593b1
2017-07-06 21:53:00 +00:00
Android Build Merger (Role) 71dd66f8d4 Merge "Merge "Merge "recovery: replace make_ext4 with e2fsprogs" into oc-dr1-dev am: bee95d6866" into oc-dr1-dev-plus-aosp am: 114b555807 -s ours" 2017-07-05 22:46:57 +00:00
Android Build Merger (Role) 10ca6335c4 Merge "Merge "recovery: replace make_ext4 with e2fsprogs" into oc-dr1-dev am: bee95d6866 am: 6895d5c44d -s ours" 2017-07-05 22:46:51 +00:00
Jin Qian 411bb18c73 Merge "recovery: replace make_ext4 with e2fsprogs" into oc-dr1-dev am: bee95d6866
am: 6895d5c44d  -s ours

Change-Id: I4e242646ec15b2b54c44186770a32cf7b27b356c
2017-07-05 22:45:31 +00:00
Jin Qian 995f02e54d Merge "Merge "recovery: replace make_ext4 with e2fsprogs" into oc-dr1-dev am: bee95d6866" into oc-dr1-dev-plus-aosp
am: 114b555807  -s ours

Change-Id: I013b898521c2563d2cf9ed85ce51324c25c0004b
2017-07-05 22:45:28 +00:00
Android Build Merger (Role) cf8aed1d13 Merge "Merge "recovery: replace make_ext4 with e2fsprogs" into oc-dr1-dev am: bee95d6866 am: 987c5a98a8 -s ours" 2017-07-05 22:45:11 +00:00
Jin Qian d52ad6a8f8 Merge "recovery: replace make_ext4 with e2fsprogs" into oc-dr1-dev am: bee95d6866
am: 987c5a98a8  -s ours

Change-Id: I67a9066b3e91c260c8140af729ea935c7537cd21
2017-07-05 22:44:02 +00:00
Jin Qian 23b2e1bc15 Merge "recovery: replace make_ext4 with e2fsprogs" into oc-dr1-dev am: bee95d6866
am: 987c5a98a8  -s ours

Change-Id: Ia186c727dd25fb7b5aa13914bd1ad72392870e21
2017-07-05 22:43:53 +00:00
Android Build Merger (Role) 114b555807 Merge "Merge "recovery: replace make_ext4 with e2fsprogs" into oc-dr1-dev am: bee95d6866" into oc-dr1-dev-plus-aosp 2017-07-05 22:41:56 +00:00
Jin Qian 6895d5c44d Merge "recovery: replace make_ext4 with e2fsprogs" into oc-dr1-dev
am: bee95d6866

Change-Id: Iafcdb0e0b27090349d17f130bc0bcdb45ff1b8d4
2017-07-05 22:40:44 +00:00
Jin Qian 987c5a98a8 Merge "recovery: replace make_ext4 with e2fsprogs" into oc-dr1-dev
am: bee95d6866

Change-Id: I2428f35c9c8a67ba8f1de23602b4110641e63a3f
2017-07-05 22:40:26 +00:00
TreeHugger Robot bee95d6866 Merge "recovery: replace make_ext4 with e2fsprogs" into oc-dr1-dev 2017-07-05 22:33:35 +00:00
android-build-team Robot b6b8b53fa9 release-request-d9dc98f7-19b2-484c-b4d1-f35dc43e9c05-for-git_oc-mr1-release-4152006 snap-temp-L91700000079405440
Change-Id: Ia32c0e10ab5ce47b60553e08ab528fb8d6471771
2017-07-02 07:31:57 +00:00
Tao Bao 154a6e71a6 Merge "Update ScreenRecoveryUI::Draw* function signatures." am: c8e338fa9c am: c24d97fafa am: 7e3b1c00c6
am: 9e62767759

Change-Id: I65581d1580fbb6bc0ee85c980f6f79aedf33d8fe
2017-07-02 02:54:16 +00:00
Tao Bao 9e62767759 Merge "Update ScreenRecoveryUI::Draw* function signatures." am: c8e338fa9c am: c24d97fafa
am: 7e3b1c00c6

Change-Id: I8892407f036aa2dd1a8e90068274362648cc6cc0
2017-07-02 02:51:46 +00:00
Tao Bao 7e3b1c00c6 Merge "Update ScreenRecoveryUI::Draw* function signatures." am: c8e338fa9c
am: c24d97fafa

Change-Id: I6ab605dc914bed4f5104b6fd405d7f5f19a5d863
2017-07-02 02:49:46 +00:00
Tao Bao c24d97fafa Merge "Update ScreenRecoveryUI::Draw* function signatures."
am: c8e338fa9c

Change-Id: I8754a10003053459407cbc633a527943a622385a
2017-07-02 02:47:16 +00:00
Treehugger Robot c8e338fa9c Merge "Update ScreenRecoveryUI::Draw* function signatures." 2017-07-02 02:42:46 +00:00
Tao Bao ea78d86b44 Update ScreenRecoveryUI::Draw* function signatures.
Move away from taking int* for the Y-offset. Change it to int and return
the offset instead.

Test: Check the recovery menu and 'Wipe data' menu.
Change-Id: Ib15e070a0d576a0f8f66f35605cb8479e7071f26
2017-07-01 17:41:24 -07:00
Tao Bao 7ba666b746 screen_ui: Compute the top and bottom gaps. am: f95e686dd0 -s ours
am: b649cad15f

Change-Id: I28c43e6f673457b8765afd965762c09cd662e5b2
2017-06-30 05:46:58 +00:00
Tao Bao b649cad15f screen_ui: Compute the top and bottom gaps.
am: f95e686dd0  -s ours

Change-Id: Iaa00625c3820ca4a88e1fe3dd0ef38dc03561a66
2017-06-30 05:41:59 +00:00
Tao Bao 059622dd8b Merge "screen_ui: Compute the top and bottom gaps." am: 344778c4ef am: 1783254c3f am: 2fbbd488d6
am: 3a0fbd46ab

Change-Id: I44e6fe34e97cffc6de29eb27927fb9752cc4ade8
2017-06-30 04:20:26 +00:00
Tao Bao 3a0fbd46ab Merge "screen_ui: Compute the top and bottom gaps." am: 344778c4ef am: 1783254c3f
am: 2fbbd488d6

Change-Id: Ide3de0d21546c39508bc35806d544a7c4831c7c7
2017-06-30 04:16:27 +00:00
Tao Bao 2fbbd488d6 Merge "screen_ui: Compute the top and bottom gaps." am: 344778c4ef
am: 1783254c3f

Change-Id: I022f5b36f750a6ee2640974ec8b2eb9bd1d504b9
2017-06-30 04:11:25 +00:00
Tao Bao 1783254c3f Merge "screen_ui: Compute the top and bottom gaps."
am: 344778c4ef

Change-Id: If58672e390c4794bc93946e6a090da88a7acc90a
2017-06-30 04:06:26 +00:00
Tao Bao 344778c4ef Merge "screen_ui: Compute the top and bottom gaps." 2017-06-30 03:59:25 +00:00
Tao Bao f95e686dd0 screen_ui: Compute the top and bottom gaps.
We're not actually following the gaps as in the comments. For example,
Nexus 6P is supposed to use 220dp and 194dp gaps (top and bottom
respectively), but the actual numbers are 185dp and 194dp. Because the
animation icon and text sizes don't match the ones claimed (animation:
expected 200dp or 700px, actual 800px; text: claimed 14sp, actual 76px).
The top gap changes (shrinks) as we compute the baselines bottom-up.

This CL switches to using computed gaps: the major UI elements always
stay vertically centered, with identical top and bottom gaps.

Bug: 63093285
Test: 'Run graphics test' on angler/volantis/fugu/ryu.
Change-Id: I3cadbb34f728cf034afa47ac02a6deba8cb6b4e7
(cherry picked from commit 3250f72360)
2017-06-29 18:23:21 -07:00
Tao Bao 3250f72360 screen_ui: Compute the top and bottom gaps.
We're not actually following the gaps as in the comments. For example,
Nexus 6P is supposed to use 220dp and 194dp gaps (top and bottom
respectively), but the actual numbers are 185dp and 194dp. Because the
animation icon and text sizes don't match the ones claimed (animation:
expected 200dp or 700px, actual 800px; text: claimed 14sp, actual 76px).
The top gap changes (shrinks) as we compute the baselines bottom-up.

This CL switches to using computed gaps: the major UI elements always
stay vertically centered, with identical top and bottom gaps.

Bug: 63093285
Test: 'Run graphics test' on angler/volantis/fugu/ryu.
Change-Id: I3cadbb34f728cf034afa47ac02a6deba8cb6b4e7
2017-06-29 14:59:08 -07:00
android-build-team Robot be8a565c39 release-request-fbba21d1-17b5-4752-9864-95770e5db190-for-git_oc-mr1-release-4144771 snap-temp-L10300000078657232
Change-Id: If037aa310a32dd1e7a448387a20d1e83ee3e960e
2017-06-29 07:32:53 +00:00
Tao Bao 2ba0d49455 Merge "wear_ui: Remove dead/duplicate codes." am: f722fcf0d4 am: c9e411858f am: c3437622cc
am: fa9509d016

Change-Id: Id8be2884158aca182202451eea7038fa5328151a
2017-06-29 04:15:27 +00:00
Tao Bao fa9509d016 Merge "wear_ui: Remove dead/duplicate codes." am: f722fcf0d4 am: c9e411858f
am: c3437622cc

Change-Id: I97062d996f0b707a88a4c3e3f88392e3f3ee69ad
2017-06-29 04:11:25 +00:00
Tao Bao c3437622cc Merge "wear_ui: Remove dead/duplicate codes." am: f722fcf0d4
am: c9e411858f

Change-Id: Ib7ed03df1c1f23d4419cb932495f26f15006e3be
2017-06-29 04:07:26 +00:00
Tao Bao c9e411858f Merge "wear_ui: Remove dead/duplicate codes."
am: f722fcf0d4

Change-Id: I621c528b73da0fade1473235ce2710cbd8d9bc95
2017-06-29 04:03:25 +00:00
Tao Bao f722fcf0d4 Merge "wear_ui: Remove dead/duplicate codes." 2017-06-29 03:55:53 +00:00
Tao Bao 0bc54dd83f wear_ui: Remove dead/duplicate codes.
WearRecoveryUI::draw_progress_locked() has declaration only, where
the definition was deleted in commit
5e7cfb9af6.

WearRecoveryUI::ClearText() is a duplicates of
ScreenRecoveryUI::ClearText().

Test: Build swordfish recovery image. 'Run graphics test' and 'View
      recovery logs'.
Change-Id: Ib66955d1d496f04359b4d6487160218e8f954478
2017-06-28 15:32:23 -07:00
Elliott Hughes 39c6051c1e Merge "Add missing libziparchive dependency." am: f9fe6a705d am: 78ff0832cb am: 8b4c7e7567
am: 171642fac5

Change-Id: I63a77f7ba32a624f73d0324483f4c747407b9266
2017-06-28 16:51:40 +00:00