Home
last modified time | relevance | path

Searched refs:linearLayout (Results 1 – 10 of 10) sorted by relevance

/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DNoIdTest.java42 LinearLayout linearLayout = (LinearLayout) mBinder.getRoot(); in testOnRoot() local
43 assertEquals(LinearLayout.VERTICAL, linearLayout.getOrientation()); in testOnRoot()
46 assertEquals(LinearLayout.HORIZONTAL, linearLayout.getOrientation()); in testOnRoot()
51 LinearLayout linearLayout = (LinearLayout) mBinder.getRoot(); in testNormal() local
52 TextView view = (TextView) linearLayout.getChildAt(0); in testNormal()
62 LinearLayout linearLayout = (LinearLayout) mBinder.getRoot(); in testNoTag() local
63 TextView view = (TextView) linearLayout.getChildAt(1); in testNoTag()
69 LinearLayout linearLayout = (LinearLayout) mBinder.getRoot(); in testResourceTag() local
70 TextView view = (TextView) linearLayout.getChildAt(2); in testResourceTag()
77 LinearLayout linearLayout = (LinearLayout) mBinder.getRoot(); in testAndroidResourceTag() local
[all …]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DMarqueeActivity.java34 final LinearLayout linearLayout = new LinearLayout(this); in onCreate() local
35 linearLayout.setOrientation(LinearLayout.VERTICAL); in onCreate()
42 linearLayout.addView(text1, new LinearLayout.LayoutParams( in onCreate()
52 linearLayout.addView(text2, params); in onCreate()
54 setContentView(linearLayout); in onCreate()
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DTestResultActivity.java48 final LinearLayout linearLayout = new LinearLayout(this); in onCreate() local
49 linearLayout.setOrientation(LinearLayout.VERTICAL); in onCreate()
50 setContentView(linearLayout); in onCreate()
54 linearLayout.addView( in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DHardwareUiLayout.java172 LinearLayout linearLayout = (LinearLayout) mChild; in rotate() local
174 swapOrder(linearLayout); in rotate()
176 linearLayout.setOrientation(LinearLayout.HORIZONTAL); in rotate()
183 LinearLayout linearLayout = (LinearLayout) mChild; in rotate() local
185 swapOrder(linearLayout); in rotate()
187 linearLayout.setOrientation(LinearLayout.VERTICAL); in rotate()
193 private void swapOrder(LinearLayout linearLayout) { in swapOrder() argument
195 for (int i = 0; i < linearLayout.getChildCount(); i++) { in swapOrder()
196 children.add(0, linearLayout.getChildAt(0)); in swapOrder()
197 linearLayout.removeViewAt(0); in swapOrder()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DScreenPinningRequest.java253 LinearLayout linearLayout = (LinearLayout) group; in swapChildrenIfRtlAndVertical() local
254 if (linearLayout.getOrientation() == LinearLayout.VERTICAL) { in swapChildrenIfRtlAndVertical()
255 int childCount = linearLayout.getChildCount(); in swapChildrenIfRtlAndVertical()
258 childList.add(linearLayout.getChildAt(i)); in swapChildrenIfRtlAndVertical()
260 linearLayout.removeAllViews(); in swapChildrenIfRtlAndVertical()
262 linearLayout.addView(childList.get(i)); in swapChildrenIfRtlAndVertical()
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/
DR$id.classR.java package com.android.layoutlib.test.myapplication public final com.android. ...
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarIconController.java71 public DarkIconManager(LinearLayout linearLayout) { in DarkIconManager() argument
72 super(linearLayout); in DarkIconManager()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DFocusSearchNavigationTest.java104 LinearLayout linearLayout = (LinearLayout) mActivity.findViewById(R.id.root); in setup()
105 linearLayout.setOrientation(mOrientation); in setup()
DRecyclerViewLayoutTest.java343 LinearLayout linearLayout = new LinearLayout(parent.getContext()); in predictiveMeasuredCrashTest()
344 linearLayout.setOrientation(LinearLayout.VERTICAL); in predictiveMeasuredCrashTest()
345 parent.addView(linearLayout, in predictiveMeasuredCrashTest()
348 linearLayout.addView(rv, ViewGroup.LayoutParams.MATCH_PARENT, in predictiveMeasuredCrashTest()
/frameworks/base/core/java/android/widget/
DEditor.java2937 LinearLayout linearLayout = new LinearLayout(mTextView.getContext()); in initContentView() local
2938 linearLayout.setOrientation(LinearLayout.HORIZONTAL); in initContentView()
2939 mContentView = linearLayout; in initContentView()