Home
last modified time | relevance | path

Searched refs:child (Results 1 – 25 of 118) sorted by relevance

12345

/packages/apps/Dialer/src/com/android/dialer/widget/
DOverlappingPaneLayout.java295 final View child = getChildAt(i); in updateObscuredViewsVisibility() local
297 if (child == panel) { in updateObscuredViewsVisibility()
302 final int clampedChildLeft = Math.max(leftBound, child.getLeft()); in updateObscuredViewsVisibility()
303 final int clampedChildRight = Math.min(rightBound, child.getRight()); in updateObscuredViewsVisibility()
304 final int clampedChildTop = Math.max(startBound, child.getTop()); in updateObscuredViewsVisibility()
305 final int clampedChildBottom = Math.min(endBound, child.getBottom()); in updateObscuredViewsVisibility()
314 child.setVisibility(vis); in updateObscuredViewsVisibility()
320 final View child = getChildAt(i); in setAllChildrenVisible() local
321 if (child.getVisibility() == INVISIBLE) { in setAllChildrenVisible()
322 child.setVisibility(VISIBLE); in setAllChildrenVisible()
[all …]
DViewDragHelper.java276 public int getViewHorizontalDragRange(View child) { in getViewHorizontalDragRange() argument
287 public int getViewVerticalDragRange(View child) { in getViewVerticalDragRange() argument
307 public abstract boolean tryCaptureView(View child, int pointerId); in tryCaptureView() argument
320 public int clampViewPositionHorizontal(View child, int left, int dx) { in clampViewPositionHorizontal() argument
335 public int clampViewPositionVertical(View child, int top, int dy) { in clampViewPositionVertical() argument
545 public boolean smoothSlideViewTo(View child, int finalLeft, int finalTop) { in smoothSlideViewTo() argument
546 mCapturedView = child; in smoothSlideViewTo()
604 private int computeSettleDuration(View child, int dx, int dy, int xvel, int yvel) { in computeSettleDuration() argument
619 int xduration = computeAxisDuration(dx, xvel, mCallback.getViewHorizontalDragRange(child)); in computeSettleDuration()
620 int yduration = computeAxisDuration(dy, yvel, mCallback.getViewVerticalDragRange(child)); in computeSettleDuration()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollAdapterView.java206 void recycleView(View child, int type) { in recycleView() argument
208 mAdapter.viewRemoved(child); in recycleView()
212 mViews[type].add(child); in recycleView()
569 View child = getChildAt(i);
570 removeViewInLayout(child);
571 recycleExpandableView(child);
824 View child = getChildAt(i);
825 mItemTransform.transform(child, getScrollCenter(child)
827 : getCenterInOffAxis(child) - mScroll.secondAxis().getScrollCenter());
927 public void requestChildFocus(View child, View focused) {
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DDragLayer.java168 for (AppWidgetResizeFrame child: mResizeFrames) { in handleTouchDown()
169 child.getHitRect(hitRect); in handleTouchDown()
171 if (child.beginResizeIfPointInRegion(x - child.getLeft(), y - child.getTop())) { in handleTouchDown()
172 mCurrentResizeFrame = child; in handleTouchDown()
271 public boolean onRequestSendAccessibilityEvent(View child, AccessibilityEvent event) { in onRequestSendAccessibilityEvent() argument
274 if (child == currentFolder) { in onRequestSendAccessibilityEvent()
275 return super.onRequestSendAccessibilityEvent(child, event); in onRequestSendAccessibilityEvent()
281 return super.onRequestSendAccessibilityEvent(child, event); in onRequestSendAccessibilityEvent()
360 public float getLocationInDragLayer(View child, int[] loc) { in getLocationInDragLayer() argument
363 return getDescendantCoordRelativeToSelf(child, loc); in getLocationInDragLayer()
[all …]
DCellLayout.java464 View child = getChildAt(fra.mCellX, fra.mCellY); in onDraw() local
466 if (child != null) { in onDraw()
469 child.getPaddingTop() + grid.folderBackgroundOffset; in onDraw()
501 View child = getChildAt(mFolderLeaveBehindCell[0], mFolderLeaveBehindCell[1]); in onDraw() local
502 if (child != null) { in onDraw()
505 child.getPaddingTop() + grid.folderBackgroundOffset; in onDraw()
572 final View child = getChildAt(i); in cancelLongPress() local
573 child.cancelLongPress(); in cancelLongPress()
594 public boolean addViewToCellLayout(View child, int index, int childId, LayoutParams params, in addViewToCellLayout() argument
599 if (child instanceof BubbleTextView) { in addViewToCellLayout()
[all …]
DShortcutAndWidgetContainer.java67 View child = getChildAt(i); in getChildAt() local
68 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in getChildAt()
72 return child; in getChildAt()
87 final View child = getChildAt(i); in dispatchDraw() local
88 … final CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in dispatchDraw()
105 View child = getChildAt(i); in onMeasure() local
106 if (child.getVisibility() != GONE) { in onMeasure()
107 measureChild(child); in onMeasure()
140 public void measureChild(View child) { in measureChild() argument
145 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in measureChild()
[all …]
DWorkspace.java499 public void onChildViewAdded(View parent, View child) { in onChildViewAdded() argument
500 if (!(child instanceof CellLayout)) { in onChildViewAdded()
503 CellLayout cl = ((CellLayout) child); in onChildViewAdded()
507 super.onChildViewAdded(parent, child); in onChildViewAdded()
510 protected boolean shouldDrawChild(View child) { in shouldDrawChild() argument
511 final CellLayout cl = (CellLayout) child; in shouldDrawChild()
512 return super.shouldDrawChild(child) && in shouldDrawChild()
525 View child = dragLayer.getChildAt(i); in getOpenFolder() local
526 if (child instanceof Folder) { in getOpenFolder()
527 Folder folder = (Folder) child; in getOpenFolder()
[all …]
DPagedViewCellLayoutChildren.java50 final View child = getChildAt(i); in cancelLongPress() local
51 child.cancelLongPress(); in cancelLongPress()
68 public void requestChildFocus(View child, View focused) { in requestChildFocus() argument
69 super.requestChildFocus(child, focused); in requestChildFocus()
70 if (child != null) { in requestChildFocus()
72 child.getDrawingRect(r); in requestChildFocus()
91 View child = getChildAt(i); in onMeasure() local
93 (PagedViewCellLayout.LayoutParams) child.getLayoutParams(); in onMeasure()
104 child.measure(childWidthMeasureSpec, childheightMeasureSpec); in onMeasure()
120 View child = getChildAt(i); in onLayout() local
[all …]
/packages/apps/Browser/src/com/android/browser/view/
DScrollerView.java253 public void addView(View child) { in addView() argument
258 super.addView(child); in addView()
262 public void addView(View child, int index) { in addView() argument
267 super.addView(child, index); in addView()
271 public void addView(View child, ViewGroup.LayoutParams params) { in addView() argument
276 super.addView(child, params); in addView()
280 public void addView(View child, int index, ViewGroup.LayoutParams params) { in addView() argument
285 super.addView(child, index, params); in addView()
292 View child = getChildAt(0); in canScroll() local
293 if (child != null) { in canScroll()
[all …]
/packages/apps/Launcher2/src/com/android/launcher2/
DDragLayer.java127 for (AppWidgetResizeFrame child: mResizeFrames) { in handleTouchDown()
128 child.getHitRect(hitRect); in handleTouchDown()
130 if (child.beginResizeIfPointInRegion(x - child.getLeft(), y - child.getTop())) { in handleTouchDown()
131 mCurrentResizeFrame = child; in handleTouchDown()
226 public boolean onRequestSendAccessibilityEvent(View child, AccessibilityEvent event) { in onRequestSendAccessibilityEvent() argument
229 if (child == currentFolder) { in onRequestSendAccessibilityEvent()
230 return super.onRequestSendAccessibilityEvent(child, event); in onRequestSendAccessibilityEvent()
236 return super.onRequestSendAccessibilityEvent(child, event); in onRequestSendAccessibilityEvent()
306 public float getLocationInDragLayer(View child, int[] loc) { in getLocationInDragLayer() argument
309 return getDescendantCoordRelativeToSelf(child, loc); in getLocationInDragLayer()
[all …]
DCellLayout.java594 final View child = getChildAt(i); in cancelLongPress() local
595 child.cancelLongPress(); in cancelLongPress()
615 public boolean addViewToCellLayout(View child, int index, int childId, LayoutParams params, in addViewToCellLayout() argument
620 if (child instanceof BubbleTextView) { in addViewToCellLayout()
621 BubbleTextView bubbleChild = (BubbleTextView) child; in addViewToCellLayout()
631 child.setScaleX(getChildrenScale()); in addViewToCellLayout()
632 child.setScaleY(getChildrenScale()); in addViewToCellLayout()
642 child.setId(childId); in addViewToCellLayout()
644 mShortcutsAndWidgets.addView(child, index, lp); in addViewToCellLayout()
646 if (markCells) markCellsAsOccupiedForView(child); in addViewToCellLayout()
[all …]
DFocusHelper.java154 View child = null; in handlePagedViewGridLayoutWidgetKeyEvent() local
166 child = newParent.getChildAt(newParent.getChildCount() - 1); in handlePagedViewGridLayoutWidgetKeyEvent()
167 if (child != null) child.requestFocus(); in handlePagedViewGridLayoutWidgetKeyEvent()
183 child = newParent.getChildAt(0); in handlePagedViewGridLayoutWidgetKeyEvent()
184 if (child != null) child.requestFocus(); in handlePagedViewGridLayoutWidgetKeyEvent()
196 child = parent.getChildAt(newWidgetIndex); in handlePagedViewGridLayoutWidgetKeyEvent()
197 if (child != null) child.requestFocus(); in handlePagedViewGridLayoutWidgetKeyEvent()
209 child = parent.getChildAt(newWidgetIndex); in handlePagedViewGridLayoutWidgetKeyEvent()
210 if (child != null) child.requestFocus(); in handlePagedViewGridLayoutWidgetKeyEvent()
231 child = newParent.getChildAt(0); in handlePagedViewGridLayoutWidgetKeyEvent()
[all …]
DShortcutAndWidgetContainer.java63 View child = getChildAt(i); in getChildAt() local
64 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in getChildAt()
68 return child; in getChildAt()
83 final View child = getChildAt(i); in dispatchDraw() local
84 … final CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in dispatchDraw()
96 View child = getChildAt(i); in onMeasure() local
97 measureChild(child); in onMeasure()
114 public void measureChild(View child) { in measureChild() argument
117 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in measureChild()
123 child.measure(childWidthMeasureSpec, childheightMeasureSpec); in measureChild()
[all …]
DWorkspace.java439 public void onChildViewAdded(View parent, View child) { in onChildViewAdded() argument
440 if (!(child instanceof CellLayout)) { in onChildViewAdded()
443 CellLayout cl = ((CellLayout) child); in onChildViewAdded()
451 public void onChildViewRemoved(View parent, View child) { in onChildViewRemoved() argument
454 protected boolean shouldDrawChild(View child) { in shouldDrawChild() argument
455 final CellLayout cl = (CellLayout) child; in shouldDrawChild()
456 return super.shouldDrawChild(child) && in shouldDrawChild()
468 View child = dragLayer.getChildAt(i); in getOpenFolder() local
469 if (child instanceof Folder) { in getOpenFolder()
470 Folder folder = (Folder) child; in getOpenFolder()
[all …]
DPagedViewCellLayoutChildren.java50 final View child = getChildAt(i); in cancelLongPress() local
51 child.cancelLongPress(); in cancelLongPress()
68 public void requestChildFocus(View child, View focused) { in requestChildFocus() argument
69 super.requestChildFocus(child, focused); in requestChildFocus()
70 if (child != null) { in requestChildFocus()
72 child.getDrawingRect(r); in requestChildFocus()
91 View child = getChildAt(i); in onMeasure() local
93 (PagedViewCellLayout.LayoutParams) child.getLayoutParams(); in onMeasure()
103 child.measure(childWidthMeasureSpec, childheightMeasureSpec); in onMeasure()
119 View child = getChildAt(i); in onLayout() local
[all …]
DPagedView.java528 final View child = getPageAt(i); in onMeasure() local
529 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
550 child.measure(childWidthMeasureSpec, childHeightMeasureSpec); in onMeasure()
551 maxChildHeight = Math.max(maxChildHeight, child.getMeasuredHeight()); in onMeasure()
552 if (DEBUG) Log.d(TAG, "\tmeasure-child" + i + ": " + child.getMeasuredWidth() + ", " in onMeasure()
553 + child.getMeasuredHeight()); in onMeasure()
618 final View child = getPageAt(i); in setLayoutScale() local
619 childrenX[i] = child.getX(); in setLayoutScale()
620 childrenY[i] = child.getY(); in setLayoutScale()
629 final View child = getPageAt(i); in setLayoutScale() local
[all …]
DHideFromAccessibilityHelper.java50 View child = vg.getChildAt(i); in setImportantForAccessibilityToNoHelper() local
52 if (includeView(child)) { in setImportantForAccessibilityToNoHelper()
53 setImportantForAccessibilityToNoHelper(child); in setImportantForAccessibilityToNoHelper()
82 View child = vg.getChildAt(i); in restoreImportantForAccessibilityHelper() local
83 if (includeView(child)) { in restoreImportantForAccessibilityHelper()
84 restoreImportantForAccessibilityHelper(child); in restoreImportantForAccessibilityHelper()
90 public void onChildViewAdded(View parent, View child) { in onChildViewAdded() argument
91 if (mHide && includeView(child)) { in onChildViewAdded()
92 setImportantForAccessibilityToNoHelper(child); in onChildViewAdded()
96 public void onChildViewRemoved(View parent, View child) { in onChildViewRemoved() argument
[all …]
/packages/apps/Gallery/src/com/android/camera/
DEvenlySpacedLayout.java54 View child = getChildAt(i); in onMeasure() local
55 if (child.getVisibility() == GONE) continue; in onMeasure()
56 measureChild(child, widthMeasureSpec, heightMeasureSpec); in onMeasure()
58 width += child.getMeasuredWidth(); in onMeasure()
59 height = Math.max(height, child.getMeasuredHeight()); in onMeasure()
61 height += child.getMeasuredHeight(); in onMeasure()
62 width = Math.max(width, child.getMeasuredWidth()); in onMeasure()
75 View child = getChildAt(i); in layoutHorizontal() local
76 if (child.getVisibility() == GONE) continue; in layoutHorizontal()
77 usedWidth += child.getMeasuredWidth(); in layoutHorizontal()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
DStaggeredGridView.java1032 final View child = getChildAtCoordinate( in dispatchDragEvent() local
1034 if (child != null) { in dispatchDragEvent()
1038 startDragging(child, mTouchDownForDragStartX, mTouchDownForDragStartY); in dispatchDragEvent()
1210 final View child = getChildAt(i); in recycleViewsInRange() local
1218 mRecycler.addScrap(child); in recycleViewsInRange()
1253 final View child = getChildAt(i); in recycleOffscreenViews() local
1254 if (child.getTop() <= clearBelow) { in recycleOffscreenViews()
1260 child.clearFocus(); in recycleOffscreenViews()
1267 mRecycler.addScrap(child); in recycleOffscreenViews()
1271 final View child = getChildAt(0); in recycleOffscreenViews() local
[all …]
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DCustomContactListFilterActivity.java494 final GroupDelta child = oppositeChildren.next(); in setShouldSync() local
495 setShouldSync(child, shouldSync, false); in setShouldSync()
500 public void setShouldSync(GroupDelta child, boolean shouldSync) { in setShouldSync() argument
501 setShouldSync(child, shouldSync, true); in setShouldSync()
508 public void setShouldSync(GroupDelta child, boolean shouldSync, boolean attemptRemove) { in setShouldSync() argument
509 child.putShouldSync(shouldSync); in setShouldSync()
512 mUnsyncedGroups.remove(child); in setShouldSync()
514 mSyncedGroups.add(child); in setShouldSync()
518 mSyncedGroups.remove(child); in setShouldSync()
520 mUnsyncedGroups.add(child); in setShouldSync()
[all …]
/packages/apps/Calendar/src/com/android/calendar/month/
DSimpleDayPickerFragment.java233 SimpleWeekView child = (SimpleWeekView) mListView.getChildAt(0); in onActivityCreated() local
234 if (child == null) { in onActivityCreated()
237 int julianDay = child.getFirstJulianDay(); in onActivityCreated()
406 View child; in goTo() local
411 child = mListView.getChildAt(i++); in goTo()
412 if (child == null) { in goTo()
415 top = child.getTop(); in goTo()
423 if (child != null) { in goTo()
424 firstPosition = mListView.getPositionForView(child); in goTo()
474 SimpleWeekView child = (SimpleWeekView)view.getChildAt(0); in onScroll() local
[all …]
/packages/apps/Contacts/src/com/android/contacts/widget/
DInterpolatingLayout.java214 View child = getChildAt(i); in onMeasure() local
215 if (child.getVisibility() == View.GONE) { in onMeasure()
219 LayoutParams params = (LayoutParams) child.getLayoutParams(); in onMeasure()
226 fillChild = child; in onMeasure()
256 child.measure(childWidthMeasureSpec, childHeightMeasureSpec); in onMeasure()
257 width += child.getMeasuredWidth(); in onMeasure()
258 height = Math.max(child.getMeasuredHeight(), height); in onMeasure()
284 View child = getChildAt(i); in onLayout() local
286 if (child.getVisibility() == View.GONE) { in onLayout()
290 LayoutParams params = (LayoutParams) child.getLayoutParams(); in onLayout()
[all …]
/packages/apps/Browser/src/com/android/browser/
DNavTabScroller.java374 final View child = mContentView.getChildAt(i); in adjustGap() local
375 adjustViewGap(child, i); in adjustGap()
420 View child = mContentView.getChildAt(i); in findViewAt() local
421 if (child.getVisibility() == View.VISIBLE) { in findViewAt()
422 if ((x >= child.getLeft()) && (x < child.getRight()) in findViewAt()
423 && (y >= child.getTop()) && (y < child.getBottom())) { in findViewAt()
424 return child; in findViewAt()
490 View child = mContentView.getChildAt((mPullValue < 0) in onPull() local
493 if (child == null) break; in onPull()
494 ObjectAnimator trans = ObjectAnimator.ofFloat(child, in onPull()
[all …]
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DRawContactDelta.java264 for (ValuesDelta child : mimeEntries) { in getMimeEntriesCount()
266 if (onlyVisible && !child.isVisible()) continue; in getMimeEntriesCount()
334 for (ValuesDelta child : mimeEntries) { in equals()
336 if (!other.containsEntry(child)) return false; in equals()
348 for (ValuesDelta child : mimeEntries) { in containsEntry()
350 if (child.equals(entry)) return true; in containsEntry()
362 for (ValuesDelta child : mimeEntries) { in markDeleted()
363 child.markDeleted(); in markDeleted()
378 for (ValuesDelta child : mimeEntries) { in toString()
380 child.toString(builder); in toString()
[all …]
/packages/apps/Gallery2/src/com/android/photos/views/
DGalleryThumbnailView.java258 View child = obtainView(position, null); in makeAndAddColumn() local
259 if (child.getParent() != this) { in makeAndAddColumn()
261 addViewInLayout(child, forward ? -1 : 0, child.getLayoutParams()); in makeAndAddColumn()
263 addView(child, forward ? -1 : 0); in makeAndAddColumn()
271 child.measure(widthSpec, heightSpec); in makeAndAddColumn()
273 child.layout(childLeft, nextTop, childLeft + columnWidth, nextTop + heightSize); in makeAndAddColumn()
442 final View child = getChildAt(i); in recycleOffscreenViews() local
443 if (child.getTop() <= clearBelow) { in recycleOffscreenViews()
455 mRecycler.addScrap(child); in recycleOffscreenViews()
459 final View child = getChildAt(0); in recycleOffscreenViews() local
[all …]

12345