/* * Copyright (C) 2013 The Android Open Source 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 android.support.v4.internal.view; /** * Interface for managing the items in a menu. * * This version extends the one available in the framework to ensures that any necessary * elements added in later versions of the framework, are available for all platforms. * * @see android.view.Menu * @hide */ public interface SupportMenu extends android.view.Menu { /** * This is the part of an order integer that the user can provide. * * @hide */ static final int USER_MASK = 0x0000ffff; /** * Bit shift of the user portion of the order integer. * * @hide */ static final int USER_SHIFT = 0; /** * This is the part of an order integer that supplies the category of the item. * * @hide */ static final int CATEGORY_MASK = 0xffff0000; /** * Bit shift of the category portion of the order integer. * * @hide */ static final int CATEGORY_SHIFT = 16; }