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

/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...]
H A DViewDataBinding.java546 int layoutId) {
547 return DataBindingUtil.bind(bindingComponent, view, layoutId);
976 final int layoutId = includes.layoutIds[indexInIncludes][includeIndex];
980 layoutId);
988 layoutId);
545 bind(DataBindingComponent bindingComponent, View view, int layoutId) argument
/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 DBindingAdapterTestBase.java32 public BindingAdapterTestBase(Class<T> binderClass, Class<V> observableClass, int layoutId) { argument
/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/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DBridgeActionBar.java59 int layoutId;
61 layoutId = context.getFrameworkResourceValue(layoutName.getResourceType(),
64 layoutId = context.getProjectResourceValue(layoutName.getResourceType(),
68 if (layoutId == 0) {
84 getInflater(context).inflate(layoutId, mEnclosingLayout, mEnclosingLayout != null);
/frameworks/base/core/java/android/widget/
H A DRemoteViewsListAdapter.java106 int layoutId = mRemoteViewsList.get(position).getLayoutId();
107 return mViewTypes.indexOf(layoutId);
H A DRemoteViews.java2090 * @param layoutId The id of the layout resource
2092 public RemoteViews(String packageName, int layoutId) { argument
2093 this(getApplicationInfo(packageName, UserHandle.myUserId()), layoutId);
2102 * @param layoutId The id of the layout resource.
2106 public RemoteViews(String packageName, int userId, int layoutId) { argument
2107 this(getApplicationInfo(packageName, userId), layoutId);
2115 * @param layoutId The id of the layout resource.
2119 protected RemoteViews(ApplicationInfo application, int layoutId) { argument
2121 mLayoutId = layoutId;
H A DRemoteViewsAdapter.java995 int layoutId = remoteViews.getLayoutId();
1000 viewTypeInRange = metaData.isViewTypeInRange(layoutId);
/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;
182 int layoutId; field in class:PreviewInflater.WidgetInfo
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetHostView.java433 int layoutId = remoteViews.getLayoutId();
437 if (content == null && layoutId == mLayoutId) {
458 mLayoutId = layoutId;
518 int layoutId = remoteViews.getLayoutId();
522 if (layoutId == mLayoutId && mView != null) {
527 new ViewApplyListener(remoteViews, layoutId, true),
537 new ViewApplyListener(remoteViews, layoutId, false),
547 public ViewApplyListener(RemoteViews views, int layoutId, boolean isReapply) { argument
549 mLayoutId = layoutId;
690 int layoutId
[all...]
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/
H A DBackupRestoreConfirmation.java139 final int layoutId;
142 layoutId = R.layout.confirm_backup;
145 layoutId = R.layout.confirm_restore;
173 setContentView(layoutId);
216 if (layoutId == R.layout.confirm_backup) {
/frameworks/base/core/java/com/android/internal/app/
H A DLocalePicker.java174 final int layoutId, final int fieldId) {
181 return new ArrayAdapter<LocaleInfo>(context, layoutId, fieldId, localeInfos) {
187 view = inflater.inflate(layoutId, parent, false);
173 constructAdapter(Context context, final int layoutId, final int fieldId) argument
H A DResolverActivity.java894 final int layoutId;
896 layoutId = R.layout.resolver_list_with_default;
899 layoutId = getLayoutResource();
916 setContentView(layoutId);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DImageCardView.java203 int layoutId = R.layout.lb_image_card_view_themed_badge_right;
205 layoutId = R.layout.lb_image_card_view_themed_badge_left;
207 mBadgeImage = (ImageView) inflater.inflate(layoutId, mInfoArea, false);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardSecurityContainer.java138 int layoutId = getLayoutIdFor(securityMode);
139 if (view == null && layoutId != 0) {
141 if (DEBUG) Log.v(TAG, "inflating id = " + layoutId);
142 View v = inflater.inflate(layoutId, mSecurityViewFlipper, false);
/frameworks/support/v4/tests/java/android/support/v4/app/test/
H A DFragmentTestActivity.java56 private static final String LAYOUT_ID = "layoutId";
77 public static TestFragment create(int layoutId) { argument
79 testFragment.mLayoutId = layoutId;
/frameworks/support/v7/gridlayout/tests/src/android/support/v7/widget/
H A DGridLayoutTest.java51 private void setContentView(final int layoutId) { argument
57 activity.setContentView(layoutId);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/test/
H A DRecyclerViewTest.java52 private void setContentView(final int layoutId) throws Throwable { argument
57 activity.setContentView(layoutId);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DRootsFragment.java226 public Item(int layoutId) { argument
227 mLayoutId = layoutId;
H A DBaseActivity.java103 public BaseActivity(@LayoutRes int layoutId, String tag) { argument
104 mLayoutId = layoutId;
/frameworks/base/core/java/android/app/
H A DNotification.java3481 private RemoteViews applyStandardTemplateWithActions(int layoutId) { argument
3486 return applyStandardTemplateWithActions(layoutId, true /* hasProgress */, title, text);
3489 private RemoteViews applyStandardTemplateWithActions(int layoutId, boolean hasProgress, argument
3491 RemoteViews big = applyStandardTemplate(layoutId, hasProgress, title, text);
4033 protected RemoteViews getStandardView(int layoutId) { argument
4043 RemoteViews contentView = mBuilder.applyStandardTemplateWithActions(layoutId);
6739 public BuilderRemoteViews(ApplicationInfo appInfo, int layoutId) { argument
6740 super(appInfo, layoutId);
/frameworks/support/v4/tests/java/android/support/v4/app/
H A DFragmentLifecycleTest.java678 private static final String LAYOUT_ID = "layoutId";
700 public static SimpleFragment create(int layoutId) { argument
702 fragment.mLayoutId = layoutId;

Completed in 1138 milliseconds