Lines Matching refs:count

1001         int count = data_length / eSize;
1002 if ((eSize * count) != data_length) {
1006 copy1DRangeFromUnchecked(xoff, count, data);
1082 private void data1DChecks(int off, int count, int len, int dataSize, boolean usePadding) {
1087 if(count < 1) {
1090 if((off + count) > mCurrentCount) {
1091 throw new RSIllegalArgumentException("Overflow, Available count " + mCurrentCount +
1092 ", got " + count + " at offset " + off + ".");
1119 private void copy1DRangeFromUnchecked(int off, int count, Object array,
1121 final int dataSize = mType.mElement.getBytesSize() * count;
1127 data1DChecks(off, count, arrayLen * dt.mSize, dataSize, usePadding);
1128 mRS.nAllocationData1D(getIDSafe(), off, mSelectedLOD, count, array, dataSize, dt,
1136 * <p> The size of the region is: count * {@link #getElement}.{@link
1151 * @param count The number of elements to be copied.
1154 public void copy1DRangeFromUnchecked(int off, int count, Object array) {
1155 copy1DRangeFromUnchecked(off, count, array,
1164 * <p> The size of the region is: count * {@link #getElement}.{@link
1179 * @param count The number of elements to be copied.
1182 public void copy1DRangeFromUnchecked(int off, int count, int[] d) {
1183 copy1DRangeFromUnchecked(off, count, (Object)d, Element.DataType.SIGNED_32, d.length);
1190 * <p> The size of the region is: count * {@link #getElement}.{@link
1205 * @param count The number of elements to be copied.
1208 public void copy1DRangeFromUnchecked(int off, int count, short[] d) {
1209 copy1DRangeFromUnchecked(off, count, (Object)d, Element.DataType.SIGNED_16, d.length);
1216 * <p> The size of the region is: count * {@link #getElement}.{@link
1231 * @param count The number of elements to be copied.
1234 public void copy1DRangeFromUnchecked(int off, int count, byte[] d) {
1235 copy1DRangeFromUnchecked(off, count, (Object)d, Element.DataType.SIGNED_8, d.length);
1242 * <p> The size of the region is: count * {@link #getElement}.{@link
1257 * @param count The number of elements to be copied.
1260 public void copy1DRangeFromUnchecked(int off, int count, float[] d) {
1261 copy1DRangeFromUnchecked(off, count, (Object)d, Element.DataType.FLOAT_32, d.length);
1271 * <p> The size of the region is: count * {@link #getElement}.{@link
1286 * @param count The number of elements to be copied.
1289 public void copy1DRangeFrom(int off, int count, Object array) {
1290 copy1DRangeFromUnchecked(off, count, array,
1301 * <p> The size of the region is: count * {@link #getElement}.{@link
1316 * @param count The number of elements to be copied.
1319 public void copy1DRangeFrom(int off, int count, int[] d) {
1321 copy1DRangeFromUnchecked(off, count, d, Element.DataType.SIGNED_32, d.length);
1330 * <p> The size of the region is: count * {@link #getElement}.{@link
1345 * @param count The number of elements to be copied.
1348 public void copy1DRangeFrom(int off, int count, short[] d) {
1350 copy1DRangeFromUnchecked(off, count, d, Element.DataType.SIGNED_16, d.length);
1359 * <p> The size of the region is: count * {@link #getElement}.{@link
1374 * @param count The number of elements to be copied.
1377 public void copy1DRangeFrom(int off, int count, byte[] d) {
1379 copy1DRangeFromUnchecked(off, count, d, Element.DataType.SIGNED_8, d.length);
1388 * <p> The size of the region is: count * {@link #getElement}.{@link
1403 * @param count The number of elements to be copied.
1406 public void copy1DRangeFrom(int off, int count, float[] d) {
1408 copy1DRangeFromUnchecked(off, count, d, Element.DataType.FLOAT_32, d.length);
1415 * @param count The number of elements to be copied.
1420 public void copy1DRangeFrom(int off, int count, Allocation data, int dataOff) {
1423 count, 1, data.getID(mRS), dataOff, 0,
1993 private void copy1DRangeToUnchecked(int off, int count, Object array,
1995 final int dataSize = mType.mElement.getBytesSize() * count;
2001 data1DChecks(off, count, arrayLen * dt.mSize, dataSize, usePadding);
2002 mRS.nAllocationRead1D(getIDSafe(), off, mSelectedLOD, count, array, dataSize, dt,
2010 * <p> The size of the region is: count * {@link #getElement}.{@link
2025 * @param count The number of elements to be copied.
2028 public void copy1DRangeToUnchecked(int off, int count, Object array) {
2029 copy1DRangeToUnchecked(off, count, array,
2038 * <p> The size of the region is: count * {@link #getElement}.{@link
2053 * @param count The number of elements to be copied.
2056 public void copy1DRangeToUnchecked(int off, int count, int[] d) {
2057 copy1DRangeToUnchecked(off, count, (Object)d, Element.DataType.SIGNED_32, d.length);
2064 * <p> The size of the region is: count * {@link #getElement}.{@link
2079 * @param count The number of elements to be copied.
2082 public void copy1DRangeToUnchecked(int off, int count, short[] d) {
2083 copy1DRangeToUnchecked(off, count, (Object)d, Element.DataType.SIGNED_16, d.length);
2090 * <p> The size of the region is: count * {@link #getElement}.{@link
2105 * @param count The number of elements to be copied.
2108 public void copy1DRangeToUnchecked(int off, int count, byte[] d) {
2109 copy1DRangeToUnchecked(off, count, (Object)d, Element.DataType.SIGNED_8, d.length);
2116 * <p> The size of the region is: count * {@link #getElement}.{@link
2131 * @param count The number of elements to be copied.
2134 public void copy1DRangeToUnchecked(int off, int count, float[] d) {
2135 copy1DRangeToUnchecked(off, count, (Object)d, Element.DataType.FLOAT_32, d.length);
2145 * <p> The size of the region is: count * {@link #getElement}.{@link
2160 * @param count The number of elements to be copied.
2163 public void copy1DRangeTo(int off, int count, Object array) {
2164 copy1DRangeToUnchecked(off, count, array,
2175 * <p> The size of the region is: count * {@link #getElement}.{@link
2190 * @param count The number of elements to be copied.
2193 public void copy1DRangeTo(int off, int count, int[] d) {
2195 copy1DRangeToUnchecked(off, count, d, Element.DataType.SIGNED_32, d.length);
2204 * <p> The size of the region is: count * {@link #getElement}.{@link
2219 * @param count The number of elements to be copied.
2222 public void copy1DRangeTo(int off, int count, short[] d) {
2224 copy1DRangeToUnchecked(off, count, d, Element.DataType.SIGNED_16, d.length);
2233 * <p> The size of the region is: count * {@link #getElement}.{@link
2248 * @param count The number of elements to be copied.
2251 public void copy1DRangeTo(int off, int count, byte[] d) {
2253 copy1DRangeToUnchecked(off, count, d, Element.DataType.SIGNED_8, d.length);
2262 * <p> The size of the region is: count * {@link #getElement}.{@link
2277 * @param count The number of elements to be copied.
2280 public void copy1DRangeTo(int off, int count, float[] d) {
2282 copy1DRangeToUnchecked(off, count, d, Element.DataType.FLOAT_32, d.length);
2607 * @param count the number of Elements in the Allocation
2614 int count, int usage) {
2617 b.setX(count);
2632 * @param count the number of Elements in the Allocation
2636 static public Allocation createSized(RenderScript rs, Element e, int count) {
2637 return createSized(rs, e, count, USAGE_SCRIPT);