/packages/apps/Settings/src/com/android/settings/widget/ |
D | MatchParentShrinkingLinearLayout.java | 333 final View child = getVirtualChildAt(i); in drawDividersVertical() local 335 if (child != null && child.getVisibility() != GONE) { in drawDividersVertical() 337 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical() 338 final int top = child.getTop() - lp.topMargin - mDividerHeight; in drawDividersVertical() 345 final View child = getVirtualChildAt(count - 1); in drawDividersVertical() local 347 if (child == null) { in drawDividersVertical() 350 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical() 351 bottom = child.getBottom() + lp.bottomMargin; in drawDividersVertical() 361 final View child = getVirtualChildAt(i); in drawDividersHorizontal() local 363 if (child != null && child.getVisibility() != GONE) { in drawDividersHorizontal() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DragLayer.java | 182 for (AppWidgetResizeFrame child: mResizeFrames) { in handleTouchDown() 183 child.getHitRect(hitRect); in handleTouchDown() 185 if (child.beginResizeIfPointInRegion(x - child.getLeft(), y - child.getTop())) { in handleTouchDown() 186 mCurrentResizeFrame = child; in handleTouchDown() 299 public boolean onRequestSendAccessibilityEvent(View child, AccessibilityEvent event) { in onRequestSendAccessibilityEvent() argument 302 if (child == currentFolder) { in onRequestSendAccessibilityEvent() 303 return super.onRequestSendAccessibilityEvent(child, event); in onRequestSendAccessibilityEvent() 306 if (isInAccessibleDrag() && child instanceof SearchDropTargetBar) { in onRequestSendAccessibilityEvent() 307 return super.onRequestSendAccessibilityEvent(child, event); in onRequestSendAccessibilityEvent() 313 return super.onRequestSendAccessibilityEvent(child, event); in onRequestSendAccessibilityEvent() [all …]
|
D | CellLayout.java | 486 View child = getChildAt(fra.mCellX, fra.mCellY); in onDraw() local 488 if (child != null) { in onDraw() 491 child.getPaddingTop() + grid.folderBackgroundOffset; in onDraw() 523 View child = getChildAt(mFolderLeaveBehindCell[0], mFolderLeaveBehindCell[1]); in onDraw() local 524 if (child != null) { in onDraw() 527 child.getPaddingTop() + grid.folderBackgroundOffset; in onDraw() 585 final View child = getChildAt(i); in cancelLongPress() local 586 child.cancelLongPress(); in cancelLongPress() 611 public boolean addViewToCellLayout(View child, int index, int childId, LayoutParams params, in addViewToCellLayout() argument 616 if (child instanceof BubbleTextView) { in addViewToCellLayout() [all …]
|
D | Workspace.java | 477 public void onChildViewAdded(View parent, View child) { in onChildViewAdded() argument 478 if (!(child instanceof CellLayout)) { in onChildViewAdded() 481 CellLayout cl = ((CellLayout) child); in onChildViewAdded() 485 super.onChildViewAdded(parent, child); in onChildViewAdded() 488 protected boolean shouldDrawChild(View child) { in shouldDrawChild() argument 489 final CellLayout cl = (CellLayout) child; in shouldDrawChild() 490 return super.shouldDrawChild(child) && in shouldDrawChild() 503 View child = dragLayer.getChildAt(i); in getOpenFolder() local 504 if (child instanceof Folder) { in getOpenFolder() 505 Folder folder = (Folder) child; in getOpenFolder() [all …]
|
D | ShortcutAndWidgetContainer.java | 71 View child = getChildAt(i); in getChildAt() local 72 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in getChildAt() 76 return child; in getChildAt() 91 final View child = getChildAt(i); in dispatchDraw() local 92 … final CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in dispatchDraw() 109 View child = getChildAt(i); in onMeasure() local 110 if (child.getVisibility() != GONE) { in onMeasure() 111 measureChild(child); in onMeasure() 142 public void measureChild(View child) { in measureChild() argument 146 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in measureChild() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | ScrollAdapterView.java | 200 void recycleView(View child, int type) { in recycleView() argument 202 mAdapter.viewRemoved(child); in recycleView() 206 mViews[type].add(child); in recycleView() 559 View child = getChildAt(i); 560 removeViewInLayout(child); 561 recycleExpandableView(child); 810 View child = getChildAt(i); 811 mItemTransform.transform(child, getScrollCenter(child) 813 : getCenterInOffAxis(child) - mScroll.secondAxis().getScrollCenter()); 900 public void requestChildFocus(View child, View focused) { [all …]
|
/packages/apps/Browser/src/com/android/browser/view/ |
D | ScrollerView.java | 253 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/Gallery/src/com/android/camera/ |
D | EvenlySpacedLayout.java | 54 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/Launcher2/src/com/android/launcher2/ |
D | DragLayer.java | 127 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 …]
|
D | FocusHelper.java | 154 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 …]
|
D | CellLayout.java | 594 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 …]
|
D | ShortcutAndWidgetContainer.java | 63 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 …]
|
D | Workspace.java | 439 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 …]
|
D | PagedViewCellLayoutChildren.java | 50 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 …]
|
D | PagedView.java | 528 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 …]
|
D | HideFromAccessibilityHelper.java | 50 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/ContactsCommon/src/com/android/contacts/common/list/ |
D | CustomContactListFilterActivity.java | 494 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/DeskClock/src/com/android/deskclock/widget/sgv/ |
D | StaggeredGridView.java | 1032 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/Calendar/src/com/android/calendar/month/ |
D | SimpleDayPickerFragment.java | 233 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/ |
D | InterpolatingLayout.java | 214 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/ContactsCommon/src/com/android/contacts/common/model/ |
D | RawContactDelta.java | 264 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 …]
|
D | RawContactModifier.java | 124 final ValuesDelta child = insertChild(state, kind); in ensureKindExists() local 126 child.setFromTemplate(true); in ensureKindExists() 128 return child; in ensureKindExists() 383 final ValuesDelta child = ValuesDelta.fromAfter(after); in insertChild() local 384 state.addEntry(child); in insertChild() 385 return child; in insertChild() 571 final ValuesDelta child = RawContactModifier.insertChild(state, kindOrg); in parseExtras() local 575 child.put(Organization.COMPANY, company); in parseExtras() 580 child.put(Organization.TITLE, title); in parseExtras() 588 final ValuesDelta child = RawContactModifier.insertChild(state, kindNotes); in parseExtras() local [all …]
|
/packages/apps/Browser/src/com/android/browser/ |
D | NavTabScroller.java | 374 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/Gallery2/src/com/android/photos/views/ |
D | GalleryThumbnailView.java | 258 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 …]
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
D | SeekBarRotator.java | 52 final View child = getChildAt(0); in onMeasure() local 54 if (child.getVisibility() != GONE) { in onMeasure() 56 measureChild(child, heightMeasureSpec, widthMeasureSpec); in onMeasure() 58 child.getMeasuredHeightAndState(), in onMeasure() 59 child.getMeasuredWidthAndState()); in onMeasure() 69 final View child = getChildAt(0); in onLayout() local 71 if (child.getVisibility() != GONE) { in onLayout() 73 child.setPivotX(0); in onLayout() 74 child.setPivotY(0); in onLayout() 75 child.setRotation(-90); in onLayout() [all …]
|