/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
D | AppCompatPopupWindow.java | 48 public void showAsDropDown(View anchor, int xoff, int yoff) { in showAsDropDown() argument 51 yoff -= anchor.getHeight(); in showAsDropDown() 53 super.showAsDropDown(anchor, xoff, yoff); in showAsDropDown() 58 public void showAsDropDown(View anchor, int xoff, int yoff, int gravity) { in showAsDropDown() argument 61 yoff -= anchor.getHeight(); in showAsDropDown() 63 super.showAsDropDown(anchor, xoff, yoff, gravity); in showAsDropDown() 67 public void update(View anchor, int xoff, int yoff, int width, int height) { in update() argument 70 yoff -= anchor.getHeight(); in update() 72 super.update(anchor, xoff, yoff, width, height); in update()
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | PopupWindowCompat.java | 32 public void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, in showAsDropDown() argument 41 public void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, in showAsDropDown() argument 43 popup.showAsDropDown(anchor, xoff, yoff); in showAsDropDown() 52 public void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, in showAsDropDown() argument 54 PopupWindowCompatKitKat.showAsDropDown(popup, anchor, xoff, yoff, gravity); in showAsDropDown() 91 public static void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, in showAsDropDown() argument 93 IMPL.showAsDropDown(popup, anchor, xoff, yoff, gravity); in showAsDropDown()
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
D | Allocation.java | 843 private void validate2DRange(int xoff, int yoff, int w, int h) { in validate2DRange() argument 848 if (xoff < 0 || yoff < 0) { in validate2DRange() 854 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY)) { in validate2DRange() 860 void copy2DRangeFromUnchecked(int xoff, int yoff, int w, int h, byte[] data) { in copy2DRangeFromUnchecked() argument 862 validate2DRange(xoff, yoff, w, h); in copy2DRangeFromUnchecked() 863 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, in copy2DRangeFromUnchecked() local 867 void copy2DRangeFromUnchecked(int xoff, int yoff, int w, int h, short[] data) { in copy2DRangeFromUnchecked() argument 869 validate2DRange(xoff, yoff, w, h); in copy2DRangeFromUnchecked() 870 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, in copy2DRangeFromUnchecked() local 874 void copy2DRangeFromUnchecked(int xoff, int yoff, int w, int h, int[] data) { in copy2DRangeFromUnchecked() argument [all …]
|
D | RenderScript.java | 423 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument 424 …synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, b… in nAllocationData2D() argument 426 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); in nAllocationData2D() 428 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument 429 …synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, s… in nAllocationData2D() argument 431 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); in nAllocationData2D() 433 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument 434 …synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, i… in nAllocationData2D() argument 436 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); in nAllocationData2D() 438 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument [all …]
|
D | AllocationThunker.java | 304 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, byte[] data) { in copy2DRangeFrom() argument 306 mN.copy2DRangeFrom(xoff, yoff, w, h, data); in copy2DRangeFrom() 311 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, short[] data) { in copy2DRangeFrom() argument 313 mN.copy2DRangeFrom(xoff, yoff, w, h, data); in copy2DRangeFrom() 318 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, int[] data) { in copy2DRangeFrom() argument 320 mN.copy2DRangeFrom(xoff, yoff, w, h, data); in copy2DRangeFrom() 325 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, float[] data) { in copy2DRangeFrom() argument 327 mN.copy2DRangeFrom(xoff, yoff, w, h, data); in copy2DRangeFrom() 333 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, in copy2DRangeFrom() argument 337 mN.copy2DRangeFrom(xoff, yoff, w, h, at.mN, dataXoff, dataYoff); in copy2DRangeFrom() [all …]
|
/frameworks/rs/cpp/ |
D | Allocation.cpp | 243 void Allocation::validate2DRange(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h) { in validate2DRange() argument 247 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY)) { in validate2DRange() 253 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DRangeFrom() argument 255 validate2DRange(xoff, yoff, w, h); in copy2DRangeFrom() 257 yoff, mSelectedLOD, mSelectedFace, in copy2DRangeFrom() 262 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DRangeFrom() argument 264 validate2DRange(xoff, yoff, w, h); in copy2DRangeFrom() 265 tryDispatch(mRS, RS::dispatch->AllocationCopy2DRange(mRS->getContext(), getIDSafe(), xoff, yoff, in copy2DRangeFrom() 271 void Allocation::copy2DRangeTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DRangeTo() argument 273 validate2DRange(xoff, yoff, w, h); in copy2DRangeTo() [all …]
|
D | rsCppStructs.h | 329 void validate2DRange(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h); 330 void validate3DRange(uint32_t xoff, uint32_t yoff, uint32_t zoff, 406 void copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, 418 void copy2DRangeTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, 431 void copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, 443 void copy2DStridedFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, 462 void copy2DStridedTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, 484 void copy3DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, 500 void copy3DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t zoff,
|
/frameworks/base/rs/java/android/renderscript/ |
D | Allocation.java | 1012 private void validate2DRange(int xoff, int yoff, int w, int h) { in validate2DRange() argument 1017 if (xoff < 0 || yoff < 0) { in validate2DRange() 1023 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY)) { in validate2DRange() 1029 void copy2DRangeFromUnchecked(int xoff, int yoff, int w, int h, Object array, in copy2DRangeFromUnchecked() argument 1033 validate2DRange(xoff, yoff, w, h); in copy2DRangeFromUnchecked() 1034 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, w, h, in copy2DRangeFromUnchecked() local 1049 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, Object array) { in copy2DRangeFrom() argument 1051 copy2DRangeFromUnchecked(xoff, yoff, w, h, array, in copy2DRangeFrom() 1067 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, byte[] data) { in copy2DRangeFrom() argument 1069 copy2DRangeFromUnchecked(xoff, yoff, w, h, data, in copy2DRangeFrom() [all …]
|
D | AllocationAdapter.java | 73 public void subData2D(int xoff, int yoff, int w, int h, int[] d) { in subData2D() argument 74 super.copy2DRangeFrom(xoff, yoff, w, h, d); in subData2D() 79 public void subData2D(int xoff, int yoff, int w, int h, float[] d) { in subData2D() argument 80 super.copy2DRangeFrom(xoff, yoff, w, h, d); in subData2D()
|
D | RenderScript.java | 471 native void rsnAllocationData2D(long con, long id, int xoff, int yoff, int mip, int face, in rsnAllocationData2D() argument 473 synchronized void nAllocationData2D(long id, int xoff, int yoff, int mip, int face, in nAllocationData2D() argument 476 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes, dt.mID); in nAllocationData2D() 479 …native void rsnAllocationData2D(long con, long id, int xoff, int yoff, int mip, int face, Bitmap b… in rsnAllocationData2D() argument 480 synchronized void nAllocationData2D(long id, int xoff, int yoff, int mip, int face, Bitmap b) { in nAllocationData2D() argument 482 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, b); in nAllocationData2D() 503 native void rsnAllocationData3D(long con, long id, int xoff, int yoff, int zoff, int mip, in rsnAllocationData3D() argument 505 synchronized void nAllocationData3D(long id, int xoff, int yoff, int zoff, int mip, in nAllocationData3D() argument 508 rsnAllocationData3D(mContext, id, xoff, yoff, zoff, mip, w, h, depth, d, sizeBytes, dt.mID); in nAllocationData3D() 525 native void rsnAllocationRead2D(long con, long id, int xoff, int yoff, int mip, int face, in rsnAllocationRead2D() argument [all …]
|
/frameworks/base/core/java/android/widget/ |
D | PopupWindow.java | 967 public void showAsDropDown(View anchor, int xoff, int yoff) { in showAsDropDown() argument 968 showAsDropDown(anchor, xoff, yoff, DEFAULT_ANCHORED_GRAVITY); in showAsDropDown() 988 public void showAsDropDown(View anchor, int xoff, int yoff, int gravity) { in showAsDropDown() argument 993 registerForScrollChanged(anchor, xoff, yoff, gravity); in showAsDropDown() 1001 updateAboveAnchor(findDropDownPosition(anchor, p, xoff, yoff, gravity)); in showAsDropDown() 1224 int yoff, int gravity) { in findDropDownPosition() argument 1228 yoff -= anchorHeight; in findDropDownPosition() 1233 p.y = mDrawingLocation[1] + anchorHeight + yoff; in findDropDownPosition() 1251 final int screenY = mScreenLocation[1] + anchorHeight + yoff; in findDropDownPosition() 1262 scrollY + mPopupHeight + anchorHeight + yoff); in findDropDownPosition() [all …]
|
/frameworks/support/v4/kitkat/android/support/v4/widget/ |
D | PopupWindowCompatKitKat.java | 28 public static void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, in showAsDropDown() argument 30 popup.showAsDropDown(anchor, xoff, yoff, gravity); in showAsDropDown()
|
/frameworks/rs/driver/ |
D | rsdAllocation.cpp | 93 uint32_t xoff, uint32_t yoff, uint32_t zoff, in GetOffsetPtr() argument 98 ptr += yoff * alloc->mHal.drvState.lod[lod].stride; in GetOffsetPtr() 105 uint32_t xoff, uint32_t yoff, uint32_t lod, in Update2DTexture() argument 117 RSD_CALL_GL(glTexSubImage2D, t, lod, xoff, yoff, w, h, drv->glFormat, drv->glType, ptr); in Update2DTexture() 816 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, in rsdAllocationData2D() argument 828 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face); in rsdAllocationData2D() 836 for (uint32_t line=yoff; line < (yoff+h); line++) { in rsdAllocationData2D() 858 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face); in rsdAllocationData2D() 860 for (uint32_t line=(yoff >> 1); line < ((yoff+h)>>1); line++) { in rsdAllocationData2D() 871 Update2DTexture(rsc, alloc, data, xoff, yoff, lod, face, w, h); in rsdAllocationData2D() [all …]
|
D | rsdAllocation.h | 108 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 113 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, 123 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 128 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
|
/frameworks/support/v8/renderscript/jni/ |
D | android_renderscript_RenderScript.cpp | 490 nAllocationData2D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, j… in nAllocationData2D_s() argument 494 …(%p), xoff(%i), yoff(%i), w(%i), h(%i), len(%i)", con, (RsAllocation)alloc, xoff, yoff, w, h, len); in nAllocationData2D_s() 496 …rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h,… in nAllocationData2D_s() 501 nAllocationData2D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, j… in nAllocationData2D_b() argument 505 …(%p), xoff(%i), yoff(%i), w(%i), h(%i), len(%i)", con, (RsAllocation)alloc, xoff, yoff, w, h, len); in nAllocationData2D_b() 507 …rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h,… in nAllocationData2D_b() 512 nAllocationData2D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, j… in nAllocationData2D_i() argument 516 …(%p), xoff(%i), yoff(%i), w(%i), h(%i), len(%i)", con, (RsAllocation)alloc, xoff, yoff, w, h, len); in nAllocationData2D_i() 518 …rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h,… in nAllocationData2D_i() 523 nAllocationData2D_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, j… in nAllocationData2D_f() argument [all …]
|
/frameworks/rs/ |
D | rsAllocation.h | 117 … void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 119 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, 123 … void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 125 void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
|
D | rsAllocation.cpp | 132 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemap… in data() argument 134 …rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in data() 138 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, in data() argument 141 …rsc->mHal.funcs.allocation.data3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stri… in data() 161 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemap… in read() argument 176 …rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in read() 179 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, in read() argument 187 …rsc->mHal.funcs.allocation.read3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stri… in read() 600 void rsi_Allocation2DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod… in rsi_Allocation2DData() argument 603 a->data(rsc, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in rsi_Allocation2DData() [all …]
|
D | rs_hal.h | 190 uint32_t xoff, uint32_t yoff, uint32_t lod, 194 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, 202 uint32_t xoff, uint32_t yoff, uint32_t lod, 206 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
|
D | rs.spec | 162 param uint32_t yoff 174 param uint32_t yoff 204 param uint32_t yoff
|
D | rsAdapter.h | 79 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
|
/frameworks/minikin/libs/minikin/ |
D | Layout.cpp | 747 float yoff = -HBFixedToFloat(positions[i].y_offset); in doLayoutRun() local 748 xoff += yoff * ctx->paint.skewX; in doLayoutRun() 749 LayoutGlyph glyph = {font_ix, glyph_ix, x + xoff, y + yoff}; in doLayoutRun() 757 glyphBounds.offset(x + xoff, y + yoff); in doLayoutRun()
|
/frameworks/base/rs/jni/ |
D | android_renderscript_RenderScript.cpp | 705 nAllocationData2D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint … in nAllocationData2D() argument 711 (RsContext)con, alloc, xoff, yoff, w, h, sizeBytes, dataType); in nAllocationData2D() 712 …PER_ARRAY_TYPE(NULL, rsAllocation2DData, true, (RsContext)con, alloc, xoff, yoff, lod, face, w, h,… in nAllocationData2D() 743 nAllocationData3D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint … in nAllocationData3D() argument 748 (RsContext)con, (RsAllocation)alloc, xoff, yoff, zoff, lod, w, h, d, sizeBytes); in nAllocationData3D() 749 …PER_ARRAY_TYPE(NULL, rsAllocation3DData, true, (RsContext)con, alloc, xoff, yoff, zoff, lod, w, h,… in nAllocationData3D() 799 nAllocationRead2D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint … in nAllocationRead2D() argument 805 (RsContext)con, alloc, xoff, yoff, w, h, sizeBytes, dataType); in nAllocationRead2D() 806 …PER_ARRAY_TYPE(0, rsAllocation2DRead, false, (RsContext)con, alloc, xoff, yoff, lod, face, w, h, p… in nAllocationRead2D()
|
/frameworks/base/core/java/android/view/ |
D | ViewRootImpl.java | 2572 private boolean drawSoftware(Surface surface, AttachInfo attachInfo, int xoff, int yoff, in drawSoftware() argument 2621 if (!canvas.isOpaque() || yoff != 0 || xoff != 0) { in drawSoftware() 2637 canvas.translate(-xoff, -yoff); in drawSoftware()
|