OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mViewGroup
(Results
1 - 3
of
3
) sorted by null
/frameworks/base/core/tests/coretests/src/android/view/
ViewGroupAttributesTest.java
25
private MyViewGroup
mViewGroup
;
46
mViewGroup
= new MyViewGroup(getContext());
52
ViewGroup.FOCUS_BEFORE_DESCENDANTS,
mViewGroup
.getDescendantFocusability());
55
final boolean isAnimationCachEnabled =
mViewGroup
.isAnimationCacheEnabled();
56
final boolean isAlwaysDrawnWithCacheEnabled =
mViewGroup
.isAlwaysDrawnWithCacheEnabled();
57
final boolean isChildrenDrawnWithCacheEnabled =
mViewGroup
.isChildrenDrawnWithCacheEnabled();
59
mViewGroup
.setDescendantFocusability(ViewGroup.FOCUS_AFTER_DESCENDANTS);
60
assertEquals(ViewGroup.FOCUS_AFTER_DESCENDANTS,
mViewGroup
.getDescendantFocusability());
62
mViewGroup
.setDescendantFocusability(ViewGroup.FOCUS_BLOCK_DESCENDANTS);
63
assertEquals(ViewGroup.FOCUS_BLOCK_DESCENDANTS,
mViewGroup
.getDescendantFocusability())
[
all
...]
/cts/tests/src/android/view/cts/
GestureDetectorStubActivity.java
48
private ViewGroup
mViewGroup
;
64
mViewGroup
= new ViewGroup(this) {
69
mViewGroup
.addView(mView);
70
mViewGroup
.addView(mTop);
71
mViewGroup
.addView(mButton);
72
mViewGroup
.setOnTouchListener(new MockOnTouchListener());
73
setContentView(
mViewGroup
);
82
return
mViewGroup
;
/cts/tests/tests/holo/src/android/holo/cts/
LayoutTestActivity.java
61
private ReferenceViewGroup
mViewGroup
;
92
mViewGroup
= (ReferenceViewGroup) findViewById(R.id.reference_view_group);
93
mTestView = getLayoutInflater().inflate(layoutInfo.getLayout(),
mViewGroup
, false);
94
mViewGroup
.addView(mTestView);
98
mViewGroup
.measure(0, 0);
99
mViewGroup
.layout(0, 0,
mViewGroup
.getMeasuredWidth(),
mViewGroup
.getMeasuredHeight());
Completed in 495 milliseconds