Home
last modified time | relevance | path

Searched refs:horiz (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DSlidingTab.java242 boolean horiz = alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT; in hide()
243 int dx = horiz ? (alignment == ALIGN_LEFT ? alignment_value - tab.getRight() in hide()
245 int dy = horiz ? 0 : (alignment == ALIGN_TOP ? alignment_value - tab.getBottom() in hide()
261 boolean horiz = alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT; in show()
262 int dx = horiz ? (alignment == ALIGN_LEFT ? tab.getWidth() : -tab.getWidth()) : 0; in show()
263 int dy = horiz ? 0: (alignment == ALIGN_TOP ? tab.getHeight() : -tab.getHeight()); in show()
303 final boolean horiz = alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT; in reset()
304 int dx = horiz ? (alignment == ALIGN_LEFT ? alignment_value - tab.getLeft() in reset()
306 int dy = horiz ? 0 : (alignment == ALIGN_TOP ? alignment_value - tab.getTop() in reset()
315 if (horiz) { in reset()
/frameworks/base/media/java/android/media/
DMediaCodec.java3611 int horiz = info.getInt(); in MediaImage() local
3613 if (horiz != vert || horiz != (ix == 0 ? 1 : 2)) { in MediaImage()
3615 + horiz + "x" + vert + " on plane " + ix); in MediaImage()
3624 + (xOffset / horiz) * colInc + (yOffset / vert) * rowInc); in MediaImage()
3626 + (mHeight / vert - 1) * rowInc + (mWidth / horiz - 1) * colInc); in MediaImage()
/frameworks/base/core/java/android/text/
DLayout.java1425 public int getOffsetForHorizontal(int line, float horiz) { in getOffsetForHorizontal() argument
1426 return getOffsetForHorizontal(line, horiz, true); in getOffsetForHorizontal()
1439 public int getOffsetForHorizontal(int line, float horiz, boolean primary) { in getOffsetForHorizontal() argument
1461 float bestdist = Math.abs(horizontal.get(lineStartOffset) - horiz); in getOffsetForHorizontal()
1477 if (horizontal.get(adguess) * swap >= horiz * swap) { in getOffsetForHorizontal()
1491 float dist = Math.abs(horizontal.get(low) - horiz); in getOffsetForHorizontal()
1493 float other = Math.abs(horizontal.get(aft) - horiz); in getOffsetForHorizontal()
1508 float dist = Math.abs(horizontal.get(here) - horiz); in getOffsetForHorizontal()
1516 float dist = Math.abs(horizontal.get(max) - horiz); in getOffsetForHorizontal()
/frameworks/base/core/java/android/widget/
DEditor.java5028 final float horiz = getHorizontal(layout, offset);
5032 if (currentHoriz < anotherHandleHoriz && horiz < anotherHandleHoriz
5033 || currentHoriz > anotherHandleHoriz && horiz > anotherHandleHoriz) {
DTextView.java10946 protected void onScrollChanged(int horiz, int vert, int oldHoriz, int oldVert) { in onScrollChanged() argument
10947 super.onScrollChanged(horiz, vert, oldHoriz, oldVert); in onScrollChanged()