Searched refs:parent (Results 101 - 125 of 803) sorted by path

1234567891011>>

/frameworks/base/core/java/android/widget/
H A DCalendarViewLegacyDelegate.java1085 public View getView(int position, View convertView, ViewGroup parent) { argument
1201 // Quick reference to the width of this view, matches parent
H A DCursorAdapter.java276 public View getView(int position, View convertView, ViewGroup parent) { argument
285 v = newView(mContext, mCursor, parent);
294 public View getDropDownView(int position, View convertView, ViewGroup parent) { argument
300 v = newDropDownView(context, mCursor, parent);
316 * @param parent The parent to which the new view is attached to
319 public abstract View newView(Context context, Cursor cursor, ViewGroup parent); argument
326 * @param parent The parent to which the new view is attached to
329 public View newDropDownView(Context context, Cursor cursor, ViewGroup parent) { argument
[all...]
H A DCursorTreeAdapter.java195 ViewGroup parent) {
203 v = newGroupView(mContext, cursor, isExpanded, parent);
218 * @param parent The parent to which the new view is attached to
222 ViewGroup parent);
237 View convertView, ViewGroup parent) {
247 v = newChildView(mContext, cursor, isLastChild, parent);
262 * @param parent The parent to which the new view is attached to
266 ViewGroup parent);
194 getGroupView(int groupPosition, boolean isExpanded, View convertView, ViewGroup parent) argument
221 newGroupView(Context context, Cursor cursor, boolean isExpanded, ViewGroup parent) argument
236 getChildView(int groupPosition, int childPosition, boolean isLastChild, View convertView, ViewGroup parent) argument
265 newChildView(Context context, Cursor cursor, boolean isLastChild, ViewGroup parent) argument
[all...]
H A DEditor.java1819 // Same as drawDisplayList below, handled by our TextView's parent
3010 // Absolute position of the TextView with respect to its parent window
3565 public View getView(int position, View convertView, ViewGroup parent) { argument
3570 parent, false);
3747 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
4163 // Position with respect to the parent TextView
4372 * when If the parent has been scrolled, for example.
4429 // Update touchToWindow offset in case of parent scrolling while dragging
5446 // No longer dragging to select text, let the parent intercept events.
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 DExpandableListConnector.java441 public View getView(int flatListPos, View convertView, ViewGroup parent) { argument
447 posMetadata.isExpanded(), convertView, parent);
452 posMetadata.position.childPos, isLastChild, convertView, parent);
H A DExpandableListView.java66 * ExpandableListView in XML if the parent's size is also not strictly specified
67 * (for example, if the parent were ScrollView you could not specify
69 * wrap_content if the ExpandableListView parent has a specific size, such as
830 * @param parent The ExpandableListConnector where the click happened
836 boolean onGroupClick(ExpandableListView parent, View v, int groupPosition, argument
855 * @param parent The ExpandableListView where the click happened
863 boolean onChildClick(ExpandableListView parent, View v, int groupPosition, argument
1091 * @param groupPosition The child's parent group's position.
1093 * @return The packed position representation of the child (and parent group).
1106 * @param groupPosition The child's parent grou
[all...]
H A DForwardingListener.java38 /** Timeout before disallowing intercept on the source's parent. */
191 // Don't let the parent intercept our events.
230 // Don't let the parent intercept our events.
281 final ViewParent parent = mSrc.getParent();
282 if (parent != null) {
283 parent.requestDisallowInterceptTouchEvent(true);
H A DHeaderViewListAdapter.java207 public View getView(int position, View convertView, ViewGroup parent) { argument
220 return mAdapter.getView(adjPosition, convertView, parent);
H A DHorizontalScrollView.java581 final ViewParent parent = getParent();
582 if (parent != null) {
583 parent.requestDisallowInterceptTouchEvent(true);
610 final ViewParent parent = getParent();
611 if (parent != null) {
612 parent.requestDisallowInterceptTouchEvent(true);
1578 * Return true if child is a descendant of parent, (or equal to the parent).
1580 private static boolean isViewDescendantOf(View child, View parent) { argument
1581 if (child == parent) {
[all...]
H A DListPopupWindow.java190 * @param attrs Attributes from inflating parent views used to style the popup.
201 * @param attrs Attributes from inflating parent views used to style the popup.
214 * @param attrs Attributes from inflating parent views used to style the popup.
731 final ViewParent parent = mPromptView.getParent();
732 if (parent instanceof ViewGroup) {
733 final ViewGroup group = (ViewGroup) parent;
1126 public void onItemSelected(AdapterView<?> parent, View view,
1138 public void onNothingSelected(AdapterView<?> parent) {
H A DListView.java343 Log.w(TAG, "The specified child already has a parent. "
344 + "You must call removeView() on the child's parent first.");
443 Log.w(TAG, "The specified child already has a parent. "
444 + "You must call removeView() on the child's parent first.");
611 // The parent's resetList() will remove all views from the layout so we need to
1287 // Lay out child directly against the parent measure spec so that
1344 // Since this view was measured directly aginst the parent measure
3168 * Return true if child is an ancestor of parent, (or equal to the parent).
3170 private boolean isViewAncestorOf(View child, View parent) { argument
[all...]
H A DPopupWindow.java148 * Keeps track of popup's parent's decor view. This is needed to dispatch
651 // Attach popup window in decor frame of parent window by default for
853 * Allow PopupWindow to scroll the anchor's parent to provide more room
856 * @param enabled True to scroll the anchor's parent when more room is desired by the popup.
922 * <p>Indicates whether the popup window will be attached in the decor frame of its parent
925 * @return true if the window will be attached to the decor frame of its parent window.
935 * <p>This will attach the popup window to the decor frame of the parent window to avoid
942 * @param enabled true if the popup should be attached to the decor frame of its parent window.
1163 * @param parent a parent vie
1168 showAtLocation(View parent, int gravity, int x, int y) argument
[all...]
H A DRadioGroup.java388 public void onChildViewAdded(View parent, View child) { argument
389 if (parent == RadioGroup.this && child instanceof RadioButton) {
401 mOnHierarchyChangeListener.onChildViewAdded(parent, child);
409 public void onChildViewRemoved(View parent, View child) { argument
410 if (parent == RadioGroup.this && child instanceof RadioButton) {
415 mOnHierarchyChangeListener.onChildViewRemoved(parent, child);
H A DRemoteViews.java587 View parent = (View) v.getParent();
591 // 3) a null parent.
594 while (parent != null && !(parent instanceof AdapterView<?>)
595 && !((parent instanceof AppWidgetHostView) &&
596 !(parent instanceof RemoteViewsAdapter.RemoteViewsFrameLayout))) {
597 parent = (View) parent.getParent();
600 if (!(parent instanceof AdapterView<?>)) {
602 // and AdapterView as a parent
3467 apply(Context context, ViewGroup parent) argument
3472 apply(Context context, ViewGroup parent, OnClickHandler handler) argument
3483 inflateView(Context context, RemoteViews rv, ViewGroup parent) argument
3545 applyAsync( Context context, ViewGroup parent, Executor executor, OnViewAppliedListener listener) argument
3559 applyAsync(Context context, ViewGroup parent, Executor executor, OnViewAppliedListener listener, OnClickHandler handler) argument
3564 getAsyncApplyTask(Context context, ViewGroup parent, OnViewAppliedListener listener, OnClickHandler handler) argument
3583 AsyncApplyTask( RemoteViews rv, ViewGroup parent, Context context, OnViewAppliedListener listener, OnClickHandler handler, View result) argument
3724 performApply(View v, ViewGroup parent, OnClickHandler handler) argument
[all...]
H A DRemoteViewsAdapter.java1085 public View getView(int position, View convertView, ViewGroup parent) { argument
1111 layout = new RemoteViewsFrameLayout(parent.getContext(), mCache);
H A DRemoteViewsListAdapter.java85 public View getView(int position, View convertView, ViewGroup parent) { argument
95 v = rv.apply(mContext, parent);
H A DResourceCursorAdapter.java134 public View newView(Context context, Cursor cursor, ViewGroup parent) { argument
135 return mInflater.inflate(mLayout, parent, false);
139 public View newDropDownView(Context context, Cursor cursor, ViewGroup parent) { argument
140 return mDropDownInflater.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 DScrollView.java548 final ViewParent parent = getParent();
549 if (parent != null) {
550 parent.requestDisallowInterceptTouchEvent(true);
630 final ViewParent parent = getParent();
631 if (parent != null) {
632 parent.requestDisallowInterceptTouchEvent(true);
669 final ViewParent parent = getParent();
670 if (parent != null) {
671 parent.requestDisallowInterceptTouchEvent(true);
1602 * Return true if child is a descendant of parent, (o
1604 isViewDescendantOf(View child, View parent) argument
[all...]
H A DSearchView.java823 // Expand mSearchSrcTextView touch target to be the height of the parent in order to
1475 public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
1486 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
1494 public void onNothingSelected(AdapterView<?> parent) {
H A DSimpleAdapter.java120 public View getView(int position, View convertView, ViewGroup parent) { argument
121 return createViewFromResource(mInflater, position, convertView, parent, mResource);
125 ViewGroup parent, int resource) {
128 v = inflater.inflate(resource, parent, false);
177 public View getDropDownView(int position, View convertView, ViewGroup parent) { argument
179 return createViewFromResource(inflater, position, convertView, parent, mDropDownResource);
124 createViewFromResource(LayoutInflater inflater, int position, View convertView, ViewGroup parent, int resource) 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...]
H A DSimpleMonthView.java388 // SimpleMonthView, skipping over other SimpleMonthViews in the parent ViewPager
435 final ViewParent parent = getParent();
441 nextFocus.getParent() == parent);
H A DSpinner.java989 public View getView(int position, View convertView, ViewGroup parent) { argument
990 return getDropDownView(position, convertView, parent);
993 public View getDropDownView(int position, View convertView, ViewGroup parent) { argument
994 return (mAdapter == null) ? null : mAdapter.getDropDownView(position, convertView, parent);
1185 public void onItemClick(AdapterView parent, View v, int position, long id) {

Completed in 267 milliseconds

1234567891011>>