Searched refs:linearLayout (Results 1 – 10 of 10) sorted by relevance
42 LinearLayout linearLayout = (LinearLayout) mBinder.getRoot(); in testOnRoot() local43 assertEquals(LinearLayout.VERTICAL, linearLayout.getOrientation()); in testOnRoot()46 assertEquals(LinearLayout.HORIZONTAL, linearLayout.getOrientation()); in testOnRoot()51 LinearLayout linearLayout = (LinearLayout) mBinder.getRoot(); in testNormal() local52 TextView view = (TextView) linearLayout.getChildAt(0); in testNormal()62 LinearLayout linearLayout = (LinearLayout) mBinder.getRoot(); in testNoTag() local63 TextView view = (TextView) linearLayout.getChildAt(1); in testNoTag()69 LinearLayout linearLayout = (LinearLayout) mBinder.getRoot(); in testResourceTag() local70 TextView view = (TextView) linearLayout.getChildAt(2); in testResourceTag()77 LinearLayout linearLayout = (LinearLayout) mBinder.getRoot(); in testAndroidResourceTag() local[all …]
34 final LinearLayout linearLayout = new LinearLayout(this); in onCreate() local35 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()
48 final LinearLayout linearLayout = new LinearLayout(this); in onCreate() local49 linearLayout.setOrientation(LinearLayout.VERTICAL); in onCreate()50 setContentView(linearLayout); in onCreate()54 linearLayout.addView( in onCreate()
172 LinearLayout linearLayout = (LinearLayout) mChild; in rotate() local174 swapOrder(linearLayout); in rotate()176 linearLayout.setOrientation(LinearLayout.HORIZONTAL); in rotate()183 LinearLayout linearLayout = (LinearLayout) mChild; in rotate() local185 swapOrder(linearLayout); in rotate()187 linearLayout.setOrientation(LinearLayout.VERTICAL); in rotate()193 private void swapOrder(LinearLayout linearLayout) { in swapOrder() argument195 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 …]
253 LinearLayout linearLayout = (LinearLayout) group; in swapChildrenIfRtlAndVertical() local254 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()
R.java package com.android.layoutlib.test.myapplication public final com.android. ...
71 public DarkIconManager(LinearLayout linearLayout) { in DarkIconManager() argument72 super(linearLayout); in DarkIconManager()
104 LinearLayout linearLayout = (LinearLayout) mActivity.findViewById(R.id.root); in setup()105 linearLayout.setOrientation(mOrientation); in setup()
343 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()
2937 LinearLayout linearLayout = new LinearLayout(mTextView.getContext()); in initContentView() local2938 linearLayout.setOrientation(LinearLayout.HORIZONTAL); in initContentView()2939 mContentView = linearLayout; in initContentView()