Home
last modified time | relevance | path

Searched refs:FrameLayout (Results 1 – 25 of 221) 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()
DHardwareCanvasSurfaceViewActivity.java29 import android.widget.FrameLayout;
40 FrameLayout content = new FrameLayout(this); in onCreate()
45 content.addView(mSurfaceView, new FrameLayout.LayoutParams( in onCreate()
46 FrameLayout.LayoutParams.MATCH_PARENT, in onCreate()
47 FrameLayout.LayoutParams.MATCH_PARENT, 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()
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()
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()
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()
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()
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()
DRotate3dTextActivity.java25 import android.widget.FrameLayout;
43 FrameLayout container = new FrameLayout(this); in onCreate()
DBitmapsActivity.java33 import android.widget.FrameLayout;
41 final FrameLayout layout = new FrameLayout(this); in onCreate()
42 layout.addView(view, new FrameLayout.LayoutParams(480, 800, Gravity.CENTER)); in onCreate()
/frameworks/support/v4/java/android/support/v4/app/
DListFragment.java28 import android.widget.FrameLayout;
93 FrameLayout root = new FrameLayout(context); in onCreateView()
105 pframe.addView(progress, new FrameLayout.LayoutParams( in onCreateView()
108 root.addView(pframe, new FrameLayout.LayoutParams( in onCreateView()
113 FrameLayout lframe = new FrameLayout(context); in onCreateView()
119 lframe.addView(tv, new FrameLayout.LayoutParams( in onCreateView()
125 lframe.addView(lv, new FrameLayout.LayoutParams( in onCreateView()
128 root.addView(lframe, new FrameLayout.LayoutParams( in onCreateView()
133 root.setLayoutParams(new FrameLayout.LayoutParams( in onCreateView()
DFragmentTabHost.java29 import android.widget.FrameLayout;
53 private FrameLayout mRealTabContent;
154 addView(ll, new FrameLayout.LayoutParams( in ensureHierarchy()
165 FrameLayout fl = new FrameLayout(context); in ensureHierarchy()
169 mRealTabContent = fl = new FrameLayout(context); in ensureHierarchy()
213 mRealTabContent = (FrameLayout)findViewById(mContainerId); in ensureContent()
/frameworks/support/percent/src/android/support/percent/
DPercentFrameLayout.java23 import android.widget.FrameLayout;
65 public class PercentFrameLayout extends FrameLayout {
100 public static class LayoutParams extends FrameLayout.LayoutParams
125 public LayoutParams(FrameLayout.LayoutParams source) { in LayoutParams()
131 this((FrameLayout.LayoutParams) source); in LayoutParams()
/frameworks/support/v13/java/android/support/v13/app/
DFragmentTabHost.java32 import android.widget.FrameLayout;
45 private FrameLayout mRealTabContent;
146 addView(ll, new FrameLayout.LayoutParams( in ensureHierarchy()
157 FrameLayout fl = new FrameLayout(context); in ensureHierarchy()
161 mRealTabContent = fl = new FrameLayout(context); in ensureHierarchy()
205 mRealTabContent = (FrameLayout)findViewById(mContainerId); in ensureContent()
/frameworks/base/core/java/android/widget/
DFrameLayout.java60 public class FrameLayout extends ViewGroup { class
83 public FrameLayout(Context context) { in FrameLayout() method in FrameLayout
87 public FrameLayout(Context context, @Nullable AttributeSet attrs) { in FrameLayout() method in FrameLayout
91 public FrameLayout(Context context, @Nullable AttributeSet attrs, int defStyleAttr) { in FrameLayout() method in FrameLayout
95 public FrameLayout( in FrameLayout() method in FrameLayout
100 attrs, com.android.internal.R.styleable.FrameLayout, defStyleAttr, defStyleRes); in FrameLayout()
386 return new FrameLayout.LayoutParams(getContext(), attrs); in generateLayoutParams()
409 return FrameLayout.class.getName(); in getAccessibilityClassName()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DAppCompatActionBar.java34 import android.widget.FrameLayout;
59 assert contentView instanceof FrameLayout; in AppCompatActionBar() local
60 setContentRoot((FrameLayout) contentView); in AppCompatActionBar()
63 FrameLayout contentRoot = new FrameLayout(context); in AppCompatActionBar()
DBridgeActionBar.java32 import android.widget.FrameLayout;
49 @NonNull private FrameLayout mContentRoot;
98 protected void setContentRoot(@NonNull FrameLayout contentRoot) { in setContentRoot()
103 public FrameLayout getContentRoot() { in getContentRoot()

123456789