OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ItemView
(Results
1 - 19
of
19
) sorted by null
/frameworks/base/core/java/com/android/internal/view/menu/
BaseMenuPresenter.java
94
final MenuItemImpl oldItem = convertView instanceof MenuView.
ItemView
?
95
((MenuView.
ItemView
) convertView).getItemData() : null;
96
final View
itemView
= getItemView(item, convertView, parent);
99
itemView
.setPressed(false);
100
itemView
.jumpDrawablesToCurrentState();
102
if (
itemView
!= convertView) {
103
addItemView(
itemView
, childIndex);
121
* @param
itemView
View to add
124
protected void addItemView(View
itemView
, int childIndex) {
125
final ViewGroup currentParent = (ViewGroup)
itemView
.getParent()
[
all
...]
MenuView.java
49
public interface
ItemView
{
53
* @param itemData The item that this
ItemView
should display.
96
* @param shortcutKey The shortcut key that should be shown on the
ItemView
.
IconMenuPresenter.java
18
import com.android.internal.view.menu.MenuView.
ItemView
;
58
public void bindItemView(MenuItemImpl item,
ItemView
itemView
) {
59
final IconMenuItemView view = (IconMenuItemView)
itemView
;
78
protected void addItemView(View
itemView
, int childIndex) {
79
final IconMenuItemView v = (IconMenuItemView)
itemView
;
85
super.addItemView(
itemView
, childIndex);
ListMenuPresenter.java
258
MenuView.
ItemView
itemView
= (MenuView.
ItemView
) convertView;
259
itemView
.initialize(getItem(position), 0);
MenuPopupHelper.java
191
View
itemView
= null;
202
itemView
= null;
209
itemView
= adapter.getView(i,
itemView
, mMeasureParent);
210
itemView
.measure(widthMeasureSpec, heightMeasureSpec);
212
final int itemWidth =
itemView
.getMeasuredWidth();
376
MenuView.
ItemView
itemView
= (MenuView.
ItemView
) convertView;
380
itemView
.initialize(getItem(position), 0)
[
all
...]
ActionMenuPresenter.java
176
public void bindItemView(final MenuItemImpl item, MenuView.
ItemView
itemView
) {
177
itemView
.initialize(item, 0);
180
final ActionMenuItemView actionItemView = (ActionMenuItemView)
itemView
;
297
if (child instanceof MenuView.
ItemView
&&
298
((MenuView.
ItemView
) child).getItemData() == item) {
MenuItemImpl.java
19
import com.android.internal.view.menu.MenuView.
ItemView
;
337
* Gets the title for a particular {@link
ItemView
}
339
* @param
itemView
The
ItemView
that is receiving the title
340
* @return Either the title or condensed title based on what the
ItemView
343
CharSequence getTitleForItemView(MenuView.
ItemView
itemView
) {
344
return ((
itemView
!= null) &&
itemView
.prefersCondensedTitle())
ActionMenuItemView.java
38
implements MenuView.
ItemView
, View.OnClickListener, View.OnLongClickListener,
IconMenuItemView.java
36
public final class IconMenuItemView extends TextView implements MenuView.
ItemView
{
ListMenuItemView.java
37
public class ListMenuItemView extends LinearLayout implements MenuView.
ItemView
{
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
BaseMenuPresenter.java
98
final MenuItemImpl oldItem = convertView instanceof MenuView.
ItemView
?
99
((MenuView.
ItemView
) convertView).getItemData() : null;
100
final View
itemView
= getItemView(item, convertView, parent);
103
itemView
.setPressed(false);
104
//
itemView
.jumpDrawablesToCurrentState();
107
if (
itemView
!= convertView) {
108
addItemView(
itemView
, childIndex);
126
* @param
itemView
View to add
129
protected void addItemView(View
itemView
, int childIndex) {
130
final ViewGroup currentParent = (ViewGroup)
itemView
.getParent()
[
all
...]
MenuView.java
47
public interface
ItemView
{
53
* @param itemData The item that this
ItemView
should display.
100
* @param shortcutKey The shortcut key that should be shown on the
ItemView
.
ListMenuPresenter.java
267
MenuView.
ItemView
itemView
= (MenuView.
ItemView
) convertView;
268
itemView
.initialize(getItem(position), 0);
MenuPopupHelper.java
174
View
itemView
= null;
185
itemView
= null;
190
itemView
= adapter.getView(i,
itemView
, mMeasureParent);
191
itemView
.measure(widthMeasureSpec, heightMeasureSpec);
192
width = Math.max(width,
itemView
.getMeasuredWidth());
338
MenuView.
ItemView
itemView
= (MenuView.
ItemView
) convertView;
342
itemView
.initialize(getItem(position), 0)
[
all
...]
ActionMenuPresenter.java
176
public void bindItemView(MenuItemImpl item, MenuView.
ItemView
itemView
) {
177
itemView
.initialize(item, 0);
180
ActionMenuItemView actionItemView = (ActionMenuItemView)
itemView
;
281
if (child instanceof MenuView.
ItemView
&&
282
((MenuView.
ItemView
) child).getItemData() == item) {
ActionMenuItemView.java
40
implements MenuView.
ItemView
, View.OnClickListener, View.OnLongClickListener,
ListMenuItemView.java
39
public class ListMenuItemView extends LinearLayout implements MenuView.
ItemView
{
MenuItemImpl.java
362
* Gets the title for a particular {@link MenuView.
ItemView
}
364
* @param
itemView
The
ItemView
that is receiving the title
365
* @return Either the title or condensed title based on what the
ItemView
prefers
367
CharSequence getTitleForItemView(MenuView.
ItemView
itemView
) {
368
return ((
itemView
!= null) &&
itemView
.prefersCondensedTitle())
/external/chromium_org/ui/message_center/views/
notification_view.cc
119
//
ItemView
////////////////////////////////////////////////////////////////////
123
class
ItemView
: public views::View {
125
ItemView
(const message_center::NotificationItem& item);
126
virtual ~
ItemView
();
132
DISALLOW_COPY_AND_ASSIGN(
ItemView
);
135
ItemView
::
ItemView
(const message_center::NotificationItem& item) {
157
ItemView
::~
ItemView
() {
160
void
ItemView
::SetVisible(bool visible)
[
all
...]
Completed in 239 milliseconds