HomeSort by relevance Sort by last modified time
    Searched refs:dimensions (Results 1 - 25 of 75) sorted by null

1 2 3

  /frameworks/base/media/mca/filterfw/java/android/filterfw/core/
MutableFrameFormat.java 52 public void setDimensions(int[] dimensions) {
53 mDimensions = (dimensions == null) ? null : Arrays.copyOf(dimensions, dimensions.length);
58 int[] dimensions = new int[1]; local
59 dimensions[0] = size;
60 mDimensions = dimensions;
65 int[] dimensions = new int[2]; local
66 dimensions[0] = width;
67 dimensions[1] = height
73 int[] dimensions = new int[3]; local
    [all...]
FrameFormat.java 212 // Check number of dimensions
218 // Check dimensions
271 // Check number of dimensions
278 // Check dimensions
328 public static String dimensionsToString(int[] dimensions) {
330 if (dimensions != null) {
331 int n = dimensions.length;
333 if (dimensions[i] == SIZE_UNSPECIFIED) {
336 buffer.append("[" + String.valueOf(dimensions[i]) + "]");
423 int calcSize(int[] dimensions) {
    [all...]
  /external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/
ArraySerializer.java 55 int[] dimensions = new int[depth]; local
56 dimensions[0] = Array.getLength(array);
57 if (depth > 1) collectDimensions(array, 1, dimensions);
58 return dimensions;
61 private void collectDimensions (Object array, int dimension, int[] dimensions) {
62 boolean elementsAreArrays = dimension < dimensions.length - 1;
66 dimensions[dimension] = Math.max(dimensions[dimension], Array.getLength(element));
67 if (elementsAreArrays) collectDimensions(element, dimension + 1, dimensions);
76 int[] dimensions = new int[dimensionCount]
    [all...]
  /dalvik/vm/native/
java_lang_reflect_Array.cpp 57 * int[] dimensions) throws NegativeArraySizeException;
75 int* dimensions; local
83 * Verify dimensions.
92 dimensions = (int*)(void*)dimArray->contents;
94 if (dimensions[i] < 0) {
95 dvmThrowNegativeArraySizeException(dimensions[i]);
98 LOGVV("DIM %d: %d", i, dimensions[i]);
131 newArray = dvmAllocMultiArray(arrayClass, numDim-1, dimensions);
  /external/webkit/Source/WebCore/platform/graphics/chromium/
VideoLayerChromium.h 80 void allocateTexture(GraphicsContext3D*, unsigned textureId, const IntSize& dimensions, unsigned textureFormat) const;
82 void updateTexture(GraphicsContext3D*, unsigned textureId, const IntSize& dimensions, unsigned textureFormat, const void* data) const;
VideoLayerChromium.cpp 241 void VideoLayerChromium::allocateTexture(GraphicsContext3D* context, unsigned textureId, const IntSize& dimensions, unsigned textureFormat) const
244 GLC(context, context->texImage2DResourceSafe(GraphicsContext3D::TEXTURE_2D, 0, textureFormat, dimensions.width(), dimensions.height(), 0, textureFormat, GraphicsContext3D::UNSIGNED_BYTE));
247 void VideoLayerChromium::updateTexture(GraphicsContext3D* context, unsigned textureId, const IntSize& dimensions, unsigned format, const void* data) const
251 void* mem = static_cast<Extensions3DChromium*>(context->getExtensions())->mapTexSubImage2DCHROMIUM(GraphicsContext3D::TEXTURE_2D, 0, 0, 0, dimensions.width(), dimensions.height(), format, GraphicsContext3D::UNSIGNED_BYTE, Extensions3DChromium::WRITE_ONLY);
253 memcpy(mem, data, dimensions.width() * dimensions.height());
259 GLC(context, context->texSubImage2D(GraphicsContext3D::TEXTURE_2D, 0, 0, 0, dimensions.width(), dimensions.height(), format, GraphicsContext3D::UNSIGNED_BYTE, data))
    [all...]
  /external/webkit/Source/WebKit/android/plugins/
ANPVideo_npapi.h 50 * The dimensions are in document space. Further, if the rect is NULL the
52 * dimensions until you queue the first buffer in the window.
54 void (*setWindowDimensions)(NPP instance, const ANativeWindow* window, const ANPRectF* dimensions);
ANPVideoInterface.cpp 54 const ANPRectF* dimensions) {
61 mediaLayer->setWindowDimensionsForVideo(window, *SkANP::SetRect(&rect, *dimensions));
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
OldAndroidArrayTest.java 75 int[] dimensions = {3, 2, 1}; local
76 Object intIntIntArray = Array.newInstance(Integer.TYPE, dimensions);
93 int[] dimensions = {1, 2, 3}; local
94 Object strStrStrArray = Array.newInstance(String.class, dimensions);
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/db/
BuildResults.java 37 // Dimensions information
38 Dim[] dimensions; field in class:BuildResults
212 * Returns the dimensions supported for the current build.
214 * @return An array of dimensions.
217 return this.dimensions;
244 if (this.dimensions == null) return -1;
245 int length = this.dimensions.length;
247 if (this.dimensions[i] == null) break;
248 if (this.dimensions[i].getId() == dim_id) {
407 this.dimensions = new Dim[length]
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
RawDataTable.java 33 private Dim[] dimensions = DB_Results.getResultsDimensions(); field in class:RawDataTable
66 int length = this.dimensions.length;
69 buffer.append(this.dimensions[i].getName());
91 int dimLength = this.dimensions.length;
93 Dim dimension = this.dimensions[d];
116 int length = this.dimensions.length;
119 dimStats[i] = this.configResults.getStatistics(this.buildPrefixes, this.dimensions[i].getId());
124 String dimName = this.dimensions[i].getName();
152 int length = this.dimensions.length;
155 String dimName = this.dimensions[i].getName()
    [all...]
ScenarioData.java 53 private Dim[] dimensions = DB_Results.getResultsDimensions(); field in class:ScenarioData
277 int dimLength = this.dimensions.length;
279 Dim dim = this.dimensions[d];
303 Dim dim = this.dimensions[d];
342 int dimLength = this.dimensions.length;
344 Dim dim = this.dimensions[d];
367 int dimLength = this.dimensions.length;
369 Dim currentDim = this.dimensions[d];
  /external/webkit/Source/WebCore/platform/graphics/android/layers/
MediaTexture.cpp 144 if (!video->surfaceTexture.get() || video->dimensions.isEmpty()
153 SkRect dimensions = video->dimensions; local
154 dimensions.offset(mediaBounds.fLeft, mediaBounds.fTop);
157 if (!mediaBounds.contains(dimensions)) {
163 surfaceMatrix, dimensions, video->textureId);
254 const SkRect& dimensions)
259 m_videoTextures[i]->dimensions = dimensions;
285 wrapper->dimensions.setEmpty()
    [all...]
MediaLayer.cpp 64 // outline. Therefore, we shrink the rect by the outline's dimensions
97 void MediaLayer::setWindowDimensionsForVideo(const ANativeWindow* window, const SkRect& dimensions)
99 //TODO validate that the dimensions do not exceed the plugin's bounds
100 m_mediaTexture->setDimensions(window, dimensions);
MediaTexture.h 58 void setDimensions(const ANativeWindow* window, const SkRect& dimensions);
68 SkRect dimensions; // only used by the video layer member in struct:WebCore::MediaTexture::TextureWrapper
MediaLayer.h 55 void setWindowDimensionsForVideo(const ANativeWindow* window, const SkRect& dimensions);
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/ui/
PerformanceResultsPreferenceInitializer.java 58 // Result dimensions
59 Dimension[] dimensions = PerformanceTestPlugin.getResultsDimensions(); local
60 int length = dimensions.length;
62 Dim dim = (Dim) dimensions[i];
  /frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/
TestDelegates.java 181 int dimensions = 0; local
183 dimensions++;
186 for (int i = 0; i < dimensions; i++) {
  /libcore/luni/src/main/java/java/lang/reflect/
AccessibleObject.java 238 int dimensions = 0; local
241 dimensions++;
244 for (int d = 0; d < dimensions; d++) {
Array.java 315 * dimensions. Equivalent to {@code new componentType[d0][d1]...[dn]} for a
316 * dimensions array of { d0, d1, ... , dn }.
320 * if any of the dimensions are negative
322 * if the array of dimensions is of size zero, or exceeds the
325 public static Object newInstance(Class<?> componentType, int... dimensions) throws NegativeArraySizeException, IllegalArgumentException {
326 if (dimensions.length <= 0 || dimensions.length > 255) {
327 throw new IllegalArgumentException("Bad number of dimensions: " + dimensions.length);
335 return createMultiArray(componentType, dimensions);
    [all...]
  /sdk/emulator/opengl/tests/ut_renderer/
Android.mk 20 # is called would cause a crash if the texture dimensions have not been
  /dalvik/tests/045-reflect-array/src/
Main.java 196 int[] dimensions = { 3, 2, 1 }; local
198 intIntIntArray = Array.newInstance(Integer.TYPE, dimensions);
215 int[] dimensions = { 1, 2, 3 }; local
217 strStrStrArray = Array.newInstance(String.class, dimensions);
  /dalvik/vm/oo/
Array.h 59 * Allocate an array with multiple dimensions. Elements may be Objects or
67 const int* dimensions);
Array.cpp 165 * Recursively create an array with multiple dimensions. Elements may be
168 * The dimension we're creating is in dimensions[0], so when we recurse
172 const int* dimensions)
177 LOGVV("dvmAllocMultiArray: class='%s' curDim=%d *dimensions=%d",
178 arrayClass->descriptor, curDim, *dimensions);
184 newArray = allocArray(arrayClass, *dimensions,
191 *dimensions, ALLOC_DEFAULT);
207 newArray = allocArray(arrayClass, *dimensions, kObjectArrayRefWidth,
217 for (i = 0; i < *dimensions; i++) {
220 dimensions+1)
    [all...]
  /external/chromium/chrome/browser/
bug_report_util.cc 319 // Set the dimensions of the screenshot
320 userfeedback::Dimensions dimensions; local
321 dimensions.set_width(static_cast<float>(png_width));
322 dimensions.set_height(static_cast<float>(png_height));
323 *(screenshot.mutable_dimensions()) = dimensions;

Completed in 1261 milliseconds

1 2 3