/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
D | AllocationCache.java | 118 public synchronized void returnToCache(Allocation allocation) { in returnToCache() argument 119 checkNotNull("allocation", allocation); in returnToCache() 122 int usage = allocation.getUsage(); in returnToCache() 123 AllocationKey key = new AllocationKey(allocation.getType(), usage); in returnToCache() 126 if (value != null && value.contains(allocation)) { in returnToCache() 131 allocation.setOnBufferAvailableListener(null); in returnToCache() 134 allocation.setSurface(null); in returnToCache() 142 value.add(allocation); in returnToCache() 166 public synchronized void returnToCacheIfNotNull(Allocation allocation) { in returnToCacheIfNotNull() argument 167 if (allocation != null) { in returnToCacheIfNotNull() [all …]
|
D | Script.java | 225 void setInput(Allocation allocation) { in setInput() argument 227 checkNotNull("allocation", allocation); in setInput() 228 checkEquals("allocation info", AllocationInfo.newInstance(allocation), in setInput() 232 if (mInputAllocation != allocation) { in setInput() 236 mInputAllocation = allocation; in setInput() 249 void setOutput(Allocation allocation) { in setOutput() argument 251 checkNotNull("allocation", allocation); in setOutput() 252 checkEquals("allocation info", AllocationInfo.newInstance(allocation), in setOutput() 256 mOutputAllocation = allocation; in setOutput()
|
D | BlockingInputAllocation.java | 60 public static BlockingInputAllocation wrap(Allocation allocation) { in wrap() argument 61 checkNotNull("allocation", allocation); in wrap() 62 checkBitFlags("usage", allocation.getUsage(), "USAGE_IO_INPUT", Allocation.USAGE_IO_INPUT); in wrap() 64 return new BlockingInputAllocation(allocation); in wrap() 179 private BlockingInputAllocation(Allocation allocation) { in BlockingInputAllocation() argument 180 mAllocation = allocation; in BlockingInputAllocation()
|
D | AllocationInfo.java | 62 public static AllocationInfo newInstance(Allocation allocation) { in newInstance() argument 63 checkNotNull("allocation", allocation); in newInstance() 65 return new AllocationInfo(allocation.getElement(), in newInstance() 66 new Size(allocation.getType().getX(), allocation.getType().getY()), in newInstance() 67 allocation.getUsage()); in newInstance()
|
/cts/tests/tests/rscpp/librscpptest/ |
D | clear_object.rs | 4 rs_allocation allocation; 8 rsClearObject( &allocation ); 9 *out = ( NULL == allocation.p ? 1 : 0 );
|
D | rs_jni_object.cpp | 107 sp<Allocation> allocation = Allocation::createTyped(mRS, mIn->getType()); in Java_android_cts_rscpp_RSObjectTest_testClearObjectAllocation() local 108 ms_clear->set_allocation(allocation); in Java_android_cts_rscpp_RSObjectTest_testClearObjectAllocation()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | clear_object.rs | 4 rs_allocation allocation; 8 rsClearObject( &allocation ); 9 *out = ( NULL == allocation.p ? 1 : 0 );
|
D | SetObjectTest.java | 33 Allocation allocation; field in SetObjectTest 46 allocation = Allocation.createTyped(mRS, type); in setUp() 62 allocation.destroy(); in tearDown() 118 mItem.allocation = allocation; in testSetObjectAllocation()
|
D | IsObjectTest.java | 34 Allocation allocation; field in IsObjectTest 47 allocation = Allocation.createTyped(mRS, type); in setUp() 61 allocation.destroy(); in tearDown() 118 mItem.allocation = allocation; in testIsObjectAllocation()
|
D | set_object.rs | 5 rs_allocation allocation; 11 rsSetObject(&dst,in->allocation); 12 *out = ( dst.p == in->allocation.p ? 1 : 0 );
|
D | is_object.rs | 5 rs_allocation allocation; 10 *out = rsIsObject(in->allocation)==false ? 0 : 1;
|
D | ClearObjectTest.java | 104 Allocation allocation = Allocation.createTyped(mRS, mIn.getType()); in testclearObjectAllocation() local 105 ms_clear.set_allocation(allocation); in testclearObjectAllocation() 118 allocation.destroy(); in testclearObjectAllocation()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | layered_filter_d1new_helper.rsh | 4 // Need to access global allocation here 6 // This allocation has three float values of red, green, blue 14 // This allocation contains four floats: red, green, blue, alpha 16 // This allocation contains four floats: red, green, blue, alpha 18 // This allocation contains the kernel stack info: only one float per cell 40 //Compute layer matte using global allocation 123 // Use global allocation for filter from back most layer to focus layer 178 // Filter target layer use global allocation using integral image 211 // Use global allocation to filter layer from the
|
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | SurfacePixelValidator.java | 123 allocation -> mWorkerHandler.post(mConsumeRunnable)); in SurfacePixelValidator()
|
/cts/hostsidetests/sustainedperf/dhrystone/ |
D | Rationale | 256 variables, register allocation etc. occuring in other compilation 262 (e.g., final register allocation is performed after linkage). This
|