Lines Matching refs:child
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()
720 final View child = mShortcutsAndWidgets.getChildAt(i); in setTagToCellInfoForPoint() local
721 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in setTagToCellInfoForPoint()
723 if ((child.getVisibility() == VISIBLE || child.getAnimation() != null) && in setTagToCellInfoForPoint()
725 child.getHitRect(frame); in setTagToCellInfoForPoint()
727 float scale = child.getScaleX(); in setTagToCellInfoForPoint()
728 frame = new Rect(child.getLeft(), child.getTop(), child.getRight(), in setTagToCellInfoForPoint()
729 child.getBottom()); in setTagToCellInfoForPoint()
738 cellInfo.cell = child; in setTagToCellInfoForPoint()
1017 View child = getChildAt(i); in onMeasure() local
1022 child.measure(childWidthMeasureSpec, childheightMeasureSpec); in onMeasure()
1031 View child = getChildAt(i); in onLayout() local
1032 child.layout(getPaddingLeft(), getPaddingTop(), in onLayout()
1095 public boolean animateChildToPosition(final View child, int cellX, int cellY, int duration, in animateChildToPosition() argument
1103 if (clc.indexOfChild(child) != -1) { in animateChildToPosition()
1104 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in animateChildToPosition()
1105 final ItemInfo info = (ItemInfo) child.getTag(); in animateChildToPosition()
1141 ValueAnimator va = LauncherAnimUtils.ofFloat(child, 0f, 1f); in animateChildToPosition()
1151 child.requestLayout(); in animateChildToPosition()
1162 child.requestLayout(); in animateChildToPosition()
2094 for (View child: solution.map.keySet()) { in rearrangementExists()
2095 if (child == ignoreView) continue; in rearrangementExists()
2096 CellAndSpan c = solution.map.get(child); in rearrangementExists()
2097 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in rearrangementExists()
2103 mIntersectingViews.add(child); in rearrangementExists()
2198 View child = mShortcutsAndWidgets.getChildAt(i); in copyCurrentStateToSolution() local
2199 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in copyCurrentStateToSolution()
2206 solution.add(child, c); in copyCurrentStateToSolution()
2219 View child = mShortcutsAndWidgets.getChildAt(i); in copySolutionToTempState() local
2220 if (child == dragView) continue; in copySolutionToTempState()
2221 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in copySolutionToTempState()
2222 CellAndSpan c = solution.map.get(child); in copySolutionToTempState()
2247 View child = mShortcutsAndWidgets.getChildAt(i); in animateItemsToSolution() local
2248 if (child == dragView) continue; in animateItemsToSolution()
2249 CellAndSpan c = solution.map.get(child); in animateItemsToSolution()
2251 animateChildToPosition(child, c.x, c.y, REORDER_ANIMATION_DURATION, 0, in animateItemsToSolution()
2266 View child = mShortcutsAndWidgets.getChildAt(i); in beginOrAdjustHintAnimations() local
2267 if (child == dragView) continue; in beginOrAdjustHintAnimations()
2268 CellAndSpan c = solution.map.get(child); in beginOrAdjustHintAnimations()
2269 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in beginOrAdjustHintAnimations()
2271 ReorderHintAnimation rha = new ReorderHintAnimation(child, lp.cellX, lp.cellY, in beginOrAdjustHintAnimations()
2281 View child; field in CellLayout.ReorderHintAnimation
2291 public ReorderHintAnimation(View child, int cellX0, int cellY0, int cellX1, int cellY1, in ReorderHintAnimation() argument
2317 initDeltaX = child.getTranslationX(); in ReorderHintAnimation()
2318 initDeltaY = child.getTranslationY(); in ReorderHintAnimation()
2319 finalScale = getChildrenScale() - 4.0f / child.getWidth(); in ReorderHintAnimation()
2320 initScale = child.getScaleX(); in ReorderHintAnimation()
2321 this.child = child; in ReorderHintAnimation()
2325 if (mShakeAnimators.containsKey(child)) { in animate()
2326 ReorderHintAnimation oldAnimation = mShakeAnimators.get(child); in animate()
2328 mShakeAnimators.remove(child); in animate()
2337 ValueAnimator va = LauncherAnimUtils.ofFloat(child, 0f, 1f); in animate()
2349 child.setTranslationX(x); in animate()
2350 child.setTranslationY(y); in animate()
2352 child.setScaleX(s); in animate()
2353 child.setScaleY(s); in animate()
2364 mShakeAnimators.put(child, this); in animate()
2382 LauncherAnimUtils.ofFloat(child, "scaleX", getChildrenScale()), in completeAnimationImmediately()
2383 LauncherAnimUtils.ofFloat(child, "scaleY", getChildrenScale()), in completeAnimationImmediately()
2384 LauncherAnimUtils.ofFloat(child, "translationX", 0f), in completeAnimationImmediately()
2385 LauncherAnimUtils.ofFloat(child, "translationY", 0f) in completeAnimationImmediately()
2408 View child = mShortcutsAndWidgets.getChildAt(i); in commitTempPlacement() local
2409 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in commitTempPlacement()
2410 ItemInfo info = (ItemInfo) child.getTag(); in commitTempPlacement()
2454 public void prepareChildForDrag(View child) { in prepareChildForDrag() argument
2455 markCellsAsUnoccupiedForView(child); in prepareChildForDrag()
2515 View child = mShortcutsAndWidgets.getChildAt(i); in getViewsIntersectingRegion() local
2516 if (child == dragView) continue; in getViewsIntersectingRegion()
2517 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in getViewsIntersectingRegion()
2520 mIntersectingViews.add(child); in getViewsIntersectingRegion()
2540 View child = mShortcutsAndWidgets.getChildAt(i); in revertTempState() local
2541 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in revertTempState()
2545 animateChildToPosition(child, lp.cellX, lp.cellY, REORDER_ANIMATION_DURATION, in revertTempState()
2947 void onDropChild(View child) { in onDropChild() argument
2948 if (child != null) { in onDropChild()
2949 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onDropChild()
2951 child.requestLayout(); in onDropChild()