OSDN Git Service

Fix dependencies of packages that target earlier releases
[android-x86/packages-apps-Eleven.git] / src / com / cyanogenmod / eleven / menu / FragmentMenuItems.java
1 /*
2  * Copyright (C) 2012 Andrew Neal
3  * Copyright (C) 2014 The CyanogenMod Project
4  * Licensed under the Apache License, Version 2.0
5  * (the "License"); you may not use this file except in compliance with the
6  * License. You may obtain a copy of the License at
7  * http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law
8  * or agreed to in writing, software distributed under the License is
9  * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
10  * KIND, either express or implied. See the License for the specific language
11  * governing permissions and limitations under the License.
12  */
13
14 package com.cyanogenmod.eleven.menu;
15
16 /**
17  * Several of the context menu items used in Apollo are reused. This class helps
18  * keep things tidy. The integer values of the items are used both as the menu IDs
19  * _and_ to determine the sort order of the items.
20  */
21 public interface FragmentMenuItems {
22     int PLAY_SELECTION      =  10; // play the selected song, album, etc.
23     int PLAY_NEXT           =  20; // queue a track to be played next
24     int PLAY_ALBUM          =  25; // play the album that this track belongs to
25     //  SHUFFLE             =  30  // defined in res/menu
26     int ADD_TO_QUEUE        =  40; // add to end of current queue
27     int ADD_TO_PLAYLIST     =  50; // append to a playlist
28     int REMOVE_FROM_QUEUE   =  60; // remove track from play queue
29     int REMOVE_FROM_PLAYLIST=  70; // remove track from playlist
30     int REMOVE_FROM_RECENT  =  80; // remove track from recently played list
31     int RENAME_PLAYLIST     =  90; // change name of playlist
32     int MORE_BY_ARTIST      = 100; // jump to artist detail page
33     int USE_AS_RINGTONE     = 110; // set track as ringtone
34     int DELETE              = 120; // delete track from device
35     int NEW_PLAYLIST        = 130; // create new playlist - also in res/menu!
36     int PLAYLIST_SELECTED   = 140; // this is used for existing playlists
37     int CHANGE_IMAGE        = 150; // set new art for artist/album
38
39     // not currently in use
40     int FETCH_ARTIST_IMAGE  = 200;
41     int FETCH_ALBUM_ART     = 210;
42 }