Home
last modified time | relevance | path

Searched refs:inflate (Results 1 – 25 of 259) sorted by relevance

1234567891011

/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DSizeAdaptiveLayoutTest.java53 private void inflate(int resource){ in inflate() method in SizeAdaptiveLayoutTest
54 mSizeAdaptiveLayout = (SizeAdaptiveLayout) mInflater.inflate(resource, null); in inflate()
72 inflate(R.layout.size_adaptive); in testPreconditions()
80 inflate(R.layout.size_adaptive); in testOpenLarge()
97 inflate(R.layout.size_adaptive); in testOpenSmall()
114 inflate(R.layout.size_adaptive); in testOpenTooSmall()
131 inflate(R.layout.size_adaptive); in testOpenTooBig()
150 inflate(R.layout.size_adaptive_text); in testOpenWrapContent()
164 inflate(R.layout.size_adaptive_singleton); in testOpenOneUOnlySmall()
180 inflate(R.layout.size_adaptive_singleton); in testOpenOneUOnlyLarge()
[all …]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DViewFlipperActivity.java36 final View widget = inflater.inflate(R.layout.widget, null); in onCreate()
41 View view = inflater.inflate(R.layout.flipper_item, flipper, false); in onCreate()
47 view = inflater.inflate(R.layout.flipper_item, flipper, false); in onCreate()
DTextGammaActivity.java77 inflater.inflate(R.layout.text_large, this, true); in GammaTextView()
78 inflater.inflate(R.layout.text_medium, this, true); in GammaTextView()
79 inflater.inflate(R.layout.text_small, this, true); in GammaTextView()
/frameworks/base/core/java/android/preference/
DGenericInflater.java219 public T inflate(int resource, P root) { in inflate() method in GenericInflater
220 return inflate(resource, root, root != null); in inflate()
239 public T inflate(XmlPullParser parser, P root) { in inflate() method in GenericInflater
240 return inflate(parser, root, root != null); in inflate()
259 public T inflate(int resource, P root, boolean attachToRoot) { in inflate() method in GenericInflater
263 return inflate(parser, root, attachToRoot); in inflate()
290 public T inflate(XmlPullParser parser, P root, in inflate() method in GenericInflater
/frameworks/base/core/tests/coretests/src/android/view/
DViewStubTest.java52 final View swapped = stub.inflate(); in testInflated()
63 final View swapped = stub.inflate(); in testInflatedId()
76 final View swapped = stub.inflate(); in testInflatedLayoutParams()
DInflateTest.java59 mView = mInflater.inflate(resourceId, null); in inflateTest()
65 mInflater.inflate(resourceId, null); in inflateCachedTest()
67 mInflater.inflate(resourceId, null); in inflateCachedTest()
/frameworks/base/core/java/android/webkit/
DWebHistoryItemClassic.java201 /*package*/ void inflate(int nativeFrame) { in inflate() method in WebHistoryItemClassic
202 mNativeBridge = inflate(nativeFrame, mFlattenedData); in inflate()
212 private native int inflate(int nativeFrame, byte[] data); in inflate() method in WebHistoryItemClassic
/frameworks/base/docs/html/training/improving-layouts/
Dloading-ondemand.jd43 or participate in the layout. As such, it's cheap to inflate and cheap to leave in a view hierarchy.
45 specify the layout to inflate.</p>
65 {@link android.view.ViewStub#inflate()}.</p>
70 View importPanel = ((ViewStub) findViewById(R.id.stub_import)).inflate();
73 <p class="note"><strong>Note:</strong> The {@link android.view.ViewStub#inflate()} method returns
/frameworks/base/core/java/android/widget/
DResourceCursorTreeAdapter.java100 return mInflater.inflate((isLastChild) ? mLastChildLayout : mChildLayout, parent, false); in newChildView()
105 return mInflater.inflate((isExpanded) ? mExpandedGroupLayout : mCollapsedGroupLayout, in newGroupView()
DResourceCursorAdapter.java104 return mInflater.inflate(mLayout, parent, false); in newView()
109 return mInflater.inflate(mDropDownLayout, parent, false); in newDropDownView()
DPopupMenu.java99 public void inflate(int menuRes) { in inflate() method in PopupMenu
100 getMenuInflater().inflate(menuRes, mMenu); in inflate()
/frameworks/support/v4/java/android/support/v4/widget/
DResourceCursorAdapter.java106 return mInflater.inflate(mLayout, parent, false); in newView()
111 return mInflater.inflate(mDropDownLayout, parent, false); in newDropDownView()
/frameworks/base/core/java/android/view/
DViewStub.java235 inflate(); in setVisibility()
247 public View inflate() { in inflate() method in ViewStub
259 final View view = factory.inflate(mLayoutResource, parent, in inflate()
DLayoutInflater.java352 public View inflate(int resource, ViewGroup root) { in inflate() method in LayoutInflater
353 return inflate(resource, root, root != null); in inflate()
372 public View inflate(XmlPullParser parser, ViewGroup root) { in inflate() method in LayoutInflater
373 return inflate(parser, root, root != null); in inflate()
393 public View inflate(int resource, ViewGroup root, boolean attachToRoot) { in inflate() method in LayoutInflater
397 return inflate(parser, root, attachToRoot); in inflate()
425 public View inflate(XmlPullParser parser, ViewGroup root, boolean attachToRoot) { in inflate() method in LayoutInflater
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DPopupMenu.java99 public void inflate(int menuRes) { in inflate() method in PopupMenu
100 getMenuInflater().inflate(menuRes, mMenu); in inflate()
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/
DEditTextActivityDialog.java97 LinearLayout) View.inflate(EditTextActivityDialog.this, in createDialog()
100 layout = View.inflate(EditTextActivityDialog.this, in createDialog()
/frameworks/base/graphics/java/android/graphics/drawable/
DColorDrawable.java158 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs) in inflate() method in ColorDrawable
160 super.inflate(r, parser, attrs); in inflate()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
DListMenuItemView.java251 mIconView = (ImageView) inflater.inflate(R.layout.abc_list_menu_item_icon, in insertIconView()
259 (RadioButton) inflater.inflate(R.layout.abc_list_menu_item_radio, in insertRadioButton()
267 (CheckBox) inflater.inflate(R.layout.abc_list_menu_item_checkbox, in insertCheckBox()
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestTableLayoutLocale.java30 return inflater.inflate(R.layout.table_layout_locale, container, false); in onCreateView()
DBiDiTestFrameLayoutLtr.java30 return inflater.inflate(R.layout.frame_layout_ltr, container, false); in onCreateView()
DBiDiTestTextViewAlignmentRtl.java29 return inflater.inflate(R.layout.textview_alignment_rtl, container, false); in onCreateView()
DBiDiTestViewPadding.java15 return inflater.inflate(R.layout.view_padding, container, false); in onCreateView()
DBiDiTestTextViewRtl.java30 return inflater.inflate(R.layout.textview_rtl, container, false); in onCreateView()
DBiDiTestRelativeLayout2Ltr.java30 return inflater.inflate(R.layout.relative_layout_2_ltr, container, false); in onCreateView()
DBiDiTestRelativeLayout2Rtl.java30 return inflater.inflate(R.layout.relative_layout_2_rtl, container, false); in onCreateView()

1234567891011