Home
last modified time | relevance | path

Searched refs:mParent (Results 1 – 14 of 14) sorted by relevance

/cts/tests/autofillservice/src/android/autofillservice/cts/
DAutoFinishSessionTest.java52 private ViewGroup mParent; field in AutoFinishSessionTest
70 mParent = ((ViewGroup) mEditText1.getParent());
150 mParent.removeView(mEditText1);
184 () -> ((ViewGroup) mParent.getParent()).removeView(mParent),
193 () -> mParent.setVisibility(ViewGroup.INVISIBLE),
265 mParent.removeView(mEditText1);
283 activityToBackgroundShouldNotTriggerSave(() -> mParent.setVisibility(ViewGroup.INVISIBLE),
290 () -> ((ViewGroup) mParent.getParent()).removeView(mParent),
301 () -> mParent.removeView(mEditText1));
DWebViewActivity.java49 private LinearLayout mParent; field in WebViewActivity
67 mParent = findViewById(R.id.parent); in onCreate()
83 mParent.addView(mWebView); in loadWebView()
173 syncRunOnUiThread(() -> mParent.requestFocus()); in clearFocus()
/cts/tests/tests/widget/src/android/widget/cts/
DResourceCursorAdapterTest.java54 private ViewGroup mParent; field in ResourceCursorAdapterTest
63 mParent = (ViewGroup) layoutInflater.inflate(R.layout.cursoradapter_host, null); in setup()
92 View result = mResourceCursorAdapter.newView(null, null, mParent); in testSetViewResource()
98 result = mResourceCursorAdapter.newView(null, null, mParent); in testSetViewResource()
109 View result = mResourceCursorAdapter.newDropDownView(null, null, mParent); in testSetDropDownViewResource()
118 result = mResourceCursorAdapter.newDropDownView(null, null, mParent); in testSetDropDownViewResource()
123 result = mResourceCursorAdapter.newView(null, null, mParent); in testSetDropDownViewResource()
134 View result = mResourceCursorAdapter.newDropDownView(null, null, mParent); in testNewDropDownView()
140 result = mResourceCursorAdapter.newDropDownView(null, null, mParent); in testNewDropDownView()
151 View result = mResourceCursorAdapter.newView(null, null, mParent); in testNewView()
[all …]
DResourceCursorTreeAdapterTest.java49 private ViewGroup mParent; field in ResourceCursorTreeAdapterTest
80 mParent = (ViewGroup) layoutInflater.inflate(R.layout.cursoradapter_host, null); in setup()
115 View result = mResourceCursorTreeAdapter.newChildView(null, null, true, mParent); in testNewChildView()
118 result = mResourceCursorTreeAdapter.newChildView(null, null, false, mParent); in testNewChildView()
124 result = mResourceCursorTreeAdapter.newChildView(null, null, true, mParent); in testNewChildView()
127 result = mResourceCursorTreeAdapter.newChildView(null, null, false, mParent); in testNewChildView()
138 View result = mResourceCursorTreeAdapter.newGroupView(null, null, true, mParent); in testNewGroupView()
141 result = mResourceCursorTreeAdapter.newGroupView(null, null, false, mParent); in testNewGroupView()
147 result = mResourceCursorTreeAdapter.newGroupView(null, null, true, mParent); in testNewGroupView()
150 result = mResourceCursorTreeAdapter.newGroupView(null, null, false, mParent); in testNewGroupView()
DCursorAdapterTest.java76 private ViewGroup mParent; field in CursorAdapterTest
97 mParent = (ViewGroup) inflater.inflate(R.layout.cursoradapter_host, null); in setup()
98 assertNotNull(mParent); in setup()
221 cursorAdapter.getView(0, textView, mParent); in testGetView()
228 cursorAdapter.getView(100, textView, mParent); in testGetView()
234 TextView retView = (TextView) cursorAdapter.getView(0, null, mParent); in testGetView()
239 retView = (TextView) cursorAdapter.getView(1, textView, mParent); in testGetView()
249 assertNull(cursorAdapter.newDropDownView(mContext, null, mParent)); in testNewDropDownView()
251 TextView textView = (TextView) cursorAdapter.newDropDownView(mContext, mCursor, mParent); in testNewDropDownView()
264 assertNull(cursorAdapter.getDropDownView(0, textView, mParent)); in testGetDropDownView()
[all …]
DCursorTreeAdapterTest.java84 private ViewGroup mParent; field in CursorTreeAdapterTest
136 mParent = (ViewGroup)inflater.inflate(R.layout.cursoradapter_host, null); in setup()
137 assertNotNull(mParent); in setup()
486 adapter.getGroupView(0, true, textView, mParent); in testGetGroupView()
495 adapter.getGroupView(10, true, textView, mParent); in testGetGroupView()
501 retView = (TextView) adapter.getGroupView(1, true, null, mParent); in testGetGroupView()
506 retView = (TextView) adapter.getGroupView(0, true, textView, mParent); in testGetGroupView()
599 adapter.getChildView(0, 0, true, textView, mParent); in testGetChildView()
607 adapter.getChildView(10, 0, true, textView, mParent); in testGetChildView()
616 adapter.getChildView(0, 2, true, textView, mParent); in testGetChildView()
[all …]
DTextViewTest.java8592 private TextView mParent; field in TextViewTest.ClickableSpanTestDetails
8597 mParent = parent; in ClickableSpanTestDetails()
8605 int xStart = (int) mParent.getLayout().getPrimaryHorizontal(mStartCharPos, true); in calculatePositions()
8606 int xEnd = (int) mParent.getLayout().getPrimaryHorizontal(mEndCharPos, true); in calculatePositions()
8607 int line = mParent.getLayout().getLineForOffset(mEndCharPos); in calculatePositions()
8608 int yTop = mParent.getLayout().getLineTop(line); in calculatePositions()
8609 int yBottom = mParent.getLayout().getLineBottom(line); in calculatePositions()
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/
DAnimationTestCase.java29 private FrameLayout mParent; field in AnimationTestCase
47 mParent = parent; in start()
48 mParent.removeAllViews(); in start()
50 mParent.addView(view, mLayoutParams); in start()
57 mParent.removeAllViews(); in end()
DSurfaceControlTestCase.java36 private FrameLayout mParent; field in SurfaceControlTestCase
90 mParent = parent; in start()
91 mParent.addView(view, mLayoutParams); in start()
104 mParent.removeAllViews(); in end()
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DGLESSurfaceView.java35 private DeviceInfoActivity mParent; field in GLESSurfaceView
45 mParent = parent; in GLESSurfaceView()
78 mParent.setGraphicsInfo(vendor, renderer); in onSurfaceCreated()
83 mParent.addOpenGlExtension(ext); in onSurfaceCreated()
87 mParent.addCompressedTextureFormat(ext); in onSurfaceCreated()
/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/
DSensorOperation.java97 private final ISensorTestNode mParent; field in SensorOperation.SensorTestNode
101 mParent = parent; in SensorTestNode()
107 return mParent.getName() + "-" + mOperation.getClass().getSimpleName(); in getName()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DGlesStubActivity.java400 private final GlesStubActivity mParent; field in GlesStubActivity.OpenGlesRenderer
405 mParent = parent; in OpenGlesRenderer()
430 mParent.setVendor(vendor); in onSurfaceCreated()
431 mParent.setRenderer(renderer); in onSurfaceCreated()
436 mParent.addOpenGlExtension(ext); in onSurfaceCreated()
439 mParent.addCompressedTextureFormat(ext); in onSurfaceCreated()
445 collectEglExtensions(mParent); in onSurfaceCreated()
461 mParent.addImplementationVariable(name, value, dynamicArray); in collectImplementationVariables()
/cts/suite/audio_quality/lib/src/task/
DTaskGeneric.cpp24 mParent(NULL) in TaskGeneric()
62 return mParent; in getParent()
83 mParent = parent; in setParent()
/cts/suite/audio_quality/lib/include/task/
DTaskGeneric.h109 TaskGeneric* mParent; variable