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

1 23 4 5 6 7 8 91011>>

  /dalvik/vm/
AllocTracker.h 17 * Allocation tracking and reporting.
29 * Enable allocation tracking. Does nothing if tracking is already enabled.
34 * Disable allocation tracking. Does nothing if tracking is not enabled.
39 * If allocation tracking is enabled, add a new entry to the set.
49 * Generate a DDM packet with all of the tracked allocation data.
  /external/chromium/chrome/browser/ui/gtk/
gtk_chrome_shrinkable_hbox_unittest.cc 61 // Check if all children's size allocation are inside the |box_|'s boundary.
78 int x = box_->allocation.x + border_width;
79 int width = box_->allocation.width - border_width * 2;
131 GtkAllocation allocation = { 0, 0, 0, 200 }; local
138 allocation.width = width;
140 // cause queue resize, so it's necessary to do another size allocation to
142 gtk_widget_size_allocate(box_, &allocation);
143 gtk_widget_size_allocate(box_, &allocation);
151 allocation.width = width;
154 // allocation to emulate the queue resize
    [all...]
  /external/chromium_org/chrome/browser/ui/gtk/
gtk_chrome_shrinkable_hbox_unittest.cc 61 // Check if all children's size allocation are inside the |box_|'s boundary.
78 int x = box_->allocation.x + border_width;
79 int width = box_->allocation.width - border_width * 2;
131 GtkAllocation allocation = { 0, 0, 0, 200 }; local
138 allocation.width = width;
140 // cause queue resize, so it's necessary to do another size allocation to
142 gtk_widget_size_allocate(box_, &allocation);
143 gtk_widget_size_allocate(box_, &allocation);
151 allocation.width = width;
154 // allocation to emulate the queue resize
    [all...]
  /frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
FBOSyncRS.java 54 private Allocation mGridImage;
55 private Allocation mOffscreen;
56 private Allocation mOffscreenDepth;
57 private Allocation mAllocPV;
58 private Allocation mReadBackTest;
61 private Allocation mTextAlloc;
118 mGridImage = Allocation.createFromBitmapResource(mRS, mRes, R.drawable.robot,
119 Allocation.MipmapControl.MIPMAP_ON_SYNC_TO_TEXTURE,
120 Allocation.USAGE_GRAPHICS_TEXTURE);
126 mTextAlloc = Allocation.createFromString(mRS, allocString, Allocation.USAGE_SCRIPT)
    [all...]
  /frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
UT_array_alloc.java 27 super(rstc, "Array Allocation", ctx);
37 Allocation[] Arr = new Allocation[dimX];
41 Allocation A = Allocation.createTyped(pRS, T);
UT_copy_test.java 34 Allocation a1 = Allocation.createSized(rs, Element.F32_2(rs), 1024);
35 Allocation a2 = Allocation.createSized(rs, Element.F32_2(rs), 1024);
58 Allocation a1 = Allocation.createSized(rs, Element.F32_3(rs), 1024);
59 Allocation a2 = Allocation.createSized(rs, Element.F32_3(rs), 1024);
82 Allocation a1 = Allocation.createSized(rs, Element.F32_4(rs), 1024)
    [all...]
UT_alloc.java 40 Allocation A = Allocation.createTyped(RS, typeBuilder.create());
46 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create());
49 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create());
52 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create());
UT_instance.java 49 Allocation ai1 = Allocation.createTyped(mRS, t);
50 Allocation ai2 = Allocation.createTyped(mRS, t);
51 Allocation ai3 = Allocation.createTyped(mRS, t);
52 Allocation ai4 = Allocation.createTyped(mRS, t);
53 Allocation ai5 = Allocation.createTyped(mRS, t)
    [all...]
  /frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
UT_array_alloc.java 27 super(rstc, "Array Allocation", ctx);
37 Allocation[] Arr = new Allocation[dimX];
41 Allocation A = Allocation.createTyped(pRS, T);
UT_copy_test.java 34 Allocation a1 = Allocation.createSized(rs, Element.F32_2(rs), 1024);
35 Allocation a2 = Allocation.createSized(rs, Element.F32_2(rs), 1024);
58 Allocation a1 = Allocation.createSized(rs, Element.F32_3(rs), 1024);
59 Allocation a2 = Allocation.createSized(rs, Element.F32_3(rs), 1024);
82 Allocation a1 = Allocation.createSized(rs, Element.F32_4(rs), 1024)
    [all...]
UT_alloc.java 40 Allocation A = Allocation.createTyped(RS, typeBuilder.create());
46 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create());
49 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create());
52 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create());
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
PownTest.java 19 import android.renderscript.Allocation;
37 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException {
82 Allocation nAlloc = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE);
93 Allocation nAlloc = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE);
104 Allocation nAlloc = Allocation.createSized(mRS, Element.I32_2(mRS), INPUTSIZE);
115 Allocation nAlloc = Allocation.createSized(mRS, Element.I32_2(mRS), INPUTSIZE)
    [all...]
RootnTest.java 19 import android.renderscript.Allocation;
37 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException {
80 Allocation nAlloc = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE);
91 Allocation nAlloc = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE);
103 Allocation nAlloc = Allocation.createSized(mRS, Element.I32_2(mRS), INPUTSIZE);
114 Allocation nAlloc = Allocation.createSized(mRS, Element.I32_2(mRS), INPUTSIZE)
    [all...]
GetElementAt.java 19 import android.renderscript.Allocation;
29 private Allocation mOut;
30 private Allocation gIn;
37 public void forEach(int testId, Allocation mOut) throws RSRuntimeException {
60 gIn = Allocation.createSized(mRS, Element.U32(mRS), INPUTSIZE);
62 mOut = Allocation.createTyped(mRS, gIn.getType());
81 gIn = Allocation.createTyped(mRS, type);
83 mOut = Allocation.createTyped(mRS, gIn.getType());
  /frameworks/rs/java/tests/SampleTest/src/com/android/rs/sample/
SampleRSActivity.java 26 import android.renderscript.Allocation;
44 private Allocation mOutPixelsAllocation;
47 TextureViewUpdater(Allocation outAlloc, Sampler sampler) {
81 private Allocation mTwoByTwoAlloc;
82 private Allocation mCityAlloc;
103 mTwoByTwoAlloc = Allocation.createFromBitmap(mRS, mBitmapTwoByTwo,
104 Allocation.MipmapControl.MIPMAP_NONE,
105 Allocation.USAGE_SCRIPT);
107 mCityAlloc = Allocation.createFromBitmap(mRS, mBitmapCity,
108 Allocation.MipmapControl.MIPMAP_NONE
    [all...]
  /frameworks/rs/
rsRuntime.h 34 void rsrAllocationSyncAll(Context *, Script *, Allocation *);
37 void rsrBindTexture(Context *, ProgramFragment *, uint32_t slot, Allocation *);
38 void rsrBindConstant(Context *, ProgramFragment *, uint32_t slot, Allocation *);
39 void rsrBindConstant(Context *, ProgramVertex*, uint32_t slot, Allocation *);
45 void rsrBindFrameBufferObjectColorTarget(Context *, Allocation *, uint32_t slot);
46 void rsrBindFrameBufferObjectDepthTarget(Context *, Allocation *);
83 void rsrAllocationCopy1DRange(Context *, Allocation *dstAlloc,
87 Allocation *srcAlloc,
89 void rsrAllocationCopy2DRange(Context *, Allocation *dstAlloc,
93 Allocation *srcAlloc
    [all...]
  /cts/tests/src/android/renderscript/cts/
clear_object.rs 4 rs_allocation allocation;
8 rsClearObject( &allocation );
9 *out = ( NULL == allocation.p ? 1 : 0 );
  /frameworks/rs/cpu_ref/
rsCpuScript.h 55 virtual void preLaunch(uint32_t slot, const Allocation * ain,
56 Allocation * aout, const void * usr,
58 virtual void postLaunch(uint32_t slot, const Allocation * ain,
59 Allocation * aout, const void * usr,
62 const Allocation * ain,
63 Allocation * aout,
74 virtual void setGlobalBind(uint32_t slot, Allocation *data);
83 void forEachMtlsSetup(const Allocation * ain, Allocation * aout,
92 virtual Allocation * getAllocationForPointer(const void *ptr) const
    [all...]
  /frameworks/base/graphics/java/android/renderscript/
ScriptIntrinsic3DLUT.java 25 * allocation. The 8 nearest values are sampled and linearly interpolated. The
30 private Allocation mLUT;
59 * Sets the {@link android.renderscript.Allocation} to be used as the lookup table.
65 public void setLUT(Allocation lut) {
85 * @param ain Input allocation
86 * @param aout Output allocation
88 public void forEach(Allocation ain, Allocation aout) {
ScriptIntrinsicBlur.java 25 * specified radius to all elements of an allocation.
31 private Allocation mInput;
38 * Create an intrinsic for applying a blur to an allocation. The
62 * @param ain The input allocation
64 public void setInput(Allocation ain) {
85 * allocation.
87 * @param aout Output allocation. Must match creation element
90 public void forEach(Allocation aout) {
ScriptIntrinsicYuvToRGB.java 23 * The input allocation should be supplied in a supported YUV format
24 * as a YUV element Allocation. The output is RGBA; the alpha channel
28 private Allocation mInput;
53 * Set the input yuv allocation, must be {@link Element#U8}.
55 * @param ain The input allocation.
57 public void setInput(Allocation ain) {
65 * @param aout Output allocation. Must match creation element
68 public void forEach(Allocation aout) {
  /frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
UT_alloc.java 40 Allocation A = Allocation.createTyped(RS, typeBuilder.create());
46 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create());
49 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create());
52 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create());
  /frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
ScriptIntrinsic3DLUT.java 25 * allocation. The 8 nearest values are sampled and linearly interpolated. The
31 private Allocation mLUT;
64 * Sets the {@link android.support.v8.renderscript.Allocation} to be used as
72 public void setLUT(Allocation lut) {
92 * @param ain Input allocation
93 * @param aout Output allocation
95 public void forEach(Allocation ain, Allocation aout) {
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
Buffer.java 21 import android.support.v8.renderscript.Allocation;
30 private Allocation mAllocation;
41 // TODO: recreate the allocation when the RS context changes
42 mAllocation = Allocation.createFromBitmap(rs, mBitmap,
43 Allocation.MipmapControl.MIPMAP_NONE,
44 Allocation.USAGE_SHARED | Allocation.USAGE_SCRIPT);
68 public Allocation getAllocation() {
  /cts/tests/tests/rsg/src/android/renderscriptgraphics/cts/
MeshTest.java 19 import android.renderscript.Allocation;
30 Allocation mAttrAlloc;
31 Allocation mIndexAlloc;
47 mAttrAlloc = Allocation.createSized(mRS, mPosElem, 3);
48 mIndexAlloc = Allocation.createSized(mRS, Element.U16(mRS), 3);
82 Allocation.USAGE_SCRIPT |
83 Allocation.USAGE_GRAPHICS_VERTEX);
92 Allocation.USAGE_SCRIPT |
93 Allocation.USAGE_GRAPHICS_VERTEX);
104 Allocation.USAGE_SCRIPT
    [all...]

Completed in 3781 milliseconds

1 23 4 5 6 7 8 91011>>