Home
last modified time | relevance | path

Searched refs:yoff (Results 1 – 24 of 24) sorted by relevance

/frameworks/rs/cpp/
DAllocation.cpp282 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 …]
DrsCppStructs.h611 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/
DAppCompatPopupWindow.java89 public void showAsDropDown(View anchor, int xoff, int yoff) {
92 yoff -= anchor.getHeight();
94 super.showAsDropDown(anchor, xoff, yoff);
99 public void showAsDropDown(View anchor, int xoff, int yoff, int gravity) {
102 yoff -= anchor.getHeight();
104 super.showAsDropDown(anchor, xoff, yoff, gravity);
108 public void update(View anchor, int xoff, int yoff, int width, int height) {
111 yoff -= anchor.getHeight();
113 super.update(anchor, xoff, yoff, width, height);
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DAllocation.java1427 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 …]
DRenderScript.java502 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/
DAllocation.java1071 …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 …]
DRenderScript.java543 …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/v4/java/android/support/v4/widget/
DPopupWindowCompat.java35 void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, int gravity); in showAsDropDown() argument
47 public void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, in showAsDropDown() argument
56 popup.showAsDropDown(anchor, xoff, yoff); in showAsDropDown()
100 public void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, in showAsDropDown() argument
102 PopupWindowCompatKitKat.showAsDropDown(popup, anchor, xoff, yoff, gravity); in showAsDropDown()
179 public static void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, in showAsDropDown() argument
181 IMPL.showAsDropDown(popup, anchor, xoff, yoff, gravity); in showAsDropDown()
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
DUT_alloc_copy.java269 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 …]
DUT_alloc_copyPadded.java917 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/
DUT_alloc_copy.java269 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 …]
DUT_alloc_copyPadded.java917 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/v4/kitkat/android/support/v4/widget/
DPopupWindowCompatKitKat.java28 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/
DrsdAllocation.cpp92 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 …]
DrsdAllocation.h118 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/
DrsAllocation.cpp209 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 …]
DrsAllocation.h137 … 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,
Drs.spec206 param uint32_t yoff
218 param uint32_t yoff
258 param uint32_t yoff
270 param uint32_t yoff
Drs_hal.h245 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/
DPopupWindow.java1192 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/
Dandroid_renderscript_RenderScript.cpp1403 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/
DLayout.cpp833 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/
Dandroid_renderscript_RenderScript.cpp1206 nAllocationData2D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint … in nAllocationData2D() argument
1213 "type(%i)", (RsContext)con, alloc, xoff, yoff, w, h, sizeBytes, dataType); in nAllocationData2D()
1216 (RsContext)con, alloc, xoff, yoff, lod, face, w, h, ptr, sizeBytes, 0); in nAllocationData2D()
1245 nAllocationData3D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint … in nAllocationData3D() argument
1251 " h(%i), d(%i), sizeBytes(%i)", (RsContext)con, (RsAllocation)alloc, xoff, yoff, zoff, in nAllocationData3D()
1255 (RsContext)con, alloc, xoff, yoff, zoff, lod, w, h, d, ptr, sizeBytes, 0); in nAllocationData3D()
1326 nAllocationRead2D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint … in nAllocationRead2D() argument
1333 "type(%i)", (RsContext)con, alloc, xoff, yoff, w, h, sizeBytes, dataType); in nAllocationRead2D()
1336 (RsContext)con, alloc, xoff, yoff, lod, face, w, h, ptr, sizeBytes, 0); in nAllocationRead2D()
/frameworks/base/core/java/android/view/
DViewRootImpl.java2838 private boolean drawSoftware(Surface surface, AttachInfo attachInfo, int xoff, int yoff, in drawSoftware() argument
2887 if (!canvas.isOpaque() || yoff != 0 || xoff != 0) { in drawSoftware()
2902 canvas.translate(-xoff, -yoff); in drawSoftware()