/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | MutableFrameFormat.java | 53 public void setDimensions(int[] dimensions) { in setDimensions() argument 54 mDimensions = (dimensions == null) ? null : Arrays.copyOf(dimensions, dimensions.length); in setDimensions() 59 int[] dimensions = new int[1]; in setDimensions() local 60 dimensions[0] = size; in setDimensions() 61 mDimensions = dimensions; in setDimensions() 67 int[] dimensions = new int[2]; in setDimensions() local 68 dimensions[0] = width; in setDimensions() 69 dimensions[1] = height; in setDimensions() 70 mDimensions = dimensions; in setDimensions() 75 int[] dimensions = new int[3]; in setDimensions() local [all …]
|
D | FrameFormat.java | 331 public static String dimensionsToString(int[] dimensions) { in dimensionsToString() argument 333 if (dimensions != null) { in dimensionsToString() 334 int n = dimensions.length; in dimensionsToString() 336 if (dimensions[i] == SIZE_UNSPECIFIED) { in dimensionsToString() 339 buffer.append("[" + String.valueOf(dimensions[i]) + "]"); in dimensionsToString() 426 int calcSize(int[] dimensions) { in calcSize() argument 427 if (dimensions != null && dimensions.length > 0) { in calcSize() 429 for (int dim : dimensions) { in calcSize()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | TransformUtils.java | 41 public static FrameImage2D makeMipMappedFrame(FrameImage2D current, int[] dimensions) { in makeMipMappedFrame() argument 44 int[] pow2Dims = new int[] { powOf2(dimensions[0]), powOf2(dimensions[1]) }; in makeMipMappedFrame() 49 } else if (!Arrays.equals(dimensions, current.getDimensions())) { in makeMipMappedFrame() 55 public static FrameImage2D makeTempFrame(FrameImage2D current, int[] dimensions) { in makeTempFrame() argument 59 current = Frame.create(imageType, dimensions).asFrameImage2D(); in makeTempFrame() 60 } else if (!Arrays.equals(dimensions, current.getDimensions())) { in makeTempFrame() 61 current.resize(dimensions); in makeTempFrame()
|
D | FrameType.java | 337 int dimensions = Math.max(writer.mDimensions, reader.mDimensions); in tryMergeObjectTypes() local 340 return success ? FrameType.fetchType(mergedClass, dimensions) : null; in tryMergeObjectTypes() 404 private static FrameType fetchType(int elementId, int dimensions, int accessHints) { in fetchType() argument 405 return fetchType(elementId, dimensions, accessHints, null); in fetchType() 408 private static FrameType fetchType(Class<?> clazz, int dimensions) { in fetchType() argument 409 return fetchType(ELEMENT_OBJECT, dimensions, ACCESS_UNKNOWN, clazz); in fetchType() 413 int elementId, int dimensions, int accessHints, Class<?> clazz) { in fetchType() argument 414 String typeKey = FrameType.keyValueForType(elementId, dimensions, accessHints, clazz); in fetchType() 417 type = new FrameType(elementId, dimensions, accessHints, clazz); in fetchType() 423 private FrameType(int elementId, int dimensions, int accessHints, Class<?> clazz) { in FrameType() argument [all …]
|
D | FrameBuffer2D.java | 40 int[] dimensions = backingStore.getDimensions(); in assertCanCreate() local 41 int dimCount = dimensions != null ? dimensions.length : 0; in assertCanCreate()
|
D | FrameQueue.java | 81 public Frame fetchAvailableFrame(int[] dimensions); in fetchAvailableFrame() argument 116 public Frame fetchAvailableFrame(int[] dimensions) { in fetchAvailableFrame() argument 120 return new Frame(mType, dimensions, manager); in fetchAvailableFrame() 158 public Frame fetchAvailableFrame(int[] dimensions) { in fetchAvailableFrame() argument 159 return mQueueImpl.fetchAvailableFrame(dimensions); in fetchAvailableFrame()
|
D | FrameImage2D.java | 136 private void validateBitmapSize(Bitmap bitmap, int[] dimensions) { in validateBitmapSize() argument 137 if (bitmap.getWidth() != dimensions[0] || bitmap.getHeight() != dimensions[1]) { in validateBitmapSize() 139 + "x" + bitmap.getHeight() + " to frame of size " + dimensions[0] + "x" in validateBitmapSize() 140 + dimensions[1] + "!"); in validateBitmapSize()
|
D | Frame.java | 136 public static Frame create(FrameType type, int[] dimensions) { in create() argument 142 return new Frame(type, dimensions, manager); in create() 166 Frame(FrameType type, int[] dimensions, FrameManager manager) { in Frame() argument 167 mBackingStore = new BackingStore(type, dimensions, manager); in Frame()
|
D | FrameManager.java | 115 public abstract Backing fetchBacking(int mode, int access, int[] dimensions, int elemSize); in fetchBacking() argument 135 public Backing fetchBacking(int mode, int access, int[] dimensions, int elemSize) { in fetchBacking() argument 173 public Backing fetchBacking(int mode, int access, int[] dimensions, int elemSize) { in fetchBacking() argument 179 && dimensionsCompatible(backing.getDimensions(), dimensions) in fetchBacking() 409 Backing fetchBacking(int mode, int access, int[] dimensions, int elemSize) { in fetchBacking() argument 410 return mCache.fetchBacking(mode, access, dimensions, elemSize); in fetchBacking()
|
D | FrameBuffer1D.java | 96 void updateLength(int[] dimensions) { in updateLength() argument 98 for (int dim : dimensions) { in updateLength()
|
D | OutputPort.java | 70 public Frame fetchAvailableFrame(int[] dimensions) { in fetchAvailableFrame() argument 71 Frame frame = getQueue().fetchAvailableFrame(dimensions); in fetchAvailableFrame()
|
D | BackingStore.java | 74 public BackingStore(FrameType type, int[] dimensions, FrameManager frameManager) { in BackingStore() argument 76 mDimensions = dimensions != null ? Arrays.copyOf(dimensions, dimensions.length) : null; in BackingStore() 368 public void setDimensions(int[] dimensions) { in setDimensions() argument 369 mDimensions = dimensions; in setDimensions()
|
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
D | ViewfinderProcessor.java | 43 public ViewfinderProcessor(RenderScript rs, Size dimensions) { in ViewfinderProcessor() argument 45 yuvTypeBuilder.setX(dimensions.getWidth()); in ViewfinderProcessor() 46 yuvTypeBuilder.setY(dimensions.getHeight()); in ViewfinderProcessor() 53 rgbTypeBuilder.setX(dimensions.getWidth()); in ViewfinderProcessor() 54 rgbTypeBuilder.setY(dimensions.getHeight()); in ViewfinderProcessor()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | MeteringRectangle.java | 112 public MeteringRectangle(Point xy, Size dimensions, int meteringWeight) { in MeteringRectangle() argument 114 checkNotNull(dimensions, "dimensions must not be null"); in MeteringRectangle() 118 mWidth = checkArgumentNonnegative(dimensions.getWidth(), "width must be nonnegative"); in MeteringRectangle() 119 mHeight = checkArgumentNonnegative(dimensions.getHeight(), "height must be nonnegative"); in MeteringRectangle()
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | ViewfinderProcessor.java | 61 public ViewfinderProcessor(RenderScript rs, Size dimensions) { in ViewfinderProcessor() argument 64 yuvTypeBuilder.setX(dimensions.getWidth()); in ViewfinderProcessor() 65 yuvTypeBuilder.setY(dimensions.getHeight()); in ViewfinderProcessor() 67 Log.d(TAG, ">>>>>>>>>>>> " + dimensions.getWidth() + "x" + dimensions.getHeight()); in ViewfinderProcessor() 72 rgbTypeBuilder.setX(dimensions.getWidth()); in ViewfinderProcessor() 73 rgbTypeBuilder.setY(dimensions.getHeight()); in ViewfinderProcessor() 78 buffTypeBuilder.setX(dimensions.getWidth()); in ViewfinderProcessor() 79 buffTypeBuilder.setY(dimensions.getHeight()); in ViewfinderProcessor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/ |
D | KeyguardIndicationAreaBinder.kt | 133 configurationBasedDimensions.collect { dimensions -> in <lambda>() method 136 dimensions.indicationTextSizePx.toFloat(), in <lambda>() 140 dimensions.indicationTextSizePx.toFloat(), in <lambda>()
|
D | KeyguardBottomAreaViewBinder.kt | 230 configurationBasedDimensions.collect { dimensions -> in <lambda>() method 232 width = dimensions.buttonSizePx.width in <lambda>() 233 height = dimensions.buttonSizePx.height in <lambda>() 236 width = dimensions.buttonSizePx.width in <lambda>() 237 height = dimensions.buttonSizePx.height in <lambda>()
|
D | KeyguardQuickAffordanceViewBinder.kt | 107 configurationBasedDimensions.collect { dimensions -> in <lambda>() method 109 width = dimensions.buttonSizePx.width in <lambda>() 110 height = dimensions.buttonSizePx.height in <lambda>()
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/ |
D | TestDelegates.java | 202 int dimensions = 0; in getMethodName() local 204 dimensions++; in getMethodName() 208 for (int i = 0; i < dimensions; i++) { in getMethodName()
|
/frameworks/base/core/java/android/os/ |
D | PowerComponents.java | 56 public double getConsumedPower(@NonNull BatteryConsumer.Dimensions dimensions) { in getConsumedPower() argument 57 if (dimensions.powerComponent != POWER_COMPONENT_ANY) { in getConsumedPower() 58 return mData.getDouble(mData.getKeyOrThrow(dimensions.powerComponent, in getConsumedPower() 59 dimensions.processState).mPowerColumnIndex); in getConsumedPower() 60 } else if (dimensions.processState != PROCESS_STATE_ANY) { in getConsumedPower() 63 "No data included in BatteryUsageStats for " + dimensions); in getConsumedPower() 66 mData.layout.processStateKeys[dimensions.processState]; in getConsumedPower()
|
D | Parcel.java | 2237 @NonNull int... dimensions) { in writeFixedArray() argument 2242 writeFixedArrayInternal(val, parcelableFlags, /*index=*/0, dimensions); in writeFixedArray() 2246 int[] dimensions) { in writeFixedArrayInternal() argument 2247 if (index >= dimensions.length) { in writeFixedArrayInternal() 2249 + dimensions.length); in writeFixedArrayInternal() 2252 int length = dimensions[index]; in writeFixedArrayInternal() 2270 if (!componentType.isArray() && index + 1 != dimensions.length) { in writeFixedArrayInternal() 2272 + dimensions.length); in writeFixedArrayInternal() 2298 dimensions); in writeFixedArrayInternal() local 4172 public <T> T createFixedArray(@NonNull Class<T> cls, @NonNull int... dimensions) { in createFixedArray() argument [all …]
|
/frameworks/base/libs/hwui/hwui/ |
D | ImageDecoder.cpp | 71 , mDecodeSize(mCodec->codec()->dimensions()) in ImageDecoder() 223 ? mCodec->codec()->dimensions().height() in width() 224 : mCodec->codec()->dimensions().width(); in width() 229 ? mCodec->codec()->dimensions().width() in height() 230 : mCodec->codec()->dimensions().height(); in height() 325 auto dims = mCodec->codec()->dimensions(); in getCurrentFrameInfo()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/ |
D | MffFilterTestCase.java | 132 protected Frame createFrame(FrameType type, int[] dimensions) { in createFrame() argument 133 return new Frame(type, dimensions, mRunner.getFrameManager()); in createFrame()
|
/frameworks/native/services/vr/bufferhubd/ |
D | buffer_hub.cpp | 78 std::string dimensions = std::to_string(info.width) + "x" + in DumpState() local 81 stream << std::setw(14) << dimensions; in DumpState() 112 std::string dimensions = std::to_string(info.width) + "x" + in DumpState() local 115 stream << std::setw(14) << dimensions; in DumpState()
|
/frameworks/base/native/graphics/jni/ |
D | imagedecoder.cpp | 111 auto dimensions = codec->dimensions(); in createFromStream() local 119 if (dimensions.width() > std::numeric_limits<int32_t>::max() || in createFromStream() 120 dimensions.height() > std::numeric_limits<int32_t>::max()) { in createFromStream()
|