Home
last modified time | relevance | path

Searched defs:Size (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/native/libs/ui/include_vndk/ui/
DSize.h31 struct Size { struct
35 constexpr Size() = default; argument
38 constexpr Size(T w, T h) : width(clamp<int32_t>(w)), height(clamp<int32_t>(h)) {} in Size() function
59 void set(Size size) { *this = size; } in set() argument
63 set(Size(w, h)); in set() argument
76 // Sets the value to kInvalidSize argument
84 using remove_cvref_t = std::remove_cv_t<std::remove_reference_t<T>>;
89 static constexpr remove_cvref_t<ToType> clamp(FromType v) { in clamp()
/frameworks/native/include/ui/
DSize.h31 struct Size { struct
35 constexpr Size() = default; argument
38 constexpr Size(T w, T h) : width(clamp<int32_t>(w)), height(clamp<int32_t>(h)) {} in Size() argument
59 void set(Size size) { *this = size; } in set() argument
63 set(Size(w, h)); in set() argument
76 // Sets the value to kInvalidSize argument
84 using remove_cvref_t = std::remove_cv_t<std::remove_reference_t<T>>;
89 static constexpr remove_cvref_t<ToType> clamp(FromType v) { in clamp()
/frameworks/native/libs/ui/include/ui/
DSize.h31 struct Size { struct
35 constexpr Size() = default; argument
38 constexpr Size(T w, T h) : width(clamp<int32_t>(w)), height(clamp<int32_t>(h)) {} in Size() argument
59 void set(Size size) { *this = size; } in set() argument
63 set(Size(w, h)); in set() argument
76 // Sets the value to kInvalidSize argument
84 using remove_cvref_t = std::remove_cv_t<std::remove_reference_t<T>>;
89 static constexpr remove_cvref_t<ToType> clamp(FromType v) { in clamp()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DSize.java29 public class Size { class
98 public Size(int width, int height) { in Size() method in Size
105 public Size(Size other) { in Size() method in Size
118 public Size(Camera.Size other) { in Size() method in Size
131 public Size(android.util.Size other) { in Size() method in Size
144 public Size(Point p) { in Size() method in Size
/frameworks/base/core/java/android/util/
DSize.java25 public final class Size { class
32 public Size(int width, int height) { in Size() method in Size
/frameworks/av/camera/include/camera/
DCameraParameters.h25 struct Size { struct
29 Size() { in Size() function
34 Size(int w, int h) { in Size() function
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3StreamInterface.h81 struct Size { struct
84 explicit Size(uint32_t w = 0, uint32_t h = 0) : width(w), height(h){} in width() argument
/frameworks/base/media/mca/filterfw/native/core/
Dnative_frame.h57 int Size() { in Size() function
Dvertex_frame.cpp75 int VertexFrame::Size() const { in Size() function in android::filterfw::VertexFrame
/frameworks/libs/systemui/toruslib/torus-utils/src/main/java/com/google/android/torus/utils/extensions/
DSizeExt.kt30 fun Size.getAspectRatio(): Float { in getAspectRatio() method
/frameworks/libs/modules-utils/java/android/annotation/
DSize.java43 public @interface Size { annotation
/frameworks/libs/binary_translation/backend/include/berberis/backend/x86_64/
Dvreg_bit_set.h36 size_t Size() const { return bit_set_.size(); } in Size() function
/frameworks/compile/libbcc/bcinfo/Wrap/
Dfile_wrapper_input.cpp47 off_t FileWrapperInput::Size() { in Size() function in FileWrapperInput
Din_memory_wrapper_input.cpp49 off_t InMemoryWrapperInput::Size() { in Size() function in InMemoryWrapperInput
/frameworks/av/media/module/codecs/common/include/
DvoMem.h34 VO_S32 Size; /*!< Buffer stride */ member
/frameworks/compile/mclinker/include/mcld/Fragment/
DRelocation.h35 typedef uint32_t Size; typedef
/frameworks/compile/slang/BitWriter_2_9_func/
DReaderWriter_2_9_func.h129 unsigned Size = ( BufPtr[SizeField ] | in SkipBitcodeWrapperHeader() local
/frameworks/compile/slang/BitWriter_3_2/
DReaderWriter_3_2.h129 unsigned Size = ( BufPtr[SizeField ] | in SkipBitcodeWrapperHeader() local
/frameworks/compile/slang/BitWriter_2_9/
DReaderWriter_2_9.h129 unsigned Size = ( BufPtr[SizeField ] | in SkipBitcodeWrapperHeader() local
/frameworks/compile/mclinker/include/mcld/LD/
DRelocator.h30 typedef Relocation::Size Size; typedef
/frameworks/native/include/ftl/
Dstatic_vector.h204 StaticVector(InitializerList<U, std::index_sequence<Size, Sizes...>, Types...>&& list) in StaticVector()
355 std::index_sequence<Size, Sizes...>, std::tuple<Args...>& tuple) in StaticVector()
/frameworks/native/services/surfaceflinger/
DScreenCaptureRenderSurface.h56 void setDisplaySize(const ui::Size&) override {} in setDisplaySize()
/frameworks/base/native/graphics/jni/fuzz/
Dpng_mutator.h287 size_t LLVMFuzzerMutate(uint8_t *Data, size_t Size, size_t MaxSize) { in LLVMFuzzerMutate()
293 extern "C" size_t LLVMFuzzerCustomMutator(uint8_t *Data, size_t Size, in LLVMFuzzerCustomMutator()
/frameworks/libs/binary_translation/base/include/berberis/base/
Dformat_buffer.h291 size_t Size() const { return cur_ - start_; } in Size() function
317 size_t Size() const { return IsDynamic() ? dynamic_buf_.size() : (static_cur_ - static_buf_); } in Size() function
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dpayload.h67 std::size_t Size() const { return buffer_.size(); } in Size() function

12