HomeSort by relevance Sort by last modified time
    Searched full:allocation (Results 1 - 25 of 5151) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /dalvik/tests/098-native-allocations/
info.txt 1 This is a test to verify that native allocation successfully runs
  /frameworks/base/graphics/java/android/renderscript/
ScriptIntrinsicBlend.java 21 * Intrinsic kernels for blending two {@link android.renderscript.Allocation} objects.
43 private void blend(int id, Allocation ain, Allocation aout) {
59 public void forEachClear(Allocation ain, Allocation aout) {
79 public void forEachSrc(Allocation ain, Allocation aout) {
100 public void forEachDst(Allocation ain, Allocation aout) {
119 public void forEachSrcOver(Allocation ain, Allocation aout)
    [all...]
Path.java 38 Allocation mVertexBuffer;
39 Allocation mLoopBuffer;
44 Path(int id, RenderScript rs, Primitive p, Allocation vtx, Allocation loop, float q) {
52 public Allocation getVertexAllocation() {
56 public Allocation getLoopAllocation() {
69 public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx) {
75 public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx, Allocation loops) {
79 public static Path createDynamicPath(RenderScript rs, Primitive p, float quality, Allocation vtx)
    [all...]
  /frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
ScriptIntrinsicBlend.java 22 * {@link android.support.v8.renderscript.Allocation} objects.
48 private void blend(int id, Allocation ain, Allocation aout) {
64 public void forEachClear(Allocation ain, Allocation aout) {
84 public void forEachSrc(Allocation ain, Allocation aout) {
105 public void forEachDst(Allocation ain, Allocation aout) {
124 public void forEachSrcOver(Allocation ain, Allocation aout)
    [all...]
  /external/chromium/chrome/browser/ui/gtk/
gtk_expanded_container_unittest.cc 78 GtkAllocation allocation = { 0, 0, 50, 100 }; local
79 gtk_widget_size_allocate(expanded_, &allocation);
81 EXPECT_EQ(0, child1->allocation.x);
82 EXPECT_EQ(0, child1->allocation.y);
83 EXPECT_EQ(50, child1->allocation.width);
84 EXPECT_EQ(100, child1->allocation.height);
86 EXPECT_EQ(10, child2->allocation.x);
87 EXPECT_EQ(20, child2->allocation.y);
88 EXPECT_EQ(50, child2->allocation.width);
89 EXPECT_EQ(100, child2->allocation.height)
111 GtkAllocation allocation = { 10, 10, 50, 100 }; local
137 GtkAllocation allocation = { 0, 0, 300, 100 }; local
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
ClearObjectTest.java 19 import android.renderscript.Allocation;
43 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException {
65 Allocation mIn = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum);
66 Allocation mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum);
81 Allocation mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum);
82 Allocation mIn = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum)
99 Allocation allocation = Allocation.createTyped(mRS, mIn.getType()); local
    [all...]
AllocationTest.java 22 import android.renderscript.Allocation;
24 import android.renderscript.Allocation.MipmapControl;
50 Allocation.createTyped(mRS, typeBuilder.create());
61 Allocation.createTyped(mRS, typeBuilder.setX(8).create(),
63 Allocation.USAGE_GRAPHICS_TEXTURE);
64 Allocation.createTyped(mRS, typeBuilder.setY(8).create(),
66 Allocation.USAGE_GRAPHICS_TEXTURE);
68 Allocation.createTyped(mRS, typeBuilder.create(),
70 Allocation.USAGE_GRAPHICS_TEXTURE |
71 Allocation.USAGE_SCRIPT)
    [all...]
VoidPtr.java 19 import android.renderscript.Allocation;
25 Allocation AOutput;
26 Allocation AInput;
27 Allocation AFailed;
35 AFailed = Allocation.createTyped(mRS, t);
44 * allocation, even if the pointer passed to the kernel of the script
47 * This test runs for an allocation of type int
56 AOutput = Allocation.createTyped(mRS, t);
72 * allocation, even if the pointer passed to the kernel of the script
75 * This test runs for an allocation of type uchar
    [all...]
  /frameworks/rs/
rsAllocation.cpp 30 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages,
44 void Allocation::operator delete(void* ptr) {
46 Allocation *a = (Allocation*) ptr;
51 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages,
53 // Allocation objects must use allocator specified by the driver
54 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Allocation), 0);
57 rsc->setError(RS_ERROR_FATAL_DRIVER, "Couldn't allocate memory for Allocation");
    [all...]
rs_hal.h 31 class Allocation;
112 const Allocation * ain,
113 Allocation * aout,
137 Allocation *data);
146 bool (*init)(const Context *rsc, Allocation *alloc, bool forceZero);
147 void (*destroy)(const Context *rsc, Allocation *alloc);
148 uint32_t (*grallocBits)(const Context *rsc, Allocation *alloc);
150 void (*resize)(const Context *rsc, const Allocation *alloc, const Type *newType,
152 void (*syncAll)(const Context *rsc, const Allocation *alloc, RsAllocationUsageType src);
153 void (*markDirty)(const Context *rsc, const Allocation *alloc)
224 } allocation; member in struct:android::renderscript::__anon32479
    [all...]
  /cts/tests/src/android/renderscript/cts/
instance.rs 7 // Set our allocation based on the global input value.
  /external/stlport/test/eh/
mwerks_nosgi_debug_prefix.h 4 #define _STLP_DEBUG_UNINITIALIZED 1 // enable the use of allocation debugging
  /frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
instance.rs 7 // Set our allocation based on the global input value.
  /frameworks/rs/tests/cppbasic/
compute.cpp 28 sp<Allocation> a1 = Allocation::createSized(rs, e, 1000);
29 printf("Allocation %p\n", a1.get());
31 sp<Allocation> ain = Allocation::createTyped(rs, t);
32 sp<Allocation> aout = Allocation::createTyped(rs, t);
33 printf("Allocation %p %p\n", ain.get(), aout.get());
38 // We read back the status from the script-side via a "failed" allocation.
43 sp<Allocation> failed_alloc = Allocation::createTyped(rs, failed_t)
    [all...]
  /external/chromium_org/ui/base/gtk/
gtk_screen_util.cc 41 GtkAllocation allocation; local
42 gtk_widget_get_allocation(widget, &allocation);
43 x += allocation.x;
44 y += allocation.y;
51 GtkAllocation allocation; local
52 gtk_widget_get_allocation(widget, &allocation);
55 gfx::Size(allocation.width, allocation.height));
gtk_expanded_container_unittest.cc 11 GtkAllocation allocation; \
12 gtk_widget_get_allocation(widget, &allocation); \
13 EXPECT_EQ(x_, allocation.x); \
14 EXPECT_EQ(y_, allocation.y); \
15 EXPECT_EQ(width_, allocation.width); \
16 EXPECT_EQ(height_, allocation.height); \
21 GtkAllocation allocation; \
22 gtk_widget_get_allocation(widget, &allocation); \
23 EXPECT_EQ(value,allocation.param); \
95 GtkAllocation allocation = { 0, 0, 50, 100 } local
122 GtkAllocation allocation = { 10, 10, 50, 100 }; local
145 GtkAllocation allocation = { 0, 0, 300, 100 }; local
    [all...]
  /external/chromium_org/chrome/browser/ui/gtk/
gtk_input_event_box.cc 29 GtkAllocation* allocation);
62 GtkAllocation allocation; local
65 gtk_widget_get_allocation(widget, &allocation);
67 attributes.x = allocation.x;
68 attributes.y = allocation.y;
69 attributes.width = allocation.width;
70 attributes.height = allocation.height;
123 GtkAllocation* allocation) {
126 gtk_widget_set_allocation(widget, allocation);
131 allocation->x
    [all...]
  /frameworks/rs/cpp/
Allocation.cpp 23 void * Allocation::getIDSafe() const {
27 void Allocation::updateCacheInfo(sp<const Type> t) {
40 Allocation::Allocation(void *id, sp<RS> rs, sp<const Type> t, uint32_t usage) :
75 void Allocation::validateIsInt32() {
80 ALOGE("32 bit integer source does not match allocation type %i", dt);
83 void Allocation::validateIsInt16() {
88 ALOGE("16 bit integer source does not match allocation type %i", dt);
91 void Allocation::validateIsInt8() {
96 ALOGE("8 bit integer source does not match allocation type %i", dt)
    [all...]
  /frameworks/rs/scriptc/
rs_allocation.rsh 18 * \brief Allocation routines
27 * Returns the Allocation for a given pointer. The pointer should point within
28 * a valid allocation. The results are undefined if the pointer is not from a
29 * valid allocation.
38 * Query the dimension of an allocation.
40 * @return uint32_t The X dimension of the allocation.
46 * Query the dimension of an allocation.
48 * @return uint32_t The Y dimension of the allocation.
54 * Query the dimension of an allocation.
56 * @return uint32_t The Z dimension of the allocation
    [all...]
  /prebuilts/sdk/renderscript/include/
rs_allocation.rsh 18 * \brief Allocation routines
27 * Returns the Allocation for a given pointer. The pointer should point within
28 * a valid allocation. The results are undefined if the pointer is not from a
29 * valid allocation.
38 * Query the dimension of an allocation.
40 * @return uint32_t The X dimension of the allocation.
46 * Query the dimension of an allocation.
48 * @return uint32_t The Y dimension of the allocation.
54 * Query the dimension of an allocation.
56 * @return uint32_t The Z dimension of the allocation
    [all...]
  /development/samples/RenderScript/HelloCompute/src/com/example/android/rs/hellocompute/
HelloCompute.java 24 import android.renderscript.Allocation;
32 private Allocation mInAllocation;
33 private Allocation mOutAllocation;
58 mInAllocation = Allocation.createFromBitmap(mRS, mBitmapIn,
59 Allocation.MipmapControl.MIPMAP_NONE,
60 Allocation.USAGE_SCRIPT);
61 mOutAllocation = Allocation.createFromBitmap(mRS, mBitmapOut,
62 Allocation.MipmapControl.MIPMAP_NONE,
63 Allocation.USAGE_SCRIPT);
  /frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
UsageIO.java 22 import android.renderscript.Allocation;
34 private Allocation mScratchPixelsAllocation1;
35 private Allocation mScratchPixelsAllocation2;
51 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, connect, Allocation.USAGE_IO_OUTPUT | Allocation.USAGE_SCRIPT);
52 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, connect, Allocation.USAGE_IO_INPUT | Allocation.USAGE_SCRIPT);
  /frameworks/rs/driver/
rsdAllocation.h 80 android::renderscript::Allocation *alloc);
82 android::renderscript::Allocation *alloc,
85 android::renderscript::Allocation *alloc);
88 const android::renderscript::Allocation *alloc,
91 const android::renderscript::Allocation *alloc,
94 const android::renderscript::Allocation *alloc);
96 android::renderscript::Allocation *alloc, ANativeWindow *nw);
98 android::renderscript::Allocation *alloc);
100 android::renderscript::Allocation *alloc);
103 const android::renderscript::Allocation *alloc
    [all...]
  /prebuilts/sdk/renderscript/lib/arm/
libRSSupport.so 
  /prebuilts/sdk/renderscript/lib/mips/
libRSSupport.so 

Completed in 523 milliseconds

1 2 3 4 5 6 7 8 91011>>