Commit Graph

53 Commits

Author SHA1 Message Date
Michael Bestas
db341d7d11 overlay: Fix rounded corner rendering issues
Since config_roundedCornerMultipleRadius was phased out from T,
frameworks read the rounded corner dimensions from rounded.xml.
This resulted in bonito & sargo not rendering the rounded corners
properly.

Change-Id: I5cbdcd959fd7943c74ded9d209e06755b1120670
2024-06-08 21:32:27 +08:00
LuK1337
b348418fe4 taimen: Set a default Settings.Global.DEVICE_NAME
Change-Id: I310c1ffc581b72653783d1093d9e7ebde544bb16
2024-06-08 21:32:27 +08:00
Jesse Chan
0e2bb683ad taimen: Enable option for full screen aspect ratio
Change-Id: I2a1b2acc5ed97ccb6795dc371c2b3ac9cb4f9d03
2024-06-08 21:31:00 +08:00
PixelBoot
4fdafe15fa Revert "Disable seamless transition for taimen"
This reverts commit 33746f88ad.
2024-06-08 21:19:46 +08:00
Fiona Campbell
685790abe1 Add brightness float values to config file.
Test: manual testing - ensure that the brightness value in
Settings>Display>Brightness Level can go the full range from 0% to 100%.

Change-Id: Ife1f2796bb3b8ec5f508903afd30a31556b49cbe
2020-02-18 10:41:04 +00:00
Roshan Pius
070a780d4e taimen: Remove wifi related internal overlays
These are replaced by formal mainline module overlays.

Bug: 143464763
Test: Send for  Wifi regression tests
Change-Id: Ifa1250a58cc305bc96135dd2c315dc5a96fd0506
2019-10-31 13:26:13 -07:00
Yiwen Chen
07c73b7a8f Switch back default vibrate for calls setting for taimen devices
Bug: 130741987
Test: Tested on device
Change-Id: I997dfd76cf8a3d6c7459a51373434a9df7fa0d4f
2019-06-04 23:07:19 -07:00
Yiwen Chen
23c3207239 Enable ramping ringer by default for taimen devices.
Bug: 120789399
Test: Tested on device
Change-Id: I9c0f59ec22de38a0c437e6c774aae089b897691b
2019-03-06 07:44:40 -08:00
Blake Kragten
854f62806c Power Profile update Taimen am: ac31655921
am: edad8d56c0

Change-Id: I6146be029f2510963507f4b04938398d7e415ab4
2019-02-21 07:54:13 -08:00
Blake Kragten
ac31655921 Power Profile update Taimen
Updated power profile wifi controller idle current (ma) to new
calculated results.

70ma reported at 4.2V. The controller runs at 3.7V so the inputted value
is 79ma.

BUG: 123521767
Test: N\A
Change-Id: I689ff3ce47ae611c5b175310e8940cd13ffe873c
2019-02-14 15:28:26 -08:00
Lucas Dupin
4c1102f395 Make rounded corner attr visible to framework
Test: visual
Change-Id: Iaa3d49dacff1f3b67b046a48a7ba06f458b901b0
2018-12-06 09:15:30 -08:00
Vinay Kalia
4ff26746a6 power profile: Add "ambient.on" to taimen power profile
"ambient.on" is used to estimate the power consumption
by always on display.

BUG: 112538888
Test: Compile, flash, check Advanced battery usage.

Change-Id: Ieaec0b0bc05939868ce602262325c9665151639f
2018-08-23 11:29:40 -07:00
Siddharth Ray
559128b1c9 Taimen connectivity power profile
Cellular, Wifi and GPS power profile for Taimen is updated to values
based on device power measurements.

BUG:79879615
Change-Id: I846b05277b264375d18d5a4451e14a1060743553
2018-05-16 15:14:28 -07:00
Santos Cordon
b8514ec115 Set the default and minimum values for taimen's VR brightness.
Test: Ensure going into VR still sets the brightness to 140.

Change-Id: I1f65f766d9deba465fdad960d61b9df4db803eb0
Bug: 73090564
2018-04-17 14:53:42 +00:00
Kenny Guy
70d5904310 Update brightness curves for taimen
Update brightness curves using curves from
https://cs.corp.google.com/piper///depot/google3/java/com/google/android/libraries/smartbattery/brightness/model/DeviceCurves.java
Sampled at integer log values from 0 to 5000.

Bug: 74386763
Test: Manual, flash device, adb shell dumpsys display and check brightness config.
Test: try phone near window and in dark area check brightness is reasonable.
Test: Push zebedee curve, check curve is the same as built in version.
Change-Id: I2c92c2bfcc03ccaa07cab6d544913b52184667df
2018-04-03 17:02:06 +01:00
Marissa Wall
7367bc8f0b power profile: Add taimen bluetooth
Add taimen bluetooth values.

Fixes: 63738468
b/74126906
Test: Boot phone and dump BatteryStats

Change-Id: If4576df3ac7e791b97cc0d7584dc7a8fe26b4c6a
2018-03-22 15:53:18 -07:00
Marissa Wall
236aeb3665 power profile: Update taimen power profile
Power profiles now support ambient and video.
Remove power.none because it is never used by batterystats.
Remove the radio values that are never used because
modem.controller.* are present. Update audio.

Fixes: 63738468
b/70531798
b/74125473
Test: Boot phone and dump BatteryStats

Change-Id: I4be783bc3c075ac4a94ff8a2e82e144b43d7d331
2018-03-22 15:53:08 -07:00
TreeHugger Robot
5e433eab91 Merge "Power profile for T" into pi-dev 2018-03-21 02:10:29 +00:00
Siddharth Ray
bc9fafae2c Power profile for T
BUG:72383423
Change-Id: I63cd55dc163483abb65b913a43c6fa0408124147
2018-03-20 16:26:14 -07:00
Michael Wright
4db8e85edd Update the documentation for brightness configuration.
This should always match the documentation in frameworks/base, since
that's the canonical document.

Bug: 74328541
Test: N/A
Change-Id: I7b3266bb3c07631f13fe295ee883909ce24aff79
2018-03-09 16:55:26 +00:00
Adrian Roos
b21c5e6054 overlay: rename status_bar_height to status_bar_height_portrait
Bug: 73717865
Test: make droid
Change-Id: Ief21178c9ce414978e49e038050faaff6418daa6
2018-02-22 16:50:39 +01:00
Kumar Anand
fd9ef4ec45 Merge "wifi: enable Softap ACS and 11ac on Taimen" 2018-01-25 01:23:45 +00:00
TreeHugger Robot
79fa4038a9 Merge "Cellular/Wifi power profile for Taimen" 2018-01-23 02:47:40 +00:00
Kumar Anand
4541e34f8f wifi: enable Softap ACS and 11ac on Taimen
Bug: 72228752
Bug: 72229084
Test: Wifi Regression Test
Change-Id: Iccc644079236d9753176c0a66f2cbc39baa84d23
2018-01-22 15:07:58 -08:00
Marissa Wall
423a5cdeef power profile: Update power profile cpu values
Power profiles will now support active and cluster costs.
Some power profile values have been renamed per b/67752294.

Test: dump battery stats

Change-Id: Id479c233dc7456420dc3da5a80dfe03c51caa906
2018-01-22 13:23:31 -08:00
Siddharth Ray
b5e737604f Cellular/Wifi power profile for Taimen
BUG:67213967
Change-Id: I2178baea60d96b05be3f0751e2fe28d9b1c02064
2018-01-17 18:11:31 -08:00
Lucas Dupin
33746f88ad Disable seamless transition for taimen
config_displayBlanksAfterDoze was removed from wahoo and needs
to be set on the device overlay

Bug: 71897888
Test: flash taimen, press power button when in AoD
Change-Id: Ic54a0bd2f951b62726ae5451bfe83132f619af6d
2018-01-13 21:44:13 -08:00
Michael Wright
538997c53f Add display calibration info.
Also, move to a nits-based autobrightness curve.

Bug: 71706239
Test: Boot Taimen device, see we get a PhysicalBrightnessMapper in
      dumpsys display

Change-Id: I01c6cc1d3abe1c3e547556fc04a41225719cd94f
2018-01-08 18:33:09 +00:00
Michael Wright
b31e38363a Increase the dim brightness.
Right now, the dim brightness is way too dim to the point where most
things aren't visible even in low indoor lighting situations. Upping
this a bit makes it still noticeably dimmer but a lot more visible in
normal usage. It may be worth increasing further, but this is a good
place to start.

Bug: 65346115
Test: wait for the device to dim, see that's actually visible under 4k+
      lux ambient light.

Change-Id: Idf89f1309d7eae8d5ce4d617e6117c0f6cc76562
2017-09-04 17:52:23 +01:00
Michael Wright
4c09bac0a4 Add brightness minimum back.
This was erroneously removed when updating the autobrightness curve
under the assumption that the default value was 1 but it's actually 10,
which is way too high.

Change-Id: Ie5b81c23d9d30560f5a686d40bc090d3cbdf3c4d
Fixes: 64708230
Test: manual
2017-08-15 15:47:49 +01:00
TreeHugger Robot
68d2488991 Merge "Updating brightness override for AOD." into oc-dr1-dev 2017-08-10 02:32:28 +00:00
Winson Chung
84f3707b63 Updating brightness override for AOD.
Bug: 63782050
Test: Verified visually
Change-Id: I7e7cb9cebe61856373b171d6dd62d93abf92d596
2017-08-09 16:50:43 -07:00
Kumar Anand
c7cfa61aff Merge "Revert "Taimen: enable SAR tx power control for wifi"" into oc-dr1-dev 2017-08-09 23:41:31 +00:00
Kumar Anand
abcd962539 Revert "Taimen: enable SAR tx power control for wifi"
This reverts commit 5a98048374.

Change-Id: Iebb1f2c1391cfdcecdf130ccb248df00c0876cf4
2017-08-09 23:21:01 +00:00
Jason Monk
e32f19c07d Change rounded corner radius to 26dp
Test: visual
Change-Id: I893decd435e353af10bff02f06217156605b9fce
Fixes: 64384961
2017-08-08 11:18:35 -04:00
Naveen Kalla
f4d6eeb12a Fix MMS UA Profile and String
Bug: 64201666
Test: Manual
Change-Id: I60da5669bdc82bb6ec36b447830e6605408def68
2017-08-02 16:57:52 +00:00
Ecco Park
5a98048374 Taimen: enable SAR tx power control for wifi
Bug: 62437848

Change-Id: Ibe891e2eb20e6ee9c6a67b879f327e85b572049b
Signed-off-by: Ecco Park <eccopark@google.com>
2017-07-31 08:10:29 +00:00
TreeHugger Robot
0e57a40f24 Merge "Power Profile: update taimen" into oc-dr1-dev 2017-07-27 19:30:00 +00:00
Marissa Wall
45d556e196 Power Profile: update taimen
Updating all power profiles using the same scripts. Previously,
every power profile was generated using different algorithims.
b/62389228

Test: Run a normal android workload and verify the app blame
  is reasonable

Change-Id: Idff05eb0fa776a3dae7bde2952ec80b031834d54
2017-07-27 10:48:16 -07:00
Michael Wright
c361f733a6 Fix the autobrightness curve, part deux.
New hardware units have a mapping that's actually linear, so we assume
that the curve is linear here and have the kernel fix it up for us if it
needs to.

Bug: 63606090
Test: manual
Change-Id: I05c98115b20e0328654ca42ac58244ea81e19940
2017-07-26 21:55:01 +01:00
Michael Wright
d89e4ec272 Drop the minimum screen brightness.
This reduces the minimum brightness to 0.009 nits from 0.09 nits
(on EVT1 and 2).

Bug: 63834045
Test: manual
Change-Id: I7d76eae6e76de5ed3a125f8f4b42d1bba2f57ac7
2017-07-19 14:41:25 +01:00
Jorim Jaggi
2880114ae9 Make status bar a bit larger
Test: Open notification shade, observe no weirdneess
Test: Open a couple of apps

Change-Id: Ia39641581592ce39e3b706c57a3cf21505100e84
Fixes: 63658608
2017-07-13 14:04:59 +02:00
Michael Wright
4e1bf7e542 Fix autobrightness control points.
The control points from another device were directly copied over to
Taimen, but Taimen's display's display has a very different mapping
between backlight value and actual produced brightness. These new values
bring it inline without our ML learned curve compensating for this fact.

The one difference here is that Taimen can go brighter than the devices
the model was trained on so an additional point was introduced. Based on
visual inspection the curve looks almost exactly linear in the last few
points before it hits the ceiling, so the final point is just a linear
extrapolation from Marlin's final two control points to Taimen's maximum
brightness.

Note also that Taimen's display can't be set above 223 in normal use.
Every value about this is an "overdrive" setting and greatly increases
the risk of burn-in not to mention using significantly more power.

Bug: 62027049
Test: manual
Change-Id: Iad725edd7adbe4505fd13237a6cb3aa2efd9bbcf
2017-06-27 00:56:32 +01:00
TreeHugger Robot
7d88cac6d2 Merge "haptics: update effect waveform" 2017-06-02 18:50:38 +00:00
David Lin
34b58e2077 haptics: update effect waveform
Make EFFECT_CLICK 10ms and LONG_PRESS 12ms.

Bug: 62176703

Change-Id: Id676a6581e8beff9ad2d951b2d9f405d38d374b9
Signed-off-by: David Lin <dtwlin@google.com>
2017-06-01 13:25:57 -07:00
TreeHugger Robot
7d9b78290f Merge "Revert "Revert "Add rounded corners for taimen""" 2017-05-31 15:25:56 +00:00
Wei Wang
e89deeacdf Add thermal shutdown in batteryservice
Bug: 37711924
Test: Build

Change-Id: I56efb5fcd1bbcf5f43f423788af9c9dba57d3312
2017-05-30 10:58:25 -07:00
Jason Monk
e5aed0ad1e Revert "Revert "Add rounded corners for taimen""
This reverts commit 2b373737de.

Change-Id: I69f22295c20f89d4bb7c9a75b805dab873a9bd5f
2017-05-26 13:18:10 +00:00
Vineeta Srivastava
2b373737de Revert "Add rounded corners for taimen"
Bug: 38306660
Test: Loaded device policy successfully
This reverts commit 2571384316.

Change-Id: I3283c6f5d654ba0705a32392c540d68f5f5df33c
2017-05-15 12:03:11 -07:00
TreeHugger Robot
94e75d9e64 Merge "Add rounded corners for taimen" 2017-05-10 14:25:55 +00:00