/packages/apps/Launcher2/src/com/android/launcher2/ |
HideFromAccessibilityHelper.java | 20 import android.view.ViewGroup; 21 import android.view.ViewGroup.OnHierarchyChangeListener; 46 if (v instanceof ViewGroup) { 47 ViewGroup vg = (ViewGroup) v; 71 if (v instanceof ViewGroup) { 72 ViewGroup vg = (ViewGroup) v; 110 (v.getParent() instanceof ViewGroup && 111 hasAncestorOfType((ViewGroup) v.getParent(), c))) [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
HideFromAccessibilityHelper.java | 20 import android.view.ViewGroup; 21 import android.view.ViewGroup.OnHierarchyChangeListener; 46 if (v instanceof ViewGroup) { 47 ViewGroup vg = (ViewGroup) v; 72 if (v instanceof ViewGroup) { 73 ViewGroup vg = (ViewGroup) v; 111 (v.getParent() instanceof ViewGroup && 112 hasAncestorOfType((ViewGroup) v.getParent(), c))) [all...] |
/frameworks/base/tools/layoutlib/create/tests/data/ |
mock_android.jar | |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/ |
ViewLoaderTest.java | 8 import android.view.ViewGroup; 61 ViewGroup view = (ViewGroup) viewLoader.inflateView(context, "layout/media"); 69 ViewGroup view = (ViewGroup) viewLoader.inflateView(context, "layout/different_screen_sizes"); 77 ViewGroup view = (ViewGroup) viewLoader.inflateView(context, "layout/different_screen_sizes"); 85 ViewGroup view = (ViewGroup) viewLoader.inflateView(context, "layout/different_screen_sizes"); 93 ViewGroup view = (ViewGroup) viewLoader.inflateView(context, "layout/different_screen_sizes") [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
BigCache.java | 25 import android.view.ViewGroup; 41 testBed.setLayoutParams(new ViewGroup.LayoutParams( 42 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT)); 62 scroller.setLayoutParams(new ViewGroup.LayoutParams( 63 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT));
|
/frameworks/base/core/java/android/transition/ |
Scene.java | 23 import android.view.ViewGroup; 36 private ViewGroup mSceneRoot; 37 private ViewGroup mLayout; // alternative to layoutId 55 public static Scene getSceneForLayout(ViewGroup sceneRoot, int layoutId, Context context) { 82 public Scene(ViewGroup sceneRoot) { 101 private Scene(ViewGroup sceneRoot, int layoutId, Context context) { 117 public Scene(ViewGroup sceneRoot, ViewGroup layout) { 129 public ViewGroup getSceneRoot() { 218 * @see Scene#Scene(ViewGroup, int, Context [all...] |
TransitionManager.java | 23 import android.view.ViewGroup; 53 * {@link Scene#getSceneForLayout(ViewGroup, int, Context)}. For the 73 private static ThreadLocal<WeakReference<ArrayMap<ViewGroup, ArrayList<Transition>>>> 75 new ThreadLocal<WeakReference<ArrayMap<ViewGroup, ArrayList<Transition>>>>(); 76 private static ArrayList<ViewGroup> sPendingTransitions = new ArrayList<ViewGroup>(); 151 ViewGroup sceneRoot = scene.getSceneRoot(); 181 final ViewGroup sceneRoot = scene.getSceneRoot(); 198 private static ArrayMap<ViewGroup, ArrayList<Transition>> getRunningTransitions() { 199 WeakReference<ArrayMap<ViewGroup, ArrayList<Transition>>> runningTransitions [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
FrameLayout_LayoutParamsTest.java | 28 import android.view.ViewGroup; 29 import android.view.ViewGroup.MarginLayoutParams; 49 new LayoutParams(new ViewGroup.LayoutParams(mContext, attrs)); 64 new LayoutParams((ViewGroup.LayoutParams) null); 65 fail("did not throw NullPointerException when ViewGroup.LayoutParams is null."); 71 new LayoutParams((ViewGroup.MarginLayoutParams) null); 72 fail("did not throw NullPointerException when ViewGroup.MarginLayoutParams is null.");
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
InternalSelectionFocus.java | 21 import android.view.ViewGroup; 48 layout.setLayoutParams(new ViewGroup.LayoutParams( 49 ViewGroup.LayoutParams.MATCH_PARENT, 50 ViewGroup.LayoutParams.MATCH_PARENT)); 53 ViewGroup.LayoutParams.MATCH_PARENT, 1);
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
AdjacentVerticalRectLists.java | 24 import android.view.ViewGroup; 27 * {@link android.view.FocusFinder#findNextFocus(android.view.ViewGroup, android.view.View, int)} 68 mLayout.setLayoutParams(new ViewGroup.LayoutParams( 69 ViewGroup.LayoutParams.MATCH_PARENT, 70 ViewGroup.LayoutParams.MATCH_PARENT)); 73 ViewGroup.LayoutParams.MATCH_PARENT, 1);
|
LinearLayoutGrid.java | 21 import android.view.ViewGroup; 35 public ViewGroup getRootView() { 36 return (ViewGroup) findViewById(R.id.layout);
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListHorizontalFocusWithinItemWins.java | 25 import android.view.ViewGroup; 39 return (Button) ((ViewGroup) getListView().getChildAt(0)).getChildAt(0); 43 return (Button) ((ViewGroup) getListView().getChildAt(0)).getChildAt(2); 47 return (Button) ((ViewGroup) getListView().getChildAt(1)).getChildAt(1); 51 protected View createView(int position, ViewGroup parent,
|
ListItemISVAndButton.java | 21 import android.view.ViewGroup; 42 protected View createView(int position, ViewGroup parent, int desiredHeight) { 50 ViewGroup.LayoutParams.MATCH_PARENT, 56 ViewGroup.LayoutParams.MATCH_PARENT, 66 ViewGroup.LayoutParams.MATCH_PARENT,
|
ListItemsExpandOnSelection.java | 21 import android.view.ViewGroup; 41 protected View createView(int position, ViewGroup parent, int desiredHeight) { 47 ViewGroup.LayoutParams.MATCH_PARENT, 48 ViewGroup.LayoutParams.WRAP_CONTENT); 55 public View convertView(int position, View convertView, ViewGroup parent) {
|
/cts/tests/src/android/view/cts/ |
FocusFinderStubActivity.java | 25 import android.view.ViewGroup; 30 public ViewGroup layout; 44 layout = (ViewGroup) findViewById(R.id.layout);
|
/cts/tests/src/android/webkit/cts/ |
WebViewStubActivity.java | 23 import android.view.ViewGroup; 44 if (parent instanceof ViewGroup) { 45 ((ViewGroup) parent).removeView(mWebView);
|
/cts/tests/tests/holo/src/android/holo/cts/modifiers/ |
DialogModifier.java | 22 import android.view.ViewGroup; 40 ViewGroup parent = (ViewGroup) view.getParent(); 49 // so we can add it to our ViewGroup
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowFragmentPagerAdapter.java | 6 import android.view.ViewGroup; 24 public void setPrimaryItem(ViewGroup container, int position, Object object) { 29 public Object instantiateItem(ViewGroup container, int position) {
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
FrameLayoutTest.java | 5 import android.view.ViewGroup; 30 ViewGroup.LayoutParams layoutParams = frameLayout.getLayoutParams(); 31 assertThat(layoutParams, instanceOf(ViewGroup.MarginLayoutParams.class));
|
/frameworks/base/core/java/android/widget/ |
ExpandableListAdapter.java | 21 import android.view.ViewGroup; 110 * {@link #getChildView(int, int, boolean, View, ViewGroup)}. 121 * {@link #getGroupView(int, boolean, View, ViewGroup)}. 125 View getGroupView(int groupPosition, boolean isExpanded, View convertView, ViewGroup parent); 141 * {@link #getChildView(int, int, boolean, View, ViewGroup)}. 146 View convertView, ViewGroup parent);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
ExpandableNotificationRow.java | 21 import android.view.ViewGroup; 71 ViewGroup.LayoutParams lp = getLayoutParams(); 73 lp.height = ViewGroup.LayoutParams.WRAP_CONTENT;
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
Demo5.java | 21 import android.view.ViewGroup; 27 ViewGroup mSceneRoot; 37 mSceneRoot = (ViewGroup) container.getParent();
|
ScenesTestAutoTransition2.java | 22 import android.view.ViewGroup; 28 ViewGroup mSceneRoot; 39 mSceneRoot = (ViewGroup) container.getParent();
|
/packages/apps/Camera/src/com/android/camera/ui/ |
PreviewSurfaceView.java | 23 import android.view.ViewGroup; 39 setLayoutSize(ViewGroup.LayoutParams.MATCH_PARENT); 43 ViewGroup.LayoutParams p = getLayoutParams();
|
/cts/tests/tests/view/src/android/view/cts/ |
ViewGroup_LayoutParamsTest.java | 28 import android.view.ViewGroup; 29 import android.view.ViewGroup.LayoutParams; 36 private ViewGroup.LayoutParams mLayoutParams; 44 new ViewGroup.LayoutParams(mContext, parser); 46 LayoutParams temp = new ViewGroup.LayoutParams(320, 480); 48 new ViewGroup.LayoutParams(temp);
|