Searched refs:dimensions (Results 1 - 25 of 46) sorted by relevance

12

/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/
H A DArraySerializer.java55 int[] dimensions = new int[depth];
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) { argument
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
133 readArray(Serializer elementSerializer, Class elementClass, ByteBuffer buffer, Object array, int dimension, int[] dimensions) argument
[all...]
/external/webkit/Source/WebKit/android/plugins/
H A DANPVideo_npapi.h50 * 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);
H A DANPVideoInterface.cpp54 const ANPRectF* dimensions) {
61 mediaLayer->setWindowDimensionsForVideo(window, *SkANP::SetRect(&rect, *dimensions));
53 anp_setWindowDimensions(NPP instance, const ANativeWindow* window, const ANPRectF* dimensions) argument
/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/
H A DBuildResults.java38 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];
414 this.dimensions[
[all...]
H A DSQL_Results.java146 Dim[] dimensions = DB_Results.getResultsDimensions();
147 int length = dimensions.length;
155 buffer.append(dimensions[i].getId());
H A DDB_Results.java218 * The list of all the dimensions stored in the database.
229 * The list of all the dimensions displayed while generating results.
561 * Get all dimensions read from the database.
563 * @return A list of dimensions.
568 Dim[] dimensions = new Dim[length];
574 dimensions[i] = (Dim) dimension;
576 return dimensions;
616 public static void setResultsDimensions(String[] dimensions) { argument
617 int length = dimensions.length;
620 RESULTS_DIMENSIONS[i] = (Dim) PerformanceTestPlugin.getDimension(dimensions[
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
H A DRawDataTable.java33 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[
[all...]
H A DScenarioData.java53 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/
H A DMediaTexture.cpp144 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
253 setDimensions(const ANativeWindow* window, const SkRect& dimensions) argument
[all...]
H A DMediaLayer.cpp64 // outline. Therefore, we shrink the rect by the outline's dimensions
97 void MediaLayer::setWindowDimensionsForVideo(const ANativeWindow* window, const SkRect& dimensions) argument
99 //TODO validate that the dimensions do not exceed the plugin's bounds
100 m_mediaTexture->setDimensions(window, dimensions);
H A DMediaTexture.h58 void setDimensions(const ANativeWindow* window, const SkRect& dimensions);
68 SkRect dimensions; // only used by the video layer member in struct:WebCore::MediaTexture::TextureWrapper
H A DMediaLayer.h55 void setWindowDimensionsForVideo(const ANativeWindow* window, const SkRect& dimensions);
/external/webkit/Source/WebCore/platform/graphics/chromium/
H A DVideoLayerChromium.cpp241 void VideoLayerChromium::allocateTexture(GraphicsContext3D* context, unsigned textureId, const IntSize& dimensions, unsigned textureFormat) const argument
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 argument
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
[all...]
H A DVideoLayerChromium.h80 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;
/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/
H A DPerformanceResultsPreferenceInitializer.java58 // Result dimensions
59 Dimension[] dimensions = PerformanceTestPlugin.getResultsDimensions();
60 int length = dimensions.length;
62 Dim dim = (Dim) dimensions[i];
H A DPerformanceResultsPreferencePage.java245 tooltip.append("When changed, the new selected dimension is automatically added to the dimensions list below...");
253 // Results dimensions layout
254 tooltip = new StringBuffer("Select the dimensions which will be used while generating performance results\n");
258 createLabel(compositeResultsDimensions, "Results dimensions: ", true/*beginning*/);
479 * Init he contents of the dimensions list controls.
483 java.util.List dimensions = PerformanceTestPlugin.getDimensions();
484 Iterator names = dimensions.iterator();
493 * Init he contents of the dimensions list controls.
564 // Init default generated dimensions
634 // Init generated dimensions
[all...]
/external/chromium/chrome/browser/resources/ntp/
H A Dapps.js390 // The dimensions of each item in the app launcher.
392 get dimensions() {
432 var bottom = rows * this.dimensions.height;
433 var right = cols * this.dimensions.width;
462 var w = this.dimensions.width;
463 var h = this.dimensions.height;
619 appsContent.style.height = (rows * this.dimensions.height) + 'px';
626 var w = this.dimensions.width;
627 var h = this.dimensions.height;
667 var rows = Math.ceil(maxiviewVisibleHeight / this.dimensions
[all...]
H A Ddrag_drop_controller.js190 var w = this.delegate_.dimensions.width;
191 var h = this.delegate_.dimensions.height;
/external/chromium/chrome/browser/
H A Dbug_report_util.cc319 // 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;
/external/chromium/chrome/common/
H A Dautomation_messages.h65 const gfx::Rect& dimensions,
77 gfx::Rect dimensions; member in struct:ExternalTabSettings
155 const gfx::Rect& dimensions,
163 gfx::Rect dimensions; member in struct:AttachExternalTabParams
H A Dautomation_messages.cc59 dimensions(),
82 dimensions(in_dimensions),
164 dimensions(in_dimensions),
491 WriteParam(m, p.dimensions);
507 ReadParam(m, iter, &p->dimensions) &&
524 LogParam(p.dimensions, l);
645 WriteParam(m, p.dimensions);
657 ReadParam(m, iter, &p->dimensions) &&
671 LogParam(p.dimensions, l);
/external/proguard/src/proguard/classfile/util/
H A DClassUtil.java221 * Returns the number of dimensions of the given internal type.
224 * @return the number of dimensions, e.g. 2.
228 int dimensions = 0;
229 while (internalType.charAt(dimensions) == ClassConstants.INTERNAL_TYPE_ARRAY)
231 dimensions++;
234 return dimensions;
324 * of dimensions. If the number of dimensions is 0, the class name itself is
328 * @param dimensionCount the number of array dimensions.
603 * Returns the number of dimensions o
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/model/
H A DBuildResultsElement.java297 Dim[] dimensions = buildResults.getDimensions();
298 int length = dimensions.length;
301 this.children[i] = new DimResultsElement(this.results, this, dimensions[i]);
/external/libvorbis/doc/
H A D08-residue.tex96 codebook dimensions = 8 encoded as: [ 0 1 2 3 4 5 6 7 ]
98 codebook dimensions = 4 encoded as: [ 0 2 4 6 ], [ 1 3 5 7 ]
100 codebook dimensions = 2 encoded as: [ 0 4 ], [ 1 5 ], [ 2 6 ], [ 3 7 ]
102 codebook dimensions = 1 encoded as: [ 0 ], [ 1 ], [ 2 ], [ 3 ], [ 4 ], [ 5 ], [ 6 ], [ 7 ]
125 codebook dimensions = 8 encoded as: [ 0 1 2 3 4 5 6 7 ]
127 codebook dimensions = 4 encoded as: [ 0 1 2 3 ], [ 4 5 6 7 ]
129 codebook dimensions = 2 encoded as: [ 0 1 ], [ 2 3 ], [ 4 5 ], [ 6 7 ]
131 codebook dimensions = 1 encoded as: [ 0 ], [ 1 ], [ 2 ], [ 3 ], [ 4 ], [ 5 ], [ 6 ], [ 7 ]
179 code classification codewords. The number of dimensions in book
182 codeword. Note that the number of entries and dimensions i
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.test.performance_3.6.0.v20091014.jar ... .test.internal.performance.data.Dim[] dimensions java.util.List badDimensions long n java. ...

Completed in 351 milliseconds

12