Searched defs:USAGE_SHARED (Results 1 - 2 of 2) sorted by relevance

/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DAllocation.java128 public static final int USAGE_SHARED = 0x0080; field in class:Allocation
227 USAGE_SHARED)) != 0) {
600 * #createFromBitmap} and {@link #USAGE_SHARED} is set on the Allocation,
1346 if ((usage & USAGE_SHARED) != 0) {
1347 throw new RSIllegalArgumentException("USAGE_SHARED cannot be used with a Bitmap that has a null config.");
1360 usage == (USAGE_SHARED | USAGE_SCRIPT | USAGE_GRAPHICS_TEXTURE)) {
1383 * <p>This Allocation will be created with {@link #USAGE_SHARED}, and
1394 USAGE_SHARED | USAGE_SCRIPT | USAGE_GRAPHICS_TEXTURE);
1586 if ((usage & (USAGE_SHARED | USAGE_IO_INPUT | USAGE_IO_OUTPUT)) != 0) {
/frameworks/base/rs/java/android/renderscript/
H A DAllocation.java211 public static final int USAGE_SHARED = 0x0080; field in class:Allocation
313 USAGE_SHARED)) != 0) {
450 if ((mUsage & USAGE_SHARED) != 0) {
457 case USAGE_SHARED:
458 if ((mUsage & USAGE_SHARED) != 0) {
731 * #createFromBitmap} and {@link #USAGE_SHARED} is set on the Allocation,
1515 if ((usage & USAGE_SHARED) != 0) {
1516 throw new RSIllegalArgumentException("USAGE_SHARED cannot be used with a Bitmap that has a null config.");
1529 usage == (USAGE_SHARED | USAGE_SCRIPT | USAGE_GRAPHICS_TEXTURE)) {
1584 * with {@link #USAGE_SHARED}, {
[all...]

Completed in 88 milliseconds