/frameworks/rs/cpp/ |
D | Allocation.cpp | 282 void Allocation::validate2DRange(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h) { in validate2DRange() argument 286 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY)) { in validate2DRange() 292 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DRangeFrom() argument 294 validate2DRange(xoff, yoff, w, h); in copy2DRangeFrom() 300 yoff, mSelectedLOD, mSelectedFace, in copy2DRangeFrom() 306 yoff, mSelectedLOD, mSelectedFace, in copy2DRangeFrom() 312 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DRangeFrom() argument 314 validate2DRange(xoff, yoff, w, h); in copy2DRangeFrom() 315 tryDispatch(mRS, RS::dispatch->AllocationCopy2DRange(mRS->getContext(), getIDSafe(), xoff, yoff, in copy2DRangeFrom() 321 void Allocation::copy2DRangeTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DRangeTo() argument [all …]
|
D | rsCppStructs.h | 611 void validate2DRange(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h); 612 void validate3DRange(uint32_t xoff, uint32_t yoff, uint32_t zoff, 725 void copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, 737 void copy2DRangeTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, 750 void copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, 762 void copy2DStridedFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, 781 void copy2DStridedTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, 803 void copy3DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, 819 void copy3DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t zoff, 835 void copy3DRangeTo(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w,
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | AppCompatPopupWindow.java | 87 public void showAsDropDown(View anchor, int xoff, int yoff) { 90 yoff -= anchor.getHeight(); 92 super.showAsDropDown(anchor, xoff, yoff); 97 public void showAsDropDown(View anchor, int xoff, int yoff, int gravity) { 100 yoff -= anchor.getHeight(); 102 super.showAsDropDown(anchor, xoff, yoff, gravity); 106 public void update(View anchor, int xoff, int yoff, int width, int height) { 109 yoff -= anchor.getHeight(); 111 super.update(anchor, xoff, yoff, width, height);
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
D | Allocation.java | 1427 private void validate2DRange(int xoff, int yoff, int w, int h) { in validate2DRange() argument 1432 if (xoff < 0 || yoff < 0) { in validate2DRange() 1438 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY)) { in validate2DRange() 1444 void copy2DRangeFromUnchecked(int xoff, int yoff, int w, int h, Object array, in copy2DRangeFromUnchecked() argument 1447 validate2DRange(xoff, yoff, w, h); in copy2DRangeFromUnchecked() 1463 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, w, h, in copy2DRangeFromUnchecked() local 1494 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, Object array) { in copy2DRangeFrom() argument 1495 copy2DRangeFromUnchecked(xoff, yoff, w, h, array, in copy2DRangeFrom() 1527 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, byte[] data) { in copy2DRangeFrom() argument 1529 copy2DRangeFromUnchecked(xoff, yoff, w, h, data, in copy2DRangeFrom() [all …]
|
D | RenderScript.java | 502 native void rsnAllocationData2D(long con, long id, int xoff, int yoff, int mip, int face, in rsnAllocationData2D() argument 505 synchronized void nAllocationData2D(long id, int xoff, int yoff, int mip, int face, in nAllocationData2D() argument 509 …rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes, dt.mID, mSize, usePad… in nAllocationData2D() 512 …native void rsnAllocationData2D(long con, long id, int xoff, int yoff, int mip, int face, Bitmap b… in rsnAllocationData2D() argument 513 synchronized void nAllocationData2D(long id, int xoff, int yoff, int mip, int face, Bitmap b) { in nAllocationData2D() argument 515 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, b); in nAllocationData2D() 537 native void rsnAllocationData3D(long con, long id, int xoff, int yoff, int zoff, int mip, in rsnAllocationData3D() argument 540 synchronized void nAllocationData3D(long id, int xoff, int yoff, int zoff, int mip, in nAllocationData3D() argument 544 rsnAllocationData3D(mContext, id, xoff, yoff, zoff, mip, w, h, depth, d, sizeBytes, in nAllocationData3D() 572 native void rsnAllocationRead2D(long con, long id, int xoff, int yoff, int mip, int face, in rsnAllocationRead2D() argument [all …]
|
/frameworks/base/rs/java/android/renderscript/ |
D | Allocation.java | 1071 …public void setFromFieldPacker(int xoff, int yoff, int zoff, int component_number, FieldPacker fp)… in setFromFieldPacker() argument 1079 if(yoff < 0) { in setFromFieldPacker() 1096 mRS.nAllocationElementData(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, in setFromFieldPacker() local 1452 private void validate2DRange(int xoff, int yoff, int w, int h) { in validate2DRange() argument 1457 if (xoff < 0 || yoff < 0) { in validate2DRange() 1463 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY)) { in validate2DRange() 1469 void copy2DRangeFromUnchecked(int xoff, int yoff, int w, int h, Object array, in copy2DRangeFromUnchecked() argument 1474 validate2DRange(xoff, yoff, w, h); in copy2DRangeFromUnchecked() 1490 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, w, h, in copy2DRangeFromUnchecked() local 1524 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, Object array) { in copy2DRangeFrom() argument [all …]
|
D | RenderScript.java | 543 …native void rsnAllocationElementData(long con,long id, int xoff, int yoff, int zoff, int mip, int … in rsnAllocationElementData() argument 544 …synchronized void nAllocationElementData(long id, int xoff, int yoff, int zoff, int mip, int compI… in nAllocationElementData() argument 546 rsnAllocationElementData(mContext, id, xoff, yoff, zoff, mip, compIdx, d, sizeBytes); in nAllocationElementData() 569 native void rsnAllocationData2D(long con, long id, int xoff, int yoff, int mip, int face, in rsnAllocationData2D() argument 572 synchronized void nAllocationData2D(long id, int xoff, int yoff, int mip, int face, in nAllocationData2D() argument 576 …rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes, dt.mID, mSize, usePad… in nAllocationData2D() 579 …native void rsnAllocationData2D(long con, long id, int xoff, int yoff, int mip, int face, Bitmap b… in rsnAllocationData2D() argument 580 synchronized void nAllocationData2D(long id, int xoff, int yoff, int mip, int face, Bitmap b) { in nAllocationData2D() argument 582 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, b); in nAllocationData2D() 603 native void rsnAllocationData3D(long con, long id, int xoff, int yoff, int zoff, int mip, in rsnAllocationData3D() argument [all …]
|
/frameworks/support/compat/java/android/support/v4/widget/ |
D | PopupWindowCompat.java | 37 void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, int gravity); in showAsDropDown() argument 54 public void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, in showAsDropDown() argument 63 popup.showAsDropDown(anchor, xoff, yoff); in showAsDropDown() 127 public void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, in showAsDropDown() argument 129 PopupWindowCompatKitKat.showAsDropDown(popup, anchor, xoff, yoff, gravity); in showAsDropDown() 204 public static void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, in showAsDropDown() argument 206 IMPL.showAsDropDown(popup, anchor, xoff, yoff, gravity); in showAsDropDown()
|
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | UT_alloc_copy.java | 269 int yoff = random.nextInt(height); in allocation_copy2DRangeTo_Byte() local 271 int ycount = height - yoff; in allocation_copy2DRangeTo_Byte() 281 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray); in allocation_copy2DRangeTo_Byte() 282 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray); in allocation_copy2DRangeTo_Byte() 304 int yoff = random.nextInt(height); in allocation_copy2DRangeTo_Short() local 306 int ycount = height - yoff; in allocation_copy2DRangeTo_Short() 319 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray); in allocation_copy2DRangeTo_Short() 320 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray); in allocation_copy2DRangeTo_Short() 342 int yoff = random.nextInt(height); in allocation_copy2DRangeTo_Int() local 344 int ycount = height - yoff; in allocation_copy2DRangeTo_Int() [all …]
|
D | UT_alloc_copyPadded.java | 917 int yoff = random.nextInt(height); in testAllocation_copy2DRangeTo_Byte3() local 919 int ycount = height - yoff; in testAllocation_copy2DRangeTo_Byte3() 930 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray); in testAllocation_copy2DRangeTo_Byte3() 931 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray); in testAllocation_copy2DRangeTo_Byte3() 953 int yoff = random.nextInt(height); in testAllocation_copy2DRangeTo_Short3() local 955 int ycount = height - yoff; in testAllocation_copy2DRangeTo_Short3() 969 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray); in testAllocation_copy2DRangeTo_Short3() 970 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray); in testAllocation_copy2DRangeTo_Short3() 992 int yoff = random.nextInt(height); in testAllocation_copy2DRangeTo_Int3() local 994 int ycount = height - yoff; in testAllocation_copy2DRangeTo_Int3() [all …]
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | UT_alloc_copy.java | 269 int yoff = random.nextInt(height); in allocation_copy2DRangeTo_Byte() local 271 int ycount = height - yoff; in allocation_copy2DRangeTo_Byte() 281 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray); in allocation_copy2DRangeTo_Byte() 282 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray); in allocation_copy2DRangeTo_Byte() 304 int yoff = random.nextInt(height); in allocation_copy2DRangeTo_Short() local 306 int ycount = height - yoff; in allocation_copy2DRangeTo_Short() 319 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray); in allocation_copy2DRangeTo_Short() 320 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray); in allocation_copy2DRangeTo_Short() 342 int yoff = random.nextInt(height); in allocation_copy2DRangeTo_Int() local 344 int ycount = height - yoff; in allocation_copy2DRangeTo_Int() [all …]
|
D | UT_alloc_copyPadded.java | 917 int yoff = random.nextInt(height); in testAllocation_copy2DRangeTo_Byte3() local 919 int ycount = height - yoff; in testAllocation_copy2DRangeTo_Byte3() 930 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray); in testAllocation_copy2DRangeTo_Byte3() 931 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray); in testAllocation_copy2DRangeTo_Byte3() 953 int yoff = random.nextInt(height); in testAllocation_copy2DRangeTo_Short3() local 955 int ycount = height - yoff; in testAllocation_copy2DRangeTo_Short3() 969 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray); in testAllocation_copy2DRangeTo_Short3() 970 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray); in testAllocation_copy2DRangeTo_Short3() 992 int yoff = random.nextInt(height); in testAllocation_copy2DRangeTo_Int3() local 994 int ycount = height - yoff; in testAllocation_copy2DRangeTo_Int3() [all …]
|
/frameworks/support/compat/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 | 92 uint32_t xoff, uint32_t yoff, uint32_t zoff, in GetOffsetPtr() argument 97 ptr += yoff * alloc->mHal.drvState.lod[lod].stride; in GetOffsetPtr() 104 uint32_t xoff, uint32_t yoff, uint32_t lod, in Update2DTexture() argument 116 RSD_CALL_GL(glTexSubImage2D, t, lod, xoff, yoff, w, h, drv->glFormat, drv->glType, ptr); in Update2DTexture() 891 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, in rsdAllocationData2D() argument 903 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face); in rsdAllocationData2D() 911 for (uint32_t line=yoff; line < (yoff+h); line++) { in rsdAllocationData2D() 933 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face); in rsdAllocationData2D() 935 for (uint32_t line=(yoff >> 1); line < ((yoff+h)>>1); line++) { in rsdAllocationData2D() 948 Update2DTexture(rsc, alloc, data, xoff, yoff, lod, face, w, h); in rsdAllocationData2D() [all …]
|
D | rsdAllocation.h | 118 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 123 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, 133 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 138 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
|
/frameworks/rs/ |
D | rsAllocation.cpp | 209 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemap… in data() argument 211 …rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in data() 215 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, in data() argument 218 …rsc->mHal.funcs.allocation.data3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stri… in data() 238 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemap… in read() argument 253 …rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in read() 256 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, in read() argument 264 …rsc->mHal.funcs.allocation.read3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stri… in read() 741 void rsi_Allocation2DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod… in rsi_Allocation2DData() argument 744 a->data(rsc, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in rsi_Allocation2DData() [all …]
|
D | rsAllocation.h | 137 … void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 139 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, 143 … void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 145 void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
|
D | rs.spec | 206 param uint32_t yoff 218 param uint32_t yoff 258 param uint32_t yoff 270 param uint32_t yoff
|
D | rs_hal.h | 245 uint32_t xoff, uint32_t yoff, uint32_t lod, 249 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, 257 uint32_t xoff, uint32_t yoff, uint32_t lod, 261 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
|
/frameworks/base/core/java/android/widget/ |
D | PopupWindow.java | 1192 public void showAsDropDown(View anchor, int xoff, int yoff) { in showAsDropDown() argument 1193 showAsDropDown(anchor, xoff, yoff, DEFAULT_ANCHORED_GRAVITY); in showAsDropDown() 1216 public void showAsDropDown(View anchor, int xoff, int yoff, int gravity) { in showAsDropDown() argument 1223 attachToAnchor(anchor, xoff, yoff, gravity); in showAsDropDown() 1231 final boolean aboveAnchor = findDropDownPosition(anchor, p, xoff, yoff, in showAsDropDown() 2130 public void update(View anchor, int xoff, int yoff, int width, int height) { 2131 update(anchor, true, xoff, yoff, width, height); 2134 private void update(View anchor, boolean updateLocation, int xoff, int yoff, 2144 final boolean needsUpdate = updateLocation && (mAnchorXoff != xoff || mAnchorYoff != yoff); 2146 attachToAnchor(anchor, xoff, yoff, gravity); [all …]
|
/frameworks/base/rs/jni/ |
D | android_renderscript_RenderScript.cpp | 1403 jint xoff, jint yoff, jint zoff, in nAllocationElementData() argument 1409 "sizeBytes(%i)", (RsContext)con, (RsAllocation)alloc, xoff, yoff, zoff, compIdx, len, in nAllocationElementData() 1418 xoff, yoff, zoff, in nAllocationElementData() 1426 nAllocationData2D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint … in nAllocationData2D() argument 1434 "type(%i)", (RsContext)con, alloc, xoff, yoff, w, h, sizeBytes, dataType); in nAllocationData2D() 1438 (RsContext)con, alloc, xoff, yoff, lod, face, w, h, ptr, sizeBytes, 0); in nAllocationData2D() 1471 nAllocationData3D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint … in nAllocationData3D() argument 1478 " h(%i), d(%i), sizeBytes(%i)", (RsContext)con, (RsAllocation)alloc, xoff, yoff, zoff, in nAllocationData3D() 1483 (RsContext)con, alloc, xoff, yoff, zoff, lod, w, h, d, ptr, sizeBytes, 0); in nAllocationData3D() 1545 jint xoff, jint yoff, jint zoff, in nAllocationElementRead() argument [all …]
|
/frameworks/minikin/libs/minikin/ |
D | Layout.cpp | 833 float yoff = -HBFixedToFloat(positions[i].y_offset); in doLayoutRun() local 834 xoff += yoff * ctx->paint.skewX; in doLayoutRun() 835 LayoutGlyph glyph = {font_ix, glyph_ix, x + xoff, y + yoff}; in doLayoutRun() 843 glyphBounds.offset(x + xoff, y + yoff); in doLayoutRun()
|
/frameworks/support/v8/renderscript/jni/ |
D | android_renderscript_RenderScript.cpp | 1219 nAllocationData2D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint … in nAllocationData2D() argument 1226 "type(%i)", (RsContext)con, alloc, xoff, yoff, w, h, sizeBytes, dataType); in nAllocationData2D() 1229 (RsContext)con, alloc, xoff, yoff, lod, face, w, h, ptr, sizeBytes, 0); in nAllocationData2D() 1258 nAllocationData3D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint … in nAllocationData3D() argument 1264 " h(%i), d(%i), sizeBytes(%i)", (RsContext)con, (RsAllocation)alloc, xoff, yoff, zoff, in nAllocationData3D() 1268 (RsContext)con, alloc, xoff, yoff, zoff, lod, w, h, d, ptr, sizeBytes, 0); in nAllocationData3D() 1339 nAllocationRead2D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint … in nAllocationRead2D() argument 1346 "type(%i)", (RsContext)con, alloc, xoff, yoff, w, h, sizeBytes, dataType); in nAllocationRead2D() 1349 (RsContext)con, alloc, xoff, yoff, lod, face, w, h, ptr, sizeBytes, 0); in nAllocationRead2D()
|
/frameworks/base/core/java/android/view/ |
D | ViewRootImpl.java | 2837 private boolean drawSoftware(Surface surface, AttachInfo attachInfo, int xoff, int yoff, in drawSoftware() argument 2886 if (!canvas.isOpaque() || yoff != 0 || xoff != 0) { in drawSoftware() 2901 canvas.translate(-xoff, -yoff); in drawSoftware()
|