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
2018-12-05 08:15:17 +08:00
2019-01-15 21:45:42 +00:00
2019-01-09 18:25:31 +08:00
2018-12-18 09:51:08 +00:00
2018-12-19 20:24:23 -08:00
Description
No description provided
3.1 GiB
Languages
Java 89.8%
Kotlin 10.2%