• Home
  • Raw
  • Download

Lines Matching refs:child

515         View child = getChildAt(x, y);  in setFolderLeaveBehindCell()  local
517 child.getMeasuredWidth(), child.getPaddingTop()); in setFolderLeaveBehindCell()
554 final View child = getChildAt(i); in cancelLongPress() local
555 child.cancelLongPress(); in cancelLongPress()
575 public boolean addViewToCellLayout(View child, int index, int childId, LayoutParams params, in addViewToCellLayout() argument
580 if (child instanceof BubbleTextView) { in addViewToCellLayout()
581 BubbleTextView bubbleChild = (BubbleTextView) child; in addViewToCellLayout()
585 child.setScaleX(mChildScale); in addViewToCellLayout()
586 child.setScaleY(mChildScale); in addViewToCellLayout()
596 child.setId(childId); in addViewToCellLayout()
598 Log.d(TAG, "Adding view to ShortcutsAndWidgetsContainer: " + child); in addViewToCellLayout()
600 mShortcutsAndWidgets.addView(child, index, lp); in addViewToCellLayout()
602 if (markCells) markCellsAsOccupiedForView(child); in addViewToCellLayout()
869 public boolean animateChildToPosition(final View child, int cellX, int cellY, int duration, in animateChildToPosition() argument
873 if (clc.indexOfChild(child) != -1) { in animateChildToPosition()
874 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in animateChildToPosition()
875 final ItemInfo info = (ItemInfo) child.getTag(); in animateChildToPosition()
898 clc.setupLp(child); in animateChildToPosition()
922 child.requestLayout(); in animateChildToPosition()
933 child.requestLayout(); in animateChildToPosition()
1745 for (View child: solution.map.keySet()) { in rearrangementExists()
1746 if (child == ignoreView) continue; in rearrangementExists()
1747 CellAndSpan c = solution.map.get(child); in rearrangementExists()
1748 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in rearrangementExists()
1754 mIntersectingViews.add(child); in rearrangementExists()
1844 View child = mShortcutsAndWidgets.getChildAt(i); in copyCurrentStateToSolution() local
1845 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in copyCurrentStateToSolution()
1852 solution.add(child, c); in copyCurrentStateToSolution()
1861 View child = mShortcutsAndWidgets.getChildAt(i); in copySolutionToTempState() local
1862 if (child == dragView) continue; in copySolutionToTempState()
1863 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in copySolutionToTempState()
1864 CellAndSpan c = solution.map.get(child); in copySolutionToTempState()
1884 View child = mShortcutsAndWidgets.getChildAt(i); in animateItemsToSolution() local
1885 if (child == dragView) continue; in animateItemsToSolution()
1886 CellAndSpan c = solution.map.get(child); in animateItemsToSolution()
1888 animateChildToPosition(child, c.cellX, c.cellY, REORDER_ANIMATION_DURATION, 0, in animateItemsToSolution()
1904 View child = mShortcutsAndWidgets.getChildAt(i); in beginOrAdjustReorderPreviewAnimations() local
1905 if (child == dragView) continue; in beginOrAdjustReorderPreviewAnimations()
1906 CellAndSpan c = solution.map.get(child); in beginOrAdjustReorderPreviewAnimations()
1908 != null && !solution.intersectingViews.contains(child); in beginOrAdjustReorderPreviewAnimations()
1910 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in beginOrAdjustReorderPreviewAnimations()
1912 ReorderPreviewAnimation rha = new ReorderPreviewAnimation(child, mode, lp.cellX, in beginOrAdjustReorderPreviewAnimations()
1935 final View child; field in CellLayout.ReorderPreviewAnimation
1955 public ReorderPreviewAnimation(View child, int mode, int cellX0, int cellY0, int cellX1, in ReorderPreviewAnimation() argument
1966 this.child = child; in ReorderPreviewAnimation()
1969 finalScale = (mChildScale - (CHILD_DIVIDEND / child.getWidth())) * initScale; in ReorderPreviewAnimation()
1991 if (child instanceof LauncherAppWidgetHostView) { in setInitialAnimationValues()
1992 LauncherAppWidgetHostView lahv = (LauncherAppWidgetHostView) child; in setInitialAnimationValues()
2002 initScale = child.getScaleX(); in setInitialAnimationValues()
2003 initDeltaX = child.getTranslationX(); in setInitialAnimationValues()
2004 initDeltaY = child.getTranslationY(); in setInitialAnimationValues()
2011 if (mShakeAnimators.containsKey(child)) { in animate()
2012 ReorderPreviewAnimation oldAnimation = mShakeAnimators.get(child); in animate()
2014 mShakeAnimators.remove(child); in animate()
2043 mShakeAnimators.put(child, this); in animate()
2052 child.setTranslationX(x); in setAnimationProgress()
2053 child.setTranslationY(y); in setAnimationProgress()
2055 child.setScaleX(s); in setAnimationProgress()
2056 child.setScaleY(s); in setAnimationProgress()
2075 .build(child) in completeAnimationImmediately()
2103 View child = mShortcutsAndWidgets.getChildAt(i); in commitTempPlacement() local
2104 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in commitTempPlacement()
2105 ItemInfo info = (ItemInfo) child.getTag(); in commitTempPlacement()
2210 View child = mShortcutsAndWidgets.getChildAt(i); in getViewsIntersectingRegion() local
2211 if (child == dragView) continue; in getViewsIntersectingRegion()
2212 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in getViewsIntersectingRegion()
2215 mIntersectingViews.add(child); in getViewsIntersectingRegion()
2236 View child = mShortcutsAndWidgets.getChildAt(i); in revertTempState() local
2237 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in revertTempState()
2241 animateChildToPosition(child, lp.cellX, lp.cellY, REORDER_ANIMATION_DURATION, in revertTempState()
2510 void onDropChild(View child) { in onDropChild() argument
2511 if (child != null) { in onDropChild()
2512 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onDropChild()
2514 child.requestLayout(); in onDropChild()
2515 markCellsAsOccupiedForView(child); in onDropChild()