Searched defs:parent (Results 26 - 50 of 427) sorted by relevance

1234567891011>>

/frameworks/base/core/tests/coretests/src/android/widget/listview/
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 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
H A DListManagedCursor.java55 public void onItemClick(AdapterView parent, View view, int position, long id) { argument
H A DListSimple.java45 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument
46 View view = super.createView(position, parent, desiredHeight);
/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/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestGalleryImages.java62 public View getView(int position, View convertView, ViewGroup parent) { argument
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DViewLayersActivity.java107 public View getView(int position, View convertView, ViewGroup parent) { argument
108 TextView v = (TextView) super.getView(position, convertView, parent);
H A DViewLayersActivity2.java57 public View getView(int position, View convertView, ViewGroup parent) { argument
58 TextView v = (TextView) super.getView(position, convertView, parent);
H A DViewLayersActivity3.java54 public View getView(int position, View convertView, ViewGroup parent) { argument
55 TextView v = (TextView) super.getView(position, convertView, parent);
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DReparenting.java48 private void setupButtons(int startIndex, ViewGroup parent) { argument
53 parent.addView(button);
/frameworks/base/tools/layoutlib/bridge/src/android/preference/
H A DPreference_Delegate.java41 /*package*/ static View getView(Preference pref, View convertView, ViewGroup parent) { argument
44 convertView = pref.getView_Original(convertView, parent);
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DLayoutInflater_Delegate.java58 View parent, Context context, AttributeSet attrs, boolean finishInflate)
70 thisInflater.rInflate_Original(parser, parent, context, attrs, finishInflate);
84 Context context, View parent, AttributeSet attrs)
88 if (parent instanceof ViewGroup) {
155 thisInflater.rInflate(childParser, parent, context, childAttrs, false);
157 final View view = thisInflater.createViewFromTag(parent, childName,
159 final ViewGroup group = (ViewGroup) parent;
57 rInflate(LayoutInflater thisInflater, XmlPullParser parser, View parent, Context context, AttributeSet attrs, boolean finishInflate) argument
83 parseInclude(LayoutInflater thisInflater, XmlPullParser parser, Context context, View parent, AttributeSet attrs) argument
H A DViewGroup_Delegate.java64 private static void drawShadow(ViewGroup parent, Canvas canvas, View child, argument
66 float elevation = getElevation(child, parent);
88 private static float getElevation(View child, ViewGroup parent) { argument
89 return child.getZ() - parent.getZ();
/frameworks/opt/chips/src/com/android/ex/chips/
H A DSingleRecipientArrayAdapter.java47 public View getView(int position, View convertView, ViewGroup parent) { argument
48 return mDropdownChipLayouter.bindView(convertView, parent, getItem(position), position,
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
H A DItemInflater.java57 protected void onAddChildItem(ItemHierarchy parent, ItemHierarchy child) { argument
58 if (parent instanceof ItemParent) {
59 ((ItemParent) parent).addChild(child);
61 throw new IllegalArgumentException("Cannot add child item to " + parent);
/frameworks/support/design/src/android/support/design/widget/
H A DViewGroupUtils.java27 void offsetDescendantRect(ViewGroup parent, View child, Rect rect); argument
32 public void offsetDescendantRect(ViewGroup parent, View child, Rect rect) { argument
33 parent.offsetDescendantRectToMyCoords(child, rect);
43 public void offsetDescendantRect(ViewGroup parent, View child, Rect rect) { argument
44 ViewGroupUtilsHoneycomb.offsetDescendantRect(parent, child, rect);
68 static void offsetDescendantRect(ViewGroup parent, View descendant, Rect rect) { argument
69 IMPL.offsetDescendantRect(parent, descendant, rect);
79 static void getDescendantRect(ViewGroup parent, View descendant, Rect out) { argument
81 offsetDescendantRect(parent, descendant, out);
/frameworks/support/design/tests/src/android/support/design/custom/
H A DTestFloatingBehavior.java38 public boolean layoutDependsOn(CoordinatorLayout parent, TextView child, View dependency) { argument
43 public boolean onDependentViewChanged(CoordinatorLayout parent, TextView child, argument
/frameworks/support/v17/leanback/jbmr2/android/support/v17/leanback/widget/
H A DShadowHelperJbmr2.java28 /* prepare parent for allowing shadows of a child */
29 public static void prepareParent(ViewGroup parent) { argument
30 parent.setLayoutMode(ViewGroup.LAYOUT_MODE_OPTICAL_BOUNDS);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DDividerPresenter.java42 public Presenter.ViewHolder onCreateViewHolder(ViewGroup parent) { argument
43 View headerView = LayoutInflater.from(parent.getContext())
44 .inflate(mLayoutResourceId, parent, false);
H A DMediaItemActionPresenter.java49 public Presenter.ViewHolder onCreateViewHolder(ViewGroup parent) { argument
50 Context context = parent.getContext();
52 inflate(R.layout.lb_row_media_item_action, parent,
H A DOnChildLaidOutListener.java28 * @param parent The ViewGroup where the layout happened.
33 void onChildLaidOut(ViewGroup parent, View view, int position, long id); argument
H A DOnChildSelectedListener.java30 * @param parent The ViewGroup where the selection happened.
38 void onChildSelected(ViewGroup parent, View view, int position, long id); argument
H A DOnChildViewHolderSelectedListener.java30 * @param parent The RecyclerView where the selection happened.
38 public void onChildViewHolderSelected(RecyclerView parent, RecyclerView.ViewHolder child, argument
/frameworks/support/v17/tests/src/android/support/v17/leanback/app/
H A DStringPresenter.java30 public ViewHolder onCreateViewHolder(ViewGroup parent) { argument
32 TextView tv = new TextView(parent.getContext());

Completed in 5853 milliseconds

1234567891011>>