/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
H A D | ListItemFocusableAboveUnfocusable.java | 40 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 D | ListItemFocusablesFarApart.java | 40 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument 42 position, parent.getContext(), desiredHeight);
|
H A D | ListHeterogeneous.java | 40 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 D | ListInterleaveFocusables.java | 43 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 D | ListItemFocusablesClose.java | 50 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument 52 position, parent.getContext(), desiredHeight);
|
H A D | ListButtonsDiagonalAcrossItems.java | 50 protected View createView(int position, ViewGroup parent, argument 55 parent.getContext(), desiredHeight, slot);
|
H A D | ListSimple.java | 45 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument 46 View view = super.createView(position, parent, desiredHeight);
|
H A D | ListItemsExpandOnSelection.java | 41 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 D | SpinnerAdapter.java | 38 * @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 D | ResourceCursorAdapter.java | 103 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 D | ResourceCursorTreeAdapter.java | 99 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 D | BaseAdapter.java | 70 public View getDropDownView(int position, View convertView, ViewGroup parent) { argument 71 return getView(position, convertView, parent);
|
H A D | ExpandableListAdapter.java | 122 * @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 D | SimpleExpandableListAdapter.java | 222 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 D | ApplicationLoaders.java | 32 public ClassLoader getClassLoader(String zip, String libPath, ClassLoader parent) argument 35 * This is the parent we use if they pass "null" in. In theory 43 if (parent == null) { 44 parent = baseParent; 52 if (parent == baseParent) { 60 new PathClassLoader(zip, libPath, parent); 68 PathClassLoader pathClassloader = new PathClassLoader(zip, parent);
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
H A D | BaselineAlignmentCenterGravityTest.java | 57 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 D | Children.java | 30 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 D | BaseMenuPresenter.java | 82 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/v7/appcompat/src/android/support/v7/internal/view/menu/ |
H A D | BaseMenuPresenter.java | 84 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 D | ResourceCursorAdapter.java | 105 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 D | ViewLayerInvalidationActivity.java | 126 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 D | Proc.java | 32 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 D | TaskStackBuilder.java | 190 * Add the activity parent chain as specified by manifest <meta-data> 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 D | GridSimple.java | 49 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 D | ViewAsserts.java | 321 * @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...] |