Debian Codegraph @

apps/NotificationStudio/src/com/android/notificationstudio/model/EditableItemConstants.java

raw
1 /*
2 * Copyright 2012 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17 package com.android.notificationstudio.model;
18
19 import com.android.notificationstudio.R;
20
21 public interface EditableItemConstants {
22
23 public static final int TYPE_TEXT = 0;
24 public static final int TYPE_DROP_DOWN = 1;
25 public static final int TYPE_RESOURCE_ID = 2;
26 public static final int TYPE_BITMAP = 3;
27 public static final int TYPE_INT = 4;
28 public static final int TYPE_DATETIME = 5;
29 public static final int TYPE_BOOLEAN = 6;
30 public static final int TYPE_TEXT_LINES = 7;
31
32 public static final int CATEGORY_MAIN = R.string.properties;
33 public static final int CATEGORY_STYLE = R.string.style;
34 public static final int CATEGORY_ACTION1 = R.string.action_1;
35 public static final int CATEGORY_ACTION2 = R.string.action_2;
36 public static final int CATEGORY_ACTION3 = R.string.action_3;
37
38 public static final Integer PRESET_CUSTOM = R.string.preset_custom;
39 public static final Integer PRESET_BASIC = R.string.preset_basic;
40 public static final Integer PRESET_EMAIL = R.string.preset_email;
41 public static final Integer PRESET_PHOTO = R.string.preset_photo;
42
43 public static final Integer STYLE_NONE = R.string.style_none;
44 public static final Integer STYLE_BIG_PICTURE = R.string.style_big_picture;
45 public static final Integer STYLE_BIG_TEXT = R.string.style_big_text;
46 public static final Integer STYLE_INBOX = R.string.style_inbox;
47
48 public static final Object[] SMALL_ICONS = new Object[] {
49 android.R.drawable.stat_sys_warning,
50 android.R.drawable.stat_sys_download_done,
51 android.R.drawable.stat_notify_chat,
52 android.R.drawable.stat_notify_sync,
53 android.R.drawable.stat_notify_more,
54 android.R.drawable.stat_notify_sdcard,
55 android.R.drawable.stat_sys_data_bluetooth,
56 android.R.drawable.stat_notify_voicemail,
57 android.R.drawable.stat_sys_speakerphone,
58 android.R.drawable.ic_menu_camera,
59 android.R.drawable.ic_menu_share,
60 R.drawable.ic_notification_multiple_mail_holo_dark
61 };
62
63 public static final Object[] ACTION_ICONS = SMALL_ICONS;
64
65 public static final int[] LARGE_ICONS = new int[]{
66 R.drawable.romainguy_rockaway,
67 R.drawable.android_logo,
68 R.drawable.romain,
69 R.drawable.ic_notification_multiple_mail_holo_dark
70 };
71
72 public static final int[] PICTURES = LARGE_ICONS;
73
74 }