Home
last modified time | relevance | path

Searched refs:ViewGroup (Results 1 – 25 of 680) sorted by relevance

12345678910>>...28

/frameworks/support/v4/java/android/support/v4/view/
DMarginLayoutParamsCompat.java21 import android.view.ViewGroup;
29 int getMarginStart(ViewGroup.MarginLayoutParams lp); in getMarginStart()
30 int getMarginEnd(ViewGroup.MarginLayoutParams lp); in getMarginEnd()
31 void setMarginStart(ViewGroup.MarginLayoutParams lp, int marginStart); in setMarginStart()
32 void setMarginEnd(ViewGroup.MarginLayoutParams lp, int marginEnd); in setMarginEnd()
33 boolean isMarginRelative(ViewGroup.MarginLayoutParams lp); in isMarginRelative()
34 int getLayoutDirection(ViewGroup.MarginLayoutParams lp); in getLayoutDirection()
35 void setLayoutDirection(ViewGroup.MarginLayoutParams lp, int layoutDirection); in setLayoutDirection()
36 void resolveLayoutDirection(ViewGroup.MarginLayoutParams lp, int layoutDirection); in resolveLayoutDirection()
42 public int getMarginStart(ViewGroup.MarginLayoutParams lp) { in getMarginStart()
[all …]
DViewGroupCompat.java21 import android.view.ViewGroup;
47 public boolean onRequestSendAccessibilityEvent(ViewGroup group, View child, in onRequestSendAccessibilityEvent()
50 public void setMotionEventSplittingEnabled(ViewGroup group, boolean split); in setMotionEventSplittingEnabled()
51 public int getLayoutMode(ViewGroup group); in getLayoutMode()
52 public void setLayoutMode(ViewGroup group, int mode); in setLayoutMode()
53 public void setTransitionGroup(ViewGroup group, boolean isTransitionGroup); in setTransitionGroup()
54 public boolean isTransitionGroup(ViewGroup group); in isTransitionGroup()
59 ViewGroup group, View child, AccessibilityEvent event) { in onRequestSendAccessibilityEvent()
63 public void setMotionEventSplittingEnabled(ViewGroup group, boolean split) { in setMotionEventSplittingEnabled()
68 public int getLayoutMode(ViewGroup group) { in getLayoutMode()
[all …]
/frameworks/support/v4/jellybean-mr1/android/support/v4/view/
DMarginLayoutParamsCompatJellybeanMr1.java20 import android.view.ViewGroup;
23 public static int getMarginStart(ViewGroup.MarginLayoutParams lp) { in getMarginStart()
27 public static int getMarginEnd(ViewGroup.MarginLayoutParams lp) { in getMarginEnd()
31 public static void setMarginStart(ViewGroup.MarginLayoutParams lp, int marginStart) { in setMarginStart()
35 public static void setMarginEnd(ViewGroup.MarginLayoutParams lp, int marginEnd) { in setMarginEnd()
39 public static boolean isMarginRelative(ViewGroup.MarginLayoutParams lp) { in isMarginRelative()
43 public static int getLayoutDirection(ViewGroup.MarginLayoutParams lp) { in getLayoutDirection()
47 public static void setLayoutDirection(ViewGroup.MarginLayoutParams lp, int layoutDirection) { in setLayoutDirection()
51 public static void resolveLayoutDirection(ViewGroup.MarginLayoutParams lp, in resolveLayoutDirection()
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DReparenting.java22 import android.view.ViewGroup;
29 ViewGroup mSceneRoot;
30 ViewGroup mContainer1, mContainer2;
37 ViewGroup container = (ViewGroup) findViewById(R.id.container); in onCreate()
38 mContainer1 = (ViewGroup) findViewById(R.id.container1); in onCreate()
39 mContainer2 = (ViewGroup) findViewById(R.id.container2); in onCreate()
48 private void setupButtons(int startIndex, ViewGroup parent) { in setupButtons()
64 ViewGroup oldParent = (ViewGroup) v.getParent();
65 ViewGroup newParent = oldParent == mContainer1 ? mContainer2 : mContainer1;
DFadingHierarchy.java21 import android.view.ViewGroup;
27 ViewGroup mRemovingContainer, mContainer;
30 ViewGroup mInnerContainerParent;
37 mContainer = (ViewGroup) findViewById(R.id.container); in onCreate()
38 mRemovingContainer = (ViewGroup) findViewById(R.id.removingContainer); in onCreate()
39 mInnerContainerParent = (ViewGroup) mRemovingContainer.getParent(); in onCreate()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DListOfEditTexts.java23 import android.view.ViewGroup;
47 mLinearLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
48 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
49 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
55 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
56 ViewGroup.LayoutParams.WRAP_CONTENT)); in onCreate()
62 mListView.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
63 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
64 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
68 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
[all …]
DGoneParentFocusedChild.java23 import android.view.ViewGroup;
60 mLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
61 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
62 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
67 mGoneGroup.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
68 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
69 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
73 ViewGroup.LayoutParams.WRAP_CONTENT, in onCreate()
74 ViewGroup.LayoutParams.WRAP_CONTENT)); in onCreate()
DDescendantFocusability.java23 import android.view.ViewGroup;
28 public ViewGroup beforeDescendants;
31 public ViewGroup afterDescendants;
34 public ViewGroup blocksDescendants;
43 beforeDescendants = (ViewGroup) findViewById(R.id.beforeDescendants); in onCreate()
46 afterDescendants = (ViewGroup) findViewById(R.id.afterDescendants); in onCreate()
49 blocksDescendants = (ViewGroup) findViewById(R.id.blocksDescendants); in onCreate()
DHorizontalFocusSearch.java24 import android.view.ViewGroup;
63 mLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
64 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
65 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
97 ViewGroup.LayoutParams.WRAP_CONTENT, in makeTall()
98 ViewGroup.LayoutParams.MATCH_PARENT)); in makeTall()
106 ViewGroup.LayoutParams.WRAP_CONTENT, in addShort()
113 ViewGroup.LayoutParams.WRAP_CONTENT, in addShort()
120 ViewGroup.LayoutParams.WRAP_CONTENT, in addShort()
121 ViewGroup.LayoutParams.MATCH_PARENT)); in addShort()
DVerticalFocusSearch.java25 import android.view.ViewGroup;
70 mLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
71 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
72 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
105 ViewGroup.LayoutParams.MATCH_PARENT, in makeWide()
106 ViewGroup.LayoutParams.WRAP_CONTENT)); in makeWide()
123 ViewGroup.LayoutParams.WRAP_CONTENT, in addSkinny()
130 ViewGroup.LayoutParams.WRAP_CONTENT, in addSkinny()
136 ViewGroup.LayoutParams.MATCH_PARENT, in addSkinny()
137 ViewGroup.LayoutParams.WRAP_CONTENT)); in addSkinny()
/frameworks/base/core/java/android/view/
DGhostView.java41 final ViewGroup parent = (ViewGroup) mView.getParent(); in GhostView()
84 final ViewGroup parent = (ViewGroup) mView.getParent(); in onDetachedFromWindow()
92 public static void calculateMatrix(View view, ViewGroup host, Matrix matrix) { in calculateMatrix()
93 ViewGroup parent = (ViewGroup) view.getParent(); in calculateMatrix()
100 public static GhostView addGhost(View view, ViewGroup viewGroup, Matrix matrix) { in addGhost()
101 if (!(view.getParent() instanceof ViewGroup)) { in addGhost()
110 ViewGroup oldGrandParent = (ViewGroup) oldParent.getParent(); in addGhost()
140 public static GhostView addGhost(View view, ViewGroup viewGroup) { in addGhost()
149 ViewGroup parent = (ViewGroup) ghostView.getParent(); in removeGhost()
150 ViewGroup grandParent = (ViewGroup) parent.getParent(); in removeGhost()
[all …]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DShadowHelper.java17 import android.view.ViewGroup;
36 public void prepareParent(ViewGroup parent); in prepareParent()
38 public Object addShadow(ViewGroup shadowContainer, boolean roundedCorners); in addShadow()
52 public void prepareParent(ViewGroup parent) { in prepareParent()
57 public Object addShadow(ViewGroup shadowContainer, boolean roundedCorners) { in addShadow()
80 public void prepareParent(ViewGroup parent) { in prepareParent()
85 public Object addShadow(ViewGroup shadowContainer, boolean roundedCorners) { in addShadow()
108 public void prepareParent(ViewGroup parent) { in prepareParent()
113 public Object addShadow(ViewGroup shadowContainer, boolean roundedCorners) { in addShadow()
158 public void prepareParent(ViewGroup parent) { in prepareParent()
[all …]
/frameworks/base/core/java/android/transition/
DTransitionManager.java23 import android.view.ViewGroup;
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(); in getTransition()
183 final ViewGroup sceneRoot = scene.getSceneRoot(); in changeScene()
204 private static ArrayMap<ViewGroup, ArrayList<Transition>> getRunningTransitions() { in getRunningTransitions()
205 WeakReference<ArrayMap<ViewGroup, ArrayList<Transition>>> runningTransitions = in getRunningTransitions()
208 ArrayMap<ViewGroup, ArrayList<Transition>> transitions = in getRunningTransitions()
209 new ArrayMap<ViewGroup, ArrayList<Transition>>(); in getRunningTransitions()
[all …]
DScene.java23 import android.view.ViewGroup;
36 private ViewGroup mSceneRoot;
55 public static Scene getSceneForLayout(ViewGroup sceneRoot, int layoutId, Context context) { in getSceneForLayout()
82 public Scene(ViewGroup sceneRoot) { in Scene()
101 private Scene(ViewGroup sceneRoot, int layoutId, Context context) { in Scene()
117 public Scene(ViewGroup sceneRoot, View layout) { in Scene()
126 public Scene(ViewGroup sceneRoot, ViewGroup layout) { in Scene()
138 public ViewGroup getSceneRoot() { in getSceneRoot()
DSlide.java25 import android.view.ViewGroup;
50 float getGoneX(ViewGroup sceneRoot, View view); in getGoneX()
53 float getGoneY(ViewGroup sceneRoot, View view); in getGoneY()
59 public float getGoneY(ViewGroup sceneRoot, View view) { in getGoneY()
67 public float getGoneX(ViewGroup sceneRoot, View view) { in getGoneX()
74 public float getGoneX(ViewGroup sceneRoot, View view) {
81 public float getGoneX(ViewGroup sceneRoot, View view) {
95 public float getGoneY(ViewGroup sceneRoot, View view) {
102 public float getGoneX(ViewGroup sceneRoot, View view) {
109 public float getGoneX(ViewGroup sceneRoot, View view) {
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
DViewGroupAttributesTest.java27 private static final class MyViewGroup extends ViewGroup {
52 ViewGroup.FOCUS_BEFORE_DESCENDANTS, mViewGroup.getDescendantFocusability()); in testDescendantFocusabilityEnum()
59 mViewGroup.setDescendantFocusability(ViewGroup.FOCUS_AFTER_DESCENDANTS); in testDescendantFocusabilityEnum()
60 assertEquals(ViewGroup.FOCUS_AFTER_DESCENDANTS, mViewGroup.getDescendantFocusability()); in testDescendantFocusabilityEnum()
62 mViewGroup.setDescendantFocusability(ViewGroup.FOCUS_BLOCK_DESCENDANTS); in testDescendantFocusabilityEnum()
63 assertEquals(ViewGroup.FOCUS_BLOCK_DESCENDANTS, mViewGroup.getDescendantFocusability()); in testDescendantFocusabilityEnum()
65 mViewGroup.setDescendantFocusability(ViewGroup.FOCUS_BEFORE_DESCENDANTS); in testDescendantFocusabilityEnum()
66 assertEquals(ViewGroup.FOCUS_BEFORE_DESCENDANTS, mViewGroup.getDescendantFocusability()); in testDescendantFocusabilityEnum()
DBigCache.java25 import android.view.ViewGroup;
41 testBed.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
42 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT)); in onCreate()
62 scroller.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
63 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
/frameworks/base/tools/layoutlib/create/tests/data/
Dmock_android.jarMETA-INF/MANIFEST.MF java/lang/JavaClass.class JavaClass.java package java ...
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardPINView.java22 import android.view.ViewGroup;
32 private ViewGroup mKeyguardBouncerFrame;
33 private ViewGroup mRow0;
34 private ViewGroup mRow1;
35 private ViewGroup mRow2;
36 private ViewGroup mRow3;
74 mKeyguardBouncerFrame = (ViewGroup) findViewById(R.id.keyguard_bouncer_frame); in onFinishInflate()
75 mRow0 = (ViewGroup) findViewById(R.id.row0); in onFinishInflate()
76 mRow1 = (ViewGroup) findViewById(R.id.row1); in onFinishInflate()
77 mRow2 = (ViewGroup) findViewById(R.id.row2); in onFinishInflate()
[all …]
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/
DBigEditTextActivityScrollableResize.java24 import android.view.ViewGroup;
43 mRootView.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
44 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
45 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
49 mLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
50 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
51 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
DBigEditTextActivityScrollablePanScan.java24 import android.view.ViewGroup;
43 mRootView.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
44 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
45 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
49 mLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
50 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
51 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate()
/frameworks/base/core/tests/coretests/src/android/util/
DListItemFactory.java22 import android.view.ViewGroup;
53 ViewGroup.LayoutParams.MATCH_PARENT, in twoButtonsSeparatedByFiller()
64 ViewGroup.LayoutParams.MATCH_PARENT, in twoButtonsSeparatedByFiller()
159 final ViewGroup.LayoutParams lp = new AbsListView.LayoutParams( in button()
160 ViewGroup.LayoutParams.MATCH_PARENT, in button()
161 ViewGroup.LayoutParams.WRAP_CONTENT); in button()
199 final ViewGroup.LayoutParams lp = new AbsListView.LayoutParams( in text()
200 ViewGroup.LayoutParams.MATCH_PARENT, in text()
201 ViewGroup.LayoutParams.WRAP_CONTENT); in text()
242 ViewGroup.LayoutParams.MATCH_PARENT, in doubleText()
[all …]
/frameworks/base/core/java/com/android/internal/view/menu/
DBaseMenuPresenter.java22 import android.view.ViewGroup;
68 public MenuView getMenuView(ViewGroup root) { in getMenuView()
82 final ViewGroup parent = (ViewGroup) mMenuView; in updateMenuView()
125 final ViewGroup currentParent = (ViewGroup) itemView.getParent(); in addItemView()
129 ((ViewGroup) mMenuView).addView(itemView, childIndex); in addItemView()
138 protected boolean filterLeftoverView(ViewGroup parent, int childIndex) { in filterLeftoverView()
156 public MenuView.ItemView createItemView(ViewGroup parent) { in createItemView()
171 public View getItemView(MenuItemImpl item, View convertView, ViewGroup parent) { in getItemView()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
DBaseMenuPresenter.java23 import android.view.ViewGroup;
72 public MenuView getMenuView(ViewGroup root) { in getMenuView()
86 final ViewGroup parent = (ViewGroup) mMenuView; in updateMenuView()
129 final ViewGroup currentParent = (ViewGroup) itemView.getParent(); in addItemView()
133 ((ViewGroup) mMenuView).addView(itemView, childIndex); in addItemView()
142 protected boolean filterLeftoverView(ViewGroup parent, int childIndex) { in filterLeftoverView()
160 public MenuView.ItemView createItemView(ViewGroup parent) { in createItemView()
175 public View getItemView(MenuItemImpl item, View convertView, ViewGroup parent) { in getItemView()
/frameworks/support/v4/java/android/support/v4/app/
DListFragment.java25 import android.view.ViewGroup;
89 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView()
106 ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT)); in onCreateView()
109 ViewGroup.LayoutParams.FILL_PARENT, ViewGroup.LayoutParams.FILL_PARENT)); in onCreateView()
120 ViewGroup.LayoutParams.FILL_PARENT, ViewGroup.LayoutParams.FILL_PARENT)); in onCreateView()
126 ViewGroup.LayoutParams.FILL_PARENT, ViewGroup.LayoutParams.FILL_PARENT)); in onCreateView()
129 ViewGroup.LayoutParams.FILL_PARENT, ViewGroup.LayoutParams.FILL_PARENT)); in onCreateView()
134 ViewGroup.LayoutParams.FILL_PARENT, ViewGroup.LayoutParams.FILL_PARENT)); in onCreateView()

12345678910>>...28