/external/volley/src/main/java/com/android/volley/toolbox/ |
D | ImageLoader.java | 153 public boolean isCached(String requestUrl, int maxWidth, int maxHeight) { 154 return isCached(requestUrl, maxWidth, maxHeight, ScaleType.CENTER_INSIDE); 169 public boolean isCached(String requestUrl, int maxWidth, int maxHeight, ScaleType scaleType) { 172 String cacheKey = getCacheKey(requestUrl, maxWidth, maxHeight, scaleType); 194 String requestUrl, ImageListener imageListener, int maxWidth, int maxHeight) { 195 return get(requestUrl, imageListener, maxWidth, maxHeight, ScaleType.CENTER_INSIDE); 218 int maxHeight, 224 final String cacheKey = getCacheKey(requestUrl, maxWidth, maxHeight, scaleType); 258 makeImageRequest(requestUrl, maxWidth, maxHeight, scaleType, cacheKey); 268 int maxHeight, [all …]
|
/external/deqp/modules/egl/ |
D | teglMemoryStressTests.cpp | 72 …g, int seed, ObjectType types, int minWidth, int minHeight, int maxWidth, int maxHeight, bool use); 105 …ig, int seed, ObjectType types, int minWidth, int minHeight, int maxWidth, int maxHeight, bool use) in MemoryAllocator() argument 117 , m_maxHeight (maxHeight) in MemoryAllocator() 323 int maxHeight; member 401 …d, m_spec.types, m_spec.minWidth, m_spec.minHeight, m_spec.maxWidth, m_spec.maxHeight, m_spec.use); in iterate() 482 spec.maxHeight = 256; in init() 496 spec.maxHeight = 256; in init() 510 spec.maxHeight = 1024; in init() 524 spec.maxHeight = 1024; in init() 538 spec.maxHeight = 1024; in init() [all …]
|
/external/webrtc/sdk/android/api/org/webrtc/ |
D | RendererCommon.java | 94 final int maxHeight = View.getDefaultSize(Integer.MAX_VALUE, heightSpec); in measure() local 95 if (frameWidth == 0 || frameHeight == 0 || maxWidth == 0 || maxHeight == 0) { in measure() 96 return new Point(maxWidth, maxHeight); in measure() 101 final float displayAspect = maxWidth / (float) maxHeight; in measure() 105 final Point layoutSize = getDisplaySize(visibleFraction, frameAspect, maxWidth, maxHeight); in measure() 112 layoutSize.y = maxHeight; in measure()
|
/external/OpenCL-CTS/test_conformance/images/kernel_image_methods/ |
D | test_3D.cpp | 27 size_t maxWidth, maxHeight, maxDepth; in test_get_image_info_3D() local 48 …error |= clGetDeviceInfo( device, CL_DEVICE_IMAGE3D_MAX_HEIGHT, sizeof( maxHeight ), &maxHeight, N… in test_get_image_info_3D() 85 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, maxHeight, maxDepth, 1, maxAllocSize, memSize, … in test_get_image_info_3D() 116 imageInfo.height = (size_t)random_log_in_range( 16, (int)maxHeight / 32, seed ); in test_get_image_info_3D() 140 …(int)imageInfo.rowPitch, (int)imageInfo.slicePitch, (int)maxWidth, (int)maxHeight, (int)maxDepth ); in test_get_image_info_3D()
|
D | test_2D_array.cpp | 176 size_t maxWidth, maxHeight, maxArraySize; in test_get_image_info_2D_array() local 187 …error |= clGetDeviceInfo( device, CL_DEVICE_IMAGE3D_MAX_HEIGHT, sizeof( maxHeight ), &maxHeight, N… in test_get_image_info_2D_array() 224 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, maxHeight, 1, maxArraySize, maxAllocSize, memSi… in test_get_image_info_2D_array() 255 imageInfo.height = (size_t)random_log_in_range( 16, (int)maxHeight / 32, seed ); in test_get_image_info_2D_array() 279 …(int)imageInfo.rowPitch, (int)imageInfo.slicePitch, (int)maxWidth, (int)maxHeight, (int)maxArraySi… in test_get_image_info_2D_array()
|
D | test_2D.cpp | 216 size_t maxWidth, maxHeight; in test_get_image_info_2D() local 228 …error |= clGetDeviceInfo( device, CL_DEVICE_IMAGE2D_MAX_HEIGHT, sizeof( maxHeight ), &maxHeight, N… in test_get_image_info_2D() 260 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, maxHeight, 1, 1, maxAllocSize, memSize, CL_MEM_… in test_get_image_info_2D() 286 imageInfo.height = (size_t)random_log_in_range( 16, (int)maxHeight / 32, seed ); in test_get_image_info_2D() 301 …t)imageInfo.width, (int)imageInfo.height, (int)imageInfo.rowPitch, (int)maxWidth, (int)maxHeight ); in test_get_image_info_2D()
|
/external/OpenCL-CTS/test_conformance/images/clFillImage/ |
D | test_fill_2D.cpp | 65 size_t maxWidth, maxHeight; in test_fill_image_set_2D() local 79 …error |= clGetDeviceInfo( device, CL_DEVICE_IMAGE2D_MAX_HEIGHT, sizeof( maxHeight ), &maxHeight, N… in test_fill_image_set_2D() 120 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, maxHeight, 1, 1, maxAllocSize, memSize, CL_MEM_… in test_fill_image_set_2D() 154 imageInfo.height = (size_t)random_log_in_range( 16, (int)maxHeight / 32, seed ); in test_fill_image_set_2D() 171 …t)imageInfo.width, (int)imageInfo.height, (int)imageInfo.rowPitch, (int)maxWidth, (int)maxHeight ); in test_fill_image_set_2D()
|
D | test_fill_3D.cpp | 67 size_t maxWidth, maxHeight, maxDepth; in test_fill_image_set_3D() local 82 …error |= clGetDeviceInfo( device, CL_DEVICE_IMAGE3D_MAX_HEIGHT, sizeof( maxHeight ), &maxHeight, N… in test_fill_image_set_3D() 126 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, maxHeight, maxDepth, 1, maxAllocSize, memSize, … in test_fill_image_set_3D() 163 imageInfo.height = (size_t)random_log_in_range( 16, (int)maxHeight / 32, seed ); in test_fill_image_set_3D() 183 …(int)imageInfo.rowPitch, (int)imageInfo.slicePitch, (int)maxWidth, (int)maxHeight, (int)maxDepth ); in test_fill_image_set_3D()
|
D | test_fill_2D_array.cpp | 67 size_t maxWidth, maxHeight, maxArraySize; in test_fill_image_set_2D_array() local 82 …error |= clGetDeviceInfo( device, CL_DEVICE_IMAGE2D_MAX_HEIGHT, sizeof( maxHeight ), &maxHeight, N… in test_fill_image_set_2D_array() 126 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, maxHeight, 1, maxArraySize, maxAllocSize, memSi… in test_fill_image_set_2D_array() 181 imageInfo.height = (size_t)random_log_in_range( 16, (int)maxHeight / 64, seed ); in test_fill_image_set_2D_array() 201 …(int)imageInfo.rowPitch, (int)imageInfo.slicePitch, (int)maxWidth, (int)maxHeight, (int)maxArraySi… in test_fill_image_set_2D_array()
|
/external/exoplayer/tree/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/manifest/ |
D | SsManifest.java | 70 public final int maxHeight; field in SsManifest.StreamElement 92 int maxHeight, in StreamElement() argument 107 maxHeight, in StreamElement() 125 int maxHeight, in StreamElement() argument 140 this.maxHeight = maxHeight; in StreamElement() 160 maxHeight, displayWidth, displayHeight, language, formats, chunkStartTimes, in copy()
|
/external/OpenCL-CTS/test_conformance/images/clGetInfo/ |
D | test_3D.cpp | 22 size_t maxWidth, maxHeight, maxDepth; in test_get_image_info_3D() local 42 …error |= clGetDeviceInfo( device, CL_DEVICE_IMAGE3D_MAX_HEIGHT, sizeof( maxHeight ), &maxHeight, N… in test_get_image_info_3D() 84 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, maxHeight, maxDepth, 1, maxAllocSize, memSize, … in test_get_image_info_3D() 118 imageInfo.height = (size_t)random_log_in_range( 16, (int)maxHeight / 32, seed ); in test_get_image_info_3D() 141 …(int)imageInfo.rowPitch, (int)imageInfo.slicePitch, (int)maxWidth, (int)maxHeight, (int)maxDepth ); in test_get_image_info_3D()
|
D | test_1D_2D_array.cpp | 143 size_t maxWidth, maxHeight, maxArraySize; in test_get_image_info_2D_array() local 163 …error |= clGetDeviceInfo( device, CL_DEVICE_IMAGE2D_MAX_HEIGHT, sizeof( maxHeight ), &maxHeight, N… in test_get_image_info_2D_array() 205 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, maxHeight, 1, maxArraySize, maxAllocSize, memSi… in test_get_image_info_2D_array() 239 imageInfo.height = (size_t)random_log_in_range( 16, (int)maxHeight / 32, seed ); in test_get_image_info_2D_array() 262 …nt) all_host_ptr_flags[j], (int)imageInfo.rowPitch, (int)maxWidth, (int)maxHeight, (int)maxArraySi… in test_get_image_info_2D_array()
|
/external/OpenCL-CTS/test_conformance/images/clReadWriteImage/ |
D | test_read_2D.cpp | 179 size_t maxWidth, maxHeight; in test_read_image_set_2D() local 191 …error |= clGetDeviceInfo( device, CL_DEVICE_IMAGE2D_MAX_HEIGHT, sizeof( maxHeight ), &maxHeight, N… in test_read_image_set_2D() 226 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, maxHeight, 1, 1, maxAllocSize, memSize, CL_MEM_… in test_read_image_set_2D() 239 log_info( " at max size %d,%d\n", (int)maxWidth, (int)maxHeight ); in test_read_image_set_2D() 254 imageInfo.height = (size_t)random_log_in_range( 16, (int)maxHeight / 32, seed ); in test_read_image_set_2D() 275 …t)imageInfo.width, (int)imageInfo.height, (int)imageInfo.rowPitch, (int)maxWidth, (int)maxHeight ); in test_read_image_set_2D()
|
D | test_read_2D_array.cpp | 154 size_t maxWidth, maxHeight, maxArraySize; in test_read_image_set_2D_array() local 165 …error |= clGetDeviceInfo( device, CL_DEVICE_IMAGE2D_MAX_HEIGHT, sizeof( maxHeight ), &maxHeight, N… in test_read_image_set_2D_array() 205 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, maxHeight, 1, maxArraySize, maxAllocSize, memSi… in test_read_image_set_2D_array() 235 imageInfo.height = (size_t)random_log_in_range( 16, (int)maxHeight / 32, seed ); in test_read_image_set_2D_array() 264 …(int)imageInfo.rowPitch, (int)imageInfo.slicePitch, (int)maxWidth, (int)maxHeight, (int)maxArraySi… in test_read_image_set_2D_array()
|
/external/OpenCL-CTS/test_conformance/api/ |
D | test_kernel_arg_changes.cpp | 44 size_t maxWidth, maxHeight; in test_kernel_arg_changes() local 63 …error |= clGetDeviceInfo( device, CL_DEVICE_IMAGE2D_MAX_HEIGHT, sizeof( maxHeight ), &maxHeight, N… in test_kernel_arg_changes() 75 sizes[ i ][ 1 ] = genrand_int32(seed) % (maxHeight/32) + 1; in test_kernel_arg_changes()
|
/external/OpenCL-CTS/test_conformance/images/clCopyImage/ |
D | test_copy_3D.cpp | 41 size_t maxWidth, maxHeight, maxDepth; in test_copy_image_set_3D() local 52 …error |= clGetDeviceInfo( device, CL_DEVICE_IMAGE3D_MAX_HEIGHT, sizeof( maxHeight ), &maxHeight, N… in test_copy_image_set_3D() 101 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, maxHeight, maxDepth, 1, maxAllocSize, memSize, … in test_copy_image_set_3D() 145 imageInfo.height = (size_t)random_log_in_range( 16, (int)maxHeight / 32, seed ); in test_copy_image_set_3D() 175 …(int)imageInfo.rowPitch, (int)imageInfo.slicePitch, (int)maxWidth, (int)maxHeight, (int)maxDepth ); in test_copy_image_set_3D()
|
D | test_copy_2D_array.cpp | 55 size_t maxWidth, maxHeight, maxArraySize; in test_copy_image_set_2D_array() local 66 …error |= clGetDeviceInfo( device, CL_DEVICE_IMAGE3D_MAX_HEIGHT, sizeof( maxHeight ), &maxHeight, N… in test_copy_image_set_2D_array() 116 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, maxHeight, 1, maxArraySize, maxAllocSize, memSi… in test_copy_image_set_2D_array() 159 imageInfo.height = (size_t)random_log_in_range( 16, (int)maxHeight / 32, seed ); in test_copy_image_set_2D_array() 188 …(int)imageInfo.rowPitch, (int)imageInfo.slicePitch, (int)maxWidth, (int)maxHeight, (int)maxArraySi… in test_copy_image_set_2D_array()
|
D | test_copy_2D.cpp | 110 size_t maxWidth, maxHeight; in test_copy_image_set_2D() local 121 …error |= clGetDeviceInfo( device, CL_DEVICE_IMAGE2D_MAX_HEIGHT, sizeof( maxHeight ), &maxHeight, N… in test_copy_image_set_2D() 166 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, maxHeight, 1, 1, maxAllocSize, memSize, CL_MEM_… in test_copy_image_set_2D() 205 imageInfo.height = (size_t)random_log_in_range( 16, (int)maxHeight / 32, seed ); in test_copy_image_set_2D() 230 …t)imageInfo.width, (int)imageInfo.height, (int)imageInfo.rowPitch, (int)maxWidth, (int)maxHeight ); in test_copy_image_set_2D()
|
/external/OpenCL-CTS/test_conformance/images/kernel_read_write/ |
D | test_read_3D.cpp | 95 size_t maxWidth, maxHeight, maxDepth; in test_read_image_set_3D() local 103 …error |= clGetDeviceInfo( device, CL_DEVICE_IMAGE3D_MAX_HEIGHT, sizeof( maxHeight ), &maxHeight, N… in test_read_image_set_3D() 187 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, maxHeight, maxDepth, 1, maxAllocSize, memSize, … in test_read_image_set_3D() 233 imageInfo.height = reduceImageSizeRange(maxHeight, seed ); in test_read_image_set_3D() 265 …(int)imageInfo.rowPitch, (int)imageInfo.slicePitch, (int)maxWidth, (int)maxHeight, (int)maxDepth ); in test_read_image_set_3D()
|
/external/OpenCL-CTS/test_conformance/events/ |
D | action_classes.cpp | 25 size_t maxWidth, maxHeight; in IGetPreferredImageSize2D() local 32 …error |= clGetDeviceInfo( device, CL_DEVICE_IMAGE2D_MAX_HEIGHT, sizeof( maxHeight ), &maxHeight, N… in IGetPreferredImageSize2D() 36 if( maxWidth * maxHeight * 4 > maxAllocSize / BufferSizeReductionFactor ) in IGetPreferredImageSize2D() 45 if( outHeight > maxHeight ) in IGetPreferredImageSize2D() 46 outHeight = maxHeight; in IGetPreferredImageSize2D() 51 outHeight = maxHeight; in IGetPreferredImageSize2D() 69 size_t maxWidth, maxHeight, maxDepth; in IGetPreferredImageSize3D() local 76 …error |= clGetDeviceInfo( device, CL_DEVICE_IMAGE3D_MAX_HEIGHT, sizeof( maxHeight ), &maxHeight, N… in IGetPreferredImageSize3D() 81 … if( (cl_ulong)maxWidth * maxHeight * maxDepth > maxAllocSize / ( BufferSizeReductionFactor * 4 ) ) in IGetPreferredImageSize3D() 89 if( (size_t)rootSize > maxHeight ) in IGetPreferredImageSize3D() [all …]
|
/external/OpenCL-CTS/test_conformance/images/samplerlessReads/ |
D | test_iterations.cpp | 195 size_t maxWidth, maxHeight; in test_read_image_set_2D() local 211 …error |= clGetDeviceInfo( device, CL_DEVICE_IMAGE2D_MAX_HEIGHT, sizeof( maxHeight ), &maxHeight, N… in test_read_image_set_2D() 285 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, maxHeight, 1, 1, maxAllocSize, memSize, CL_MEM_… in test_read_image_set_2D() 310 imageInfo.height = (size_t)random_log_in_range( 16, (int)maxHeight / 32, seed ); in test_read_image_set_2D() 323 …t)imageInfo.width, (int)imageInfo.height, (int)imageInfo.rowPitch, (int)maxWidth, (int)maxHeight ); in test_read_image_set_2D()
|
D | test_read_3D.cpp | 190 size_t maxWidth, maxHeight, maxDepth; in test_read_image_set_3D() local 201 …error |= clGetDeviceInfo( device, CL_DEVICE_IMAGE3D_MAX_HEIGHT, sizeof( maxHeight ), &maxHeight, N… in test_read_image_set_3D() 281 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, maxHeight, maxDepth, 1, maxAllocSize, memSize, … in test_read_image_set_3D() 308 imageInfo.height = (size_t)random_log_in_range( 16, (int)maxHeight / 32, seed ); in test_read_image_set_3D() 327 …(int)imageInfo.rowPitch, (int)imageInfo.slicePitch, (int)maxWidth, (int)maxHeight, (int)maxDepth ); in test_read_image_set_3D()
|
D | test_read_2D_array.cpp | 187 size_t maxWidth, maxHeight, maxArraySize; in test_read_image_set_2D_array() local 197 …error |= clGetDeviceInfo( device, CL_DEVICE_IMAGE3D_MAX_HEIGHT, sizeof( maxHeight ), &maxHeight, N… in test_read_image_set_2D_array() 278 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, maxHeight, 1, maxArraySize, maxAllocSize, memSi… in test_read_image_set_2D_array() 305 imageInfo.height = (size_t)random_log_in_range( 16, (int)maxHeight / 32, seed ); in test_read_image_set_2D_array() 324 …(int)imageInfo.rowPitch, (int)imageInfo.slicePitch, (int)maxWidth, (int)maxHeight, (int)maxArraySi… in test_read_image_set_2D_array()
|
/external/setupdesign/main/src/com/google/android/setupdesign/view/ |
D | FillContentLayout.java | 45 private int maxHeight; field in FillContentLayout 68 maxHeight = a.getDimensionPixelSize(R.styleable.SudFillContentLayout_android_maxHeight, -1); in init() 102 Math.min(maxHeight, parentHeight), in measureIllustrationChild()
|
/external/llvm-project/flang/runtime/ |
D | format.h | 86 std::size_t formatLength, int maxHeight = maxMaxHeight); 94 static std::size_t GetNeededSize(int maxHeight) { in GetNeededSize() argument 96 sizeof(Iteration) * (maxMaxHeight - maxHeight); in GetNeededSize()
|