Commit Graph

6 Commits

Author SHA1 Message Date
Alex Chau e8a60abc83 Don't use double padding in DeferredAppWidgetHostView if that would result in negative width
Fix: 203530620
Test: manual
Change-Id: I4aeff08e4fafec74e6a1bb031dfa14ae9d59e87e
2022-04-11 18:39:40 +01:00
Alex Chau 05659a3d10 Add logging of draw / DeviceProfile params for a crash
Bug: 203530620
Test: manual
Change-Id: I376157ee3f688b16a05b59a0093f06519533f6c7
2021-11-02 13:11:05 +00:00
Steven Ng 522c1506f1 Do not allow add view in DeferredAppWidgetHostView
Also set rounded corners to DeferredAppWidgetHostView

Test: manual
Fix: 193885118
Change-Id: I663b5b4a50da1f2348be1792923ee73fe8e6a2e8
2021-07-27 17:11:35 +01:00
Sunny Goyal 19ff728b92 Adding support for determining split layout for launcher.
> Simulating the windo wmanager API to get available device
  profiles until final API
> When a device has multiple internal displays, and with both
  tablet and phone possibilities, it uses a split workspace layout

Bug: 186160341
Bug: 175782275
Test: Manual
Change-Id: Ieff2329acac7cdd6b9abe6f96cd459cd45bd0efe
2021-05-03 14:48:28 -07:00
Sunny Goyal 2e2e2b4a63 Fixing widget label not being rendered in multi-window mode
Bug: 73709754
Change-Id: Id6342e3412c2b247e052bc45c01a484422a7c011
2018-02-28 17:34:23 -08:00
Sunny Goyal 29947f0b53 No more waiting around for resume
Apply model updates as son as they arrive instead of waiting for onResume.
Various workspace items do not use any configuration dependent resources.
For Widgets, we wait until the host starts lietening before inflating the actual view.

Change-Id: Icb2f5e5940c1ce6c27062ccd34eff87e80af5ab1
2017-12-19 12:50:17 -08:00