Home
last modified time | relevance | path

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

123456789

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DNinePatchesActivity.java23 import android.widget.FrameLayout;
31 FrameLayout layout = new FrameLayout(this); in onCreate()
33 b.setLayoutParams(new FrameLayout.LayoutParams(FrameLayout.LayoutParams.WRAP_CONTENT, in onCreate()
34 FrameLayout.LayoutParams.WRAP_CONTENT, Gravity.CENTER)); in onCreate()
DTimeDialogActivity.java25 import android.widget.FrameLayout;
33 FrameLayout layout = new FrameLayout(this); in onCreate()
35 b.setLayoutParams(new FrameLayout.LayoutParams(FrameLayout.LayoutParams.WRAP_CONTENT, in onCreate()
36 FrameLayout.LayoutParams.WRAP_CONTENT, Gravity.CENTER)); in onCreate()
DTextureViewActivity.java31 import android.widget.FrameLayout;
43 private FrameLayout mContent;
50 mContent = new FrameLayout(this); in onCreate()
91 mContent.addView(mTextureView, new FrameLayout.LayoutParams( in onCreate()
92 FrameLayout.LayoutParams.WRAP_CONTENT, FrameLayout.LayoutParams.WRAP_CONTENT, in onCreate()
94 mContent.addView(button, new FrameLayout.LayoutParams( in onCreate()
95 FrameLayout.LayoutParams.WRAP_CONTENT, FrameLayout.LayoutParams.WRAP_CONTENT, in onCreate()
106 mTextureView.setLayoutParams(new FrameLayout.LayoutParams( in onSurfaceTextureAvailable()
DGetBitmapActivity.java29 import android.widget.FrameLayout;
44 FrameLayout content = new FrameLayout(this); in onCreate()
73 content.addView(mTextureView, new FrameLayout.LayoutParams(500, 400, Gravity.CENTER)); in onCreate()
74 content.addView(button, new FrameLayout.LayoutParams( in onCreate()
75 FrameLayout.LayoutParams.WRAP_CONTENT, FrameLayout.LayoutParams.WRAP_CONTENT, in onCreate()
DMoreNinePatchesActivity.java27 import android.widget.FrameLayout;
35 FrameLayout layout = new FrameLayout(this); in onCreate()
37 b.setLayoutParams(new FrameLayout.LayoutParams(FrameLayout.LayoutParams.MATCH_PARENT, in onCreate()
38 FrameLayout.LayoutParams.MATCH_PARENT, Gravity.CENTER)); in onCreate()
DSimplePathsActivity.java23 import android.widget.FrameLayout;
31 FrameLayout layout = new FrameLayout(this); in onCreate()
33 layout.addView(text, new FrameLayout.LayoutParams(600, 350, Gravity.CENTER)); in onCreate()
DVideoViewCaptureActivity.java27 import android.widget.FrameLayout;
76 FrameLayout content = new FrameLayout(this); in onCreate()
84 content.addView(layout, new FrameLayout.LayoutParams( in onCreate()
85 FrameLayout.LayoutParams.MATCH_PARENT, in onCreate()
86 FrameLayout.LayoutParams.MATCH_PARENT)); in onCreate()
DGetBitmapSurfaceViewActivity.java31 import android.widget.FrameLayout;
45 FrameLayout content = new FrameLayout(this); in onCreate()
74 content.addView(mSurfaceView, new FrameLayout.LayoutParams(500, 400, Gravity.CENTER)); in onCreate()
75 content.addView(button, new FrameLayout.LayoutParams( in onCreate()
76 FrameLayout.LayoutParams.WRAP_CONTENT, FrameLayout.LayoutParams.WRAP_CONTENT, in onCreate()
DThinPatchesActivity.java28 import android.widget.FrameLayout;
36 FrameLayout layout = new FrameLayout(this); in onCreate()
38 b.setLayoutParams(new FrameLayout.LayoutParams(FrameLayout.LayoutParams.MATCH_PARENT, in onCreate()
39 FrameLayout.LayoutParams.MATCH_PARENT)); in onCreate()
DAnimated3dActivity.java29 import android.widget.FrameLayout;
41 setContentView(view, new FrameLayout.LayoutParams( in onCreate()
42 FrameLayout.LayoutParams.MATCH_PARENT, FrameLayout.LayoutParams.MATCH_PARENT in onCreate()
DGradientsActivity.java34 import android.widget.FrameLayout;
43 final FrameLayout layout = new FrameLayout(this); in onCreate()
69 layout.addView(gradientView, new FrameLayout.LayoutParams( in onCreate()
72 FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams(200, 200, Gravity.CENTER); in onCreate()
76 lp = new FrameLayout.LayoutParams(200, 200, Gravity.CENTER); in onCreate()
80 lp = new FrameLayout.LayoutParams(200, 200, Gravity.CENTER); in onCreate()
84 layout.addView(rotateView, new FrameLayout.LayoutParams( in onCreate()
85 300, FrameLayout.LayoutParams.WRAP_CONTENT, in onCreate()
DBitmaps3dActivity.java29 import android.widget.FrameLayout;
37 final FrameLayout layout = new FrameLayout(this); in onCreate()
38 layout.addView(view, new FrameLayout.LayoutParams(800, 400, Gravity.CENTER)); in onCreate()
DHardwareCanvasSurfaceViewActivity.java33 import android.widget.FrameLayout;
47 FrameLayout content = new FrameLayout(this); in onCreate()
83 content.addView(layout, new FrameLayout.LayoutParams( in onCreate()
84 FrameLayout.LayoutParams.MATCH_PARENT, in onCreate()
85 FrameLayout.LayoutParams.MATCH_PARENT)); in onCreate()
DViewFlipperActivity.java24 import android.widget.FrameLayout;
37 widget.setLayoutParams(new FrameLayout.LayoutParams(180, 180, Gravity.CENTER)); in onCreate()
53 FrameLayout layout = new FrameLayout(this); in onCreate()
DCanvasTextureViewActivity.java27 import android.widget.FrameLayout;
39 FrameLayout content = new FrameLayout(this); in onCreate()
45 content.addView(mTextureView, new FrameLayout.LayoutParams(500, 500, Gravity.CENTER)); in onCreate()
DBitmapsAlphaActivity.java29 import android.widget.FrameLayout;
37 final FrameLayout layout = new FrameLayout(this); in onCreate()
38 layout.addView(view, new FrameLayout.LayoutParams(480, 800, Gravity.CENTER)); in onCreate()
DHardwareCanvasTextureViewActivity.java28 import android.widget.FrameLayout;
40 FrameLayout content = new FrameLayout(this); in onCreate()
46 content.addView(mTextureView, new FrameLayout.LayoutParams(500, 500, Gravity.CENTER)); in onCreate()
DMovingSurfaceViewActivity.java30 import android.widget.FrameLayout;
83 FrameLayout content = new FrameLayout(this); in onCreate()
91 content.addView(mSurfaceView, new FrameLayout.LayoutParams( in onCreate()
DBitmapMutateActivity.java28 import android.widget.FrameLayout;
40 final FrameLayout layout = new FrameLayout(this); in onCreate()
42 layout.addView(view, new FrameLayout.LayoutParams(480, 800, Gravity.CENTER)); in onCreate()
/frameworks/base/apct-tests/perftests/core/src/android/view/
DViewPerfTest.java22 import android.widget.FrameLayout;
42 FrameLayout root = new FrameLayout(context); in testSimpleViewInflate()
53 FrameLayout root = new FrameLayout(context); in testTwelveKeyInflate()
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/view/
DHeaderRecyclerView.java28 import android.widget.FrameLayout;
129 FrameLayout frameLayout = new FrameLayout(parent.getContext()); in onCreateViewHolder()
130 FrameLayout.LayoutParams params = in onCreateViewHolder()
131 new FrameLayout.LayoutParams( in onCreateViewHolder()
132 FrameLayout.LayoutParams.MATCH_PARENT, FrameLayout.LayoutParams.WRAP_CONTENT); in onCreateViewHolder()
154 FrameLayout mHeaderParent = (FrameLayout) holder.itemView; in onBindViewHolder()
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/items/
DRecyclerItemAdapterTest.java36 import android.widget.FrameLayout;
126 FrameLayout parent = new FrameLayout(InstrumentationRegistry.getContext()); in testCreateViewHolder()
136 FrameLayout parent = new FrameLayout(InstrumentationRegistry.getContext()); in testCreateViewHolderNoBackground()
146 FrameLayout parent = new FrameLayout(InstrumentationRegistry.getContext()); in testCreateViewHolderWithExistingBackground()
/frameworks/base/core/java/com/android/internal/app/
DMicroAlertController.java26 import android.widget.FrameLayout;
63 FrameLayout.LayoutParams topParams = in setupContent()
64 new FrameLayout.LayoutParams(topPanel.getLayoutParams()); in setupContent()
71 FrameLayout.LayoutParams buttonParams = in setupContent()
72 new FrameLayout.LayoutParams(buttonPanel.getLayoutParams()); in setupContent()
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
DToolbarView.kt24 import android.widget.FrameLayout
26 class ToolbarView : FrameLayout {
51 var lp = layoutParams as FrameLayout.LayoutParams? in onApplyWindowInsets()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNavigationBarInflaterViewTest.java29 import android.widget.FrameLayout;
65 mNavBarInflaterView.mVertical = mock(FrameLayout.class); in initializeViews()
66 mNavBarInflaterView.mHorizontal = mock(FrameLayout.class); in initializeViews()
71 private void initializeLayout(FrameLayout layout) { in initializeLayout()

123456789