Searched refs:parent (Results 26 - 50 of 210) sorted by relevance

123456789

/frameworks/base/core/tests/coretests/src/android/widget/listview/
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 DListOfTouchables.java41 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument
H A DListHorizontalFocusWithinItemWins.java51 protected View createView(int position, ViewGroup parent, argument
53 final Context context = parent.getContext();
H A DListItemISVAndButton.java42 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument
43 Context context = parent.getContext();
H A DListScrollListener.java57 public void onItemSelected(AdapterView parent, View v, int position, long id) { argument
61 public void onNothingSelected(AdapterView parent) { argument
/frameworks/base/core/java/android/animation/
H A DLayoutTransition.java221 * Controls whether changing animations automatically animate the parent hierarchy as well.
556 * For every child in the parent, we create a change animation of the appropriate
562 * @param parent The container which is undergoing an appearing or disappearing change.
563 * @param newView The view being added to or removed from the parent.
565 * transition is occuring because an item is being added to or removed from the parent.
567 private void runChangeTransition(final ViewGroup parent, View newView, final int changeReason) { argument
581 final ViewTreeObserver observer = parent.getViewTreeObserver(); // used for later cleanup
586 int numChildren = parent.getChildCount();
589 final View child = parent.getChildAt(i);
593 setupChangeAnimation(parent, changeReaso
658 setupChangeAnimation(final ViewGroup parent, final int changeReason, Animator baseAnimator, final long duration, final View child) argument
943 runAppearingTransition(final ViewGroup parent, final View child) argument
984 runDisappearingTransition(final ViewGroup parent, final View child) argument
1028 addChild(ViewGroup parent, View child) argument
1051 showChild(ViewGroup parent, View child) argument
1064 removeChild(ViewGroup parent, View child) argument
1087 hideChild(ViewGroup parent, View child) argument
[all...]
/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...]
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DLayoutInflater_Delegate.java52 XmlPullParser parser, View parent, final AttributeSet attrs,
64 thisInflater.rInflate_Original(parser, parent, attrs, finishInflate);
79 XmlPullParser parser, View parent, AttributeSet attrs)
84 if (parent instanceof ViewGroup) {
116 thisInflater.rInflate(childParser, parent, childAttrs, false);
118 final View view = thisInflater.createViewFromTag(parent, childName, childAttrs);
119 final ViewGroup group = (ViewGroup) parent;
51 rInflate(LayoutInflater thisInflater, XmlPullParser parser, View parent, final AttributeSet attrs, boolean finishInflate) argument
77 parseInclude( LayoutInflater thisInflater, XmlPullParser parser, View parent, AttributeSet attrs) argument
/frameworks/base/core/java/android/view/
H A DViewStub.java33 * is inflated. The ViewStub then replaces itself in its parent with the inflated View or Views.
37 * The inflated View is added to the ViewStub's parent with the ViewStub's layout
50 * the layout resource "mySubTree," the ViewStub is removed from its parent. The
150 * in its parent by another view.
166 * used to replace this StubbedView in its parent.
194 * {@link #inflate()} is invoked and this StubbedView is replaced in its parent
220 * and replaces this StubbedView in its parent by the inflated layout resource.
230 final ViewGroup parent = (ViewGroup) viewParent;
232 final View view = factory.inflate(mLayoutResource, parent,
239 final int index = parent
[all...]
H A DLayoutInflater.java135 * that also supplies the parent that the view created view will be
138 * @param parent The parent that the created view will be placed
147 public View onCreateView(View parent, String name, Context context, AttributeSet attrs); argument
167 public View onCreateView(View parent, String name, Context context, AttributeSet attrs) { argument
168 View v = mF12 != null ? mF12.onCreateView(parent, name, context, attrs)
171 return mF22 != null ? mF22.onCreateView(parent, name, context, attrs)
346 * @param root Optional view to be the parent of the generated hierarchy.
366 * @param root Optional view to be the parent of the generated hierarchy.
381 * @param root Optional view to be the parent o
651 onCreateView(View parent, String name, AttributeSet attrs) argument
659 createViewFromTag(View parent, String name, AttributeSet attrs) argument
708 rInflate(XmlPullParser parser, View parent, final AttributeSet attrs, boolean finishInflate) argument
750 parseRequestFocus(XmlPullParser parser, View parent) argument
761 parseInclude(XmlPullParser parser, View parent, AttributeSet attrs) argument
[all...]
/frameworks/base/tests/DumpRenderTree2/assets/
H A Drun_apache2.py48 parent = os.pardir
50 android_tree_root = os.path.join(script_location, parent, parent, parent, parent, parent)
/frameworks/base/core/java/android/util/
H A DDebugUtils.java78 Class<?> parent = klass;
80 declaredMethod = parent.getDeclaredMethod("get" +
84 } while ((parent = klass.getSuperclass()) != null &&
/frameworks/base/core/tests/coretests/src/android/widget/
H A DAutoCompleteTextViewSimple.java99 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
108 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { argument
117 public void onNothingSelected(AdapterView<?> parent) { argument
/frameworks/base/include/utils/
H A DGenerationCache.h39 key(e.key), value(e.value), parent(e.parent), child(e.child) { }
41 key(e->key), value(e->value), parent(e->parent), child(e->child) { }
46 sp<Entry<EntryKey, EntryValue> > parent; member in struct:android::Entry
225 entry->parent = mYoungest;
233 if (entry->parent.get()) {
234 entry->parent->child = entry->child;
238 entry->child->parent = entry->parent;
[all...]
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
H A DA3DSelector.java89 File parent = mCurrentFile.getParentFile();
90 if (parent == null) {
93 populateList(parent);
97 // the first thing in list is parent directory
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardEntryConstructor.java119 VCardEntry parent = mEntryStack.get(size - 2);
120 parent.addChild(mCurrentEntry);
121 mCurrentEntry = parent;
/frameworks/base/core/java/android/widget/
H A DAdapter.java84 * parent View (GridView, ListView...) will apply default layout parameters unless you use
96 * @param parent The parent that this view will eventually be attached to
99 View getView(int position, View convertView, ViewGroup parent); argument
H A DCursorAdapter.java237 public View getView(int position, View convertView, ViewGroup parent) { argument
246 v = newView(mContext, mCursor, parent);
255 public View getDropDownView(int position, View convertView, ViewGroup parent) { argument
260 v = newDropDownView(mContext, mCursor, parent);
276 * @param parent The parent to which the new view is attached to
279 public abstract View newView(Context context, Cursor cursor, ViewGroup parent); argument
286 * @param parent The parent to which the new view is attached to
289 public View newDropDownView(Context context, Cursor cursor, ViewGroup parent) { argument
[all...]
/frameworks/base/sax/java/android/sax/
H A DElement.java37 final Element parent; field in class:Element
48 Element(Element parent, String uri, String localName, int depth) { argument
49 this.parent = parent;
/frameworks/base/tools/preload/
H A DPrintPsTree.java41 if (proc.parent == null) {
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DListOfButtons.java63 public View getView(int position, View convertView, ViewGroup parent) { argument
66 Button button = new Button(parent.getContext());
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
H A DGridDelete.java103 public View getView(int position, View convertView, ViewGroup parent) { argument
105 return createView(mData.get(position), parent, desiredHeight);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
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/core/java/android/inputmethodservice/
H A DKeyboard.java181 private Keyboard parent; field in class:Keyboard.Row
183 public Row(Keyboard parent) { argument
184 this.parent = parent;
187 public Row(Resources res, Keyboard parent, XmlResourceParser parser) { argument
188 this.parent = parent;
193 parent.mDisplayWidth, parent.mDefaultWidth);
196 parent
313 Key(Row parent) argument
330 Key(Resources res, Row parent, int x, int y, XmlResourceParser parser) argument
774 createKeyFromXml(Resources res, Row parent, int x, int y, XmlResourceParser parser) argument
[all...]
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuPresenter.java80 final IconMenuView parent = (IconMenuView) mMenuView;
82 v.setIconMenuView(parent);
83 v.setItemInvoker(parent);
84 v.setBackgroundDrawable(parent.getItemBackgroundDrawable());
124 protected boolean filterLeftoverView(ViewGroup parent, int childIndex) { argument
125 if (parent.getChildAt(childIndex) != mMoreView) {
126 return super.filterLeftoverView(parent, childIndex);

Completed in 398 milliseconds

123456789