Searched defs:layoutId (Results 1 - 25 of 27) sorted by relevance

12

/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/base/apct-tests/perftests/core/src/android/widget/
H A DTextViewAutoSizeLayoutPerfTest.java68 public TextViewAutoSizeLayoutPerfTest(String key, int layoutId) { argument
69 mLayoutId = layoutId;
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;
/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);
1047 final int layoutId = includes.layoutIds[indexInIncludes][includeIndex];
1051 layoutId);
1059 layoutId);
545 bind(DataBindingComponent bindingComponent, View view, int layoutId) argument
/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/support/fragment/tests/java/android/support/v4/app/
H A DStrictViewFragment.java30 public void setLayoutId(int layoutId) { argument
31 mLayoutId = layoutId;
34 public static StrictViewFragment create(int layoutId) { argument
36 fragment.mLayoutId = layoutId;
H A DFragmentTestUtil.java133 final int layoutId) {
138 rule.getActivity().setContentView(layoutId);
132 setContentView(final ActivityTestRule<FragmentTestActivity> rule, final int layoutId) argument
H A DFragmentLifecycleTest.java1451 private static final String LAYOUT_ID = "layoutId";
1473 public static SimpleFragment create(int layoutId) { argument
1475 fragment.mLayoutId = layoutId;
/frameworks/support/wear/tests/src/android/support/wear/widget/
H A DWearableRecyclerViewTest.java218 private void assertScrolledY(@IdRes int layoutId) { argument
219 onView(withId(layoutId)).perform(waitForMatchingView(
220 allOf(withId(layoutId), withPositiveVerticalScrollOffset()), MAX_WAIT_TIME));
223 private void assertNotScrolledY(@IdRes int layoutId) { argument
224 onView(withId(layoutId)).perform(waitForMatchingView(
225 allOf(withId(layoutId), withNoVerticalScrollOffset()), MAX_WAIT_TIME));
H A DSwipeDismissFrameLayoutTest.java399 * private static void assertPeeking(@IdRes int layoutId) {
400 * onView(withId(layoutId))
403 * allOf(withId(layoutId), isOpened(true)), MAX_WAIT_TIME));
407 private static void assertHidden(@IdRes int layoutId) { argument
408 onView(withId(layoutId))
411 allOf(withId(layoutId),
416 private static void assertNotHidden(@IdRes int layoutId) { argument
417 onView(withId(layoutId))
420 allOf(withId(layoutId),
425 private static void assertScrolledY(@IdRes int layoutId) { argument
[all...]
/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/android/support/transition/
H A DScene.java40 private View mLayout; // alternative to layoutId
45 * <code>layoutId</code> parameter. If such a Scene has already been created for
47 * This caching of layoutId-based scenes enables sharing of common scenes
53 * @param layoutId The id of a standard layout resource file.
59 public static Scene getSceneForLayout(@NonNull ViewGroup sceneRoot, @LayoutRes int layoutId, argument
68 Scene scene = scenes.get(layoutId);
72 scene = new Scene(sceneRoot, layoutId, context);
73 scenes.put(layoutId, scene);
95 * the hierarchy specified by the layoutId resource file.
97 * <p>This method is hidden because layoutId
107 Scene(ViewGroup sceneRoot, int layoutId, Context context) argument
[all...]
/frameworks/support/transition/tests/src/android/support/transition/
H A DBaseTransitionTest.java66 Scene loadScene(final int layoutId) throws Throwable { argument
71 scene[0] = Scene.getSceneForLayout(mRoot, layoutId, rule.getActivity());
78 void startTransition(final int layoutId) throws Throwable { argument
79 startTransition(loadScene(layoutId));
92 void enterScene(final int layoutId) throws Throwable { argument
93 enterScene(loadScene(layoutId));
/frameworks/support/v7/gridlayout/tests/src/android/support/v7/widget/
H A DGridLayoutTest.java52 private void setContentView(final int layoutId) throws Throwable { argument
58 activity.setContentView(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;
194 int layoutId; field in class:PreviewInflater.WidgetInfo
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
H A DNotificationInflaterTest.java263 public AsyncFailRemoteView(String packageName, int layoutId) { argument
264 super(packageName, layoutId);
/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
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DRecyclerViewFastScrollerTest.java66 private void setContentView(final int layoutId) throws Throwable { argument
71 activity.setContentView(layoutId);
/frameworks/support/fragment/tests/java/android/support/v4/app/test/
H A DFragmentTestActivity.java74 private static final String LAYOUT_ID = "layoutId";
95 public static TestFragment create(int layoutId) { argument
97 testFragment.mLayoutId = layoutId;
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetHostView.java433 int layoutId = remoteViews.getLayoutId();
437 if (content == null && layoutId == mLayoutId) {
458 mLayoutId = layoutId;
523 int layoutId = remoteViews.getLayoutId();
527 if (layoutId == mLayoutId && mView != null) {
532 new ViewApplyListener(remoteViews, layoutId, true),
542 new ViewApplyListener(remoteViews, layoutId, false),
552 public ViewApplyListener(RemoteViews views, int layoutId, boolean isReapply) { argument
554 mLayoutId = layoutId;
695 int layoutId
[all...]

Completed in 835 milliseconds

12