/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
D | Allocation.java | 642 public void setFromFieldPacker(int xoff, FieldPacker fp) { in setFromFieldPacker() argument 653 copy1DRangeFromUnchecked(xoff, count, data); in setFromFieldPacker() 664 public void setFromFieldPacker(int xoff, int component_number, FieldPacker fp) { in setFromFieldPacker() argument 669 if(xoff < 0) { in setFromFieldPacker() 683 mRS.nAllocationElementData1D(getIDSafe(), xoff, mSelectedLOD, in setFromFieldPacker() local 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() [all …]
|
D | RenderScript.java | 397 …native void rsnAllocationElementData1D(int con, int id, int xoff, int mip, int compIdx, byte[] d, … in rsnAllocationElementData1D() argument 398 …synchronized void nAllocationElementData1D(int id, int xoff, int mip, int compIdx, byte[] d, int s… in nAllocationElementData1D() argument 400 rsnAllocationElementData1D(mContext, id, xoff, mip, compIdx, d, sizeBytes); in nAllocationElementData1D() 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 [all …]
|
D | AllocationThunker.java | 196 public void setFromFieldPacker(int xoff, FieldPacker fp) { in setFromFieldPacker() argument 207 mN.setFromFieldPacker(xoff, nfp); in setFromFieldPacker() 212 public void setFromFieldPacker(int xoff, int component_number, FieldPacker fp) { in setFromFieldPacker() argument 223 mN.setFromFieldPacker(xoff, component_number, nfp); in setFromFieldPacker() 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() [all …]
|
/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/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() 256 tryDispatch(mRS, RS::dispatch->Allocation2DData(mRS->getContext(), getIDSafe(), xoff, 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/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 53 super.showAsDropDown(anchor, xoff, yoff); in showAsDropDown() 58 public void showAsDropDown(View anchor, int xoff, int yoff, int gravity) { in showAsDropDown() argument 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 72 super.update(anchor, xoff, yoff, width, height); in update()
|
/frameworks/base/rs/java/android/renderscript/ |
D | AllocationAdapter.java | 37 public void subData(int xoff, FieldPacker fp) { in subData() argument 38 super.setFromFieldPacker(xoff, fp); in subData() 43 public void subElementData(int xoff, int component_number, FieldPacker fp) { in subElementData() argument 44 super.setFromFieldPacker(xoff, component_number, fp); in subElementData() 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 | Allocation.java | 776 public void setFromFieldPacker(int xoff, FieldPacker fp) { in setFromFieldPacker() argument 787 copy1DRangeFromUnchecked(xoff, count, data); in setFromFieldPacker() 798 public void setFromFieldPacker(int xoff, int component_number, FieldPacker fp) { in setFromFieldPacker() argument 803 if(xoff < 0) { in setFromFieldPacker() 817 mRS.nAllocationElementData1D(getIDSafe(), xoff, mSelectedLOD, in setFromFieldPacker() local 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() [all …]
|
D | RenderScript.java | 445 …native void rsnAllocationElementData1D(long con,long id, int xoff, int mip, int compIdx, byte[] d,… in rsnAllocationElementData1D() argument 446 …synchronized void nAllocationElementData1D(long id, int xoff, int mip, int compIdx, byte[] d, int … in nAllocationElementData1D() argument 448 rsnAllocationElementData1D(mContext, id, xoff, mip, compIdx, d, sizeBytes); in nAllocationElementData1D() 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 [all …]
|
/frameworks/rs/ |
D | rsAllocation.h | 116 …void data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t size… 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, 122 …void read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes); 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 | 115 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t lod, in data() argument 128 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes); in data() 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() 145 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t lod, in read() argument 158 rsc->mHal.funcs.allocation.read1D(rsc, this, xoff, lod, count, data, sizeBytes); in read() 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() [all …]
|
D | rs_hal.h | 187 uint32_t xoff, uint32_t lod, size_t count, 190 uint32_t xoff, uint32_t yoff, uint32_t lod, 194 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, 199 uint32_t xoff, uint32_t lod, size_t count, 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 | 145 param uint32_t xoff 161 param uint32_t xoff 173 param uint32_t xoff 195 param uint32_t xoff 203 param uint32_t xoff
|
D | rsAdapter.h | 47 void data(Context *rsc, uint32_t xoff, uint32_t count, const void *data, size_t sizeBytes); 79 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
|
/frameworks/rs/driver/ |
D | rsdAllocation.h | 104 uint32_t xoff, uint32_t lod, size_t count, 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, 119 uint32_t xoff, uint32_t lod, size_t count, 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,
|
D | rsdAllocation.cpp | 93 uint32_t xoff, uint32_t yoff, uint32_t zoff, in GetOffsetPtr() argument 99 ptr += xoff * alloc->mHal.state.elementSizeBytes; 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() 796 uint32_t xoff, uint32_t lod, size_t count, in rsdAllocationData1D() argument 801 uint8_t * ptr = GetOffsetPtr(alloc, xoff, 0, 0, 0, RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X); in rsdAllocationData1D() 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() 858 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face); in rsdAllocationData2D() 871 Update2DTexture(rsc, alloc, data, xoff, yoff, lod, face, w, h); in rsdAllocationData2D() [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() 1223 private boolean findDropDownPosition(View anchor, WindowManager.LayoutParams p, int xoff, in findDropDownPosition() argument 1232 p.x = mDrawingLocation[0] + xoff; in findDropDownPosition() 1261 final Rect r = new Rect(scrollX, scrollY, scrollX + mPopupWidth + xoff, in findDropDownPosition() 1269 p.x = mDrawingLocation[0] + xoff; in findDropDownPosition() 1592 public void update(View anchor, int xoff, int yoff, int width, int height) { [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/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/minikin/libs/minikin/ |
D | Layout.cpp | 746 float xoff = HBFixedToFloat(positions[i].x_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()
|