• Home
  • Raw
  • Download

Lines Matching refs:child

620         View child = getChildAt(x, y);  in setFolderLeaveBehindCell()  local
622 child.getMeasuredWidth(), child.getPaddingTop()); in setFolderLeaveBehindCell()
659 final View child = getChildAt(i); in cancelLongPress() local
660 child.cancelLongPress(); in cancelLongPress()
680 public boolean addViewToCellLayout(View child, int index, int childId, LayoutParams params, in addViewToCellLayout() argument
685 if (child instanceof BubbleTextView) { in addViewToCellLayout()
686 BubbleTextView bubbleChild = (BubbleTextView) child; in addViewToCellLayout()
690 child.setScaleX(mChildScale); in addViewToCellLayout()
691 child.setScaleY(mChildScale); in addViewToCellLayout()
701 child.setId(childId); in addViewToCellLayout()
703 Log.d(TAG, "Adding view to ShortcutsAndWidgetsContainer: " + child); in addViewToCellLayout()
705 mShortcutsAndWidgets.addView(child, index, lp); in addViewToCellLayout()
707 if (markCells) markCellsAsOccupiedForView(child); in addViewToCellLayout()
940 public boolean animateChildToPosition(final View child, int cellX, int cellY, int duration, in animateChildToPosition() argument
944 if (clc.indexOfChild(child) != -1 && (child instanceof Reorderable)) { in animateChildToPosition()
945 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in animateChildToPosition()
946 final ItemInfo info = (ItemInfo) child.getTag(); in animateChildToPosition()
947 final Reorderable item = (Reorderable) child; in animateChildToPosition()
975 clc.setupLp(child); in animateChildToPosition()
1019 child.requestLayout(); in animateChildToPosition()
1808 for (View child: solution.map.keySet()) { in rearrangementExists()
1809 if (child == ignoreView) continue; in rearrangementExists()
1810 CellAndSpan c = solution.map.get(child); in rearrangementExists()
1811 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in rearrangementExists()
1817 mIntersectingViews.add(child); in rearrangementExists()
1907 View child = mShortcutsAndWidgets.getChildAt(i); in copyCurrentStateToSolution() local
1908 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in copyCurrentStateToSolution()
1915 solution.add(child, c); in copyCurrentStateToSolution()
1924 View child = mShortcutsAndWidgets.getChildAt(i); in copySolutionToTempState() local
1925 if (child == dragView) continue; in copySolutionToTempState()
1926 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in copySolutionToTempState()
1927 CellAndSpan c = solution.map.get(child); in copySolutionToTempState()
1947 View child = mShortcutsAndWidgets.getChildAt(i); in animateItemsToSolution() local
1948 if (child == dragView) continue; in animateItemsToSolution()
1949 CellAndSpan c = solution.map.get(child); in animateItemsToSolution()
1951 animateChildToPosition(child, c.cellX, c.cellY, REORDER_ANIMATION_DURATION, 0, in animateItemsToSolution()
1967 View child = mShortcutsAndWidgets.getChildAt(i); in beginOrAdjustReorderPreviewAnimations() local
1968 if (child == dragView) continue; in beginOrAdjustReorderPreviewAnimations()
1969 CellAndSpan c = solution.map.get(child); in beginOrAdjustReorderPreviewAnimations()
1971 != null && !solution.intersectingViews.contains(child); in beginOrAdjustReorderPreviewAnimations()
1974 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in beginOrAdjustReorderPreviewAnimations()
1975 if (c != null && !skip && (child instanceof Reorderable)) { in beginOrAdjustReorderPreviewAnimations()
1976 ReorderPreviewAnimation rha = new ReorderPreviewAnimation((Reorderable) child, in beginOrAdjustReorderPreviewAnimations()
1999 final Reorderable child; field in CellLayout.ReorderPreviewAnimation
2019 public ReorderPreviewAnimation(Reorderable child, int mode, int cellX0, int cellY0, in ReorderPreviewAnimation() argument
2030 this.child = child; in ReorderPreviewAnimation()
2035 child.getReorderBounceOffset(mTmpPointF); in ReorderPreviewAnimation()
2038 initScale = child.getReorderBounceScale(); in ReorderPreviewAnimation()
2039 finalScale = mChildScale - (CHILD_DIVIDEND / child.getView().getWidth()) * initScale; in ReorderPreviewAnimation()
2067 if (mShakeAnimators.containsKey(child)) { in animate()
2068 ReorderPreviewAnimation oldAnimation = mShakeAnimators.get(child); in animate()
2069 mShakeAnimators.remove(child); in animate()
2106 mShakeAnimators.put(child, this); in animate()
2115 child.setReorderBounceOffset(x, y); in setAnimationProgress()
2117 child.setReorderBounceScale(s); in setAnimationProgress()
2164 View child = mShortcutsAndWidgets.getChildAt(i); in commitTempPlacement() local
2165 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in commitTempPlacement()
2166 ItemInfo info = (ItemInfo) child.getTag(); in commitTempPlacement()
2273 View child = mShortcutsAndWidgets.getChildAt(i); in getViewsIntersectingRegion() local
2274 if (child == dragView) continue; in getViewsIntersectingRegion()
2275 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in getViewsIntersectingRegion()
2278 mIntersectingViews.add(child); in getViewsIntersectingRegion()
2299 View child = mShortcutsAndWidgets.getChildAt(i); in revertTempState() local
2300 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in revertTempState()
2304 animateChildToPosition(child, lp.cellX, lp.cellY, REORDER_ANIMATION_DURATION, in revertTempState()
2574 void onDropChild(View child) { in onDropChild() argument
2575 if (child != null) { in onDropChild()
2576 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onDropChild()
2578 child.requestLayout(); in onDropChild()
2579 markCellsAsOccupiedForView(child); in onDropChild()