Home
last modified time | relevance | path

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

/cts/tests/tests/view/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()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DAutoFinishSessionTest.java55 private ViewGroup mParent; field in AutoFinishSessionTest
63 mParent = ((ViewGroup) mEditText1.getParent()); in initViews()
144 mParent.removeView(mEditText1); in removeOneViewToFinishSession()
178 () -> ((ViewGroup) mParent.getParent()).removeView(mParent), in removeParentToFinishSession()
187 () -> mParent.setVisibility(ViewGroup.INVISIBLE), in hideParentToFinishSession()
259 mParent.removeView(mEditText1); in removeViewInBackground()
277 activityToBackgroundShouldNotTriggerSave(() -> mParent.setVisibility(ViewGroup.INVISIBLE), in hideParentInBackground()
284 () -> ((ViewGroup) mParent.getParent()).removeView(mParent), in removeParentInBackground()
295 () -> mParent.removeView(mEditText1)); in removeViewAfterBackground()
DWebViewActivity.java53 private LinearLayout mParent; field in WebViewActivity
65 mParent = findViewById(R.id.parent); in onCreate()
81 mParent.addView(mWebView); in loadWebView()
/cts/tests/tests/widget/src/android/widget/cts/
DResourceCursorAdapterTest.java53 private ViewGroup mParent; field in ResourceCursorAdapterTest
62 mParent = (ViewGroup) layoutInflater.inflate(R.layout.cursoradapter_host, null); in setup()
91 View result = mResourceCursorAdapter.newView(null, null, mParent); in testSetViewResource()
97 result = mResourceCursorAdapter.newView(null, null, mParent); in testSetViewResource()
108 View result = mResourceCursorAdapter.newDropDownView(null, null, mParent); in testSetDropDownViewResource()
117 result = mResourceCursorAdapter.newDropDownView(null, null, mParent); in testSetDropDownViewResource()
122 result = mResourceCursorAdapter.newView(null, null, mParent); in testSetDropDownViewResource()
133 View result = mResourceCursorAdapter.newDropDownView(null, null, mParent); in testNewDropDownView()
139 result = mResourceCursorAdapter.newDropDownView(null, null, mParent); in testNewDropDownView()
150 View result = mResourceCursorAdapter.newView(null, null, mParent); in testNewView()
[all …]
DResourceCursorTreeAdapterTest.java48 private ViewGroup mParent; field in ResourceCursorTreeAdapterTest
79 mParent = (ViewGroup) layoutInflater.inflate(R.layout.cursoradapter_host, null); in setup()
114 View result = mResourceCursorTreeAdapter.newChildView(null, null, true, mParent); in testNewChildView()
117 result = mResourceCursorTreeAdapter.newChildView(null, null, false, mParent); in testNewChildView()
123 result = mResourceCursorTreeAdapter.newChildView(null, null, true, mParent); in testNewChildView()
126 result = mResourceCursorTreeAdapter.newChildView(null, null, false, mParent); in testNewChildView()
137 View result = mResourceCursorTreeAdapter.newGroupView(null, null, true, mParent); in testNewGroupView()
140 result = mResourceCursorTreeAdapter.newGroupView(null, null, false, mParent); in testNewGroupView()
146 result = mResourceCursorTreeAdapter.newGroupView(null, null, true, mParent); in testNewGroupView()
149 result = mResourceCursorTreeAdapter.newGroupView(null, null, false, mParent); in testNewGroupView()
DCursorAdapterTest.java75 private ViewGroup mParent; field in CursorAdapterTest
96 mParent = (ViewGroup) inflater.inflate(R.layout.cursoradapter_host, null); in setup()
97 assertNotNull(mParent); in setup()
220 cursorAdapter.getView(0, textView, mParent); in testGetView()
227 cursorAdapter.getView(100, textView, mParent); in testGetView()
233 TextView retView = (TextView) cursorAdapter.getView(0, null, mParent); in testGetView()
238 retView = (TextView) cursorAdapter.getView(1, textView, mParent); in testGetView()
248 assertNull(cursorAdapter.newDropDownView(mContext, null, mParent)); in testNewDropDownView()
250 TextView textView = (TextView) cursorAdapter.newDropDownView(mContext, mCursor, mParent); in testNewDropDownView()
263 assertNull(cursorAdapter.getDropDownView(0, textView, mParent)); in testGetDropDownView()
[all …]
DCursorTreeAdapterTest.java83 private ViewGroup mParent; field in CursorTreeAdapterTest
135 mParent = (ViewGroup)inflater.inflate(R.layout.cursoradapter_host, null); in setup()
136 assertNotNull(mParent); in setup()
485 adapter.getGroupView(0, true, textView, mParent); in testGetGroupView()
494 adapter.getGroupView(10, true, textView, mParent); in testGetGroupView()
500 retView = (TextView) adapter.getGroupView(1, true, null, mParent); in testGetGroupView()
505 retView = (TextView) adapter.getGroupView(0, true, textView, mParent); in testGetGroupView()
598 adapter.getChildView(0, 0, true, textView, mParent); in testGetChildView()
606 adapter.getChildView(10, 0, true, textView, mParent); in testGetChildView()
615 adapter.getChildView(0, 2, true, textView, mParent); in testGetChildView()
[all …]
DTextViewTest.java8094 private TextView mParent; field in TextViewTest.ClickableSpanTestDetails
8099 mParent = parent; in ClickableSpanTestDetails()
8107 int xStart = (int) mParent.getLayout().getPrimaryHorizontal(mStartCharPos, true); in calculatePositions()
8108 int xEnd = (int) mParent.getLayout().getPrimaryHorizontal(mEndCharPos, true); in calculatePositions()
8109 int line = mParent.getLayout().getLineForOffset(mEndCharPos); in calculatePositions()
8110 int yTop = mParent.getLayout().getLineTop(line); in calculatePositions()
8111 int yBottom = mParent.getLayout().getLineBottom(line); in calculatePositions()
/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/suite/audio_quality/lib/src/task/
DTaskGeneric.cpp24 mParent(NULL) in TaskGeneric()
62 return mParent; in getParent()
83 mParent = parent; in setParent()
/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/include/task/
DTaskGeneric.h109 TaskGeneric* mParent; variable