Home
last modified time | relevance | path

Searched refs:contentView (Results 1 – 11 of 11) sorted by relevance

/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowPopupWindow.java19 private View contentView; field in ShadowPopupWindow
33 public void __constructor__(View contentView) { in __constructor__() argument
34 setContentView(contentView); in __constructor__()
38 public void __constructor__(View contentView, int width, int height, boolean focusable) { in __constructor__() argument
39 __constructor__(contentView); in __constructor__()
46 public void setContentView(View contentView) { in setContentView() argument
47 this.contentView = contentView; in setContentView()
48 context = contentView.getContext(); in setContentView()
53 return contentView; in getContentView()
146 containerView.addView(contentView); in showAsDropDown()
DShadowActivity.java39 private View contentView; field in ShadowActivity
106 contentView = getLayoutInflater().inflate(layoutResID, new FrameLayout(realActivity)); in setContentView()
112 contentView = view; in setContentView()
149 if (contentView != null) { in findViewById()
150 return contentView.findViewById(id); in findViewById()
162 contentViewContainer.addView(contentView, 0); in getContentViewContainer()
268 return contentView; in getContentView()
342 } else if (contentView != null) { in getCurrentFocus()
343 return contentView.findFocus(); in getCurrentFocus()
351 if (contentView != null) { in clearFocus()
[all …]
DShadowTabSpec.java22 private View contentView; field in ShadowTabSpec
98 contentView = factory.createTabContent(this.tag); in setContent()
114 return contentView; in getContentView()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DPopupWindowTest.java43 View contentView = new View(null); in testSetContentView() local
44 popupWindow.setContentView(contentView); in testSetContentView()
46 assertThat(popupWindow.getContentView(), is(contentView)); in testSetContentView()
128 private View contentView; field in PopupWindowTest.WithContentView
134 contentView = new View(Robolectric.application); in setUp()
135 contentView.setId(R.id.content_view); in setUp()
141 PopupWindow popupWindow = new PopupWindow(contentView, 0, 0, true); in showAsDropDown_sticksWindowIntoWindowManager()
148 PopupWindow popupWindow = new PopupWindow(contentView, 0, 0, true); in showAsDropdownWithOffsets_setsOffsetFields()
156 PopupWindow popupWindow = new PopupWindow(contentView); in supportsViewConstructor()
163 PopupWindow popupWindow = new PopupWindow(contentView); in backgroundDrawableIsBehindPopupViewContainer()
[all …]
DActivityTest.java372 View contentView = shadowOf(activity).getContentView(); in shouldSetContentViewWithFrameLayoutAsParent() local
373 assertInstanceOf(FrameLayout.class, contentView); in shouldSetContentViewWithFrameLayoutAsParent()
374 assertThat(((FrameLayout) contentView).getChildCount(), equalTo(2)); in shouldSetContentViewWithFrameLayoutAsParent()
411 View contentView = new View(activity); in shouldFindContentViewContainer() local
412 activity.setContentView(contentView); in shouldFindContentViewContainer()
415 assertThat(contentViewContainer.getChildAt(0), is(contentView)); in shouldFindContentViewContainer()
/external/skia/src/views/mac/
Dskia_mac.mm73 NSView* contentView = window.contentView;
74 [contentView addSubview:customView];
77 [contentView addConstraints:
83 [contentView addConstraints:
/external/webrtc/webrtc/modules/video_render/test/testAPI/
DtestAPI_mac.mm50 [[outWindow contentView] addSubview:(NSView*)cocoaRenderer];
/external/webrtc/webrtc/test/mac/
Dvideo_renderer_mac.mm78 [[window_ contentView] addSubview:view];
/external/sl4a/Utils/src/com/googlecode/android_scripting/
DLog.java79 note.contentView.getLayoutId(); in notify()
/external/google-breakpad/src/client/mac/sender/
Dcrash_report_sender.m82 [[self contentView] setAutoresizesSubviews:NO];
89 [[self contentView] setFrameOrigin:NSMakePoint(0, 0)];
91 [[self contentView] setAutoresizesSubviews:YES];
/external/webrtc/webrtc/modules/video_render/mac/
Dvideo_render_nsopengl.mm613 [[[_fullScreenWindow window] contentView] addSubview:_windowRef];