/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
BigEditTextActivityNonScrollablePanScan.java | 24 import android.view.ViewGroup; 41 mRootView.setLayoutParams(new ViewGroup.LayoutParams( 42 ViewGroup.LayoutParams.MATCH_PARENT, 43 ViewGroup.LayoutParams.MATCH_PARENT));
|
BigEditTextActivityNonScrollableResize.java | 24 import android.view.ViewGroup; 41 mRootView.setLayoutParams(new ViewGroup.LayoutParams( 42 ViewGroup.LayoutParams.MATCH_PARENT, 43 ViewGroup.LayoutParams.MATCH_PARENT));
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
CrossfadeImage.java | 21 import android.view.ViewGroup; 31 ViewGroup mSceneRoot; 44 ViewGroup container = (ViewGroup) findViewById(R.id.container);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
OnChildViewHolderSelectedListener.java | 19 import android.view.ViewGroup; 23 * ViewGroup has been selected. 27 * Callback method to be invoked when a child of this ViewGroup has been
|
PresenterSwitcher.java | 17 import android.view.ViewGroup; 26 private ViewGroup mParent; 36 public void init(ViewGroup parent, PresenterSelector presenterSelector) { 60 public final ViewGroup getParentViewGroup() {
|
Presenter.java | 17 import android.view.ViewGroup; 45 * public ViewHolder onCreateViewHolder(ViewGroup parent) { 121 public abstract ViewHolder onCreateViewHolder(ViewGroup parent); 171 if (view instanceof ViewGroup) { 172 final int count = ((ViewGroup) view).getChildCount(); 174 cancelAnimationsRecursive(((ViewGroup) view).getChildAt(i));
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/ |
StringPresenter.java | 19 import android.view.ViewGroup; 30 public ViewHolder onCreateViewHolder(ViewGroup parent) { 35 tv.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, 200));
|
/frameworks/support/v17/preference-leanback/src/android/support/v17/preference/ |
LeanbackPreferenceFragment.java | 23 import android.view.ViewGroup; 50 public View onCreateView(LayoutInflater inflater, ViewGroup container, 53 final ViewGroup innerContainer = (ViewGroup) view.findViewById(R.id.main_frame);
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
PhotoPageProgressBar.java | 21 import android.view.ViewGroup; 22 import android.view.ViewGroup.LayoutParams; 28 private ViewGroup mContainer; 34 mContainer = (ViewGroup) inflater.inflate(R.layout.photopage_progress_bar, parentLayout,
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/television/ |
SettingsWithHeader.java | 25 import android.view.ViewGroup; 41 public View onCreateView(LayoutInflater inflater, ViewGroup container, 43 ViewGroup root = (ViewGroup) super.onCreateView(inflater, container, savedInstanceState);
|
/packages/apps/StorageManager/src/com/android/storagemanager/ |
DeletionHelperActivity.java | 24 import android.view.ViewGroup; 33 private ViewGroup mButtonBar; 51 mButtonBar = (ViewGroup) findViewById(R.id.button_bar); 64 public ViewGroup getButtonBar() {
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
AdjacentListsWithAdjacentISVsInside.java | 24 import android.view.ViewGroup; 47 ((ViewGroup) mLeftListView.getChildAt(0)).getChildAt(0); 52 ((ViewGroup) mLeftListView.getChildAt(0)).getChildAt(1); 57 ((ViewGroup) mRightListView.getChildAt(0)).getChildAt(0); 62 ((ViewGroup) mRightListView.getChildAt(0)).getChildAt(1); 93 new LinearLayout.LayoutParams(0, ViewGroup.LayoutParams.WRAP_CONTENT, 1.0f); 121 public View getView(int position, View convertView, ViewGroup parent) {
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
BaseMenuPresenter.java | 24 import android.view.ViewGroup; 70 public MenuView getMenuView(ViewGroup root) { 84 final ViewGroup parent = (ViewGroup) mMenuView; 127 final ViewGroup currentParent = (ViewGroup) itemView.getParent(); 131 ((ViewGroup) mMenuView).addView(itemView, childIndex); 140 protected boolean filterLeftoverView(ViewGroup parent, int childIndex) { 158 public MenuView.ItemView createItemView(ViewGroup parent) { 173 public View getItemView(MenuItemImpl item, View convertView, ViewGroup parent) [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
BaseMenuPresenter.java | 23 import android.view.ViewGroup; 72 public MenuView getMenuView(ViewGroup root) { 86 final ViewGroup parent = (ViewGroup) mMenuView; 129 final ViewGroup currentParent = (ViewGroup) itemView.getParent(); 133 ((ViewGroup) mMenuView).addView(itemView, childIndex); 142 protected boolean filterLeftoverView(ViewGroup parent, int childIndex) { 160 public MenuView.ItemView createItemView(ViewGroup parent) { 175 public View getItemView(MenuItemImpl item, View convertView, ViewGroup parent) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
TestAdapter.java | 28 import android.view.ViewGroup; 77 public View getView(int position, View convertView, ViewGroup parent) { 78 ViewGroup vg; 81 vg = (ViewGroup) convertView; 83 vg = (ViewGroup) inflater.inflate(R.layout.ble_test_item, null);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
MyGallery.java | 23 import android.view.ViewGroup; 53 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) { 78 protected ViewGroup.LayoutParams generateDefaultLayoutParams() { 83 protected ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) {
|
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/ |
LayoutChangesActivity.java | 27 import android.view.ViewGroup; 33 * a {@link ViewGroup}. 43 private ViewGroup mContainerView; 50 mContainerView = (ViewGroup) findViewById(R.id.container); 81 final ViewGroup newView = (ViewGroup) LayoutInflater.from(this).inflate(
|
/frameworks/base/core/java/android/transition/ |
TransitionManager.java | 23 import android.view.ViewGroup; 53 * {@link Scene#getSceneForLayout(ViewGroup, int, Context)}. For the 75 private static ThreadLocal<WeakReference<ArrayMap<ViewGroup, ArrayList<Transition>>>> 77 new ThreadLocal<WeakReference<ArrayMap<ViewGroup, ArrayList<Transition>>>>(); 78 private static ArrayList<ViewGroup> sPendingTransitions = new ArrayList<ViewGroup>(); 153 ViewGroup sceneRoot = scene.getSceneRoot(); 183 final ViewGroup sceneRoot = scene.getSceneRoot(); 207 private static ArrayMap<ViewGroup, ArrayList<Transition>> getRunningTransitions() { 208 WeakReference<ArrayMap<ViewGroup, ArrayList<Transition>>> runningTransitions [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/ |
FrameLayoutMarginTest.java | 24 import android.view.ViewGroup; 65 ((ViewGroup.MarginLayoutParams) mLeftView.getLayoutParams()).leftMargin); 71 ((ViewGroup.MarginLayoutParams) mRightView.getLayoutParams()).rightMargin); 77 ((ViewGroup.MarginLayoutParams) mTopView.getLayoutParams()).topMargin); 83 ((ViewGroup.MarginLayoutParams) mBottomView.getLayoutParams()).bottomMargin);
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
InvalidateActivity.java | 28 import android.view.ViewGroup; 71 ViewGroup root = (ViewGroup) findViewById(R.id.invalidate_root); 73 ViewGroup row = (ViewGroup) root.getChildAt(y);
|
/frameworks/support/transition/src/android/support/transition/ |
Scene.java | 26 import android.view.ViewGroup; 61 public Scene(@NonNull ViewGroup sceneRoot) { 76 public Scene(@NonNull ViewGroup sceneRoot, @NonNull View layout) { 101 public static Scene getSceneForLayout(@NonNull ViewGroup sceneRoot, @LayoutRes int layoutId, 138 public ViewGroup getSceneRoot() { 182 * @see android.support.transition.Scene(android.view.ViewGroup, android.view.ViewGroup) 202 * @see android.support.transition.Scene(android.view.ViewGroup, android.view.ViewGroup)
|
/packages/apps/Settings/src/com/android/settings/applications/ |
LayoutPreference.java | 26 import android.view.ViewGroup; 63 final ViewGroup allDetails = (ViewGroup) view.findViewById(R.id.all_details); 75 ViewGroup parent = (ViewGroup) mRootView.getParent();
|
/packages/apps/UnifiedEmail/src/com/android/mail/drawer/ |
FooterItem.java | 20 import android.view.ViewGroup; 88 public View getView(View convertView, ViewGroup parent) { 89 final ViewGroup footerItemView; 91 footerItemView = (ViewGroup) convertView; 94 (ViewGroup) mInflater.inflate(R.layout.drawer_footer_item, parent, false);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
NavigationBarInflaterView.java | 25 import android.view.ViewGroup; 178 addAll(buttonDispatcher, (ViewGroup) mRot0.findViewById(R.id.ends_group)); 179 addAll(buttonDispatcher, (ViewGroup) mRot0.findViewById(R.id.center_group)); 180 addAll(buttonDispatcher, (ViewGroup) mRot90.findViewById(R.id.ends_group)); 181 addAll(buttonDispatcher, (ViewGroup) mRot90.findViewById(R.id.center_group)); 184 private void addAll(ButtonDispatcher buttonDispatcher, ViewGroup parent) { 191 } else if (parent.getChildAt(i) instanceof ViewGroup) { 192 addAll(buttonDispatcher, (ViewGroup) parent.getChildAt(i)); 207 inflateButtons(start, (ViewGroup) mRot0.findViewById(R.id.ends_group), false); 208 inflateButtons(start, (ViewGroup) mRot90.findViewById(R.id.ends_group), true) [all...] |
/developers/build/prebuilts/gradle/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ |
BackgroundPickers.java | 23 import android.view.ViewGroup; 39 private final ViewGroup mContainer; 41 private final List<ViewGroup> mPickers; 44 public BackgroundPickers(ViewGroup container, OnBackgroundPickersChangedListener listener) { 47 this.mPickers = new ArrayList<ViewGroup>(); 65 ViewGroup pickerBox = (ViewGroup) picker.findViewById(R.id.bg_picker_container); 123 ViewGroup pickerBox = (ViewGroup) view.getParent();
|