Searched defs:size (Results 26 - 50 of 1014) sorted by relevance

1234567891011>>

/frameworks/base/core/tests/utiltests/jni/
H A Dandroid_util_MemoryIntArrayTest.cpp26 jstring name, jint size)
33 if (size < 0) {
38 const int ashmemSize = sizeof(std::atomic_int) * size;
55 __attribute__((unused)) jobject clazz, jint fd, jint size)
61 if (size < 0) {
65 ioctl(fd, ASHMEM_SET_SIZE, size);
24 android_util_MemoryIntArrayTest_createAshmem(__attribute__((unused)) JNIEnv* env, __attribute__((unused)) jobject clazz, jstring name, jint size) argument
54 android_util_MemoryIntArrayTest_setAshmemSize(__attribute__((unused)) JNIEnv* env, __attribute__((unused)) jobject clazz, jint fd, jint size) argument
/frameworks/base/libs/hwui/tests/common/scenes/
H A DListViewAnimation.cpp34 int size = cardHeight - (dp(10) * 2); local
35 sk_sp<Bitmap> bitmap(TestUtils::createBitmap(size, size, &skBitmap));
43 canvas.drawCircle(size / 2, size / 2, size / 2, paint);
49 paint.setTextSize(size / 2);
52 SkIntToScalar(size / 2),
53 /*approximate centering*/ SkFloatToScalar(size * 0.7f)}};
59 int size
[all...]
H A DRoundRectClippingAnimation.cpp26 RoundRectClippingAnimation(int spacing, int size) argument
27 : mSpacing(spacing), mSize(size) {}
/frameworks/base/media/java/android/media/
H A DMediaDataSource.java37 * Implementations should should write up to {@code size} bytes into
40 * Return {@code 0} if size is zero (thus no bytes are read).
47 * @param size the number of bytes to read.
51 public abstract int readAt(long position, byte[] buffer, int offset, int size) argument
55 * Called to get the size of the data source.
58 * @return the size of data source in bytes, or -1 if the size is unknown.
/frameworks/base/services/core/java/com/android/server/pm/
H A DPersistentPreferredIntentResolver.java24 protected PersistentPreferredActivity[] newArray(int size) { argument
25 return new PersistentPreferredActivity[size];
/frameworks/base/tools/bit/
H A Dutil.h31 off_t size; member in struct:FileInfo
/frameworks/compile/mclinker/include/mcld/Support/
H A DLEB128.h36 size_t size(IntType pValue) { function in namespace:mcld::leb128
37 size_t size = 1; local
40 ++size;
42 return size;
/frameworks/compile/mclinker/lib/Fragment/
H A DAlignFragment.cpp32 size_t AlignFragment::size() const { function in class:mcld::AlignFragment
34 "AlignFragment::size() should not be called before layout.");
35 uint64_t size = llvm::OffsetToAlignment(getOffset(), m_Alignment); local
36 if (size > m_MaxBytesToEmit)
39 return size;
H A DRegionFragment.cpp23 size_t RegionFragment::size() const { function in class:mcld::RegionFragment
24 return m_Region.size();
/frameworks/compile/mclinker/unittests/
H A DDirIteratorTest.cpp50 size_t size = 0; local
53 size = entry.path()->native().size();
54 ASSERT_TRUE(size != 0);
/frameworks/minikin/tests/unittest/
H A DLayoutUtilsTest.cpp28 size_t size = 0U; local
30 ParseUnicode(buf, BUF_SIZE, query_str, &size, &expected_breakpoint);
32 getNextWordBreakForCache(buf, offset_in, size))
40 size_t size = 0U; local
42 ParseUnicode(buf, BUF_SIZE, query_str, &size, &expected_breakpoint);
44 getPrevWordBreakForCache(buf, offset_in, size))
/frameworks/native/libs/binder/
H A DMemoryBase.cpp29 ssize_t offset, size_t size)
30 : mSize(size), mOffset(offset), mHeap(heap)
34 sp<IMemoryHeap> MemoryBase::getMemory(ssize_t* offset, size_t* size) const
37 if (size) *size = mSize;
28 MemoryBase(const sp<IMemoryHeap>& heap, ssize_t offset, size_t size) argument
/frameworks/native/libs/diskusage/
H A Ddirsize.c32 int64_t size = 0; local
57 size += stat_size(&s);
61 size += calculate_dir_size(subfd);
65 size += stat_size(&s);
70 return size;
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
H A Dsequence.h20 static constexpr std::size_t size() { return sizeof...(I); } function in struct:android::pdx::rpc::IndexSequence
/frameworks/rs/tests/lldb/cpp/BranchingFunCalls/
H A DBranchingFunCalls.cpp23 static const int size = 64; local
30 tb.setX(size);
31 tb.setY(size);
37 int * input = new int[size*size];
38 for(int i = 0; i < size*size; ++i) {
39 input[i] = i - (size*size / 2);
41 a->copy2DRangeFrom(0, 0, size, siz
[all...]
/frameworks/rs/tests/lldb/cpp/InfiniteLoop/
H A DInfiniteLoop.cpp26 static const int size = 64; local
33 tb.setX(size);
34 tb.setY(size);
51 uint32_t * output = new uint32_t[size*size];
52 b->copy2DRangeTo(0, 0, size, size, output);
/frameworks/rs/tests/lldb/cpp/MultipleRSFiles/
H A DMultipleRSFiles.cpp24 static const int size = 64; local
31 tb.setX(size);
32 tb.setY(size);
43 uint32_t * output = new uint32_t[size*size];
44 b->copy2DRangeTo(0, 0, size, size, output);
/frameworks/rs/tests/lldb/cpp/WaitAttach/
H A DWaitAttach.cpp23 static const int size = 8; local
30 tb.setX(size);
31 tb.setY(size);
40 uint32_t * output = new uint32_t[size*size];
41 b->copy2DRangeTo(0, 0, size, size, output);
/frameworks/support/compat/java/android/support/v4/os/
H A DParcelableCompatCreatorCallbacks.java45 * @param size Size of the array.
49 T[] newArray(int size); argument
/frameworks/support/core-ui/tests/java/android/support/v4/widget/
H A DSwipeRefreshLayoutActions.java54 public static ViewAction setSize(final int size) { argument
63 return "Set SwipeRefreshLayout size";
71 swipeRefreshLayout.setSize(size);
/frameworks/av/camera/include/camera/
H A DCameraParameters2.h89 // Retrieve the preferred preview size (width and height) in pixels
123 size_t size() const { function in struct:android::CameraParameters2::OrderedKeyedVector
124 return mList.size();
144 for (; vectorIdx < mList.size(); ++vectorIdx) {
/frameworks/av/cmds/stagefright/
H A DWaveWriter.h49 void Append(const void *data, size_t size) { argument
50 fwrite(data, 1, size, mFile);
51 mTotalBytes += size;
/frameworks/av/drm/common/
H A DReadWriteUtils.cpp85 int size = data.size(); local
86 if (FAILURE != ftruncate(fd, size)) {
87 if (size != write(fd, data.string(), size)) {
102 int size = data.size(); local
103 if (size != write(fd, data.string(), size)) {
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DCryptoFactory.cpp39 const void* data, size_t size,
47 sessionId.appendArray(reinterpret_cast<const uint8_t*>(data), size); local
37 createPlugin( const uint8_t uuid[16], const void* data, size_t size, android::CryptoPlugin** plugin) argument
/frameworks/av/include/camera/
H A DCameraParameters2.h89 // Retrieve the preferred preview size (width and height) in pixels
123 size_t size() const { function in struct:android::CameraParameters2::OrderedKeyedVector
124 return mList.size();
144 for (; vectorIdx < mList.size(); ++vectorIdx) {

Completed in 787 milliseconds

1234567891011>>