HomeSort by relevance Sort by last modified time
    Searched full:allocation (Results 101 - 125 of 5138) sorted by null

1 2 3 45 6 7 8 91011>>

  /cts/tests/tests/rscpp/src/android/cts/rscpp/
RSColorMatrixTest.java 60 Allocation rsInput = Allocation.createTyped(mRS, build.create());
61 Allocation rsOutput = Allocation.createTyped(mRS, build.create());
93 Allocation rsInput = Allocation.createTyped(mRS, build.create());
94 Allocation rsOutput = Allocation.createTyped(mRS, build.create());
128 Allocation rsInput = Allocation.createTyped(mRS, build.create())
    [all...]
RS3DLUTTest.java 58 Allocation rsInput = Allocation.createTyped(mRS, build.create());
59 Allocation rsOutput = Allocation.createTyped(mRS, build.create());
66 Allocation cube = Allocation.createTyped(mRS, build.create());
  /frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
Transform.java 55 Allocation childRSData = Allocation.createSized(rs, Element.ALLOCATION(rs),
59 Allocation[] childrenAllocs = new Allocation[mChildren.size()];
  /frameworks/rs/
rsPath.cpp 28 Allocation *vtx, Allocation *loops, float quality)
51 void Path::rasterize(const BezierSegment_t *s, uint32_t num, Allocation *alloc) {
75 return new Path(rsc, pp, isStatic, (Allocation *)vtx, (Allocation *)loops, quality);
rsProgram.h 43 Allocation **textures;
50 Allocation **constants;
66 void bindAllocation(Context *, Allocation *, uint32_t slot);
70 void bindTexture(Context *, uint32_t slot, Allocation *);
74 ObjectBaseRef<Allocation> *mTextures;
76 ObjectBaseRef<Allocation> *mConstants;
  /frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
ScriptIntrinsic3DLUTThunker.java 45 public void setLUT(Allocation lut) {
55 * @param ain Input allocation
56 * @param aout Output allocation
58 public void forEach(Allocation ain, Allocation aout) {
  /packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis4/
Visualization4RS.java 62 private Allocation[] mTextures;
110 mTextures = new Allocation[6];
111 mTextures[0] = Allocation.createFromBitmapResource(mRS, mResources, R.drawable.background,
112 Allocation.MipmapControl.MIPMAP_NONE,
113 Allocation.USAGE_GRAPHICS_TEXTURE);
115 mTextures[1] = Allocation.createFromBitmapResource(mRS, mResources, R.drawable.frame,
116 Allocation.MipmapControl.MIPMAP_NONE,
117 Allocation.USAGE_GRAPHICS_TEXTURE);
119 mTextures[2] = Allocation.createFromBitmapResource(mRS, mResources, R.drawable.peak_on,
120 Allocation.MipmapControl.MIPMAP_NONE
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
IsObjectTest.java 20 import android.renderscript.Allocation;
30 private Allocation mIn;
31 private Allocation mOut;
35 Allocation allocation; field in class:IsObjectTest
48 allocation = Allocation.createTyped(mRS, type);
66 mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum);
86 mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum);
106 mItem.allocation = allocation
    [all...]
SetObjectTest.java 20 import android.renderscript.Allocation;
29 private Allocation mIn;
30 private Allocation mOut;
34 Allocation allocation; field in class:SetObjectTest
47 allocation = Allocation.createTyped(mRS, type);
65 mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum);
85 mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum);
104 mItem.allocation = allocation
    [all...]
ImageProcessingTest.java 19 import android.renderscript.Allocation;
65 private Allocation a1, a2;
75 a1 = Allocation.createTyped(mRS, t);
76 a2 = Allocation.createTyped(mRS, t);
83 Allocation a1_copy, a2_copy;
84 a1_copy = Allocation.createTyped(mRS, a1.getType());
85 a2_copy = Allocation.createTyped(mRS, a2.getType());
106 Allocation a1_copy, a2_copy;
107 a1_copy = Allocation.createTyped(mRS, a1.getType());
108 a2_copy = Allocation.createTyped(mRS, a2.getType())
    [all...]
ScriptGroupTest.java 22 import android.renderscript.Allocation;
24 import android.renderscript.Allocation.MipmapControl;
51 Allocation a1_copy, a2_copy;
52 a1_copy = Allocation.createTyped(mRS, connect);
53 a2_copy = Allocation.createTyped(mRS, connect);
81 Allocation a1_copy, a2_copy;
83 a1_copy = Allocation.createTyped(mRS, connect);
84 a2_copy = Allocation.createTyped(mRS, connect);
116 Allocation a1_copy, a2_copy;
117 a1_copy = Allocation.createTyped(mRS, connect)
    [all...]
  /external/chromium_org/ui/base/gtk/
gtk_floating_container.cc 58 GtkAllocation* allocation);
207 GtkAllocation* allocation) {
208 gtk_widget_set_allocation(widget, allocation);
212 allocation->x,
213 allocation->y,
214 allocation->width,
215 allocation->height);
218 // Give the same allocation to our GtkBin component.
221 gtk_widget_size_allocate(gtk_bin_get_child(bin), allocation); local
227 allocation);
    [all...]
  /frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
FBOTestRS.java 54 private Allocation mGridImage;
55 private Allocation mOffscreen;
56 private Allocation mOffscreenDepth;
57 private Allocation mAllocPV;
60 private Allocation mTextAlloc;
117 mGridImage = Allocation.createFromBitmapResource(mRS, mRes, R.drawable.robot,
118 Allocation.MipmapControl.MIPMAP_ON_SYNC_TO_TEXTURE,
119 Allocation.USAGE_GRAPHICS_TEXTURE);
125 mTextAlloc = Allocation.createFromString(mRS, allocString, Allocation.USAGE_SCRIPT)
    [all...]
  /cts/tests/tests/rscpp/librscpptest/
rs_jni.cpp 65 sp<Allocation> inputAlloc = Allocation::createSized2D(rs, e, X, Y);
66 sp<Allocation> outputAlloc = Allocation::createSized2D(rs, e, X, Y);
99 sp<Allocation> inputAlloc = Allocation::createSized2D(rs, e, X, Y);
100 sp<Allocation> outputAlloc = Allocation::createSized2D(rs, e, X, Y);
141 sp<Allocation> inputAlloc = Allocation::createSized2D(rs, e, X, Y)
    [all...]
  /external/chromium_org/third_party/tcmalloc/chromium/src/
sampler.h 50 // Sampler to decide when to create a sample trace for an allocation
56 // the probability of sampling a 4K allocation is about 0.00778
57 // the probability of sampling a 1MB allocation is about 0.865
58 // the probability of sampling a 1GB allocation is about 1.00000
59 // In general, the probablity of sampling is an allocation of size X
64 // the probability of sampling a 1MB allocation is about 0.99966
65 // the probability of sampling a 1GB allocation is about 1.0
68 // the probability of sampling a 4K allocation is about 0.00390
69 // the probability of sampling a 1MB allocation is about 0.632
70 // the probability of sampling a 1GB allocation is about 1.
    [all...]
  /external/chromium_org/third_party/tcmalloc/vendor/src/
sampler.h 50 // Sampler to decide when to create a sample trace for an allocation
56 // the probability of sampling a 4K allocation is about 0.00778
57 // the probability of sampling a 1MB allocation is about 0.865
58 // the probability of sampling a 1GB allocation is about 1.00000
59 // In general, the probablity of sampling is an allocation of size X
64 // the probability of sampling a 1MB allocation is about 0.99966
65 // the probability of sampling a 1GB allocation is about 1.0
68 // the probability of sampling a 4K allocation is about 0.00390
69 // the probability of sampling a 1MB allocation is about 0.632
70 // the probability of sampling a 1GB allocation is about 1.
    [all...]
heap-profile-table.h 62 int32 allocs; // Number of allocation calls
74 // Info we can return about an allocation.
76 size_t object_size; // size of the allocation
77 const void* const* call_stack; // call stack that made the allocation call
83 // Info we return about an allocation context.
84 // An allocation context is a unique caller stack trace
85 // of an allocation operation.
101 // allocation for passing to RecordAlloc() below.
106 // and the memory allocation function.
109 // Record an allocation at 'ptr' of 'bytes' bytes. 'stack_depth
    [all...]
  /cts/tests/tests/rsg/src/android/renderscriptgraphics/cts/
ProgramVertexTest.java 21 import android.renderscript.Allocation;
34 Allocation mConstMatrix;
35 Allocation mConstComplex;
36 Allocation mConstExtra;
65 Allocation.USAGE_SCRIPT |
66 Allocation.USAGE_GRAPHICS_CONSTANTS);
71 Allocation.USAGE_SCRIPT |
72 Allocation.USAGE_GRAPHICS_CONSTANTS);
77 Allocation.USAGE_SCRIPT |
78 Allocation.USAGE_GRAPHICS_CONSTANTS)
    [all...]
  /frameworks/rs/cpp/
ScriptIntrinsics.cpp 47 void ScriptIntrinsic3DLUT::forEach(sp<Allocation> ain, sp<Allocation> aout) {
55 void ScriptIntrinsic3DLUT::setLUT(sp<Allocation> lut) {
62 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "setLUT Allocation must be 3D");
81 void ScriptIntrinsicBlend::forEachClear(sp<Allocation> in, sp<Allocation> out) {
89 void ScriptIntrinsicBlend::forEachSrc(sp<Allocation> in, sp<Allocation> out) {
97 void ScriptIntrinsicBlend::forEachDst(sp<Allocation> in, sp<Allocation> out)
    [all...]
  /external/chromium_org/third_party/sqlite/src/src/
mem2.c 13 ** This file contains low-level memory allocation drivers for when
16 ** information to each allocation in order to help detect and fix memory
19 ** This file contains implementations of the low-level memory allocation
43 ** Each memory allocation looks like this:
46 ** | Title | backtrace pointers | MemBlockHdr | allocation | EndGuard |
49 ** The application code sees only a pointer to the allocation. We have
50 ** to back up from the allocation pointer to find the MemBlockHdr. The
51 ** MemBlockHdr tells us the size of the allocation and the number of
56 i64 iSize; /* Size of this allocation */
61 u8 eType; /* Allocation type code *
    [all...]
  /packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis5/
Visualization5RS.java 70 private Allocation[] mTextures;
77 protected Allocation mPointAlloc;
82 private Allocation mLineIdxAlloc;
168 mTextures = new Allocation[8];
169 mTextures[0] = Allocation.createFromBitmapResource(mRS, mResources, R.drawable.background,
170 Allocation.MipmapControl.MIPMAP_ON_SYNC_TO_TEXTURE,
171 Allocation.USAGE_GRAPHICS_TEXTURE);
173 mTextures[1] = Allocation.createFromBitmapResource(mRS, mResources, R.drawable.frame,
174 Allocation.MipmapControl.MIPMAP_ON_SYNC_TO_TEXTURE,
175 Allocation.USAGE_GRAPHICS_TEXTURE)
    [all...]
  /art/runtime/gc/space/
large_object_space.h 96 // Used to ensure mutual exclusion when the allocation spaces data structures are being modified.
139 // Returns the allocation size, includes the header.
144 // Updates the allocation size in the header, the allocation size includes the header itself.
154 // Returns the previous free allocation header by using the prev_free_ member to figure out
160 // Returns the address of the object associated with this allocation header.
165 // Returns the next allocation header after the object associated with this allocation header.
176 // Update the size of the free block prior to the allocation.
182 // Finds and returns the next non free allocation header after ourself
    [all...]
  /external/chromium_org/chrome/browser/ui/gtk/
gtk_chrome_shrinkable_hbox.cc 20 GtkAllocation* allocation; member in struct:__anon8552::SizeAllocateData
74 int overflow = (data->allocation->x + data->border_width + padding -
84 (data->allocation->x + data->allocation->width - data->border_width));
114 GtkAllocation* allocation);
178 GtkWidget* widget, GtkAllocation* allocation) {
191 if (widget_allocation.width < allocation->width ||
199 // children may be redrawn on the screen with incorrect size allocation.
202 // Let the parent class do size allocation first. After that all children will
206 (widget, allocation);
    [all...]
  /frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/
BallsRS.java 39 private Allocation mGridCache;
43 Allocation.USAGE_SCRIPT |
44 Allocation.USAGE_GRAPHICS_CONSTANTS);
72 private Allocation loadTexture(int id) {
73 final Allocation allocation = local
74 Allocation.createFromBitmapResource(mRS, mRes,
75 id, Allocation.MipmapControl.MIPMAP_NONE,
76 Allocation.USAGE_GRAPHICS_TEXTURE);
77 return allocation;
    [all...]
  /cts/tests/src/android/renderscript/cts/
is_object.rs 5 rs_allocation allocation;
10 *out = rsIsObject(in->allocation)==false ? 0 : 1;

Completed in 560 milliseconds

1 2 3 45 6 7 8 91011>>