Searched refs:layoutId (Results 1 - 25 of 44) sorted by relevance

12

/frameworks/data-binding/extensions/library/src/main/java/android/databinding/
H A DDataBinderMapper.java29 int layoutId) {
32 ViewDataBinding getDataBinder(DataBindingComponent bindingComponent, View[] view, int layoutId) { argument
28 getDataBinder(DataBindingComponent bindingComponent, View view, int layoutId) argument
H A DDataBindingUtil.java69 * Use this version only if <code>layoutId</code> is unknown in advance. Otherwise, use
73 * @param layoutId The layout resource ID of the layout to inflate.
82 * the layoutId wasn't for a binding layout.
86 public static <T extends ViewDataBinding> T inflate(LayoutInflater inflater, int layoutId, argument
88 return inflate(inflater, layoutId, parent, attachToParent, sDefaultComponent);
94 * Use this version only if <code>layoutId</code> is unknown in advance. Otherwise, use
98 * @param layoutId The layout resource ID of the layout to inflate.
108 * the layoutId wasn't for a binding layout.
112 LayoutInflater inflater, int layoutId, @Nullable ViewGroup parent,
116 final View view = inflater.inflate(layoutId, paren
111 inflate( LayoutInflater inflater, int layoutId, @Nullable ViewGroup parent, boolean attachToParent, DataBindingComponent bindingComponent) argument
178 bind(DataBindingComponent bindingComponent, View[] roots, int layoutId) argument
183 bind(DataBindingComponent bindingComponent, View root, int layoutId) argument
260 setContentView(Activity activity, int layoutId) argument
274 setContentView(Activity activity, int layoutId, DataBindingComponent bindingComponent) argument
293 bindToAddedViews(DataBindingComponent component, ViewGroup parent, int startChildren, int layoutId) argument
[all...]
/frameworks/support/wear/src/androidTest/java/androidx/wear/widget/
H A DLayoutTestActivity.java34 int layoutId = intent.getIntExtra(EXTRA_LAYOUT_RESOURCE_ID, -1);
35 setContentView(layoutId);
H A DSwipeDismissFrameLayoutTestActivity.java36 int layoutId = getIntent().getIntExtra(EXTRA_LAYOUT_RESOURCE_ID, -1);
39 if (layoutId == R.layout.swipe_dismiss_layout_testcase_2) {
H A DWearableRecyclerViewTest.java219 private void assertScrolledY(@IdRes int layoutId) { argument
220 onView(withId(layoutId)).perform(waitForMatchingView(
221 allOf(withId(layoutId), withPositiveVerticalScrollOffset()), MAX_WAIT_TIME));
224 private void assertNotScrolledY(@IdRes int layoutId) { argument
225 onView(withId(layoutId)).perform(waitForMatchingView(
226 allOf(withId(layoutId), withNoVerticalScrollOffset()), MAX_WAIT_TIME));
H A DSwipeDismissFrameLayoutTest.java401 * private static void assertPeeking(@IdRes int layoutId) {
402 * onView(withId(layoutId))
405 * allOf(withId(layoutId), isOpened(true)), MAX_WAIT_TIME));
409 private static void assertHidden(@IdRes int layoutId) { argument
410 onView(withId(layoutId))
413 allOf(withId(layoutId),
418 private static void assertNotHidden(@IdRes int layoutId) { argument
419 onView(withId(layoutId))
422 allOf(withId(layoutId),
427 private static void assertScrolledY(@IdRes int layoutId) { argument
[all...]
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DBaseLandDataBinderTest.java22 public BaseLandDataBinderTest(Class<T> binderClass, int layoutId) { argument
H A DDataBindingTestRule.java32 public DataBindingTestRule(int layoutId) { argument
34 mLayoutId = layoutId;
H A DBindingAdapterTestBase.java32 public BindingAdapterTestBase(Class<T> binderClass, Class<V> observableClass, int layoutId) { argument
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/
H A Dextensions.kt27 fun Context.getAttributeSet(@LayoutRes layoutId: Int): AttributeSet {
28 val parser = resources.getXml(layoutId)
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/
H A DStrictViewFragment.java31 public void setLayoutId(int layoutId) { argument
32 mLayoutId = layoutId;
35 public static StrictViewFragment create(int layoutId) { argument
37 fragment.mLayoutId = layoutId;
/frameworks/base/core/java/android/transition/
H A DScene.java37 private View mLayout; // alternative to layoutId
42 * <code>layoutId</code> parameter. If such a Scene has already been created for
44 * This caching of layoutId-based scenes enables sharing of common scenes
50 * @param layoutId The id of a standard layout resource file.
55 public static Scene getSceneForLayout(ViewGroup sceneRoot, int layoutId, Context context) { argument
62 Scene scene = scenes.get(layoutId);
66 scene = new Scene(sceneRoot, layoutId, context);
67 scenes.put(layoutId, scene);
89 * the hierarchy specified by the layoutId resource file.
91 * <p>This method is hidden because layoutId
101 Scene(ViewGroup sceneRoot, int layoutId, Context context) argument
[all...]
/frameworks/support/transition/src/androidTest/java/androidx/transition/
H A DBaseTransitionTest.java67 Scene loadScene(final int layoutId) throws Throwable { argument
72 scene[0] = Scene.getSceneForLayout(mRoot, layoutId, rule.getActivity());
79 void startTransition(final int layoutId) throws Throwable { argument
80 startTransition(loadScene(layoutId));
93 void enterScene(final int layoutId) throws Throwable { argument
94 enterScene(loadScene(layoutId));
/frameworks/support/transition/src/main/java/androidx/transition/
H A DScene.java41 private View mLayout; // alternative to layoutId
46 * <code>layoutId</code> parameter. If such a Scene has already been created for
48 * This caching of layoutId-based scenes enables sharing of common scenes
54 * @param layoutId The id of a standard layout resource file.
60 public static Scene getSceneForLayout(@NonNull ViewGroup sceneRoot, @LayoutRes int layoutId, argument
69 Scene scene = scenes.get(layoutId);
73 scene = new Scene(sceneRoot, layoutId, context);
74 scenes.put(layoutId, scene);
96 * the hierarchy specified by the layoutId resource file.
98 * <p>This method is hidden because layoutId
108 Scene(ViewGroup sceneRoot, int layoutId, Context context) argument
[all...]
/frameworks/base/apct-tests/perftests/core/src/android/widget/
H A DTextViewFontFamilyLayoutPerfTest.java54 public TextViewFontFamilyLayoutPerfTest(String key, int layoutId) { argument
55 mLayoutId = layoutId;
H A DLayoutPerfTest.java66 public LayoutPerfTest(String key, int layoutId, int viewId) { argument
68 mLayoutId = layoutId;
H A DTextViewAutoSizeLayoutPerfTest.java68 public TextViewAutoSizeLayoutPerfTest(String key, int layoutId) { argument
69 mLayoutId = layoutId;
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DBridgeActionBar.java58 int layoutId = 0;
64 layoutId = context.getFrameworkResourceValue(layoutName.getResourceType(),
67 layoutId = context.getProjectResourceValue(layoutName.getResourceType(),
72 if (layoutId == 0) {
89 mDecorContent = getInflater(context).inflate(layoutId, mEnclosingLayout,
/frameworks/base/core/java/android/widget/
H A DRemoteViewsListAdapter.java106 int layoutId = mRemoteViewsList.get(position).getLayoutId();
107 return mViewTypes.indexOf(layoutId);
/frameworks/support/viewpager2/src/androidTest/java/androidx/viewpager2/widget/
H A DOrientationTest.java66 private void assertOrientationCorrect(int layoutId, int expectedOrientation) { argument
69 ViewPager2 viewPager = (ViewPager2) layoutInflater.inflate(layoutId, null);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DPreviewInflater.java84 widgetView = appInflater.inflate(widgetInfo.layoutId, null, false);
110 int layoutId = metaData.getInt(META_DATA_KEYGUARD_LAYOUT);
111 if (layoutId == 0) {
116 info.layoutId = layoutId;
194 int layoutId; field in class:PreviewInflater.WidgetInfo
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetHostView.java409 int layoutId = remoteViews.getLayoutId();
413 if (content == null && layoutId == mLayoutId) {
434 mLayoutId = layoutId;
469 int layoutId = remoteViews.getLayoutId();
473 if (layoutId == mLayoutId && mView != null) {
478 new ViewApplyListener(remoteViews, layoutId, true),
488 new ViewApplyListener(remoteViews, layoutId, false),
498 public ViewApplyListener(RemoteViews views, int layoutId, boolean isReapply) { argument
500 mLayoutId = layoutId;
602 int layoutId
[all...]
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/
H A DBackupRestoreConfirmation.java199 final int layoutId;
202 layoutId = R.layout.confirm_backup;
205 layoutId = R.layout.confirm_restore;
214 setContentView(layoutId);
257 if (layoutId == R.layout.confirm_backup) {
/frameworks/base/core/java/com/android/internal/app/
H A DLocalePicker.java167 final int layoutId, final int fieldId) {
174 return new ArrayAdapter<LocaleInfo>(context, layoutId, fieldId, localeInfos) {
180 view = inflater.inflate(layoutId, parent, false);
166 constructAdapter(Context context, final int layoutId, final int fieldId) argument
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DImageCardView.java212 int layoutId = R.layout.lb_image_card_view_themed_badge_right;
214 layoutId = R.layout.lb_image_card_view_themed_badge_left;
216 mBadgeImage = (ImageView) inflater.inflate(layoutId, mInfoArea, false);

Completed in 413 milliseconds

12