/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.rscript | 4 rs_allocation allocation; 8 rsClearObject( &allocation ); 9 *out = ( NULL == allocation.p ? 1 : 0 );
|
D | instance.rscript | 7 // Set our allocation based on the global input value.
|
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.rscript | 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.rscript | 5 rs_allocation allocation; 11 rsSetObject(&dst,in->allocation); 12 *out = ( dst.p == in->allocation.p ? 1 : 0 );
|
D | is_object.rscript | 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()
|
D | instance.rscript | 7 // Set our allocation based on the global input value.
|
D | AtomicTest.rscript | 54 // the folowing functions copy the global to an allocation
|
D | single_source_alloc.rscript | 26 // allocation and validate each cell. The value in a cell must be gStart + 70 // Store to an allocation based on the vector size and dimensionality being
|
D | small_structs.rscript | 28 // - modify_* kernels change the allocation of small structs
|
/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
|
D | layered_filter_fast_d1new.rscript | 71 // This is an allocation to store kernel info: 1. offset, 2. radius_x, 3. radius_y 181 // Another version of MarkLayerMask kernel that directly passes input allocation to kernels 266 // Pass input allocation directly to kernel ComputeLayerMatteBehindFocalDepth 311 // Pass input allocation directly into kernel ComputeLayerMatteInFrontOfFocalDepth 434 // Directly pass allocation to kernel FilterLayerBehindFocalDepth 525 // Pass input allocation directly to kernel FilterLayerInFrontOfFocalDepth 631 // Passes allocation for g_sharp_meta from java code 703 // Pass allocation directly to kernel FinalizeFuzzyImageUsingSharpImage
|
/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
|