Home
last modified time | relevance | path

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

/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DStretchShaderActivity.java68 LinearLayout linearLayout = new LinearLayout(this); in onCreate() local
69 linearLayout.setOrientation(LinearLayout.VERTICAL); in onCreate()
237 linearLayout.addView(mImageView, in onCreate()
243 linearLayout.addView(overscrollXText, in onCreate()
248 linearLayout.addView(overscrollXBar, in onCreate()
255 linearLayout.addView(overscrollYText, in onCreate()
260 linearLayout.addView(overscrollYBar, in onCreate()
267 linearLayout.addView(scrollXText, in onCreate()
273 linearLayout.addView(scrollXSeekBar, in onCreate()
279 linearLayout.addView(scrollYText, in onCreate()
[all …]
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()
DColorBitmapActivity.java158 LinearLayout linearLayout = new LinearLayout(this); in onCreate() local
159 linearLayout.setOrientation(LinearLayout.VERTICAL); in onCreate()
190 linearLayout.addView(spinnerLayout, new LinearLayout.LayoutParams( in onCreate()
194 linearLayout.addView(imageViewText, new LinearLayout.LayoutParams( in onCreate()
197 linearLayout.addView(mImageView, new LinearLayout.LayoutParams(WIDTH, HEIGHT)); in onCreate()
198 linearLayout.addView(textureViewText, new LinearLayout.LayoutParams( in onCreate()
201 linearLayout.addView(mTextureView, new LinearLayout.LayoutParams(WIDTH, HEIGHT)); in onCreate()
202 linearLayout.addView(surfaceViewText, new LinearLayout.LayoutParams( in onCreate()
205 linearLayout.addView(mSurfaceView, new LinearLayout.LayoutParams(WIDTH, HEIGHT)); in onCreate()
207 setContentView(linearLayout); in onCreate()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/screenshot/scroll/
DScrollViewActivity.java33 LinearLayout linearLayout = new LinearLayout(this); in onCreate() local
34 linearLayout.setOrientation(LinearLayout.VERTICAL); in onCreate()
38 linearLayout.addView(text); in onCreate()
39 scrollView.addView(linearLayout); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSScrollLayout.java52 LinearLayout linearLayout = new LinearLayout(mContext); in QSScrollLayout() local
53 linearLayout.setLayoutParams(new LinearLayout.LayoutParams( in QSScrollLayout()
56 linearLayout.setOrientation(LinearLayout.VERTICAL); in QSScrollLayout()
58 linearLayout.addView(view); in QSScrollLayout()
60 addView(linearLayout); in QSScrollLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DDragToInteractView.kt156 val linearLayout = LinearLayout(context) in setup() constant
157 linearLayout.layoutParams = in setup()
162 linearLayout.weightSum = 0f in setup()
163 addView(linearLayout) in setup()
166 addSpace(linearLayout) in setup()
171 linearLayout in setup()
177 linearLayout in setup()
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DNotificationOptimizedLinearLayoutComparisonTest.java282 final LinearLayout linearLayout; in buildLayout() local
284 linearLayout = new NotificationOptimizedLinearLayout(mContext); in buildLayout()
286 linearLayout = new LinearLayout(mContext); in buildLayout()
289 linearLayout.addView(children.get(i)); in buildLayout()
291 return linearLayout; in buildLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DScreenPinningRequest.java366 LinearLayout linearLayout = (LinearLayout) group; in swapChildrenIfRtlAndVertical() local
367 if (linearLayout.getOrientation() == LinearLayout.VERTICAL) { in swapChildrenIfRtlAndVertical()
368 int childCount = linearLayout.getChildCount(); in swapChildrenIfRtlAndVertical()
371 childList.add(linearLayout.getChildAt(i)); in swapChildrenIfRtlAndVertical()
373 linearLayout.removeAllViews(); in swapChildrenIfRtlAndVertical()
375 linearLayout.addView(childList.get(i)); in swapChildrenIfRtlAndVertical()
/frameworks/base/packages/SettingsLib/BannerMessagePreference/src/com/android/settingslib/widget/
DBannerMessagePreference.java297 LinearLayout linearLayout = (LinearLayout) buttonFrame; in onBindViewHolder() local
298 if (mButtonOrientation != linearLayout.getOrientation()) { in onBindViewHolder()
299 int childCount = linearLayout.getChildCount(); in onBindViewHolder()
302 View child = linearLayout.getChildAt(i); in onBindViewHolder()
303 linearLayout.removeViewAt(i); in onBindViewHolder()
304 linearLayout.addView(child); in onBindViewHolder()
306 linearLayout.setOrientation(mButtonOrientation); in onBindViewHolder()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DPrimarySwitchPreference.java76 if (widgetFrame instanceof LinearLayout linearLayout) { in onBindViewHolder()
77 linearLayout.setGravity(Gravity.END | Gravity.CENTER_VERTICAL); in onBindViewHolder()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ui/
DDarkIconManager.java52 @Assisted LinearLayout linearLayout, in DarkIconManager()
61 super(linearLayout, in DarkIconManager()
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/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/keyboard/backlight/ui/view/
DKeyboardBacklightDialog.kt202 val linearLayout = in <lambda>() constant
223 linearLayout.background = drawable in <lambda>()
224 return linearLayout in <lambda>()
/frameworks/base/core/java/android/widget/
DEditor.java3678 LinearLayout linearLayout = new LinearLayout(mTextView.getContext()); in initContentView() local
3679 linearLayout.setOrientation(LinearLayout.HORIZONTAL); in initContentView()
3680 mContentView = linearLayout; in initContentView()