• Home
  • Raw
  • Download

Lines Matching refs:child

520         View child = getChildAt(x, y);  in setFolderLeaveBehindCell()  local
522 child.getMeasuredWidth(), child.getPaddingTop()); in setFolderLeaveBehindCell()
559 final View child = getChildAt(i); in cancelLongPress() local
560 child.cancelLongPress(); in cancelLongPress()
580 public boolean addViewToCellLayout(View child, int index, int childId, LayoutParams params, in addViewToCellLayout() argument
585 if (child instanceof BubbleTextView) { in addViewToCellLayout()
586 BubbleTextView bubbleChild = (BubbleTextView) child; in addViewToCellLayout()
590 child.setScaleX(mChildScale); in addViewToCellLayout()
591 child.setScaleY(mChildScale); in addViewToCellLayout()
601 child.setId(childId); in addViewToCellLayout()
603 Log.d(TAG, "Adding view to ShortcutsAndWidgetsContainer: " + child); in addViewToCellLayout()
605 mShortcutsAndWidgets.addView(child, index, lp); in addViewToCellLayout()
607 if (markCells) markCellsAsOccupiedForView(child); in addViewToCellLayout()
858 public boolean animateChildToPosition(final View child, int cellX, int cellY, int duration, in animateChildToPosition() argument
862 if (clc.indexOfChild(child) != -1 && (child instanceof Reorderable)) { in animateChildToPosition()
863 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in animateChildToPosition()
864 final ItemInfo info = (ItemInfo) child.getTag(); in animateChildToPosition()
865 final Reorderable item = (Reorderable) child; in animateChildToPosition()
893 clc.setupLp(child); in animateChildToPosition()
937 child.requestLayout(); in animateChildToPosition()
1728 for (View child: solution.map.keySet()) { in rearrangementExists()
1729 if (child == ignoreView) continue; in rearrangementExists()
1730 CellAndSpan c = solution.map.get(child); in rearrangementExists()
1731 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in rearrangementExists()
1737 mIntersectingViews.add(child); in rearrangementExists()
1827 View child = mShortcutsAndWidgets.getChildAt(i); in copyCurrentStateToSolution() local
1828 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in copyCurrentStateToSolution()
1835 solution.add(child, c); in copyCurrentStateToSolution()
1844 View child = mShortcutsAndWidgets.getChildAt(i); in copySolutionToTempState() local
1845 if (child == dragView) continue; in copySolutionToTempState()
1846 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in copySolutionToTempState()
1847 CellAndSpan c = solution.map.get(child); in copySolutionToTempState()
1867 View child = mShortcutsAndWidgets.getChildAt(i); in animateItemsToSolution() local
1868 if (child == dragView) continue; in animateItemsToSolution()
1869 CellAndSpan c = solution.map.get(child); in animateItemsToSolution()
1871 animateChildToPosition(child, c.cellX, c.cellY, REORDER_ANIMATION_DURATION, 0, in animateItemsToSolution()
1887 View child = mShortcutsAndWidgets.getChildAt(i); in beginOrAdjustReorderPreviewAnimations() local
1888 if (child == dragView) continue; in beginOrAdjustReorderPreviewAnimations()
1889 CellAndSpan c = solution.map.get(child); in beginOrAdjustReorderPreviewAnimations()
1891 != null && !solution.intersectingViews.contains(child); in beginOrAdjustReorderPreviewAnimations()
1894 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in beginOrAdjustReorderPreviewAnimations()
1895 if (c != null && !skip && (child instanceof Reorderable)) { in beginOrAdjustReorderPreviewAnimations()
1896 ReorderPreviewAnimation rha = new ReorderPreviewAnimation((Reorderable) child, in beginOrAdjustReorderPreviewAnimations()
1919 final Reorderable child; field in CellLayout.ReorderPreviewAnimation
1939 public ReorderPreviewAnimation(Reorderable child, int mode, int cellX0, int cellY0, in ReorderPreviewAnimation() argument
1950 this.child = child; in ReorderPreviewAnimation()
1955 child.getReorderBounceOffset(mTmpPointF); in ReorderPreviewAnimation()
1958 initScale = child.getReorderBounceScale(); in ReorderPreviewAnimation()
1959 finalScale = mChildScale - (CHILD_DIVIDEND / child.getView().getWidth()) * initScale; in ReorderPreviewAnimation()
1987 if (mShakeAnimators.containsKey(child)) { in animate()
1988 ReorderPreviewAnimation oldAnimation = mShakeAnimators.get(child); in animate()
1989 mShakeAnimators.remove(child); in animate()
2026 mShakeAnimators.put(child, this); in animate()
2035 child.setReorderBounceOffset(x, y); in setAnimationProgress()
2037 child.setReorderBounceScale(s); in setAnimationProgress()
2084 View child = mShortcutsAndWidgets.getChildAt(i); in commitTempPlacement() local
2085 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in commitTempPlacement()
2086 ItemInfo info = (ItemInfo) child.getTag(); in commitTempPlacement()
2193 View child = mShortcutsAndWidgets.getChildAt(i); in getViewsIntersectingRegion() local
2194 if (child == dragView) continue; in getViewsIntersectingRegion()
2195 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in getViewsIntersectingRegion()
2198 mIntersectingViews.add(child); in getViewsIntersectingRegion()
2219 View child = mShortcutsAndWidgets.getChildAt(i); in revertTempState() local
2220 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in revertTempState()
2224 animateChildToPosition(child, lp.cellX, lp.cellY, REORDER_ANIMATION_DURATION, in revertTempState()
2493 void onDropChild(View child) { in onDropChild() argument
2494 if (child != null) { in onDropChild()
2495 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onDropChild()
2497 child.requestLayout(); in onDropChild()
2498 markCellsAsOccupiedForView(child); in onDropChild()