HomeSort by relevance Sort by last modified time
    Searched refs:touchPosition (Results 1 - 5 of 5) sorted by null

  /packages/apps/Camera/src/com/android/camera/ui/
SecondLevelIndicatorControlBar.java 85 private int getTouchViewIndex(int touchPosition, boolean isLandscape) {
88 if (touchPosition < mCloseIcon.getBottom()) return indexOfChild(mCloseIcon);
90 if (touchPosition > mCloseIcon.getLeft()) return indexOfChild(mCloseIcon);
100 if (touchPosition < baseline) return -1;
103 return (mNonIndicatorButtonCount + ((touchPosition - baseline) / buttonRange));
106 if (touchPosition > baseline) return -1;
109 return (mNonIndicatorButtonCount + ((baseline - touchPosition) / buttonRange));
130 int touchPosition = (int) (isLandscape ? event.getY() : event.getX());
135 if (touchPosition >= controlBarLength) {
136 touchPosition = controlBarLength - 1
    [all...]
  /frameworks/ex/carousel/java/com/android/ex/carousel/
CarouselViewHelper.java 273 public void onCardLongPress(int n, int touchPosition[], Rect detailCoordinates) {
274 if (DBG) Log.v(TAG, "onCardLongPress(" + n + ", (" + touchPosition + "), (" +
CarouselRS.java 141 * @param touchPosition position of where the user pressed, in screen coordinates
144 void onCardLongPress(int n, int touchPosition[], Rect detailCoordinates);
213 int touchPosition[] = { mData[1], mData[2] };
215 mCallback.onCardLongPress(mData[0], touchPosition, detailCoordinates);
    [all...]
carousel.rs 235 static float2 touchPosition; // position of first touch, as defined by last call to doStart(x,y)
    [all...]
  /frameworks/ex/carousel/test/src/com/android/carouseltest/
CarouselTestActivity.java 74 public void onCardLongPress(int n, int touchPosition[], Rect detailCoordinates) {

Completed in 1188 milliseconds