Home
last modified time | relevance | path

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

/aosp_15_r20/development/samples/ApiDemos/src/com/example/android/apis/view/
H A DLinearLayout8.java36 private LinearLayout mLinearLayout; field in LinearLayout8
54 mLinearLayout = (LinearLayout)findViewById(R.id.layout); in onCreate()
77 mLinearLayout.setOrientation(LinearLayout.VERTICAL); in onOptionsItemSelected()
80 mLinearLayout.setOrientation(LinearLayout.HORIZONTAL); in onOptionsItemSelected()
84 mLinearLayout.setVerticalGravity(Gravity.TOP); in onOptionsItemSelected()
87 mLinearLayout.setVerticalGravity(Gravity.CENTER_VERTICAL); in onOptionsItemSelected()
90 mLinearLayout.setVerticalGravity(Gravity.BOTTOM); in onOptionsItemSelected()
94 mLinearLayout.setHorizontalGravity(Gravity.LEFT); in onOptionsItemSelected()
97 mLinearLayout.setHorizontalGravity(Gravity.CENTER_HORIZONTAL); in onOptionsItemSelected()
100 mLinearLayout.setHorizontalGravity(Gravity.RIGHT); in onOptionsItemSelected()
/aosp_15_r20/cts/tests/tests/widget/src/android/widget/cts/util/
H A DListScenario.java76 private LinearLayout mLinearLayout; field in ListScenario
360 mLinearLayout = new LinearLayout(this); in onCreate()
367 mLinearLayout.addView(mHeaderTextView); in onCreate()
369 mLinearLayout.setOrientation(LinearLayout.VERTICAL); in onCreate()
370 mLinearLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
378 mLinearLayout.addView(mListView); in onCreate()
379 mLinearLayout.setFitsSystemWindows(true); in onCreate()
380 setContentView(mLinearLayout); in onCreate()
382 mLinearLayout = new LinearLayout(this); in onCreate()
383 mLinearLayout.setOrientation(LinearLayout.VERTICAL); in onCreate()
[all …]
/aosp_15_r20/frameworks/base/core/tests/coretests/src/android/widget/
H A DListScenario.java72 private LinearLayout mLinearLayout; field in ListScenario
370 mLinearLayout = new LinearLayout(this); in onCreate()
377 mLinearLayout.addView(mHeaderTextView); in onCreate()
379 mLinearLayout.setOrientation(LinearLayout.VERTICAL); in onCreate()
380 mLinearLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
388 mLinearLayout.addView(mListView); in onCreate()
389 setContentView(mLinearLayout); in onCreate()
391 mLinearLayout = new LinearLayout(this); in onCreate()
392 mLinearLayout.setOrientation(LinearLayout.VERTICAL); in onCreate()
393 mLinearLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
[all …]
H A DScrollViewScenario.java45 private LinearLayout mLinearLayout; field in ScrollViewScenario
210 return mLinearLayout; in getLinearLayout()
226 return (T) mLinearLayout.getChildAt(index); in getContentChildAt()
245 mLinearLayout = new LinearLayout(this); in onCreate()
246 mLinearLayout.setOrientation(LinearLayout.VERTICAL); in onCreate()
260 mLinearLayout.addView(viewFactory.create(this), lp); in onCreate()
265 mScrollView.addView(mLinearLayout, new ViewGroup.LayoutParams( in onCreate()
/aosp_15_r20/cts/tests/tests/view/src/android/view/cts/
H A DViewTreeObserverTest.java68 private LinearLayout mLinearLayout; field in ViewTreeObserverTest
89 mLinearLayout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); in setup()
105 mViewTreeObserver = mLinearLayout.getViewTreeObserver(); in testAddOnGlobalFocusChangeListener()
117 mViewTreeObserver = mLinearLayout.getViewTreeObserver(); in testAddOnGlobalLayoutListener()
128 mViewTreeObserver = mLinearLayout.getViewTreeObserver(); in testAddOnPreDrawListener()
139 mViewTreeObserver = mLinearLayout.getViewTreeObserver(); in testAddOnDrawListener()
150 mViewTreeObserver = mLinearLayout.getViewTreeObserver(); in testFrameCommitListener()
154 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mLinearLayout, () -> { in testFrameCommitListener()
198 mViewTreeObserver = mLinearLayout.getViewTreeObserver(); in testIsAlive()
205 mViewTreeObserver = mLinearLayout.getViewTreeObserver(); in testRemoveGlobalOnLayoutListener()
[all …]
/aosp_15_r20/development/apps/Development/src/com/android/development/
H A DDetails.java72 if (mLinearLayout != null) { in addDataViews()
73 mScrollView.removeView(mLinearLayout); in addDataViews()
75 mLinearLayout = new LinearLayout(this); in addDataViews()
76 mScrollView.addView(mLinearLayout, new ViewGroup.LayoutParams( in addDataViews()
79 mLinearLayout.setOrientation(LinearLayout.VERTICAL); in addDataViews()
90 mLinearLayout.addView(label, lazy()); in addDataViews()
91 mLinearLayout.addView(contents, lazy()); in addDataViews()
134 mLinearLayout.addView(error, 0, lazy());
153 LinearLayout mLinearLayout; field in Details
/aosp_15_r20/development/samples/ApiDemos/src/com/example/android/apis/media/
H A DAudioFxDemo.java53 private LinearLayout mLinearLayout; field in AudioFxDemo
65 mLinearLayout = new LinearLayout(this); in onCreate()
66 mLinearLayout.setOrientation(LinearLayout.VERTICAL); in onCreate()
67 mLinearLayout.addView(mStatusTextView); in onCreate()
69 setContentView(mLinearLayout); in onCreate()
103 mLinearLayout.addView(eqTextView); in setupEqualizerFxAndUI()
119 mLinearLayout.addView(freqTextView); in setupEqualizerFxAndUI()
159 mLinearLayout.addView(row); in setupEqualizerFxAndUI()
170 mLinearLayout.addView(mVisualizerView); in setupVisualizerFxAndUI()
/aosp_15_r20/frameworks/base/core/tests/coretests/src/android/widget/scroll/
H A DScrollViewButtonsAndLabels.java34 private LinearLayout mLinearLayout; field in ScrollViewButtonsAndLabels
44 return mLinearLayout; in getLinearLayout()
55 return (Button) mLinearLayout.getChildAt(2*groupNum); in getButton()
69 mLinearLayout = findViewById(R.id.layout); in onCreate()
81 mLinearLayout.addView(textView, p); in onCreate()
86 mLinearLayout.addView(button, p); in onCreate()
H A DScrollViewButtonsAndLabelsTest.java33 private LinearLayout mLinearLayout; field in ScrollViewButtonsAndLabelsTest
46 mLinearLayout = getActivity().getLinearLayout(); in setUp()
106 mLinearLayout.getHeight(), lastButton.getBottom()); in testArrowScrollDownToBottomElementOnScreen()
/aosp_15_r20/frameworks/base/core/tests/coretests/src/android/view/
H A DDrawableBgMinSizeTest.java45 private LinearLayout mLinearLayout; field in DrawableBgMinSizeTest
64 mLinearLayout = (LinearLayout) a.findViewById(R.id.linear_layout); in setUp()
76 assertNotNull(mLinearLayout); in testSetUpConditions()
96 doMinimumSizeTest(mLinearLayout); in testLinearLayoutMinimumSize()
133 doDiffBgMinimumSizeTest(mLinearLayout); in testLinearLayoutDiffBgMinimumSize()
H A DDrawableBgMinSize.java46 private LinearLayout mLinearLayout; field in DrawableBgMinSize
64 mLinearLayout = findViewById(R.id.linear_layout); in onCreate()
74 mLinearLayout.setBackgroundDrawable(newBg); in changeBackgrounds()
/aosp_15_r20/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DContrastSelectorPreferenceControllerTest.java60 private LinearLayout mLinearLayout; field in ContrastSelectorPreferenceControllerTest
75 when(mLayoutPreference.findViewById(anyInt())).thenReturn(mLinearLayout); in setUp()
105 verify(mLinearLayout, times(3)).setOnClickListener(any()); in displayPreference_shouldAddClickListener()
113 verify(mLinearLayout, times(2)).setSelected(true); in onContrastChanged_buttonShouldBeSelected()
/aosp_15_r20/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/ui/
DInsertRecordFragment.kt91 private lateinit var mLinearLayout: LinearLayout in <lambda>() variable in com.android.healthconnect.testapps.toolbox.ui.InsertRecordFragment
159 mLinearLayout = view.requireViewById(R.id.record_input_linear_layout) in <lambda>()
185 mLinearLayout.addView(timeField) in <lambda>()
248 mLinearLayout.addView(field) in <lambda>()
311 mLinearLayout.addView(field) in <lambda>()
333 mLinearLayout.addView(field) in <lambda>()
359 mLinearLayout.addView(field) in <lambda>()
/aosp_15_r20/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A 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()
/aosp_15_r20/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DBackgroundPreferenceTest.java55 private LinearLayout mLinearLayout = new LinearLayout(mContext); field in BackgroundPreferenceTest
65 doReturn(mLinearLayout).when(mViewHolder).findViewById(R.id.background); in setBackground_success()
70 verify(mLinearLayout).setBackground(any()); in setBackground_success()
/aosp_15_r20/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
H A DAudioAEC.java61 private LinearLayout mLinearLayout; field in AudioAEC
221 mLinearLayout = (LinearLayout)findViewById(R.id.audio_aec_test_layout); in onCreate()
222 enableUILayout(mLinearLayout, false); in onCreate()
271 enableUILayout(mLinearLayout, mDeviceHasAEC); in onCreate()
288 enableUILayout(mLinearLayout, false); in onClick()
295 enableUILayout(mLinearLayout, true); in onClick()
/aosp_15_r20/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/
DStyleChooser.java24 protected LinearLayout mLinearLayout; field in StyleChooser
39 mLinearLayout = (LinearLayout) mTopView.findViewById(R.id.listStyles); in setUp()
59 mLinearLayout.addView(button); in setUp()
DColorChooser.java25 protected LinearLayout mLinearLayout; field in ColorChooser
58 mLinearLayout = (LinearLayout) mTopView.findViewById(R.id.listStyles); in setUp()
/aosp_15_r20/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/fieldviews/
DListInputField.kt59 private var mLinearLayout: LinearLayout variable
66 mLinearLayout = requireViewById(R.id.list_input_linear_layout)
139 mLinearLayout.addView(rowLayout, 0) in addRow()
/aosp_15_r20/packages/apps/Settings/tests/robotests/src/com/android/settings/
DMainClearTest.java101 private LinearLayout mLinearLayout; field in MainClearTest
146 when(mScrollView.getChildAt(0)).thenReturn(mLinearLayout); in setUp()
610 when(mLinearLayout.getBottom()).thenReturn(childBottom); in initScrollView()
/aosp_15_r20/out/soong/.intermediates/packages/apps/Gallery2/Gallery2/android_common/javac/
DGallery2.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/util/ android/ ...
/aosp_15_r20/out/soong/.intermediates/packages/apps/Gallery2/Gallery2/android_common/withres/
DGallery2.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/activity_release.kotlin_module META ...
/aosp_15_r20/out/soong/.intermediates/packages/apps/Gallery2/Gallery2/android_common/jarjar/
DGallery2.jarorg/jspecify/annotations/Nullable.class Nullable.java package org.jspecify.annotations public ...
/aosp_15_r20/out/target/common/obj/APPS/Gallery2_intermediates/
Dclasses.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/activity_release.kotlin_module META ...
/aosp_15_r20/out/soong/.intermediates/packages/apps/Gallery2/Gallery2/android_common/combined/
DGallery2.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/activity_release.kotlin_module META ...