Searched refs:parent (Results 1 - 25 of 290) sorted by relevance

1234567891011>>

/frameworks/support/v4/ics/android/support/v4/view/
H A DViewParentCompatICS.java28 ViewParent parent, View child, AccessibilityEvent event) {
29 return parent.requestSendAccessibilityEvent(child, event);
27 requestSendAccessibilityEvent( ViewParent parent, View child, AccessibilityEvent event) argument
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListItemFocusableAboveUnfocusable.java40 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument
43 position, parent.getContext(), getValueAtPosition(position), desiredHeight);
45 return super.createView(position, parent, desiredHeight);
H A DListItemFocusablesFarApart.java40 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument
42 position, parent.getContext(), desiredHeight);
H A DListHeterogeneous.java40 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument
44 position, parent.getContext(), getValueAtPosition(position), desiredHeight);
47 position, parent.getContext(), getValueAtPosition(position), desiredHeight);
50 position, parent.getContext(), getValueAtPosition(position), desiredHeight);
57 public View convertView(int position, View convertView, ViewGroup parent) { argument
H A DListInterleaveFocusables.java43 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument
46 position, parent.getContext(), getValueAtPosition(position), desiredHeight);
48 return super.createView(position, parent, desiredHeight);
H A DListItemFocusablesClose.java50 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument
52 position, parent.getContext(), desiredHeight);
H A DListButtonsDiagonalAcrossItems.java50 protected View createView(int position, ViewGroup parent, argument
55 parent.getContext(), desiredHeight, slot);
H A DListSimple.java45 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument
46 View view = super.createView(position, parent, desiredHeight);
/frameworks/base/core/java/android/widget/
H A DSpinnerAdapter.java38 * @param parent the parent that this view will eventually be attached to
42 public View getDropDownView(int position, View convertView, ViewGroup parent); argument
H A DResourceCursorAdapter.java103 public View newView(Context context, Cursor cursor, ViewGroup parent) { argument
104 return mInflater.inflate(mLayout, parent, false);
108 public View newDropDownView(Context context, Cursor cursor, ViewGroup parent) { argument
109 return mInflater.inflate(mDropDownLayout, parent, false);
H A DResourceCursorTreeAdapter.java99 ViewGroup parent) {
100 return mInflater.inflate((isLastChild) ? mLastChildLayout : mChildLayout, parent, false);
104 public View newGroupView(Context context, Cursor cursor, boolean isExpanded, ViewGroup parent) { argument
106 parent, false);
98 newChildView(Context context, Cursor cursor, boolean isLastChild, ViewGroup parent) argument
H A DBaseAdapter.java70 public View getDropDownView(int position, View convertView, ViewGroup parent) { argument
71 return getView(position, convertView, parent);
H A DExpandableListAdapter.java122 * @param parent the parent that this view will eventually be attached to
125 View getGroupView(int groupPosition, boolean isExpanded, View convertView, ViewGroup parent); argument
142 * @param parent the parent that this view will eventually be attached to
146 View convertView, ViewGroup parent);
145 getChildView(int groupPosition, int childPosition, boolean isLastChild, View convertView, ViewGroup parent) argument
H A DSimpleExpandableListAdapter.java222 View convertView, ViewGroup parent) {
225 v = newChildView(isLastChild, parent);
236 * @param parent The eventual parent of this new View.
239 public View newChildView(boolean isLastChild, ViewGroup parent) { argument
240 return mInflater.inflate((isLastChild) ? mLastChildLayout : mChildLayout, parent, false);
271 ViewGroup parent) {
274 v = newGroupView(isExpanded, parent);
285 * @param parent The eventual parent o
221 getChildView(int groupPosition, int childPosition, boolean isLastChild, View convertView, ViewGroup parent) argument
270 getGroupView(int groupPosition, boolean isExpanded, View convertView, ViewGroup parent) argument
288 newGroupView(boolean isExpanded, ViewGroup parent) argument
[all...]
/frameworks/base/core/java/android/app/
H A DApplicationLoaders.java30 public ClassLoader getClassLoader(String zip, String libPath, ClassLoader parent) argument
33 * This is the parent we use if they pass "null" in. In theory
41 if (parent == null) {
42 parent = baseParent;
50 if (parent == baseParent) {
58 new PathClassLoader(zip, libPath, parent);
66 PathClassLoader pathClassloader = new PathClassLoader(zip, parent);
/frameworks/support/v4/java/android/support/v4/view/
H A DViewParentCompat.java34 ViewParent parent, View child, AccessibilityEvent event);
40 ViewParent parent, View child, AccessibilityEvent event) {
55 ViewParent parent, View child, AccessibilityEvent event) {
56 return ViewParentCompatICS.requestSendAccessibilityEvent(parent, child, event);
78 * Called by a child to request from its parent to send an {@link AccessibilityEvent}.
80 * to its parent to send the event. The parent can optionally add a record for itself.
83 * event with a record for its state and requests from its parent to perform
84 * the sending. The parent can optionally add a record for itself before
85 * dispatching the request to its parent
33 requestSendAccessibilityEvent( ViewParent parent, View child, AccessibilityEvent event) argument
39 requestSendAccessibilityEvent( ViewParent parent, View child, AccessibilityEvent event) argument
54 requestSendAccessibilityEvent( ViewParent parent, View child, AccessibilityEvent event) argument
94 requestSendAccessibilityEvent( ViewParent parent, View child, AccessibilityEvent event) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
H A DBaselineAlignmentCenterGravityTest.java57 final View parent = (View) mButton1.getParent();
58 ViewAsserts.assertTopAligned(mButton1, parent);
59 ViewAsserts.assertTopAligned(mButton2, parent);
60 ViewAsserts.assertTopAligned(mButton3, parent);
61 ViewAsserts.assertBottomAligned(mButton1, parent);
62 ViewAsserts.assertBottomAligned(mButton2, parent);
63 ViewAsserts.assertBottomAligned(mButton3, parent);
/frameworks/base/sax/java/android/sax/
H A DChildren.java30 Element getOrCreate(Element parent, String uri, String localName) { argument
37 current = new Child(parent, uri, localName, parent.depth + 1, hash);
56 current = new Child(parent, uri, localName, parent.depth + 1, hash);
91 Child(Element parent, String uri, String localName, int depth, argument
93 super(parent, uri, localName, depth);
/frameworks/base/core/java/com/android/internal/view/menu/
H A DBaseMenuPresenter.java82 final ViewGroup parent = (ViewGroup) mMenuView;
83 if (parent == null) return;
93 final View convertView = parent.getChildAt(childIndex);
96 final View itemView = getItemView(item, convertView, parent);
111 while (childIndex < parent.getChildCount()) {
112 if (!filterLeftoverView(parent, childIndex)) {
122 * @param childIndex Index within the parent to insert at
134 * @param parent Parent to filter from
138 protected boolean filterLeftoverView(ViewGroup parent, int childIndex) { argument
139 parent
156 createItemView(ViewGroup parent) argument
171 getItemView(MenuItemImpl item, View convertView, ViewGroup parent) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DBaseMenuPresenter.java84 final ViewGroup parent = (ViewGroup) mMenuView;
85 if (parent == null) {
97 final View convertView = parent.getChildAt(childIndex);
100 final View itemView = getItemView(item, convertView, parent);
116 while (childIndex < parent.getChildCount()) {
117 if (!filterLeftoverView(parent, childIndex)) {
127 * @param childIndex Index within the parent to insert at
140 * @param parent Parent to filter from
144 protected boolean filterLeftoverView(ViewGroup parent, int childIndex) { argument
145 parent
158 createItemView(ViewGroup parent) argument
173 getItemView(MenuItemImpl item, View convertView, ViewGroup parent) argument
[all...]
/frameworks/support/v4/java/android/support/v4/widget/
H A DResourceCursorAdapter.java105 public View newView(Context context, Cursor cursor, ViewGroup parent) { argument
106 return mInflater.inflate(mLayout, parent, false);
110 public View newDropDownView(Context context, Cursor cursor, ViewGroup parent) { argument
111 return mInflater.inflate(mDropDownLayout, parent, false);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DViewLayerInvalidationActivity.java126 private void randomInvalidator(ViewGroup parent) { argument
127 for (int i = 0; i < parent.getChildCount(); ++i) {
128 View child = parent.getChildAt(i);
142 LinearLayout parent = (LinearLayout) view;
143 linearLayouts.add(parent);
144 for (int i = 0; i < parent.getChildCount(); ++i) {
145 collectLinearLayouts(parent.getChildAt(i));
157 ViewGroup parent = (ViewGroup) view;
158 for (int i = 0; i < parent.getChildCount(); ++i) {
159 collectTextViews(parent
[all...]
/frameworks/base/tools/preload/
H A DProc.java32 final Proc parent; field in class:Proc
60 Proc(Proc parent, int id) { argument
61 this.parent = parent;
79 return parent != null && parent.name.equals("zygote")
/frameworks/support/v4/java/android/support/v4/app/
H A DTaskStackBuilder.java190 * Add the activity parent chain as specified by manifest &lt;meta-data&gt; elements
197 Intent parent = null;
199 parent = ((SupportParentable) sourceActivity).getSupportParentActivityIntent();
201 if (parent == null) {
202 parent = NavUtils.getParentActivityIntent(sourceActivity);
205 if (parent != null) {
206 // We have the actual parent intent, build the rest from static metadata
207 // then add the direct parent intent to the end.
208 ComponentName target = parent.getComponent();
210 target = parent
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
H A DGridSimple.java49 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument
50 View view = super.createView(position, parent, desiredHeight);

Completed in 420 milliseconds

1234567891011>>