Home
last modified time | relevance | path

Searched refs:mLinearLayout (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
DRecentsHorizontalScrollView.java47 private LinearLayout mLinearLayout; field in RecentsHorizontalScrollView
69 return mLinearLayout.getWidth() - getWidth(); in scrollPositionOfMostRecent()
79 for (int i = 0; i < mLinearLayout.getChildCount(); i++) { in findViewForTask()
80 View v = mLinearLayout.getChildAt(i); in findViewForTask()
90 for (int i = 0; i < mLinearLayout.getChildCount(); i++) { in update()
91 View v = mLinearLayout.getChildAt(i); in update()
98 mLinearLayout.removeAllViews(); in update()
108 final View view = mAdapter.getView(i, old, mLinearLayout); in update()
154 mLinearLayout.addView(view); in update()
210 mLinearLayout.removeView(v); in onChildDismissed()
[all …]
DRecentsVerticalScrollView.java47 private LinearLayout mLinearLayout; field in RecentsVerticalScrollView
70 return mLinearLayout.getHeight() - getHeight() + getPaddingTop(); in scrollPositionOfMostRecent()
80 for (int i = 0; i < mLinearLayout.getChildCount(); i++) { in findViewForTask()
81 View v = mLinearLayout.getChildAt(i); in findViewForTask()
91 for (int i = 0; i < mLinearLayout.getChildCount(); i++) { in update()
92 View v = mLinearLayout.getChildAt(i); in update()
99 mLinearLayout.removeAllViews(); in update()
112 final View view = mAdapter.getView(i, old, mLinearLayout); in update()
163 mLinearLayout.addView(view); in update()
218 mLinearLayout.removeView(v); in onChildDismissed()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DListOfEditTexts.java34 private LinearLayout mLinearLayout; field in ListOfEditTexts
45 mLinearLayout = new LinearLayout(this); in onCreate()
46 mLinearLayout.setOrientation(LinearLayout.VERTICAL); in onCreate()
47 mLinearLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
58 mLinearLayout.addView(buttonAbove); in onCreate()
79 mLinearLayout.addView(mListView); in onCreate()
88 mLinearLayout.addView(buttonBelow); in onCreate()
90 setContentView(mLinearLayout); in onCreate()
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
DScrollViewButtonsAndLabels.java35 private LinearLayout mLinearLayout; field in ScrollViewButtonsAndLabels
45 return mLinearLayout; in getLinearLayout()
56 return (Button) mLinearLayout.getChildAt(2*groupNum); in getButton()
70 mLinearLayout = (LinearLayout) findViewById(R.id.layout); in onCreate()
82 mLinearLayout.addView(textView, p); in onCreate()
87 mLinearLayout.addView(button, p); in onCreate()
DScrollViewButtonsAndLabelsTest.java34 private LinearLayout mLinearLayout; field in ScrollViewButtonsAndLabelsTest
47 mLinearLayout = getActivity().getLinearLayout(); in setUp()
103 mLinearLayout.getHeight(), lastButton.getBottom()); in testArrowScrollDownToBottomElementOnScreen()
/frameworks/base/core/tests/coretests/src/android/util/
DListScenario.java76 private LinearLayout mLinearLayout; field in ListScenario
373 mLinearLayout = new LinearLayout(this); in onCreate()
380 mLinearLayout.addView(mHeaderTextView); in onCreate()
382 mLinearLayout.setOrientation(LinearLayout.VERTICAL); in onCreate()
383 mLinearLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
391 mLinearLayout.addView(mListView); in onCreate()
392 setContentView(mLinearLayout); in onCreate()
394 mLinearLayout = new LinearLayout(this); in onCreate()
395 mLinearLayout.setOrientation(LinearLayout.VERTICAL); in onCreate()
396 mLinearLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
[all …]
DScrollViewScenario.java44 private LinearLayout mLinearLayout; field in ScrollViewScenario
209 return mLinearLayout; in getLinearLayout()
225 return (T) mLinearLayout.getChildAt(index); in getContentChildAt()
244 mLinearLayout = new LinearLayout(this); in onCreate()
245 mLinearLayout.setOrientation(LinearLayout.VERTICAL); in onCreate()
259 mLinearLayout.addView(viewFactory.create(this), lp); in onCreate()
264 mScrollView.addView(mLinearLayout, new ViewGroup.LayoutParams( in onCreate()
/frameworks/base/core/tests/coretests/src/android/view/
DDrawableBgMinSizeTest.java46 private LinearLayout mLinearLayout; field in DrawableBgMinSizeTest
65 mLinearLayout = (LinearLayout) a.findViewById(R.id.linear_layout); in setUp()
77 assertNotNull(mLinearLayout); in testSetUpConditions()
97 doMinimumSizeTest(mLinearLayout); in testLinearLayoutMinimumSize()
134 doDiffBgMinimumSizeTest(mLinearLayout); in testLinearLayoutDiffBgMinimumSize()
DDrawableBgMinSize.java47 private LinearLayout mLinearLayout; field in DrawableBgMinSize
65 mLinearLayout = (LinearLayout) findViewById(R.id.linear_layout); in onCreate()
75 mLinearLayout.setBackgroundDrawable(newBg); in changeBackgrounds()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DSmartCamera.java65 private LinearLayout mLinearLayout; field in SmartCamera
161 mLinearLayout = (LinearLayout) findViewById(R.id.scrollViewLinearLayout); in onCreate()
171 mLinearLayout.removeViews(0,numImages); in onCreate()
178 mLinearLayout.addView(tmp); in onCreate()
193 mLinearLayout.addView(tmp); in onCreate()
/frameworks/base/docs/html/guide/topics/graphics/
D2d-graphics.jd231 LinearLayout mLinearLayout;
237 mLinearLayout = new LinearLayout(this);
247 mLinearLayout.addView(i);
248 setContentView(mLinearLayout);