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