Home | History | Annotate | Download | only in view

Lines Matching refs:stub

42         final View stub = activity.findViewById(R.id.viewStub);
43 assertNotNull("The ViewStub does not exist", stub);
51 final ViewStub stub = (ViewStub) activity.findViewById(R.id.viewStub);
52 final View swapped = stub.inflate();
62 final ViewStub stub = (ViewStub) activity.findViewById(R.id.viewStubWithId);
63 final View swapped = stub.inflate();
75 final ViewStub stub = (ViewStub) activity.findViewById(R.id.viewStubWithId);
76 final View swapped = stub.inflate();
80 assertEquals("Both stub and inflated should same width",
81 stub.getLayoutParams().width, swapped.getLayoutParams().width);
82 assertEquals("Both stub and inflated should same height",
83 stub.getLayoutParams().height, swapped.getLayoutParams().height);