Lines Matching refs:position
16 * Helper class for doing reorder animations. Works out the logical position of
24 * Constant to indicate an unsupported reordering position.
75 // Ensure that target position is not the same as the original,
77 if (lp.position != mCurrentDraggedOverChild.position) {
83 mDraggedChild.position != mCurrentDraggedOverChild.position) {
85 mDraggedChild.position,
86 mCurrentDraggedOverChild.position);
90 mReorderListener.onDrop(mDraggedChild.target, mDraggedChild.position,
91 mCurrentDraggedOverChild.position);
136 if (lp.position != mCurrentDraggedOverChild.position) {
138 // Ensure that target position is not the same as the original,
140 mReorderListener.onEnterReorderArea(reorderTarget, lp.position);
167 * Get the position of the child that is being dragged over. If there isn't one, returns
172 return mCurrentDraggedOverChild.position;
206 * Get the original position of the child that is being dragged. If there isn't one, returns
210 return mDraggedChild != null ? mDraggedChild.position : INVALID_REORDER_POS;
233 child, childLayoutParam.position, childLayoutParam.id);
270 final int position;
274 position = pos;