/cts/tests/tests/sensorprivacy/test-apps/CtsUseMicOrCameraForSensorPrivacy/src/android/sensorprivacy/cts/usemiccamera/ |
D | BlankActivity.kt | 5 import android.view.ViewGroup 13 layout.layoutParams = ViewGroup.LayoutParams( in onCreate() 14 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT) in onCreate()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | LayoutDirectionTest.java | 28 import android.view.ViewGroup; 67 private void checkDefaultDirectionForOneLayoutWithCode(ViewGroup vg) { in checkDefaultDirectionForOneLayoutWithCode() 81 private void verifyDirectionForOneLayoutWithCode(ViewGroup vg) { in verifyDirectionForOneLayoutWithCode() 107 private void verifyDirectionInheritanceForOneLayoutWithCode(ViewGroup parent) { in verifyDirectionInheritanceForOneLayoutWithCode() 141 ViewGroup ll = (ViewGroup) mActivity.findViewById(parentId); in verifyDirectionForOneLayoutFromXml() 144 ViewGroup child1 = (ViewGroup) mActivity.findViewById(child1Id); in verifyDirectionForOneLayoutFromXml() 147 ViewGroup child2 = (ViewGroup) mActivity.findViewById(child2Id); in verifyDirectionForOneLayoutFromXml() 150 ViewGroup child3 = (ViewGroup) mActivity.findViewById(child3Id); in verifyDirectionForOneLayoutFromXml() 153 ViewGroup child4 = (ViewGroup) mActivity.findViewById(child4Id); in verifyDirectionForOneLayoutFromXml()
|
D | TextSwitcherTest.java | 25 import android.view.ViewGroup; 94 mTextSwitcher.addView(tv1, 0, new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT)); in testSetText() 95 mTextSwitcher.addView(tv2, 1, new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT)); in testSetText() 134 mTextSwitcher.addView(tv1, 0, new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT)); in testSetCurrentText() 135 mTextSwitcher.addView(tv2, 1, new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT)); in testSetCurrentText() 168 mTextSwitcher.addView(tv1, 0, new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT)); in testAddView() 174 mTextSwitcher.addView(tv1, 0, new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT)); in testAddView() 182 new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT)); in testAddView() 189 new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT)); in testAddView() 197 mTextSwitcher.addView(tv3, 2, new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT)); in testAddView() [all …]
|
D | ChronometerCtsActivity.java | 21 import android.view.ViewGroup; 40 public ViewGroup getViewGroup() { in getViewGroup() 41 return (ViewGroup) findViewById(R.id.chronometer_view_group); in getViewGroup()
|
D | FrameLayout_LayoutParamsTest.java | 25 import android.view.ViewGroup; 26 import android.view.ViewGroup.MarginLayoutParams; 67 new LayoutParams(new ViewGroup.LayoutParams(mContext, attrs)); in testConstructor() 82 new LayoutParams((ViewGroup.LayoutParams) null); in testConstructorNullViewGroupParams() 87 new LayoutParams((ViewGroup.MarginLayoutParams) null); in testConstructorNullViewGroupMarginParams() 126 final ViewGroup.LayoutParams vglp = new ViewGroup.LayoutParams( in testCopyConstructor()
|
D | RemoteViewsActivityTest.java | 26 import android.view.ViewGroup; 64 ViewGroup parent = (ViewGroup) mActivity.findViewById(R.id.remoteView_host); in testGood() 90 ViewGroup parent = (ViewGroup) mActivity.findViewById(R.id.remoteView_host); in testDerivedClass() 119 ViewGroup parent = (ViewGroup) mActivity.findViewById(R.id.remoteView_host); in testWebView()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | ListItemFactory.java | 22 import android.view.ViewGroup; 53 ViewGroup.LayoutParams.MATCH_PARENT, in twoButtonsSeparatedByFiller() 64 ViewGroup.LayoutParams.MATCH_PARENT, in twoButtonsSeparatedByFiller() 158 final ViewGroup.LayoutParams lp = new AbsListView.LayoutParams( in button() 159 ViewGroup.LayoutParams.MATCH_PARENT, in button() 160 ViewGroup.LayoutParams.WRAP_CONTENT); in button() 198 final ViewGroup.LayoutParams lp = new AbsListView.LayoutParams( in text() 199 ViewGroup.LayoutParams.MATCH_PARENT, in text() 200 ViewGroup.LayoutParams.WRAP_CONTENT); in text() 241 ViewGroup.LayoutParams.MATCH_PARENT, in doubleText() [all …]
|
D | ListScenario.java | 23 import android.view.ViewGroup; 302 mListView.setLayoutParams(new ViewGroup.LayoutParams( in onCreate() 303 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 304 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate() 365 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 366 ViewGroup.LayoutParams.WRAP_CONTENT)); in onCreate() 370 mLinearLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate() 371 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 372 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate() 374 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewGroup_MarginLayoutParamsTest.java | 29 import android.view.ViewGroup; 30 import android.view.ViewGroup.MarginLayoutParams; 47 private ViewGroup.MarginLayoutParams mMarginLayoutParams; 64 mMarginLayoutParams = new ViewGroup.MarginLayoutParams(mContext, p); in testConstructor() 69 mMarginLayoutParams = new ViewGroup.MarginLayoutParams(320, 480); in testConstructor() 74 MarginLayoutParams temp = new ViewGroup.MarginLayoutParams(320, 480); in testConstructor() 75 mMarginLayoutParams = new ViewGroup.MarginLayoutParams(temp); in testConstructor() 80 ViewGroup.LayoutParams lp = new ViewGroup.LayoutParams(320, 480); in testConstructor() 81 mMarginLayoutParams = new ViewGroup.MarginLayoutParams(lp); in testConstructor() 88 mMarginLayoutParams = new ViewGroup.MarginLayoutParams(320, 480); in testSetMargins() [all …]
|
D | ViewGroup_ScrollCaptureTest.java | 37 import android.view.ViewGroup; 92 ViewGroup.SCROLL_CAPTURE_HINT_AUTO, viewGroup.getScrollCaptureHint()); in testSetScrollCaptureHint() 96 ViewGroup.SCROLL_CAPTURE_HINT_INCLUDE, viewGroup.getScrollCaptureHint()); in testSetScrollCaptureHint() 98 viewGroup.setScrollCaptureHint(ViewGroup.SCROLL_CAPTURE_HINT_EXCLUDE); in testSetScrollCaptureHint() 100 ViewGroup.SCROLL_CAPTURE_HINT_EXCLUDE, viewGroup.getScrollCaptureHint()); in testSetScrollCaptureHint() 102 viewGroup.setScrollCaptureHint(ViewGroup.SCROLL_CAPTURE_HINT_EXCLUDE_DESCENDANTS); in testSetScrollCaptureHint() 104 ViewGroup.SCROLL_CAPTURE_HINT_EXCLUDE_DESCENDANTS, in testSetScrollCaptureHint() 107 viewGroup.setScrollCaptureHint(ViewGroup.SCROLL_CAPTURE_HINT_INCLUDE in testSetScrollCaptureHint() 108 | ViewGroup.SCROLL_CAPTURE_HINT_EXCLUDE_DESCENDANTS); in testSetScrollCaptureHint() 110 ViewGroup.SCROLL_CAPTURE_HINT_INCLUDE in testSetScrollCaptureHint() [all …]
|
D | ViewGroup_LayoutParamsTest.java | 25 import android.view.ViewGroup; 26 import android.view.ViewGroup.LayoutParams; 58 new ViewGroup.LayoutParams(mContext, parser); in testConstructor() 60 LayoutParams temp = new ViewGroup.LayoutParams(320, 480); in testConstructor() 62 new ViewGroup.LayoutParams(temp); in testConstructor()
|
/cts/tests/tests/toastlegacy/src/android/widget/toast/cts/legacy/ |
D | ToastActivity.java | 23 import android.view.ViewGroup; 35 view.setLayoutParams(new ViewGroup.LayoutParams( in onCreate() 36 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 37 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | EmptyActivity.java | 23 import android.view.ViewGroup; 33 view.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 34 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | StateInitializeActivity.java | 25 import android.view.ViewGroup; 44 view.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 45 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
|
/cts/tests/tests/widget/src/android/widget/cts/inline/ |
D | InlineContentViewTest.java | 27 import android.view.ViewGroup; 96 final ViewGroup parent = (ViewGroup) mActivity.findViewById(R.id.inlinecontentview); in testGetSurfaceControl() 143 final ViewGroup viewGroup = (ViewGroup) mActivity.findViewById(R.id.inlinecontentview); in attachInlineContentView() 146 () -> viewGroup.addView(mInlineContentView, new ViewGroup.LayoutParams( in attachInlineContentView() 147 ViewGroup.LayoutParams.MATCH_PARENT, in attachInlineContentView() 148 ViewGroup.LayoutParams.WRAP_CONTENT))); in attachInlineContentView()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | AbstractRootViewActivity.java | 21 import android.view.ViewGroup; 106 public ViewGroup getGrandParent() { in getGrandParent() 107 return (ViewGroup) mRootView.getParent(); in getGrandParent() 112 public ViewGroup getGrandGrandParent() { in getGrandGrandParent() 113 return (ViewGroup) getGrandParent().getParent(); in getGrandGrandParent()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/qstiles/ |
D | TileServiceVerifierActivity.java | 21 import android.view.ViewGroup; 60 protected View inflate(ViewGroup parent) { in inflate() 78 protected View inflate(ViewGroup parent) { in inflate() 93 protected View inflate(ViewGroup parent) { in inflate() 108 protected View inflate(ViewGroup parent) { in inflate()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | AutoFinishSessionTest.java | 35 import android.view.ViewGroup; 57 private ViewGroup mParent; 75 mParent = ((ViewGroup) mEditText1.getParent()); 130 () -> ((ViewGroup) mEditText1.getParent()).removeView(mEditText1), 132 () -> ((ViewGroup) mEditText2.getParent()).removeView(mEditText2), 169 mEditText1.setVisibility(ViewGroup.INVISIBLE); 189 () -> ((ViewGroup) mParent.getParent()).removeView(mParent), 198 () -> mParent.setVisibility(ViewGroup.INVISIBLE), 281 mEditText1.setVisibility(ViewGroup.INVISIBLE); 288 activityToBackgroundShouldNotTriggerSave(() -> mParent.setVisibility(ViewGroup.INVISIBLE), [all …]
|
/cts/tests/fragment/src/android/fragment/cts/ |
D | FragmentViewTests.java | 29 import android.view.ViewGroup; 51 ViewGroup container = (ViewGroup) in addFragments() 97 ViewGroup container1 = (ViewGroup) in addTwoContainers() 99 ViewGroup container2 = (ViewGroup) in addTwoContainers() 171 ViewGroup container = (ViewGroup) in removeFragments() 229 ViewGroup container = (ViewGroup) in removeHiddenView() 255 ViewGroup container = (ViewGroup) in removeDetatchedView() 283 ViewGroup container = (ViewGroup) in addRemoveAdd() 315 ViewGroup container = (ViewGroup) in hideFragment() 373 ViewGroup container = (ViewGroup) in showFragment() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | TestAdapter.java | 28 import android.view.ViewGroup; 81 public View getView(int position, View convertView, ViewGroup parent) { in getView() 82 ViewGroup vg; in getView() 85 vg = (ViewGroup) convertView; in getView() 87 vg = (ViewGroup) inflater.inflate(R.layout.ble_test_item, null); in getView()
|
/cts/tests/inputmethod/testlauncher/src/android/view/inputmethod/ctstestlauncher/ |
D | LauncherActivity.java | 24 import android.view.ViewGroup; 65 setContentView(delegatorView, new ViewGroup.LayoutParams( in onCreate() 66 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
|
/cts/hostsidetests/webkit/app/src/com/android/cts/webkit/ |
D | WebViewStartupCtsActivity.java | 21 import android.view.ViewGroup; 44 ViewGroup vg = (ViewGroup)mWebView.getParent(); in detachAndDestroyWebView()
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/ |
D | WebViewTestActivity.java | 21 import android.view.ViewGroup; 49 if (parent instanceof ViewGroup) { in onDestroy() 50 ((ViewGroup) parent).removeView(mWebView); in onDestroy()
|
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/ |
D | TestFocusActivity.java | 23 import android.view.ViewGroup; 48 button.setLayoutParams(new ViewGroup.LayoutParams( in onCreate() 49 ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
|
/cts/tests/tests/dreams/CtsDreamOverlayTestApp/src/android/app/dream/cts/app/ |
D | DreamOverlayService.java | 22 import android.view.ViewGroup; 69 mLayout.setLayoutParams(new ViewGroup.LayoutParams( in addWindowOverlay() 70 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT)); in addWindowOverlay()
|