/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | AttachmentPreviewFactory.java | 152 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/ |
D | ViewCache.java | 31 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()
|
D | ViewPool.java | 45 int layoutId, int maxSize, int initialSize) { in ViewPool() argument 46 mLayoutId = layoutId; in ViewPool()
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | ConversationItemViewCoordinates.java | 158 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/ |
D | BrowseItemViewType.java | 42 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()
|
D | BrowseAdapter.java | 173 int layoutId = BrowseItemViewType.values()[viewType].getLayoutId(); 174 View view = LayoutInflater.from(mContext).inflate(layoutId, parent, false);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
D | SuggestionViewInflater.java | 47 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/ |
D | ChannelsRowItem.java | 61 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/ |
D | AutoInstallsLayout.java | 87 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()
|
D | DefaultLayoutParser.java | 49 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/ |
D | MinimizedControlBar.java | 68 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/ |
D | MockKeyboardSwitcher.java | 66 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/ |
D | CallLogModalAlertManager.java | 48 public View inflate(int layoutId) { in inflate() argument 49 return inflater.inflate(layoutId, parent, false); in inflate()
|
D | CallLogAlertManager.java | 45 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/ |
D | Item.java | 40 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/ |
D | BaseFragment.java | 123 @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/ |
D | RequestPinItemActivity.java | 95 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/ |
D | SimSelectorView.java | 76 public void setItemLayoutId(final int layoutId) { in setItemLayoutId() argument 77 mItemLayoutId = layoutId; in setItemLayoutId()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | JoinContactListAdapter.java | 176 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/ |
D | AlertManager.java | 25 View inflate(int layoutId); in inflate() argument
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | BaseActivity.java | 119 public BaseActivity(@LayoutRes int layoutId, String tag) { in BaseActivity() argument 120 mLayoutId = layoutId; in BaseActivity()
|