Home
last modified time | relevance | path

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

12

/frameworks/data-binding/extensions/library/src/main/java/android/databinding/
DDataBindingUtil.java86 public static <T extends ViewDataBinding> T inflate(LayoutInflater inflater, int layoutId, in inflate() argument
88 return inflate(inflater, layoutId, parent, attachToParent, sDefaultComponent); in inflate()
112 LayoutInflater inflater, int layoutId, @Nullable ViewGroup parent, in inflate() argument
116 final View view = inflater.inflate(layoutId, parent, attachToParent); in inflate()
118 return bindToAddedViews(bindingComponent, parent, startChildren, layoutId); in inflate()
120 return bind(bindingComponent, view, layoutId); in inflate()
169 int layoutId = sMapper.getLayoutId(tag); in bind() local
170 if (layoutId == 0) { in bind()
173 return (T) sMapper.getDataBinder(bindingComponent, root, layoutId); in bind()
179 int layoutId) { in bind() argument
[all …]
DDataBinderMapper.java29 int layoutId) { in getDataBinder() argument
32 … ViewDataBinding getDataBinder(DataBindingComponent bindingComponent, View[] view, int layoutId) { in getDataBinder() argument
DViewDataBinding.java546 int layoutId) { in bind() argument
547 return DataBindingUtil.bind(bindingComponent, view, layoutId); in bind()
976 final int layoutId = includes.layoutIds[indexInIncludes][includeIndex]; in mapBindings() local
980 layoutId); in mapBindings()
988 layoutId); in mapBindings()
/frameworks/base/core/java/android/transition/
DScene.java55 public static Scene getSceneForLayout(ViewGroup sceneRoot, int layoutId, Context context) { in getSceneForLayout() argument
62 Scene scene = scenes.get(layoutId); in getSceneForLayout()
66 scene = new Scene(sceneRoot, layoutId, context); in getSceneForLayout()
67 scenes.put(layoutId, scene); in getSceneForLayout()
101 private Scene(ViewGroup sceneRoot, int layoutId, Context context) { in Scene() argument
104 mLayoutId = layoutId; in Scene()
/frameworks/support/transition/ics/android/support/transition/
DScenePort.java72 private ScenePort(ViewGroup sceneRoot, int layoutId, Context context) { in ScenePort() argument
75 mLayoutId = layoutId; in ScenePort()
104 public static ScenePort getSceneForLayout(ViewGroup sceneRoot, int layoutId, Context context) { in getSceneForLayout() argument
106 return new ScenePort(sceneRoot, layoutId, context); in getSceneForLayout()
DSceneStaticsIcs.java25 public SceneImpl getSceneForLayout(ViewGroup sceneRoot, int layoutId, Context context) { in getSceneForLayout() argument
27 scene.mScene = ScenePort.getSceneForLayout(sceneRoot, layoutId, context); in getSceneForLayout()
/frameworks/support/transition/src/android/support/transition/
DScene.java101 public static Scene getSceneForLayout(@NonNull ViewGroup sceneRoot, @LayoutRes int layoutId, in getSceneForLayout() argument
110 Scene scene = scenes.get(layoutId); in getSceneForLayout()
114 scene = new Scene(sImpl.getSceneForLayout(sceneRoot, layoutId, context)); in getSceneForLayout()
115 scenes.put(layoutId, scene); in getSceneForLayout()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DBridgeActionBar.java59 int layoutId; in BridgeActionBar() local
61 layoutId = context.getFrameworkResourceValue(layoutName.getResourceType(), in BridgeActionBar()
64 layoutId = context.getProjectResourceValue(layoutName.getResourceType(), in BridgeActionBar()
68 if (layoutId == 0) { in BridgeActionBar()
84 getInflater(context).inflate(layoutId, mEnclosingLayout, mEnclosingLayout != null); in BridgeActionBar()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DPreviewInflater.java84 widgetView = appInflater.inflate(widgetInfo.layoutId, null, false); in inflateWidgetView()
110 int layoutId = metaData.getInt(META_DATA_KEYGUARD_LAYOUT); in getWidgetInfoFromMetaData() local
111 if (layoutId == 0) { in getWidgetInfoFromMetaData()
116 info.layoutId = layoutId; in getWidgetInfoFromMetaData()
194 int layoutId; field in PreviewInflater.WidgetInfo
/frameworks/base/core/java/android/appwidget/
DAppWidgetHostView.java434 int layoutId = remoteViews.getLayoutId(); in applyRemoteViews() local
438 if (content == null && layoutId == mLayoutId) { in applyRemoteViews()
459 mLayoutId = layoutId; in applyRemoteViews()
519 int layoutId = remoteViews.getLayoutId(); in inflateAsync() local
523 if (layoutId == mLayoutId && mView != null) { in inflateAsync()
528 new ViewApplyListener(remoteViews, layoutId, true), in inflateAsync()
538 new ViewApplyListener(remoteViews, layoutId, false), in inflateAsync()
548 public ViewApplyListener(RemoteViews views, int layoutId, boolean isReapply) { in ViewApplyListener() argument
550 mLayoutId = layoutId; in ViewApplyListener()
691 int layoutId = mInfo.initialLayout; in getDefaultView() local
[all …]
/frameworks/support/transition/api21/android/support/transition/
DSceneStaticsApi21.java25 public SceneImpl getSceneForLayout(ViewGroup sceneRoot, int layoutId, Context context) { in getSceneForLayout() argument
27 scene.mScene = android.transition.Scene.getSceneForLayout(sceneRoot, layoutId, context); in getSceneForLayout()
/frameworks/support/transition/kitkat/android/support/transition/
DSceneStaticsKitKat.java25 public SceneImpl getSceneForLayout(ViewGroup sceneRoot, int layoutId, Context context) { in getSceneForLayout() argument
27 scene.mScene = android.transition.Scene.getSceneForLayout(sceneRoot, layoutId, context); in getSceneForLayout()
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/
DBackupRestoreConfirmation.java139 final int layoutId; in onCreate() local
142 layoutId = R.layout.confirm_backup; in onCreate()
145 layoutId = R.layout.confirm_restore; in onCreate()
173 setContentView(layoutId); in onCreate()
216 if (layoutId == R.layout.confirm_backup) { in onCreate()
/frameworks/base/core/java/android/widget/
DRemoteViewsListAdapter.java106 int layoutId = mRemoteViewsList.get(position).getLayoutId(); in getItemViewType() local
107 return mViewTypes.indexOf(layoutId); in getItemViewType()
/frameworks/support/transition/base/android/support/transition/
DSceneStaticsImpl.java24 public abstract SceneImpl getSceneForLayout(ViewGroup sceneRoot, int layoutId, Context context); in getSceneForLayout() argument
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DBaseLandDataBinderTest.java22 public BaseLandDataBinderTest(Class<T> binderClass, int layoutId) { in BaseLandDataBinderTest() argument
DBindingAdapterTestBase.java32 public BindingAdapterTestBase(Class<T> binderClass, Class<V> observableClass, int layoutId) { in BindingAdapterTestBase() argument
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DImageCardView.java203 int layoutId = R.layout.lb_image_card_view_themed_badge_right; in buildImageCardView() local
205 layoutId = R.layout.lb_image_card_view_themed_badge_left; in buildImageCardView()
207 mBadgeImage = (ImageView) inflater.inflate(layoutId, mInfoArea, false); in buildImageCardView()
/frameworks/base/core/java/com/android/internal/app/
DLocalePicker.java174 final int layoutId, final int fieldId) { in constructAdapter() argument
181 return new ArrayAdapter<LocaleInfo>(context, layoutId, fieldId, localeInfos) { in constructAdapter()
187 view = inflater.inflate(layoutId, parent, false); in constructAdapter()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardSecurityContainer.java138 int layoutId = getLayoutIdFor(securityMode); in getSecurityView() local
139 if (view == null && layoutId != 0) { in getSecurityView()
141 if (DEBUG) Log.v(TAG, "inflating id = " + layoutId); in getSecurityView()
142 View v = inflater.inflate(layoutId, mSecurityViewFlipper, false); in getSecurityView()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/test/
DRecyclerViewTest.java52 private void setContentView(final int layoutId) throws Throwable { in setContentView() argument
57 activity.setContentView(layoutId); in setContentView()
/frameworks/support/v7/gridlayout/tests/src/android/support/v7/widget/
DGridLayoutTest.java51 private void setContentView(final int layoutId) { in setContentView() argument
57 activity.setContentView(layoutId); in setContentView()
/frameworks/support/fragment/tests/java/android/support/v4/app/test/
DFragmentTestActivity.java77 public static TestFragment create(int layoutId) { in create() argument
79 testFragment.mLayoutId = layoutId; in create()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DRootsFragment.java226 public Item(int layoutId) { in Item() argument
227 mLayoutId = layoutId; in Item()
DBaseActivity.java103 public BaseActivity(@LayoutRes int layoutId, String tag) { in BaseActivity() argument
104 mLayoutId = layoutId; in BaseActivity()

12