Mill Chen
1c3ed19a09
Remove mIsHalfWidth field from ContextualCard
...
mIsHalfWidth in ContextualCard is too generic to identify its
responsibility, it is used to hold the value of is_support_half from
database and used to decide the card width. Also, it limits the
relationship of CardType-to-Renderer not to be extended to one-to-many.
To deal with this, we replaced mIsHalfWidth with mViewType to implement
one-to-many relationship of CardType-to-Renderer, and removed all
related logic of mIsHalfWidth.
Bug: 121303357
Test: robotests, visual
Change-Id: I03e14392272194424f317d11bf9d0d794a6133f4
2019-01-16 04:01:45 +00:00
..
2019-01-11 15:15:12 -08:00
2019-01-10 09:33:21 +08:00
2019-01-14 14:10:34 -08:00
2018-12-12 19:53:49 -08:00
2018-12-19 23:24:48 +08:00
2019-01-12 07:36:32 +08:00
2018-12-19 19:10:06 +00:00
2019-01-08 19:23:04 +08:00
2019-01-15 03:58:14 +00:00
2018-12-12 19:53:49 -08:00
2018-12-12 19:53:49 -08:00
2018-12-12 19:53:49 -08:00
2019-01-14 13:36:31 -08:00
2019-01-10 04:00:20 +00:00
2019-01-15 19:29:16 +00:00
2018-12-12 19:53:49 -08:00
2018-12-12 19:53:49 -08:00
2018-12-27 17:24:36 +08:00
2019-01-11 15:55:33 -08:00
2019-01-03 12:56:13 -05:00
2019-01-16 04:01:45 +00:00
2018-12-12 19:53:49 -08:00
2018-12-12 19:53:49 -08:00
2018-12-12 19:53:49 -08:00
2019-01-04 23:53:38 +00:00
2019-01-03 13:11:25 +08:00
2019-01-11 15:21:16 -08:00
2019-01-14 13:04:22 -05:00
2018-12-13 13:58:07 -08:00
2019-01-10 07:16:02 +00:00
2018-12-12 19:53:49 -08:00
2018-12-12 19:53:49 -08:00
2018-12-21 14:20:11 -08:00
2018-12-21 14:20:11 -08:00
2019-01-08 19:23:04 +08:00
2018-12-12 19:53:49 -08:00
2018-12-12 19:53:49 -08:00
2018-12-12 19:53:49 -08:00
2018-12-12 19:53:49 -08:00
2018-12-12 19:53:49 -08:00
2018-12-27 17:24:36 +08:00
2018-12-12 19:53:49 -08:00
2018-12-12 19:53:49 -08:00
2018-12-12 19:53:49 -08:00
2018-12-12 19:53:49 -08:00
2018-12-21 14:20:11 -08:00
2018-12-12 19:53:49 -08:00
2019-01-11 11:00:03 -08:00
2019-01-14 16:31:01 -08:00
2018-12-12 19:53:49 -08:00
2018-12-12 19:53:49 -08:00
2018-12-12 19:53:49 -08:00
2018-12-24 10:13:54 +08:00
2018-12-12 19:53:49 -08:00
2018-12-12 19:53:49 -08:00
2018-12-12 19:53:49 -08:00
2018-12-12 19:53:49 -08:00
2018-12-12 19:53:49 -08:00
2018-12-12 19:53:49 -08:00
2018-12-12 19:53:49 -08:00
2018-12-20 00:33:24 +00:00
2018-12-12 19:53:49 -08:00
2018-12-19 23:50:36 +09:00
2018-12-12 19:53:49 -08:00
2018-12-12 19:53:49 -08:00
2018-12-12 19:53:49 -08:00