Searched refs:CustomView (Results 1 – 7 of 7) sorted by relevance
57 setContentView(new CustomView(this).createBrother()); in onCreate()63 public static class CustomView extends FrameLayout { class in InvokeSpecialTransformTest65 public CustomView(@NonNull Context context) { in CustomView() method in InvokeSpecialTransformTest.CustomView
8 public class CustomView extends LinearLayout { class16 public CustomView(Context context, AttributeSet attrs) { in CustomView() method in CustomView
41 TypedArray a = theme.obtainStyledAttributes(R.style.MyCustomView, R.styleable.CustomView); in shouldLookUpStylesFromStyleResId()52 theme.obtainStyledAttributes(null, R.styleable.CustomView, R.attr.animalStyle, 0); in shouldApplyStylesFromResourceReference()64 theme.obtainStyledAttributes(null, R.styleable.CustomView, R.attr.animalStyle, 0); in shouldApplyStylesFromAttributeReference()
47 import org.robolectric.android.CustomView;217 CustomView view = inflate(layout.custom_layout); in shouldConstructCustomViewsWithAttributesConstructor()234 CustomView view = inflate(layout.custom_layout5); in shouldConstructCustomViewsWithAttributesInResAutoNamespace()240 CustomView view = inflate(layout.custom_layout4).findViewById(R.id.custom_view); in shouldConstructCustomViewsWithAttributesWithURLEncodedNamespaces()
30 import org.robolectric.android.CustomView;143 assertThat(view.getClass()).isEqualTo(CustomView.class); in shouldSetView_withLayoutId()
286 TypedArray a = context.obtainStyledAttributes(roboAttributeSet, R.styleable.CustomView); in obtainStyledAttributes_shouldExtractAttributesFromAttributeSet()
707 public static final int[] CustomView = { field in R.styleable