Home
last modified time | relevance | path

Searched refs:layoutId (Results 1 – 21 of 21) 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/UnifiedEmail/src/com/android/mail/browse/
DConversationItemViewCoordinates.java158 public View getView(final int layoutId) { in getView() argument
159 return mViewsCache.get(layoutId); in getView()
166 public void put(final int layoutId, final View view) { in put() argument
167 mViewsCache.put(layoutId, view); in put()
249 final int layoutId = R.layout.conversation_item_view; in ConversationItemViewCoordinates() local
251 ViewGroup view = (ViewGroup) cache.getView(layoutId); in ConversationItemViewCoordinates()
253 view = (ViewGroup) LayoutInflater.from(context).inflate(layoutId, null); in ConversationItemViewCoordinates()
254 cache.put(layoutId, view); in ConversationItemViewCoordinates()
/packages/apps/Car/Media/src/com/android/car/media/browse/
DBrowseItemViewType.java42 BrowseItemViewType(@LayoutRes int layoutId) { in BrowseItemViewType() argument
43 mLayoutId = layoutId; in BrowseItemViewType()
50 BrowseItemViewType(@LayoutRes int layoutId, int spanSize) { in BrowseItemViewType() argument
51 mLayoutId = layoutId; in BrowseItemViewType()
DBrowseAdapter.java173 int layoutId = BrowseItemViewType.values()[viewType].getLayoutId();
174 View view = LayoutInflater.from(mContext).inflate(layoutId, parent, false);
/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/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/Launcher3/src/com/android/launcher3/
DAutoInstallsLayout.java87 int layoutId = targetRes.getIdentifier(layoutName, "xml", pkg); in get() local
90 if (layoutId == 0) { in get()
95 layoutId = targetRes.getIdentifier(layoutName, "xml", pkg); in get()
99 if (layoutId == 0) { in get()
101 layoutId = targetRes.getIdentifier(LAYOUT_RES, "xml", pkg); in get()
104 if (layoutId == 0) { in get()
108 return new AutoInstallsLayout(context, appWidgetHost, callback, targetRes, layoutId, in get()
170 int layoutId, String rootTag) { in AutoInstallsLayout() argument
171 this(context, appWidgetHost, callback, res, () -> res.getXml(layoutId), rootTag); in AutoInstallsLayout()
DDefaultLayoutParser.java49 LayoutParserCallback callback, Resources sourceRes, int layoutId) { in DefaultLayoutParser() argument
50 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/Car/Settings/src/com/android/car/settings/common/
DBaseFragment.java123 @LayoutRes int layoutId = getLayoutId(); in onCreateView() local
124 return inflater.inflate(layoutId, container, false); in onCreateView()
/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/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/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()