package com.xplora.xpsettings.Utils;

import android.content.Context;
import android.provider.Settings;

public class Constant {
    public static String PACKAGE_NAME = "com.xplora.xpsettings";
    public static String INTENT_VIEW_TYPE = "intent_view_type";
    public static String INTENT_LIST_INDEX = "intent_list_index";
    public static String INTENT_VIEW_VALUE = "intent_view_value";
    public static String INTENT_ACTION_TYPE = "intent_action_value";
    public static String INTENT_RESULT_ACTION = "intent_result_action";
    public static String INTENT_RESULT_ACTION_CANCEL = "intent_result_action_cancel";
    public static String INTENT_RESULT_ACTION_REMOVE = "intent_result_action_remove";
    public static String INTENT_RESULT_VALUE = "intent_result_value";

    public static final int MSG_SWITCH_CHANGE = 0;
    public static final int MSG_CHECKBOX_CHANGE = 1;
    public static final int MSG_CANCEL_CLICK = 2;
    public static final int MSG_SURE_CLICK = 3;
    public static final int MSG_TEXTEDIT_FINISH = 4;
    public static final int MSG_APN_CLICK = 5;
    public static final int MSG_REFRESH_CLICK = 10;

    public final static int MSG_DB_OBSERVER_RINGTONE = 2001;//数据库监控

    public static String TIMEFORMAT_12 = "12";
    public static String TIMEFORMAT_24 = "24";

    public enum CellType {
        TITLE,
        TITLE_SUBTITLE,
        TITLE_CENTER,
        TITLE_EDIT,
        TITLE_APN,
        ICON_TITLE,
        ICON_TITLE_SUBTITLE,
        ICON_TITLE_CENTER,
        PROGRESS_TITLE,
        PROGRESS_TITLE_SUBTITLE,
        XPSTYLE,
        XPSTYLE2,
        SWITCH,
        SWITCH_RIGHT,
        SWITCH_FOOTER,
        CHECKBOX,
        CHECKBOX_HIGHLIGHT,
        REFRESH,
        CANCEL_SURE,
        APN_ADD,
        SURE,
        MESSAGE,
        EMPTY,
        EMPTY2,
        GONE,
    }

    public enum E_ADJUST {
        VOICE_SYSTEM,
        VOICE_MUSIC,
        VOICE_CALL,
        BRIGHTNESS,
    }

    public enum E_SEEKBAR_TYPE {
        VOLUME,
        BRIGHTNESS,
    }
}
