Searched defs:yoff (Results 1 - 17 of 17) sorted by relevance

/frameworks/support/v4/java/android/support/v4/widget/
H A DPopupWindowCompat.java32 public void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, argument
41 public void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, argument
43 popup.showAsDropDown(anchor, xoff, yoff);
52 public void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, argument
54 PopupWindowCompatKitKat.showAsDropDown(popup, anchor, xoff, yoff, gravity);
88 * @param yoff A vertical offset from the anchor in pixels
91 public static void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, argument
93 IMPL.showAsDropDown(popup, anchor, xoff, yoff, gravity);
/frameworks/support/v4/kitkat/android/support/v4/widget/
H A DPopupWindowCompatKitKat.java28 public static void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, argument
30 popup.showAsDropDown(anchor, xoff, yoff, gravity);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DAppCompatPopupWindow.java48 public void showAsDropDown(View anchor, int xoff, int yoff) { argument
51 yoff -= anchor.getHeight();
53 super.showAsDropDown(anchor, xoff, yoff);
58 public void showAsDropDown(View anchor, int xoff, int yoff, int gravity) { argument
61 yoff -= anchor.getHeight();
63 super.showAsDropDown(anchor, xoff, yoff, gravity);
67 public void update(View anchor, int xoff, int yoff, int width, int height) { argument
70 yoff -= anchor.getHeight();
72 super.update(anchor, xoff, yoff, width, height);
/frameworks/base/rs/java/android/renderscript/
H A DAllocationAdapter.java73 public void subData2D(int xoff, int yoff, int w, int h, int[] d) { argument
74 super.copy2DRangeFrom(xoff, yoff, w, h, d);
79 public void subData2D(int xoff, int yoff, int w, int h, float[] d) { argument
80 super.copy2DRangeFrom(xoff, yoff, w, h, d);
H A DAllocation.java1012 private void validate2DRange(int xoff, int yoff, int w, int h) { argument
1017 if (xoff < 0 || yoff < 0) {
1023 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY)) {
1029 void copy2DRangeFromUnchecked(int xoff, int yoff, int w, int h, Object array, argument
1033 validate2DRange(xoff, yoff, w, h);
1034 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, w, h,
1044 * @param yoff Y offset of the region to update in this Allocation
1049 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, Object array) { argument
1051 copy2DRangeFromUnchecked(xoff, yoff, w, h, array,
1062 * @param yoff
1067 copy2DRangeFrom(int xoff, int yoff, int w, int h, byte[] data) argument
1083 copy2DRangeFrom(int xoff, int yoff, int w, int h, short[] data) argument
1099 copy2DRangeFrom(int xoff, int yoff, int w, int h, int[] data) argument
1115 copy2DRangeFrom(int xoff, int yoff, int w, int h, float[] data) argument
1133 copy2DRangeFrom(int xoff, int yoff, int w, int h, Allocation data, int dataXoff, int dataYoff) argument
1154 copy2DRangeFrom(int xoff, int yoff, Bitmap data) argument
1170 validate3DRange(int xoff, int yoff, int zoff, int w, int h, int d) argument
1191 copy3DRangeFromUnchecked(int xoff, int yoff, int zoff, int w, int h, int d, Object array, Element.DataType dt, int arrayLen) argument
1214 copy3DRangeFrom(int xoff, int yoff, int zoff, int w, int h, int d, Object array) argument
1238 copy3DRangeFrom(int xoff, int yoff, int zoff, int w, int h, int d, Allocation data, int dataXoff, int dataYoff, int dataZoff) argument
[all...]
H A DRenderScript.java471 native void rsnAllocationData2D(long con, long id, int xoff, int yoff, int mip, int face, argument
473 synchronized void nAllocationData2D(long id, int xoff, int yoff, int mip, int face, argument
476 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes, dt.mID);
479 native void rsnAllocationData2D(long con, long id, int xoff, int yoff, int mip, int face, Bitmap b); argument
480 synchronized void nAllocationData2D(long id, int xoff, int yoff, int mip, int face, Bitmap b) { argument
482 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, b);
503 native void rsnAllocationData3D(long con, long id, int xoff, int yoff, int zoff, int mip, argument
505 synchronized void nAllocationData3D(long id, int xoff, int yoff, int zoff, int mip, argument
508 rsnAllocationData3D(mContext, id, xoff, yoff, zoff, mip, w, h, depth, d, sizeBytes, dt.mID);
525 native void rsnAllocationRead2D(long con, long id, int xoff, int yoff, in argument
527 nAllocationRead2D(long id, int xoff, int yoff, int mip, int face, int w, int h, Object d, int sizeBytes, Element.DataType dt) argument
[all...]
/frameworks/rs/cpp/
H A DAllocation.cpp243 void Allocation::validate2DRange(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h) { argument
247 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY)) {
253 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, argument
255 validate2DRange(xoff, yoff, w, h);
257 yoff, mSelectedLOD, mSelectedFace,
262 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, argument
264 validate2DRange(xoff, yoff, w, h);
265 tryDispatch(mRS, RS::dispatch->AllocationCopy2DRange(mRS->getContext(), getIDSafe(), xoff, yoff,
271 void Allocation::copy2DRangeTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, argument
273 validate2DRange(xoff, yoff,
280 copy2DStridedFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, const void *data, size_t stride) argument
292 copy2DStridedTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, void *data, size_t stride) argument
304 validate3DRange(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, uint32_t h, uint32_t d) argument
315 copy3DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, uint32_t h, uint32_t d, const void* data) argument
324 copy3DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, uint32_t h, uint32_t d, sp<const Allocation> data, uint32_t dataXoff, uint32_t dataYoff, uint32_t dataZoff) argument
[all...]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DAllocationThunker.java304 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, byte[] data) { argument
306 mN.copy2DRangeFrom(xoff, yoff, w, h, data);
311 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, short[] data) { argument
313 mN.copy2DRangeFrom(xoff, yoff, w, h, data);
318 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, int[] data) { argument
320 mN.copy2DRangeFrom(xoff, yoff, w, h, data);
325 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, float[] data) { argument
327 mN.copy2DRangeFrom(xoff, yoff, w, h, data);
333 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, argument
337 mN.copy2DRangeFrom(xoff, yoff,
342 copy2DRangeFrom(int xoff, int yoff, Bitmap data) argument
[all...]
H A DAllocation.java843 private void validate2DRange(int xoff, int yoff, int w, int h) { argument
848 if (xoff < 0 || yoff < 0) {
854 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY)) {
860 void copy2DRangeFromUnchecked(int xoff, int yoff, int w, int h, byte[] data) { argument
862 validate2DRange(xoff, yoff, w, h);
863 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID,
867 void copy2DRangeFromUnchecked(int xoff, int yoff, int w, int h, short[] data) { argument
869 validate2DRange(xoff, yoff, w, h);
870 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID,
874 void copy2DRangeFromUnchecked(int xoff, int yoff, in argument
881 copy2DRangeFromUnchecked(int xoff, int yoff, int w, int h, float[] data) argument
899 copy2DRangeFrom(int xoff, int yoff, int w, int h, byte[] data) argument
914 copy2DRangeFrom(int xoff, int yoff, int w, int h, short[] data) argument
929 copy2DRangeFrom(int xoff, int yoff, int w, int h, int[] data) argument
944 copy2DRangeFrom(int xoff, int yoff, int w, int h, float[] data) argument
961 copy2DRangeFrom(int xoff, int yoff, int w, int h, Allocation data, int dataXoff, int dataYoff) argument
980 copy2DRangeFrom(int xoff, int yoff, Bitmap data) argument
994 validate3DRange(int xoff, int yoff, int zoff, int w, int h, int d) argument
1015 copy3DRangeFromUnchecked(int xoff, int yoff, int zoff, int w, int h, int d, byte[] data) argument
1026 copy3DRangeFromUnchecked(int xoff, int yoff, int zoff, int w, int h, int d, short[] data) argument
1037 copy3DRangeFromUnchecked(int xoff, int yoff, int zoff, int w, int h, int d, int[] data) argument
1048 copy3DRangeFromUnchecked(int xoff, int yoff, int zoff, int w, int h, int d, float[] data) argument
1069 copy3DRangeFrom(int xoff, int yoff, int zoff, int w, int h, int d, byte[] data) argument
1078 copy3DRangeFrom(int xoff, int yoff, int zoff, int w, int h, int d, short[] data) argument
1087 copy3DRangeFrom(int xoff, int yoff, int zoff, int w, int h, int d, int[] data) argument
1096 copy3DRangeFrom(int xoff, int yoff, int zoff, int w, int h, int d, float[] data) argument
1117 copy3DRangeFrom(int xoff, int yoff, int zoff, int w, int h, int d, Allocation data, int dataXoff, int dataYoff, int dataZoff) argument
[all...]
H A DRenderScript.java423 native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, byte[] d, int sizeBytes); argument
424 synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, byte[] d, int sizeBytes) { argument
426 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes);
428 native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, short[] d, int sizeBytes); argument
429 synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, short[] d, int sizeBytes) { argument
431 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes);
433 native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, int[] d, int sizeBytes); argument
434 synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, int[] d, int sizeBytes) { argument
436 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes);
438 native void rsnAllocationData2D(int con, int id, int xoff, int yoff, in argument
439 nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, float[] d, int sizeBytes) argument
443 rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, Bitmap b) argument
444 nAllocationData2D(int id, int xoff, int yoff, int mip, int face, Bitmap b) argument
467 rsnAllocationData3D(int con, int id, int xoff, int yoff, int zoff, int mip, int w, int h, int depth, byte[] d, int sizeBytes) argument
468 nAllocationData3D(int id, int xoff, int yoff, int zoff, int mip, int w, int h, int depth, byte[] d, int sizeBytes) argument
472 rsnAllocationData3D(int con, int id, int xoff, int yoff, int zoff, int mip, int w, int h, int depth, short[] d, int sizeBytes) argument
473 nAllocationData3D(int id, int xoff, int yoff, int zoff, int mip, int w, int h, int depth, short[] d, int sizeBytes) argument
477 rsnAllocationData3D(int con, int id, int xoff, int yoff, int zoff, int mip, int w, int h, int depth, int[] d, int sizeBytes) argument
478 nAllocationData3D(int id, int xoff, int yoff, int zoff, int mip, int w, int h, int depth, int[] d, int sizeBytes) argument
482 rsnAllocationData3D(int con, int id, int xoff, int yoff, int zoff, int mip, int w, int h, int depth, float[] d, int sizeBytes) argument
483 nAllocationData3D(int id, int xoff, int yoff, int zoff, int mip, int w, int h, int depth, float[] d, int sizeBytes) argument
[all...]
/frameworks/rs/driver/
H A DrsdAllocation.cpp93 uint32_t xoff, uint32_t yoff, uint32_t zoff,
98 ptr += yoff * alloc->mHal.drvState.lod[lod].stride;
105 uint32_t xoff, uint32_t yoff, uint32_t lod,
117 RSD_CALL_GL(glTexSubImage2D, t, lod, xoff, yoff, w, h, drv->glFormat, drv->glType, ptr);
816 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
828 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face);
836 for (uint32_t line=yoff; line < (yoff+h); line++) {
858 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face);
860 for (uint32_t line=(yoff >>
92 GetOffsetPtr(const android::renderscript::Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face) argument
104 Update2DTexture(const Context *rsc, const Allocation *alloc, const void *ptr, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h) argument
815 rsdAllocationData2D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) argument
875 rsdAllocationData3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) argument
926 rsdAllocationRead2D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) argument
955 rsdAllocationRead3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) argument
[all...]
/frameworks/rs/
H A DrsAllocation.cpp132 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument
134 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride);
138 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, argument
141 rsc->mHal.funcs.allocation.data3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride);
161 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument
176 rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride);
179 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, argument
187 rsc->mHal.funcs.allocation.read3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride);
600 void rsi_Allocation2DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument
603 a->data(rsc, xoff, yoff, lo
606 rsi_Allocation3DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) argument
775 rsi_Allocation2DRead(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DPopupWindow.java963 * @param yoff A vertical offset from the anchor in pixels
967 public void showAsDropDown(View anchor, int xoff, int yoff) { argument
968 showAsDropDown(anchor, xoff, yoff, DEFAULT_ANCHORED_GRAVITY);
983 * @param yoff A vertical offset from the anchor in pixels
988 public void showAsDropDown(View anchor, int xoff, int yoff, int gravity) { argument
993 registerForScrollChanged(anchor, xoff, yoff, gravity);
1001 updateAboveAnchor(findDropDownPosition(anchor, p, xoff, yoff, gravity));
1219 * @param yoff vertical offset used to adjust for background padding
1224 int yoff, int gravity) {
1228 yoff
1223 findDropDownPosition(View anchor, WindowManager.LayoutParams p, int xoff, int yoff, int gravity) argument
1592 update(View anchor, int xoff, int yoff, int width, int height) argument
1596 update(View anchor, boolean updateLocation, int xoff, int yoff, boolean updateDimension, int width, int height, int gravity) argument
1666 registerForScrollChanged(View anchor, int xoff, int yoff, int gravity) argument
[all...]
/frameworks/minikin/libs/minikin/
H A DLayout.cpp747 float yoff = -HBFixedToFloat(positions[i].y_offset); local
748 xoff += yoff * ctx->paint.skewX;
749 LayoutGlyph glyph = {font_ix, glyph_ix, x + xoff, y + yoff};
757 glyphBounds.offset(x + xoff, y + yoff);
/frameworks/support/v8/renderscript/jni/
H A Dandroid_renderscript_RenderScript.cpp490 nAllocationData2D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, argument
494 LOG_API("nAllocation2DData_s, con(%p), adapter(%p), xoff(%i), yoff(%i), w(%i), h(%i), len(%i)", con, (RsAllocation)alloc, xoff, yoff, w, h, len);
496 rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h, ptr, sizeBytes, 0);
501 nAllocationData2D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, argument
505 LOG_API("nAllocation2DData_b, con(%p), adapter(%p), xoff(%i), yoff(%i), w(%i), h(%i), len(%i)", con, (RsAllocation)alloc, xoff, yoff, w, h, len);
507 rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h, ptr, sizeBytes, 0);
512 nAllocationData2D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, argument
516 LOG_API("nAllocation2DData_i, con(%p), adapter(%p), xoff(%i), yoff(
523 nAllocationData2D_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, jint w, jint h, jfloatArray data, int sizeBytes) argument
558 nAllocationData3D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint zoff, jint lod, jint w, jint h, jint d, jshortArray data, int sizeBytes) argument
569 nAllocationData3D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint zoff, jint lod, jint w, jint h, jint d, jbyteArray data, int sizeBytes) argument
580 nAllocationData3D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint zoff, jint lod, jint w, jint h, jint d, jintArray data, int sizeBytes) argument
591 nAllocationData3D_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint zoff, jint lod, jint w, jint h, jint d, jfloatArray data, int sizeBytes) argument
[all...]
/frameworks/base/rs/jni/
H A Dandroid_renderscript_RenderScript.cpp705 nAllocationData2D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint lod, jint _face, argument
710 LOG_API("nAllocation2DData, con(%p), adapter(%p), xoff(%i), yoff(%i), w(%i), h(%i), len(%i) type(%i)",
711 (RsContext)con, alloc, xoff, yoff, w, h, sizeBytes, dataType);
712 PER_ARRAY_TYPE(NULL, rsAllocation2DData, true, (RsContext)con, alloc, xoff, yoff, lod, face, w, h, ptr, sizeBytes, 0);
743 nAllocationData3D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint zoff, jint lod, argument
747 LOG_API("nAllocation3DData, con(%p), alloc(%p), xoff(%i), yoff(%i), zoff(%i), lod(%i), w(%i), h(%i), d(%i), sizeBytes(%i)",
748 (RsContext)con, (RsAllocation)alloc, xoff, yoff, zoff, lod, w, h, d, sizeBytes);
749 PER_ARRAY_TYPE(NULL, rsAllocation3DData, true, (RsContext)con, alloc, xoff, yoff, zoff, lod, w, h, d, ptr, sizeBytes, 0);
799 nAllocationRead2D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint lod, jint _face, argument
804 LOG_API("nAllocation2DRead, con(%p), adapter(%p), xoff(%i), yoff(
[all...]
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java1559 // int yoff;
1563 // yoff = mScroller.getCurrY();
1566 // yoff = mScrollY;
1569 // layerCanvas.translate(0, -yoff);
2572 private boolean drawSoftware(Surface surface, AttachInfo attachInfo, int xoff, int yoff, argument
2621 if (!canvas.isOpaque() || yoff != 0 || xoff != 0) {
2637 canvas.translate(-xoff, -yoff);

Completed in 654 milliseconds