Home
last modified time | relevance | path

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

12

/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.java33 public void setCacheSize(int layoutId, int size) { in setCacheSize() argument
34 mCache.put(layoutId, new CacheEntry(size)); in setCacheSize()
37 public <T extends View> T getView(int layoutId, Context context, ViewGroup parent) { in getView() argument
38 CacheEntry entry = mCache.get(layoutId); in getView()
41 mCache.put(layoutId, entry); in getView()
50 result = (T) LayoutInflater.from(context).inflate(layoutId, parent, false); in getView()
56 public void recycleView(int layoutId, View view) { in recycleView() argument
57 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/QuickSearchBox/src/com/android/quicksearchbox/ui/
DSuggestionViewInflater.kt30 layoutId: Int,
51 val layoutId = mLayoutId in getView() constant
52 mConvertView = inflater.inflate(layoutId, parent, false) in getView()
77 mLayoutId = layoutId
/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/Car/RotaryController/tests/unit/src/com/android/car/rotary/
DNavigatorTestActivity.java38 @LayoutRes int layoutId = intent.getIntExtra(KEY_LAYOUT_ID, /* defaultValue= */ -1); in onCreate() local
39 if (layoutId != -1) { in onCreate()
40 setContentView(layoutId); in onCreate()
/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/Launcher3/tests/src/com/android/launcher3/testcomponent/
DAppWidgetWithDialog.java32 int layoutId = context.getResources().getIdentifier( in onUpdate() local
34 RemoteViews views = new RemoteViews(context.getPackageName(), layoutId); in onUpdate()
DRequestPinItemActivity.java95 int layoutId = getResources().getIdentifier( in requestWidget() local
97 RemoteViews views = new RemoteViews(getPackageName(), layoutId); in requestWidget()
/packages/apps/Launcher3/src/com/android/launcher3/
DAutoInstallsLayout.java104 int layoutId = partner.getXmlResId(layoutName); in get() local
107 if (layoutId == 0) { in get()
112 layoutId = partner.getXmlResId(layoutName); in get()
116 if (layoutId == 0) { in get()
118 layoutId = partner.getXmlResId(LAYOUT_RES); in get()
121 if (layoutId == 0) { in get()
126 layoutId, TAG_WORKSPACE); in get()
195 int layoutId, String rootTag) { in AutoInstallsLayout() argument
197 () -> res.getXml(layoutId), rootTag); in AutoInstallsLayout()
/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.java44 public Item(@LayoutRes int layoutId, String title, String stringId, UserId userId) { in Item() argument
45 mLayoutId = layoutId; in Item()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/statusicon/ui/
DTextDrawable.java46 public TextDrawable(final Context context, @LayoutRes final int layoutId, String string, in TextDrawable() argument
50 mView = LayoutInflater.from(context).inflate(layoutId, null); in TextDrawable()
/packages/apps/Settings/tests/unit/src/com/android/settings/widget/
DGearPreferenceTest.java56 int layoutId = ResourcesUtils.getResourcesId(mContext, "layout", "preference_widget_gear"); in setUp() local
60 .inflate(layoutId, null)); in setUp()
DMutableGearPreferenceTest.java57 int layoutId = in setUp() local
62 .inflate(layoutId, null)); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/shortcuts/
DShortcutOptionPreferenceTest.java49 int layoutId = mShortcutOptionPreference.getLayoutResource(); in setUp() local
50 View itemView = LayoutInflater.from(mContext).inflate(layoutId, /* root= */null); in setUp()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DBaseFragment.java120 @LayoutRes int layoutId = getLayoutId(); in onCreateView() local
121 return inflater.inflate(layoutId, container, false); in onCreateView()
/packages/apps/TvFeedbackConsent/src/com/android/tv/feedbackconsent/
DTvFeedbackConsentInformationDialog.java45 @LayoutRes int layoutId, in TvFeedbackConsentInformationDialog() argument
48 mLayoutId = layoutId; in TvFeedbackConsentInformationDialog()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DArrowTipView.java98 public ArrowTipView(Context context, boolean isPointingUp, int layoutId) { in ArrowTipView() argument
115 init(context, layoutId); in ArrowTipView()
153 private void init(Context context, int layoutId) { in init() argument
154 inflate(context, layoutId, this); in init()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessibility/
DAccessibilityColorCorrectionPreviewFragment.java60 int layoutId = FlavorUtils.isTwoPanel(getContext()) in onCreateView() local
63 View view = inflater.inflate(layoutId, container, false); in onCreateView()
/packages/apps/Settings/tests/unit/src/com/android/settings/vpn2/
DVpnInfoPreferenceTest.java64 final int layoutId = ResourcesUtils.getResourcesId( in setUp() local
67 layoutId, in setUp()
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/credentials/
DDefaultCombinedPreferenceControllerTest.java126 int layoutId = in createTestPreference() local
131 LayoutInflater.from(mContext).inflate(layoutId, null)); in createTestPreference()
DPrimaryProviderPreferenceTest.java139 int layoutId = ResourcesUtils.getResourcesId(mContext, "layout", layoutName); in createTestPreference() local
142 LayoutInflater.from(mContext).inflate(layoutId, null)); in createTestPreference()
/packages/apps/Launcher3/src/com/android/launcher3/statemanager/
DStatefulActivity.java71 protected void inflateRootView(int layoutId) { in inflateRootView() argument
72 mRootView = (LauncherRootView) LayoutInflater.from(this).inflate(layoutId, null); in inflateRootView()

12