Lines Matching refs:left
52 * to emerge from: left or right. (Or start/end on platform versions that support layout direction.)
65 * <p>As per the Android Design guide, any drawers positioned to the left/start should
68 * This preserves the same navigation left, actions right structure present in the Action Bar
252 * Set a simple drawable used for the left or right shadow.
278 * Set a simple drawable used for the left or right shadow.
1040 * @param gravity Gravity.LEFT to move the left drawer or Gravity.RIGHT for the right.
1080 * @param gravity Gravity.LEFT to move the left drawer or Gravity.RIGHT for the right.
1359 public void onViewPositionChanged(View changedView, int left, int top, int dx, int dy) {
1365 offset = (float) (childWidth + left) / childWidth;
1368 offset = (float) (width - left) / childWidth;
1393 // Offset is how open the drawer is, therefore left/right values
1398 int left;
1400 left = xvel > 0 || xvel == 0 && offset > 0.5f ? 0 : -childWidth;
1403 left = xvel < 0 || xvel == 0 && offset > 0.5f ? width - childWidth : width;
1406 mDragger.settleCapturedViewAt(left, releasedChild.getTop());
1474 public int clampViewPositionHorizontal(View child, int left, int dx) {
1476 return Math.max(-child.getWidth(), Math.min(left, 0));
1479 return Math.max(width - child.getWidth(), Math.min(left, width));