Updating new widget api to account for view type count

Change-Id: Iab3a905aaec0b42ef31cd23e0711f6f7bf299486
3 files changed