/system/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...] |
/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/webkit/Source/WebCore/platform/graphics/android/ |
MediaTexture.cpp | 160 if (!video->surfaceTexture.get() || video->dimensions.isEmpty() 169 SkRect dimensions = video->dimensions; local 170 dimensions.offset(mediaBounds.fLeft, mediaBounds.fTop); 173 if (!mediaBounds.contains(dimensions)) { 179 surfaceMatrix, dimensions, video->textureId); 272 const SkRect& dimensions) 277 m_videoTextures[i]->dimensions = dimensions; 304 wrapper->dimensions.setEmpty() [all...] |
MediaLayer.h | 54 void setWindowDimensionsForVideo(const ANativeWindow* window, const SkRect& 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.cpp | 76 // outline. Therefore, we shrink the rect by the outline's dimensions 110 void MediaLayer::setWindowDimensionsForVideo(const ANativeWindow* window, const SkRect& dimensions) 112 //TODO validate that the dimensions do not exceed the plugin's bounds 113 m_mediaTexture->setDimensions(window, dimensions);
|
/dalvik/tests/045-reflect-array/src/ |
Main.java | 85 int[] dimensions = { 3, 2, 1 }; local 87 intIntIntArray = Array.newInstance(Integer.TYPE, dimensions); 104 int[] dimensions = { 1, 2, 3 }; local 106 strStrStrArray = Array.newInstance(String.class, dimensions);
|
/libcore/luni/src/main/java/java/lang/reflect/ |
Array.java | 390 * dimensions. This reproduces the effect of {@code new 391 * componentType[d0][d1]...[dn]} for a dimensions array of { d0, d1, ... , 396 * @param dimensions 397 * the dimensions of the new array 404 * if any of the dimensions are negative 406 * if the array of dimensions is of size zero, or exceeds the 409 public static Object newInstance(Class<?> componentType, int... dimensions) 411 if (dimensions.length <= 0 || dimensions.length > 255) 412 throw new IllegalArgumentException("Bad number of dimensions"); [all...] |
AccessibleObject.java | 240 int dimensions = 0; local 243 dimensions++; 246 for (int d = 0; d < dimensions; d++) {
|
/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++) {
|
/development/tools/emulator/opengl/tests/ut_renderer/ |
Android.mk | 20 # is called would cause a crash if the texture dimensions have not been
|
/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;
|
/external/chromium/chrome/common/ |
automation_messages.h | 65 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
|
automation_messages.cc | 59 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/ |
ClassUtil.java | 221 * Returns the number of dimensions of the given internal type. 224 * @return the number of dimensions, e.g. 2. 228 int dimensions = 0; local 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 of the given external type 610 int dimensions = 0; local [all...] |
/development/apps/WidgetPreview/src/com/android/widgetpreview/ |
WidgetPreviewActivity.java | 176 int [] dimensions = local 179 mPreviewWidth = dimensions[0]; 180 mPreviewHeight = dimensions[1];
|
/external/chromium/chrome/browser/resources/ntp/ |
apps.js | 390 // 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.height) [all...] |