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

12345678910

/frameworks/base/core/java/android/app/
H A DApplicationLoaders.java31 public ClassLoader getClassLoader(String zip, String libPath, ClassLoader parent) argument
34 * This is the parent we use if they pass "null" in. In theory
42 if (parent == null) {
43 parent = baseParent;
51 if (parent == baseParent) {
58 new PathClassLoader(zip, libPath, parent);
64 return new PathClassLoader(zip, parent);
/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);
H A DListItemsExpandOnSelection.java41 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument
42 TextView result = new ExpandWhenSelectedView(parent.getContext(), desiredHeight);
55 public View convertView(int position, View convertView, ViewGroup parent) { argument
/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/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
152 createItemView(ViewGroup parent) argument
167 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/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmConnection.java44 GsmCall parent; field in class:GsmConnection
138 parent = parentFromDCState (dc.state);
139 parent.attach(this, dc);
144 GsmConnection (Context context, String dialString, GsmCallTracker ct, GsmCall parent) { argument
164 this.parent = parent;
165 parent.attachFake(this, GsmCall.State.DIALING);
197 return parent;
430 if (parent != null) {
431 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/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaConnection.java49 CdmaCall parent; field in class:CdmaConnection
140 parent = parentFromDCState (dc.state);
141 parent.attach(this, dc);
146 CdmaConnection(Context context, String dialString, CdmaCallTracker ct, CdmaCall parent) { argument
169 if (parent != null) {
170 this.parent = parent;
172 //for the three way call case, not change parent state
173 if (parent.state == CdmaCall.State.ACTIVE) {
174 parent
182 CdmaConnection(Context context, CdmaCallWaitingNotification cw, CdmaCallTracker ct, CdmaCall parent) argument
[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);
/frameworks/base/test-runner/src/android/test/
H A DViewAsserts.java321 * @param parent The group whose integrity to check
323 static public void assertGroupIntegrity(ViewGroup parent) { argument
324 final int count = parent.getChildCount();
328 assertNotNull("group should not contain null children", parent.getChildAt(i));
329 assertSame(parent, parent.getChildAt(i).getParent());
336 * @param parent The group
339 static public void assertGroupContains(ViewGroup parent, View child) { argument
340 final int count = parent.getChildCount();
345 if (parent
363 assertGroupNotContains(ViewGroup parent, View child) argument
[all...]

Completed in 8561 milliseconds

12345678910