/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/television/ |
PermissionsFrameFragment.java | 27 import android.view.ViewGroup; 41 private ViewGroup mPreferencesContainer; 47 private ViewGroup mPrefsView; 54 protected final ViewGroup getPreferencesContainer() { 59 public View onCreateView(LayoutInflater inflater, ViewGroup container, 61 ViewGroup rootView = (ViewGroup) inflater.inflate(R.layout.permissions_frame, container, 63 mPrefsView = (ViewGroup) rootView.findViewById(R.id.prefs_container); 68 mPreferencesContainer = (ViewGroup) super.onCreateView( 134 public RecyclerView onCreateRecyclerView(LayoutInflater inflater, ViewGroup parent [all...] |
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/transition/ |
FadeAndShortSlide.java | 32 import android.view.ViewGroup; 53 float getGoneX(FadeAndShortSlide t, ViewGroup sceneRoot, View view, int[] position) { 58 float getGoneY(FadeAndShortSlide t, ViewGroup sceneRoot, View view, int[] position) { 63 float getHorizontalDistance(ViewGroup sceneRoot) { 67 float getVerticalDistance(ViewGroup sceneRoot) { 73 public float getGoneX(FadeAndShortSlide t, ViewGroup sceneRoot, View view, int[] position) { 87 public float getGoneX(FadeAndShortSlide t, ViewGroup sceneRoot, View view, int[] position) { 101 public float getGoneX(FadeAndShortSlide t, ViewGroup sceneRoot, View view, int[] position) { 117 public float getGoneY(FadeAndShortSlide t, ViewGroup sceneRoot, View view, int[] position) { 124 public float getGoneY(FadeAndShortSlide t, ViewGroup sceneRoot, View view, int[] position) [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
FrameLayoutTest.java | 41 import android.view.ViewGroup; 191 ViewGroup.LayoutParams p = new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, 192 ViewGroup.LayoutParams.WRAP_CONTENT); 194 ViewGroup.LayoutParams params = myFrameLayout.generateLayoutParams(p); 197 assertEquals(ViewGroup.LayoutParams.MATCH_PARENT, params.width); 198 assertEquals(ViewGroup.LayoutParams.WRAP_CONTENT, params.height); 206 assertEquals(ViewGroup.LayoutParams.MATCH_PARENT, params.width); 207 assertEquals(ViewGroup.LayoutParams.MATCH_PARENT, params.height) [all...] |
/cts/tests/tests/widget/src/android/widget/cts/util/ |
ListScenario.java | 30 import android.view.ViewGroup; 315 mListView.setLayoutParams(new ViewGroup.LayoutParams( 316 ViewGroup.LayoutParams.MATCH_PARENT, 317 ViewGroup.LayoutParams.MATCH_PARENT)); 376 ViewGroup.LayoutParams.MATCH_PARENT, 377 ViewGroup.LayoutParams.WRAP_CONTENT)); 381 mLinearLayout.setLayoutParams(new ViewGroup.LayoutParams( 382 ViewGroup.LayoutParams.MATCH_PARENT, 383 ViewGroup.LayoutParams.MATCH_PARENT)); 385 ViewGroup.LayoutParams.MATCH_PARENT [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
ListScenario.java | 23 import android.view.ViewGroup; 317 mListView.setLayoutParams(new ViewGroup.LayoutParams( 318 ViewGroup.LayoutParams.MATCH_PARENT, 319 ViewGroup.LayoutParams.MATCH_PARENT)); 378 ViewGroup.LayoutParams.MATCH_PARENT, 379 ViewGroup.LayoutParams.WRAP_CONTENT)); 383 mLinearLayout.setLayoutParams(new ViewGroup.LayoutParams( 384 ViewGroup.LayoutParams.MATCH_PARENT, 385 ViewGroup.LayoutParams.MATCH_PARENT)); 387 ViewGroup.LayoutParams.MATCH_PARENT [all...] |
/development/apps/Development/src/com/android/development/ |
Details.java | 30 import android.view.ViewGroup; 76 mScrollView.addView(mLinearLayout, new ViewGroup.LayoutParams( 77 ViewGroup.LayoutParams.MATCH_PARENT, 78 ViewGroup.LayoutParams.MATCH_PARENT)); 111 return new LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, 112 ViewGroup.LayoutParams.WRAP_CONTENT, 0);
|
/frameworks/base/core/java/android/preference/ |
EditTextPreference.java | 28 import android.view.ViewGroup; 121 ((ViewGroup) oldParent).removeView(editText); 133 ViewGroup container = (ViewGroup) dialogView 136 container.addView(editText, ViewGroup.LayoutParams.MATCH_PARENT, 137 ViewGroup.LayoutParams.WRAP_CONTENT);
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/ |
DocumentHolder.java | 29 import android.view.ViewGroup; 52 public DocumentHolder(Context context, ViewGroup parent, int layout) { 162 if (itemView instanceof ViewGroup) { 163 final ViewGroup vg = (ViewGroup) itemView; 170 private static View inflateLayout(Context context, ViewGroup parent, int layout) {
|
/frameworks/support/fragment/tests/java/android/support/v4/app/ |
FragmentTest.java | 27 import android.view.ViewGroup; 131 ViewGroup content = (ViewGroup) mActivity.findViewById(R.id.content); 153 public View onCreateView(LayoutInflater inflater, ViewGroup container, 161 public View onCreateView(LayoutInflater inflater, ViewGroup container, 169 public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
AsyncListUtilActivity.java | 31 import android.view.ViewGroup; 53 final ViewGroup.LayoutParams layoutParams = new ViewGroup.LayoutParams( 54 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT); 90 public TextViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
PersistentFocusWrapper.java | 26 import android.view.ViewGroup; 58 ViewGroup wrapper = (ViewGroup) getChildAt(0); 110 mSelectedPosition = view == null ? -1 : ((ViewGroup) child).indexOfChild(view); 117 ViewGroup wrapper = (ViewGroup) getChildAt(0);
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
GridLayoutManagerCustomSizeInScrollDirectionTest.java | 26 import android.view.ViewGroup; 75 ViewGroup.MarginLayoutParams layoutParams = (ViewGroup.MarginLayoutParams) 78 layoutParams = new ViewGroup.MarginLayoutParams( 79 ViewGroup.LayoutParams.WRAP_CONTENT, 80 ViewGroup.LayoutParams.WRAP_CONTENT);
|
/packages/apps/TV/src/com/android/tv/menu/ |
MenuRowView.java | 27 import android.view.ViewGroup; 124 if (mContentsView instanceof ViewGroup) { 125 setOnFocusChangeListenerToChildren((ViewGroup) mContentsView); 134 private void setOnFocusChangeListenerToChildren(ViewGroup parent) { 141 if (child instanceof ViewGroup) { 142 setOnFocusChangeListenerToChildren((ViewGroup) child);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/ |
ProgressDialogFragment.java | 28 import android.view.ViewGroup; 45 public @Nullable View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, 47 final ViewGroup view = 48 (ViewGroup) inflater.inflate(R.layout.progress_fragment, container, false); 57 final ViewGroup.LayoutParams params = view.getLayoutParams(); 118 final ViewGroup.LayoutParams params = root.getLayoutParams();
|
/development/samples/ApiDemos/tests/src/com/example/android/apis/view/ |
Focus2AndroidTest.java | 27 import android.view.ViewGroup; 59 private ViewGroup mRoot; 74 mRoot = (ViewGroup) inflater.inflate(R.layout.focus_2, null);
|
/development/samples/devbytes/animation/LayoutTransChanging/src/com/example/android/layouttranschanging/ |
LayoutTransChanging.java | 24 import android.view.ViewGroup; 94 ViewGroup.LayoutParams.MATCH_PARENT, 50); 97 ViewGroup.LayoutParams.MATCH_PARENT, 200);
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowLayoutInflater.java | 7 import android.view.ViewGroup; 42 public View inflate(int resource, ViewGroup root, boolean attachToRoot) { 47 public View inflate(int resource, ViewGroup root) {
|
/frameworks/base/core/java/android/widget/ |
ResourceCursorAdapter.java | 24 import android.view.ViewGroup; 111 * @see #newDropDownView(Context, Cursor, ViewGroup) 131 * android.database.Cursor, ViewGroup) 134 public View newView(Context context, Cursor cursor, ViewGroup parent) { 139 public View newDropDownView(Context context, Cursor cursor, ViewGroup parent) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
ReverseLinearLayout.java | 22 import android.view.ViewGroup; 60 public void addView(View child, ViewGroup.LayoutParams params) { 103 private void reversParams(ViewGroup.LayoutParams params) {
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
CrossFadeDemo.java | 22 import android.view.ViewGroup; 31 ViewGroup mSceneRoot; 42 mSceneRoot = (ViewGroup) container.getParent();
|
Demo1.java | 23 import android.view.ViewGroup; 32 ViewGroup mSceneRoot; 44 mSceneRoot = (ViewGroup) container.getParent();
|
Demo2.java | 21 import android.view.ViewGroup; 30 ViewGroup mSceneRoot; 42 mSceneRoot = (ViewGroup) container.getParent();
|
Demo4.java | 22 import android.view.ViewGroup; 31 ViewGroup mSceneRoot; 42 mSceneRoot = (ViewGroup) container.getParent();
|
FadingTest.java | 21 import android.view.ViewGroup; 32 ViewGroup mSceneRoot; 47 mSceneRoot = (ViewGroup) container.getParent();
|
ResourceLoadingTest.java | 21 import android.view.ViewGroup; 32 ViewGroup mSceneRoot; 43 mSceneRoot = (ViewGroup) container.getParent();
|