Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cef811df authored by Clark Scheff's avatar Clark Scheff
Browse files

Add previews to the themes contract.

Change-Id: I607a6eda1c63a701516d2bc78ca6b705841fbdf7
parent 2c337f37
Loading
Loading
Loading
Loading
+91 −0
Original line number Diff line number Diff line
@@ -373,4 +373,95 @@ public class ThemesContract {
            return null;
        }
    }

    /**
     * Table containing cached preview blobs for a given theme
     */
    public static class PreviewColumns {
        public static final Uri CONTENT_URI = Uri.withAppendedPath(AUTHORITY_URI, "previews");

        /**
         * The unique ID for a row.
         * <P>Type: INTEGER (long)</P>
         */
        public static final String _ID = "_id";

        /**
         * The unique ID for the theme these previews belong to.
         * <P>Type: INTEGER (long)</P>
         */
        public static final String THEME_ID = "theme_id";

        /**
         * Cached image of the themed status bar background.
         * <P>Type: BLOB (bitmap)</P>
         */
        public static final String STATUSBAR_BACKGROUND = "statusbar_background";

        /**
         * Cached image of the themed bluetooth status icon.
         * <P>Type: BLOB (bitmap)</P>
         */
        public static final String STATUSBAR_BLUETOOTH_ICON = "statusbar_bluetooth_icon";

        /**
         * Cached image of the themed wifi status icon.
         * <P>Type: BLOB (bitmap)</P>
         */
        public static final String STATUSBAR_WIFI_ICON = "statusbar_wifi_icon";

        /**
         * Cached image of the themed cellular signal status icon.
         * <P>Type: BLOB (bitmap)</P>
         */
        public static final String STATUSBAR_SIGNAL_ICON = "statusbar_signal_icon";

        /**
         * Cached image of the themed battery using portrait style.
         * <P>Type: BLOB (bitmap)</P>
         */
        public static final String STATUSBAR_BATTERY_PORTRAIT = "statusbar_battery_portrait";

        /**
         * Cached image of the themed battery using landscape style.
         * <P>Type: BLOB (bitmap)</P>
         */
        public static final String STATUSBAR_BATTERY_LANDSCAPE = "statusbar_battery_landscape";

        /**
         * Cached image of the themed battery using circle style.
         * <P>Type: BLOB (bitmap)</P>
         */
        public static final String STATUSBAR_BATTERY_CIRCLE = "statusbar_battery_circle";

        /**
         * The themed margin value between the wifi and rssi signal icons.
         * <P>Type: INTEGER (int)</P>
         */
        public static final String STATUSBAR_WIFI_COMBO_MARGIN_END = "wifi_combo_margin_end";

        /**
         * The themed color used for clock text in the status bar.
         * <P>Type: INTEGER (int)</P>
         */
        public static final String STATUSBAR_CLOCK_TEXT_COLOR = "statusbar_clock_text_color";

        /**
         * Cached image of the themed back button.
         * <P>Type: BLOB (bitmap)</P>
         */
        public static final String NAVBAR_BACK_BUTTON = "navbar_back_button";

        /**
         * Cached image of the themed home button.
         * <P>Type: BLOB (bitmap)</P>
         */
        public static final String NAVBAR_HOME_BUTTON = "navbar_home_button";

        /**
         * Cached image of the themed recents button.
         * <P>Type: BLOB (bitmap)</P>
         */
        public static final String NAVBAR_RECENT_BUTTON = "navbar_recent_button";
    }
}