Support dynamic spinner options for App List

Spinner options could be dynamic based on the current application
status. For example, in "All apps", spinner options only shows when
there is any disabled or instant apps.

Also,
- Support config_hideWhenDisabled_packageNames

Bug: 264228237
Test: Unit test
Test: Manually with Gallery
Change-Id: Ie48f1617eed330012218c5f3d2b63b2b1f423d54
14 files changed