Home
last modified time | relevance | path

Searched refs:viewGroup (Results 1 – 5 of 5) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowViewGroupTest.java315 ViewGroup viewGroup = new FrameLayout(context); in shouldKnowWhenOnInterceptTouchEventWasCalled() local
318 viewGroup.onInterceptTouchEvent(touchEvent); in shouldKnowWhenOnInterceptTouchEventWasCalled()
320 assertThat(shadowOf(viewGroup).getInterceptedTouchEvent()).isEqualTo(touchEvent); in shouldKnowWhenOnInterceptTouchEventWasCalled()
326 ViewGroup viewGroup = new FrameLayout(context); in removeView_shouldRequestLayout() local
327 viewGroup.addView(view); in removeView_shouldRequestLayout()
328 shadowOf(viewGroup).setDidRequestLayout(false); in removeView_shouldRequestLayout()
330 viewGroup.removeView(view); in removeView_shouldRequestLayout()
331 assertThat(shadowOf(viewGroup).didRequestLayout()).isTrue(); in removeView_shouldRequestLayout()
337 ViewGroup viewGroup = new FrameLayout(context); in removeViewAt_shouldRequestLayout() local
338 viewGroup.addView(view); in removeViewAt_shouldRequestLayout()
[all …]
DShadowLayoutInflaterTest.java172 ViewGroup viewGroup = inflate(R.layout.request_focus); in shouldNotCountRequestFocusElementAsChild() local
173 ViewGroup frameLayout = (ViewGroup) viewGroup.getChildAt(1); in shouldNotCountRequestFocusElementAsChild()
186 ViewGroup viewGroup = inflate(R.layout.request_focus); in shouldGiveFocusToElementContainingRequestFocusElement() local
187 EditText editText = viewGroup.findViewById(R.id.edit_text); in shouldGiveFocusToElementContainingRequestFocusElement()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowDialog.java133 ViewGroup viewGroup = (ViewGroup) view; in clickOnText() local
134 for (int i = 0; i < viewGroup.getChildCount(); i++) { in clickOnText()
135 View child = viewGroup.getChildAt(i); in clickOnText()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DBluetoothDeviceList.java110 public View getView(int position, View convertView, ViewGroup viewGroup) { in getView() argument
/external/deqp/modules/gles31/functional/
Des31fCopyImageTests.cpp2664 …TestCaseGroup* const viewGroup = new TestCaseGroup(m_context, viewClassToName(viewClass), viewClas… in init() local
2666 nonCompressedGroup->addChild(viewGroup); in init()
2677 addCopyTests(viewGroup, srcFormat, dstFormat); in init()
2685 …TestCaseGroup* const viewGroup = new TestCaseGroup(m_context, viewClassToName(viewClass), viewClas… in init() local
2687 compressedGroup->addChild(viewGroup); in init()
2698 addCopyTests(viewGroup, srcFormat, dstFormat); in init()
2706 …TestCaseGroup* const viewGroup = new TestCaseGroup(m_context, viewClassName.c_str(), viewClassN… in init() local
2711 mixedGroup->addChild(viewGroup); in init()
2722 addCopyTests(viewGroup, srcFormat, dstFormat); in init()
2723 addCopyTests(viewGroup, dstFormat, srcFormat); in init()