/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...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
FrameBuffer2D.java | 40 int[] dimensions = backingStore.getDimensions(); local 41 int dimCount = dimensions != null ? dimensions.length : 0;
|
TransformUtils.java | 41 public static FrameImage2D makeMipMappedFrame(FrameImage2D current, int[] dimensions) { 44 int[] pow2Dims = new int[] { powOf2(dimensions[0]), powOf2(dimensions[1]) }; 49 } else if (!Arrays.equals(dimensions, current.getDimensions())) { 55 public static FrameImage2D makeTempFrame(FrameImage2D current, int[] dimensions) { 59 current = Frame.create(imageType, dimensions).asFrameImage2D(); 60 } else if (!Arrays.equals(dimensions, current.getDimensions())) { 61 current.resize(dimensions);
|
FrameQueue.java | 81 public Frame fetchAvailableFrame(int[] dimensions); 116 public Frame fetchAvailableFrame(int[] dimensions) { 120 return new Frame(mType, dimensions, manager); 158 public Frame fetchAvailableFrame(int[] dimensions) { 159 return mQueueImpl.fetchAvailableFrame(dimensions);
|
FrameType.java | 26 * A FrameType generally consists of an element type and number of dimensions. The currently 59 * <li>The dimensions must match (except for singles and arrays, see below).</li> 80 * type must have its element and dimensions specified. This ensures that filters that need to 261 * Returns the number of dimensions of the FrameType or -1 if no dimensions were set. 262 * @return The number of dimensions of the FrameType. 271 * A FrameType is fully specified if its element and dimensions are specified. 337 int dimensions = Math.max(writer.mDimensions, reader.mDimensions); local 340 return success ? FrameType.fetchType(mergedClass, dimensions) : null; 404 private static FrameType fetchType(int elementId, int dimensions, int accessHints) [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...] |
/external/chromium_org/remoting/host/ |
resizing_host_observer.cc | 34 if ((candidate.dimensions().width() > preferred.dimensions().width()) || 35 (candidate.dimensions().height() > preferred.dimensions().height())) { 37 static_cast<float>(preferred.dimensions().width()) / 38 candidate.dimensions().width(); 40 static_cast<float>(preferred.dimensions().height()) / 41 candidate.dimensions().height(); 55 static_cast<float>(candidate.dimensions().width()) / 56 candidate.dimensions().height() [all...] |
screen_resolution.h | 14 // Describes a screen's dimensions and DPI. 18 ScreenResolution(const webrtc::DesktopSize& dimensions, 21 // Returns the screen dimensions scaled according to the passed |new_dpi|. 25 // Dimensions of the screen in pixels. 26 const webrtc::DesktopSize& dimensions() const { return dimensions_; } function in class:remoting::ScreenResolution 35 // Returns true if the dimensions and DPI of the two resolutions match.
|
screen_resolution.cc | 19 ScreenResolution::ScreenResolution(const webrtc::DesktopSize& dimensions, 21 : dimensions_(dimensions), 23 // Check that dimensions are not negative. 24 DCHECK(!dimensions.is_empty() || dimensions.equals(webrtc::DesktopSize())); 34 // Scale the screen dimensions to new DPI. 47 return dimensions_.equals(other.dimensions()) && dpi_.equals(other.dpi());
|
desktop_resizer_win.cc | 23 if (a.dimensions().width() != b.dimensions().width()) 24 return a.dimensions().width() < b.dimensions().width(); 25 if (a.dimensions().height() != b.dimensions().height()) 26 return a.dimensions().height() < b.dimensions().height(); 106 // If there are multiple modes with the same dimensions:
|
desktop_resizer_linux.cc | 211 int width = std::min(std::max(preferred.dimensions().width(), min_width), 213 int height = std::min(std::max(preferred.dimensions().height(), min_height), 256 HOST_LOG << "Changing desktop size to " << resolution.dimensions().width() 257 << "x" << resolution.dimensions().height(); 260 int width_mm = PixelsToMillimeters(resolution.dimensions().width(), 262 int height_mm = PixelsToMillimeters(resolution.dimensions().height(), 264 CreateMode(kTempModeName, resolution.dimensions().width(), 265 resolution.dimensions().height()); 267 XRRSetScreenSize(display_, root_, resolution.dimensions().width(), 268 resolution.dimensions().height(), width_mm, height_mm) [all...] |
/external/chromium_org/chrome_frame/infobars/ |
infobar_content.h | 40 // Provides the content with the dimensions available to it for display. 41 // Dimensions are relative to the origin of the frame window. 42 virtual void SetDimensions(const RECT& dimensions) = 0;
|
/external/chromium_org/chrome_frame/turndown_prompt/ |
turndown_prompt_content.cc | 38 void TurndownPromptContent::SetDimensions(const RECT& dimensions) { 40 window_->SetWindowPos(HWND_TOP, &dimensions, 41 ::IsRectEmpty(&dimensions) ? SWP_HIDEWINDOW : 47 RECT* dimensions) { 88 *dimensions = dlgdimensions;
|
turndown_prompt_content.h | 29 virtual void SetDimensions(const RECT& dimensions);
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
pbo.c | 66 _mesa_validate_pbo_access(GLuint dimensions, 106 start = _mesa_image_offset(dimensions, pack, width, height, 110 end = _mesa_image_offset(dimensions, pack, width, height, 176 GLuint dimensions, 183 ASSERT(dimensions == 1 || dimensions == 2 || dimensions == 3); 185 if (!_mesa_validate_pbo_access(dimensions, unpack, width, height, depth, 273 GLuint dimensions, 279 ASSERT(dimensions == 1 || dimensions == 2 || dimensions == 3) [all...] |
pbo.h | 34 _mesa_validate_pbo_access(GLuint dimensions, 47 GLuint dimensions, 64 GLuint dimensions, 76 _mesa_validate_pbo_teximage(struct gl_context *ctx, GLuint dimensions,
|
/external/mesa3d/src/mesa/main/ |
pbo.c | 66 _mesa_validate_pbo_access(GLuint dimensions, 106 start = _mesa_image_offset(dimensions, pack, width, height, 110 end = _mesa_image_offset(dimensions, pack, width, height, 176 GLuint dimensions, 183 ASSERT(dimensions == 1 || dimensions == 2 || dimensions == 3); 185 if (!_mesa_validate_pbo_access(dimensions, unpack, width, height, depth, 273 GLuint dimensions, 279 ASSERT(dimensions == 1 || dimensions == 2 || dimensions == 3) [all...] |
pbo.h | 34 _mesa_validate_pbo_access(GLuint dimensions, 47 GLuint dimensions, 64 GLuint dimensions, 76 _mesa_validate_pbo_teximage(struct gl_context *ctx, GLuint dimensions,
|
/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);
|
/art/runtime/mirror/ |
array.cc | 74 // Recursively create an array with multiple dimensions. Elements may be 77 IntArray* dimensions) 79 int32_t array_length = dimensions->Get(current_dimension); 85 if ((current_dimension + 1) < dimensions->GetLength()) { 89 current_dimension + 1, dimensions); 100 Array* Array::CreateMultiArray(Thread* self, Class* element_class, IntArray* dimensions) { 101 // Verify dimensions. 105 int num_dimensions = dimensions->GetLength(); 110 int dimension = dimensions->Get(i); 129 Array* new_array = RecursiveCreateMultiArray(self, array_class, 0, dimensions); [all...] |
/external/chromium_org/ppapi/c/dev/ |
ppp_video_decoder_dev.h | 51 * |dimensions| tells the dimensions of the buffer to allocate. 58 const struct PP_Size* dimensions,
|
/external/chromium_org/ppapi/cpp/dev/ |
video_decoder_client_dev.h | 29 const PP_Size& 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...] |