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.java3601 int horiz = info.getInt(); in MediaImage() local
3603 if (horiz != vert || horiz != (ix == 0 ? 1 : 2)) { in MediaImage()
3605 + horiz + "x" + vert + " on plane " + ix); in MediaImage()
3614 + (xOffset / horiz) * colInc + (yOffset / vert) * rowInc); in MediaImage()
3616 + (mHeight / vert - 1) * rowInc + (mWidth / horiz - 1) * colInc); in MediaImage()
/frameworks/base/core/java/android/text/
DLayout.java1307 public int getOffsetForHorizontal(int line, float horiz) { in getOffsetForHorizontal() argument
1308 return getOffsetForHorizontal(line, horiz, true); in getOffsetForHorizontal()
1321 public int getOffsetForHorizontal(int line, float horiz, boolean primary) { in getOffsetForHorizontal() argument
1341 float bestdist = Math.abs(getHorizontal(best, primary) - horiz); in getOffsetForHorizontal()
1357 if (getHorizontal(adguess, primary) * swap >= horiz * swap) { in getOffsetForHorizontal()
1371 float dist = Math.abs(getHorizontal(low, primary) - horiz); in getOffsetForHorizontal()
1373 float other = Math.abs(getHorizontal(aft, primary) - horiz); in getOffsetForHorizontal()
1388 float dist = Math.abs(getHorizontal(here, primary) - horiz); in getOffsetForHorizontal()
1396 float dist = Math.abs(getHorizontal(max, primary) - horiz); in getOffsetForHorizontal()
/frameworks/base/core/java/android/widget/
DEditor.java5006 final float horiz = getHorizontal(layout, offset);
5010 if (currentHoriz < anotherHandleHoriz && horiz < anotherHandleHoriz
5011 || currentHoriz > anotherHandleHoriz && horiz > anotherHandleHoriz) {
DTextView.java10893 protected void onScrollChanged(int horiz, int vert, int oldHoriz, int oldVert) { in onScrollChanged() argument
10894 super.onScrollChanged(horiz, vert, oldHoriz, oldVert); in onScrollChanged()