Internal copy of Palette API.

Change-Id: I0cad1721df9fe3d01ed0c75fbec6ccd1f42ffc0a
Fixes: 37438780
Test: core compilation
4 files changed