From 059dda57cca4c0df0830281d3679495bbbba51da Mon Sep 17 00:00:00 2001 From: Yichi Chen Date: Wed, 10 Jun 2020 20:57:14 +0800 Subject: [PATCH] HbmManager: Support B5-specific configurations The patch provides the compensation images and threshold configurations for B5 Bug: 151886711 Test: Enale HBM and check compensation layer Change-Id: Ib1f0b89a3d11084adc63bea42e294946baaa66bb --- .../drawable/b5_compensation_image_15k.png | Bin 0 -> 15497 bytes .../drawable/b5_compensation_image_30k.png | Bin 0 -> 15645 bytes .../HbmSVManager/res/values/config.xml | 32 ++++++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 bramble/overlay/vendor/google_devices/sunfish/proprietary/display/HbmSVManager/res/drawable/b5_compensation_image_15k.png create mode 100644 bramble/overlay/vendor/google_devices/sunfish/proprietary/display/HbmSVManager/res/drawable/b5_compensation_image_30k.png create mode 100644 bramble/overlay/vendor/google_devices/sunfish/proprietary/display/HbmSVManager/res/values/config.xml diff --git a/bramble/overlay/vendor/google_devices/sunfish/proprietary/display/HbmSVManager/res/drawable/b5_compensation_image_15k.png b/bramble/overlay/vendor/google_devices/sunfish/proprietary/display/HbmSVManager/res/drawable/b5_compensation_image_15k.png new file mode 100644 index 0000000000000000000000000000000000000000..c3e0076885324bd6e1010dacb6a5aede8555d2c2 GIT binary patch literal 15497 zcmeI2T}V@57{{OO_%WAT^P^<4LP%OfY6FoZ#m&q)tm6k!BE|+1yD?Gvfy=ng;BJx*c0dE} zN&E$K^ExAnLaEyicW3>twtLMeyq3&0Ft?)r#+=$7V_Sa@%aI9Z+yKXT!*BQ&A_d4- zE{hWi@YK&=My9LCtSYbdhuNF|U5X4|D$(aU6at>N3&3LSEM-;sAP|NFcPVx-v{P9P zFr9LLfAMs*x& z+g{d}j#xX=RZ2*CE<5SKM^vtSZ*?hVY`tbvawRAxBc#A>wtGegmadH5E$N8@>FAMQ z;KGnU-P^Et>~lJVU*tnE?CP^zN&n*5*Pan8HnsY)lkf@iRn7>h<3U}obv3hyaVN%A zVlQ>8*y^%HTZ8ipC_FALfUj!GJ7n3oePF>`=QV+q!*B8NH|hsu z3&;|X24o4y5|AYzOF))@${|?-`U^+%@ibXVlchvPL`FnLL`FnLL`FnLL`FnLL`FnL zL`FnLL`FnLL`FnLyNHZzbNx&-IzZ5D=|>K|mJ3Zyfee_9!G-N$H@k5QKSIKBYf%OZ zL?$lA2k_wXdjLZLE~E#bCMW_ah9Xdh3FHIi3yMI)1&YAYXo)INu|N^1R-y=G6?V6| Y5^U}}`lwE0*bMXq-Dx(bFWb=c2TVn6)c^nh literal 0 HcmV?d00001 diff --git a/bramble/overlay/vendor/google_devices/sunfish/proprietary/display/HbmSVManager/res/drawable/b5_compensation_image_30k.png b/bramble/overlay/vendor/google_devices/sunfish/proprietary/display/HbmSVManager/res/drawable/b5_compensation_image_30k.png new file mode 100644 index 0000000000000000000000000000000000000000..b4aaf02cd0d5c3e9160bf4bbdf352daac23b6db2 GIT binary patch literal 15645 zcmeI3X-pGQ5XWb`2&GL)l^7!;#29;dw#G{%Us`T_8_n$Y zPdE``T)e2+R;h?tR>RLNYS^sF?@X;4wlHAL9qLIkNE#Qm8FNaR=68i9#2Q@pCZ>T? z9%9MvDK`Ft2Hb{_;gN(Y_h6xP`W}EX%f{VXOb6VAH z`8l3U+Lx?*(hy6vQsf8b4>RYINs27;_62w(e{HMisNX5!yoJ8N&kML9jxv>9TyA3> zpt&M|K#knCi#bfraoPRJofrKMdc-_$aq3H!fY%H%ij!w!<@(1ff+QSE`&`{`-6fiQ zE{Kzog`l&h<@%X62`sbC)Y6FROy@hF@L+9|BcTuEr^>?i&0%Y>nAo;S1L_J!`Cy za3)VOC}*v~Z~oPHCw)?RE<_wEDr8%IB}kl=h2646?g5+(%U!2U+M^y74uVf zgYx(Bx~?~c(V-1n!{2o1l2bu`jP~vgxYhs6IkrTh(a&1Zo?=Sc%R1C&WQA^~C%q9Nij$%cpor~x7YA^{=+A^{=+rb9#mES6%ilz0Im z0cwCqfJlHyfJlHyfawsC0N6iF` zmk<$9F!)QsOAtnnV0_IAZ7!ehS2uMmqgnxnJ17H=QlKhVm!E~*tqhnR2 I%XC>k0rEy#@c;k- literal 0 HcmV?d00001 diff --git a/bramble/overlay/vendor/google_devices/sunfish/proprietary/display/HbmSVManager/res/values/config.xml b/bramble/overlay/vendor/google_devices/sunfish/proprietary/display/HbmSVManager/res/values/config.xml new file mode 100644 index 0000000..184772f --- /dev/null +++ b/bramble/overlay/vendor/google_devices/sunfish/proprietary/display/HbmSVManager/res/values/config.xml @@ -0,0 +1,32 @@ + + + + + + 15000.0 + 30000.0 + + + + @drawable/b5_compensation_image_15k + @drawable/b5_compensation_image_30k + + + 4000 +