Home
last modified time | relevance | path

Searched refs:layoutId (Results 1 – 22 of 22) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/
DAttachmentPreviewFactory.java152 int layoutId = R.layout.attachment_single_image; in createImagePreview() local
155 layoutId = R.layout.attachment_single_image; in createImagePreview()
158 layoutId = R.layout.attachment_multiple_image; in createImagePreview()
161 layoutId = R.layout.attachment_chooser_image; in createImagePreview()
167 final View view = layoutInflater.inflate(layoutId, parent, false /* attachToRoot */); in createImagePreview()
211 int layoutId = R.layout.attachment_single_vcard; in createVCardPreview() local
214 layoutId = R.layout.attachment_single_vcard; in createVCardPreview()
217 layoutId = R.layout.attachment_multiple_vcard; in createVCardPreview()
220 layoutId = R.layout.attachment_chooser_vcard; in createVCardPreview()
226 final View view = layoutInflater.inflate(layoutId, parent, false /* attachToRoot */); in createVCardPreview()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/util/
DViewCache.java31 public void setCacheSize(int layoutId, int size) { in setCacheSize() argument
32 mCache.put(layoutId, new CacheEntry(size)); in setCacheSize()
35 public <T extends View> T getView(int layoutId, Context context, ViewGroup parent) { in getView() argument
36 CacheEntry entry = mCache.get(layoutId); in getView()
39 mCache.put(layoutId, entry); in getView()
49 return (T) LayoutInflater.from(context).inflate(layoutId, parent, false); in getView()
52 public void recycleView(int layoutId, View view) { in recycleView() argument
53 CacheEntry entry = mCache.get(layoutId); in recycleView()
DViewPool.java45 int layoutId, int maxSize, int initialSize) { in ViewPool() argument
46 mLayoutId = layoutId; in ViewPool()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/favorite/
DFavoriteAdapter.java85 int layoutId; in onCreateViewHolder() local
87 layoutId = R.layout.favorite_contact_list_item; in onCreateViewHolder()
89 layoutId = R.layout.header_item; in onCreateViewHolder()
91 layoutId = R.layout.add_favorite_list_item; in onCreateViewHolder()
94 View view = LayoutInflater.from(parent.getContext()).inflate(layoutId, parent, false); in onCreateViewHolder()
/packages/apps/Car/Media/src/com/android/car/media/browse/
DBrowseItemViewType.java47 BrowseItemViewType(@LayoutRes int layoutId) { in BrowseItemViewType() argument
48 mLayoutId = layoutId; in BrowseItemViewType()
55 BrowseItemViewType(@LayoutRes int layoutId, int spanSize) { in BrowseItemViewType() argument
56 mLayoutId = layoutId; in BrowseItemViewType()
DBrowseAdapter.java173 int layoutId = BrowseItemViewType.values()[viewType].getLayoutId();
174 View view = LayoutInflater.from(mContext).inflate(layoutId, parent, false);
/packages/apps/TV/src/com/android/tv/menu/
DChannelsRowItem.java61 public ChannelsRowItem(@NonNull Channel channel, int layoutId) { in ChannelsRowItem() argument
62 this(channel.getId(), layoutId); in ChannelsRowItem()
66 private ChannelsRowItem(long itemId, int layoutId) { in ChannelsRowItem() argument
68 mLayoutId = layoutId; in ChannelsRowItem()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DSuggestionViewInflater.java47 int layoutId, Context context) { in SuggestionViewInflater() argument
50 mLayoutId = layoutId; in SuggestionViewInflater()
65 int layoutId = mLayoutId; in getView() local
66 convertView = getInflater().inflate(layoutId, parent, false); in getView()
/packages/apps/Launcher3/src/com/android/launcher3/
DAutoInstallsLayout.java91 int layoutId = targetRes.getIdentifier(layoutName, "xml", pkg); in get() local
94 if (layoutId == 0) { in get()
99 layoutId = targetRes.getIdentifier(layoutName, "xml", pkg); in get()
103 if (layoutId == 0) { in get()
105 layoutId = targetRes.getIdentifier(LAYOUT_RES, "xml", pkg); in get()
108 if (layoutId == 0) { in get()
112 return new AutoInstallsLayout(context, appWidgetHost, callback, targetRes, layoutId, in get()
178 int layoutId, String rootTag) { in AutoInstallsLayout() argument
179 this(context, appWidgetHost, callback, res, () -> res.getXml(layoutId), rootTag); in AutoInstallsLayout()
DDefaultLayoutParser.java52 LayoutParserCallback callback, Resources sourceRes, int layoutId) { in DefaultLayoutParser() argument
53 super(context, appWidgetHost, callback, sourceRes, layoutId, TAG_FAVORITES); in DefaultLayoutParser()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DMinimizedControlBar.java68 int layoutId) { in MinimizedControlBar() argument
70 init(context, layoutId); in MinimizedControlBar()
73 private void init(Context context, int layoutId) { in init() argument
74 inflate(context, layoutId, this); in init()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DMockKeyboardSwitcher.java66 public static String getLayoutName(final int layoutId) { in getLayoutName() argument
67 switch (layoutId) { in getLayoutName()
75 default: return "UNKNOWN<" + layoutId + ">"; in getLayoutName()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogModalAlertManager.java48 public View inflate(int layoutId) { in inflate() argument
49 return inflater.inflate(layoutId, parent, false); in inflate()
DCallLogAlertManager.java45 public View inflate(int layoutId) { in inflate() argument
46 return inflater.inflate(layoutId, container, false); in inflate()
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DItem.java40 public Item(@LayoutRes int layoutId, String title, String stringId) { in Item() argument
41 mLayoutId = layoutId; in Item()
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/
DRequestPinItemActivity.java95 int layoutId = getResources().getIdentifier( in requestWidget() local
97 RemoteViews views = new RemoteViews(getPackageName(), layoutId); in requestWidget()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DBaseFragment.java122 @LayoutRes int layoutId = getLayoutId(); in onCreateView() local
123 return inflater.inflate(layoutId, container, false); in onCreateView()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DSimSelectorView.java76 public void setItemLayoutId(final int layoutId) { in setItemLayoutId() argument
77 mItemLayoutId = layoutId; in setItemLayoutId()
/packages/apps/Contacts/src/com/android/contacts/list/
DJoinContactListAdapter.java176 private View inflate(int layoutId, ViewGroup parent) { in inflate() argument
177 return LayoutInflater.from(getContext()).inflate(layoutId, parent, false); in inflate()
/packages/apps/Car/Dialer/src/com/android/car/dialer/widget/
DLoadingFrameLayout.java279 private ViewContainer(@State int state, @LayoutRes int layoutId, @IdRes int iconViewId, in ViewContainer() argument
283 mLayoutId = layoutId; in ViewContainer()
/packages/apps/Dialer/java/com/android/dialer/app/alert/
DAlertManager.java25 View inflate(int layoutId); in inflate() argument
/packages/apps/DocumentsUI/src/com/android/documentsui/
DBaseActivity.java119 public BaseActivity(@LayoutRes int layoutId, String tag) { in BaseActivity() argument
120 mLayoutId = layoutId; in BaseActivity()