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.java248 boolean horiz = alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT; in hide()
249 int dx = horiz ? (alignment == ALIGN_LEFT ? alignment_value - tab.getRight() in hide()
251 int dy = horiz ? 0 : (alignment == ALIGN_TOP ? alignment_value - tab.getBottom() in hide()
267 boolean horiz = alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT; in show()
268 int dx = horiz ? (alignment == ALIGN_LEFT ? tab.getWidth() : -tab.getWidth()) : 0; in show()
269 int dy = horiz ? 0: (alignment == ALIGN_TOP ? tab.getHeight() : -tab.getHeight()); in show()
309 final boolean horiz = alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT; in reset()
310 int dx = horiz ? (alignment == ALIGN_LEFT ? alignment_value - tab.getLeft() in reset()
312 int dy = horiz ? 0 : (alignment == ALIGN_TOP ? alignment_value - tab.getTop() in reset()
321 if (horiz) { in reset()
/frameworks/base/media/java/android/media/
DMediaCodec.java3943 int horiz = info.getInt(); in MediaImage() local
3945 if (horiz != vert || horiz != (ix == 0 ? 1 : 2)) { in MediaImage()
3947 + horiz + "x" + vert + " on plane " + ix); in MediaImage()
3956 + (xOffset / horiz) * colInc + (yOffset / vert) * rowInc); in MediaImage()
3958 + (mHeight / vert - 1) * rowInc + (mWidth / horiz - 1) * colInc); in MediaImage()
/frameworks/base/core/java/android/text/
DLayout.java1528 public int getOffsetForHorizontal(int line, float horiz) { in getOffsetForHorizontal() argument
1529 return getOffsetForHorizontal(line, horiz, true); in getOffsetForHorizontal()
1542 public int getOffsetForHorizontal(int line, float horiz, boolean primary) { in getOffsetForHorizontal() argument
1565 float bestdist = Math.abs(horizontal.get(lineStartOffset) - horiz); in getOffsetForHorizontal()
1581 if (horizontal.get(adguess) * swap >= horiz * swap) { in getOffsetForHorizontal()
1595 float dist = Math.abs(horizontal.get(low) - horiz); in getOffsetForHorizontal()
1597 float other = Math.abs(horizontal.get(aft) - horiz); in getOffsetForHorizontal()
1612 float dist = Math.abs(horizontal.get(here) - horiz); in getOffsetForHorizontal()
1620 float dist = Math.abs(horizontal.get(max) - horiz); in getOffsetForHorizontal()
/frameworks/base/core/java/android/widget/
DEditor.java5599 final float horiz = getHorizontal(layout, offset);
5603 if (currentHoriz < anotherHandleHoriz && horiz < anotherHandleHoriz
5604 || currentHoriz > anotherHandleHoriz && horiz > anotherHandleHoriz) {
DTextView.java12266 protected void onScrollChanged(int horiz, int vert, int oldHoriz, int oldVert) { in onScrollChanged() argument
12267 super.onScrollChanged(horiz, vert, oldHoriz, oldVert); in onScrollChanged()