Home
last modified time | relevance | path

Searched refs:size (Results 1 – 25 of 435) sorted by relevance

12345678910>>...18

/development/vndk/tools/header-checker/tests/expected/
Dexample1.h4 size: 8
29 size: 8
53 size: 8
77 size: 32
126 size: 56
193 size: 24
224 size: 12
256 size: 4
276 size: 40
333 size: 4
[all …]
Dexample1.cpp4 size: 8
29 size: 8
53 size: 8
77 size: 32
126 size: 56
193 size: 24
224 size: 12
256 size: 4
276 size: 40
333 size: 4
[all …]
Dexample2.h4 size: 8
29 size: 40
86 size: 4
105 size: 4
124 size: 16
154 size: 8
184 size: 4
205 size: 4
226 size: 8
237 size: 8
[all …]
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/
DCameraHelper.java75 for (Camera.Size size : videoSizes) { in getOptimalVideoSize()
76 double ratio = (double) size.width / size.height; in getOptimalVideoSize()
79 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) { in getOptimalVideoSize()
80 optimalSize = size; in getOptimalVideoSize()
81 minDiff = Math.abs(size.height - targetHeight); in getOptimalVideoSize()
88 for (Camera.Size size : videoSizes) { in getOptimalVideoSize()
89 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) { in getOptimalVideoSize()
90 optimalSize = size; in getOptimalVideoSize()
91 minDiff = Math.abs(size.height - targetHeight); in getOptimalVideoSize()
/development/samples/browseable/MediaRecorder/src/com.example.android.common.media/
DCameraHelper.java75 for (Camera.Size size : videoSizes) { in getOptimalVideoSize()
76 double ratio = (double) size.width / size.height; in getOptimalVideoSize()
79 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) { in getOptimalVideoSize()
80 optimalSize = size; in getOptimalVideoSize()
81 minDiff = Math.abs(size.height - targetHeight); in getOptimalVideoSize()
88 for (Camera.Size size : videoSizes) { in getOptimalVideoSize()
89 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) { in getOptimalVideoSize()
90 optimalSize = size; in getOptimalVideoSize()
91 minDiff = Math.abs(size.height - targetHeight); in getOptimalVideoSize()
/development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/
DCameraHelper.java75 for (Camera.Size size : videoSizes) { in getOptimalVideoSize()
76 double ratio = (double) size.width / size.height; in getOptimalVideoSize()
79 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) { in getOptimalVideoSize()
80 optimalSize = size; in getOptimalVideoSize()
81 minDiff = Math.abs(size.height - targetHeight); in getOptimalVideoSize()
88 for (Camera.Size size : videoSizes) { in getOptimalVideoSize()
89 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) { in getOptimalVideoSize()
90 optimalSize = size; in getOptimalVideoSize()
91 minDiff = Math.abs(size.height - targetHeight); in getOptimalVideoSize()
/development/vndk/tools/header-checker/src/utils/
Dstring_utils.cpp44 return s.size() >= prefix.size() && s.compare(0, prefix.size(), prefix) == 0; in StartsWith()
49 return (s.size() >= suffix.size() && in EndsWith()
50 s.compare(s.size() - suffix.size(), suffix.size(), suffix) == 0); in EndsWith()
/development/scripts/
Dnative_heapdump_viewer.py97 def __init__(self, is_zygote, size, num_allocs, frames): argument
99 self.size = size
232 size = int(parts[3])
240 backtraces.append(Backtrace(is_zygote, size, num_allocs, frames))
358 self.size = 0
363 def addStack(self, size, num_allocs, stack): argument
364 self.size += size * num_allocs
370 self.children[child.addr].addStack(size, num_allocs, stack[1:])
376 total_percent = 100 * node.size / float(total)
379 parent_percent = 100 * node.size / float(parent_total)
[all …]
Dcompare-installed-size.py50 size, name = line.split()
63 bin_sizes[idx][module] = int(size)
65 bin_sizes[idx][module] += int(size)
70 file_sizes[name] = [module, size, 0]
73 file_sizes[name][-1] = size
75 file_sizes[name] = [module, 0, size]
/development/vndk/tools/header-checker/src/repr/protobuf/
Dir_diff_dumper.cpp44 if (diff_tu_->functions_removed().size() != 0 || in GetCompatibilityStatusIR()
45 diff_tu_->global_vars_removed().size() != 0 || in GetCompatibilityStatusIR()
46 diff_tu_->function_diffs().size() != 0 || in GetCompatibilityStatusIR()
47 diff_tu_->global_var_diffs().size() != 0 || in GetCompatibilityStatusIR()
48 diff_tu_->enum_type_diffs().size() != 0 || in GetCompatibilityStatusIR()
49 diff_tu_->record_type_diffs().size() != 0) { in GetCompatibilityStatusIR()
55 if (diff_tu_->enum_type_extension_diffs().size() != 0 || in GetCompatibilityStatusIR()
56 diff_tu_->functions_added().size() != 0 || in GetCompatibilityStatusIR()
57 diff_tu_->global_vars_added().size() != 0) { in GetCompatibilityStatusIR()
61 if (diff_tu_->unreferenced_enum_type_diffs().size() != 0 || in GetCompatibilityStatusIR()
[all …]
/development/host/windows/usb/api/
Dadb_interface_enum.cpp59 bool AdbInterfaceEnumObject::Next(AdbInterfaceInfo* info, ULONG* size) { in Next() argument
66 ATLASSERT(NULL != size); in Next()
67 if (NULL == size) { in Next()
81 if ((NULL == info) || (*size < entry.GetFlatSize())) { in Next()
82 *size = entry.GetFlatSize(); in Next()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyUtils.java68 return mValidPackages.size() > 0; in hasValidPackages()
86 if (mInvalidPackages.size() > 0) { in checkEnteringPackage()
90 } else if (mValidPackages.size() > 0) { in checkEnteringPackage()
99 if (mValidPackages.size() > 0) { in dump()
105 if (mInvalidPackages.size() > 0) { in dump()
/development/vndk/tools/header-checker/tests/reference_dumps/mips/
Dlibc_and_cpp_with_unused_struct.so.lsdump4 size: 4
23 size: 8
48 size: 4
67 size: 8
92 size: 4
103 size: 4
114 size: 4
125 size: 4
136 size: 4
147 size: 4
[all …]
Dlibc_and_cpp.so.lsdump4 size: 8
29 size: 4
48 size: 8
73 size: 4
84 size: 4
95 size: 4
106 size: 4
117 size: 4
128 size: 4
141 size: 0
/development/vndk/tools/header-checker/tests/reference_dumps/arm/
Dlibc_and_cpp_with_unused_struct.so.lsdump4 size: 4
23 size: 8
48 size: 4
67 size: 8
92 size: 4
103 size: 4
114 size: 4
125 size: 4
136 size: 4
147 size: 4
[all …]
Dlibc_and_cpp.so.lsdump4 size: 8
29 size: 4
48 size: 8
73 size: 4
84 size: 4
95 size: 4
106 size: 4
117 size: 4
128 size: 4
141 size: 0
/development/vndk/tools/header-checker/tests/reference_dumps/x86/
Dlibc_and_cpp_with_unused_struct.so.lsdump4 size: 4
23 size: 8
48 size: 4
67 size: 8
92 size: 4
103 size: 4
114 size: 4
125 size: 4
136 size: 4
147 size: 4
[all …]
Dlibc_and_cpp.so.lsdump4 size: 8
29 size: 4
48 size: 8
73 size: 4
84 size: 4
95 size: 4
106 size: 4
117 size: 4
128 size: 4
141 size: 0
/development/vndk/tools/header-checker/tests/reference_dumps/arm64/
Dlibc_and_cpp_with_unused_struct.so.lsdump4 size: 4
23 size: 16
48 size: 4
67 size: 16
92 size: 8
103 size: 8
114 size: 8
125 size: 8
136 size: 8
147 size: 4
[all …]
Dlibc_and_cpp.so.lsdump4 size: 16
29 size: 4
48 size: 16
73 size: 8
84 size: 8
95 size: 8
106 size: 8
117 size: 8
128 size: 4
141 size: 0
/development/vndk/tools/header-checker/tests/reference_dumps/mips64/
Dlibc_and_cpp_with_unused_struct.so.lsdump4 size: 4
23 size: 16
48 size: 4
67 size: 16
92 size: 8
103 size: 8
114 size: 8
125 size: 8
136 size: 8
147 size: 4
[all …]
Dlibc_and_cpp.so.lsdump4 size: 16
29 size: 4
48 size: 16
73 size: 8
84 size: 8
95 size: 8
106 size: 8
117 size: 8
128 size: 4
141 size: 0
/development/vndk/tools/header-checker/tests/reference_dumps/x86_64/
Dlibc_and_cpp_with_unused_struct.so.lsdump4 size: 4
23 size: 16
48 size: 4
67 size: 16
92 size: 8
103 size: 8
114 size: 8
125 size: 8
136 size: 8
147 size: 4
[all …]
Dlibc_and_cpp.so.lsdump4 size: 16
29 size: 4
48 size: 16
73 size: 8
84 size: 8
95 size: 8
106 size: 8
117 size: 8
128 size: 4
141 size: 0
/development/samples/browseable/ActivitySceneTransitionBasic/src/com.example.android.activityscenetransitionbasic/
DSquareFrameLayout.java60 final int size; in onMeasure() local
64 size = Math.max(widthSize, heightSize); in onMeasure()
68 size = Math.min(widthSize, heightSize); in onMeasure()
71 final int newMeasureSpec = MeasureSpec.makeMeasureSpec(size, MeasureSpec.EXACTLY); in onMeasure()

12345678910>>...18