Home
last modified time | relevance | path

Searched refs:filled (Results 1 – 14 of 14) sorted by relevance

/frameworks/av/media/libaudioclient/
DAudioTrackShared.cpp227 ssize_t filled = audio_utils::safe_sub_overflow(rear, front); in obtainBuffer() local
229 if (!(0 <= filled && (size_t) filled <= mFrameCount)) { in obtainBuffer()
232 "shutting down", filled, mFrameCount); in obtainBuffer()
238 filled = 0; in obtainBuffer()
247 ssize_t avail = (mIsOut) ? adjustableSize - filled : filled; in obtainBuffer()
726 ssize_t filled = audio_utils::safe_sub_overflow(rear, newFront); in flushBufferIfNeeded() local
727 if (filled >= (ssize_t)overflowBit) { in flushBufferIfNeeded()
731 ALOGV("flush wrap: filled %zx >= overflowBit %zx", filled, overflowBit); in flushBufferIfNeeded()
733 filled -= overflowBit; in flushBufferIfNeeded()
736 if (!(0 <= filled && (size_t) filled <= mFrameCount)) { in flushBufferIfNeeded()
[all …]
/frameworks/av/media/libnbaio/
DMonoPipe.cpp99 size_t filled = mMaxFrames - (size_t) avail; in write() local
101 if (filled <= mSetpoint / 2) { in write()
104 } else if (filled <= (mSetpoint * 3) / 4) { in write()
107 } else if (filled <= (mSetpoint * 5) / 4) { in write()
110 } else if (filled <= (mSetpoint * 3) / 2) { in write()
113 } else if (filled <= (mSetpoint * 7) / 4) { in write()
/frameworks/base/libs/hwui/tests/common/scenes/
DListViewAnimation.cpp60 static sk_sp<Bitmap> createBoxBitmap(bool filled) { in createBoxBitmap() argument
70 paint.setColor(filled ? Color::Yellow_500 : Color::Grey_700); in createBoxBitmap()
71 paint.setStyle(filled ? SkPaint::kStrokeAndFill_Style : SkPaint::kStroke_Style); in createBoxBitmap()
DStretchyListViewAnimation.cpp105 static sk_sp<Bitmap> createBoxBitmap(bool filled) { in createBoxBitmap() argument
115 paint.setColor(filled ? Color::Yellow_500 : Color::Grey_700); in createBoxBitmap()
116 paint.setStyle(filled ? SkPaint::kStrokeAndFill_Style : SkPaint::kStroke_Style); in createBoxBitmap()
/frameworks/base/core/proto/android/os/
Dmetadata.proto30 // No longer filled in as of Qt.
41 // No longer filled in as of Qt.
44 // No longer filled in as of Qt.
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoControlsService.kt157 private fun makeFoodBowlControl(filled: Boolean): Control { in makeFoodBowlControl()
163 if (filled) R.drawable.ic_foodbowl_filled else R.drawable.ic_bowl)) in makeFoodBowlControl()
166 if (filled) colorize( in makeFoodBowlControl()
170 .setControlTemplate(ToggleTemplate("foodbowl", ControlButton(filled, "Refill"))) in makeFoodBowlControl()
172 .setSubtitle(if (filled) "" else getString(R.string.control_food_subtitle)) in makeFoodBowlControl()
/frameworks/base/core/proto/android/service/
Dpackage.proto43 // Should be filled if is_jar is true
45 // Should be filled if is_jar is false
/frameworks/av/media/ndk/tests/
DNdkMediaFormat_test.cpp175 int filled[100]; in TEST() member
/frameworks/hardware/interfaces/stats/1.0/
Dtypes.hal243 /* Vector of fields in the order that the LogEvent should be filled. */
/frameworks/av/services/audioflinger/
DThreads.cpp8430 const ssize_t filled = audio_utils::safe_sub_overflow(rear, front); in sync() local
8434 if (filled < 0) { in sync()
8439 } else if ((size_t) filled <= recordThread->mRsmpInFrames) { in sync()
8440 framesIn = (size_t) filled; in sync()
8469 ssize_t filled = audio_utils::safe_sub_overflow(rear, front); in getNextBuffer() local
8472 LOG_ALWAYS_FATAL_IF(!(0 <= filled && (size_t) filled <= recordThread->mRsmpInFrames)); in getNextBuffer()
8477 if (part1 > (size_t) filled) { in getNextBuffer()
8478 part1 = filled; in getNextBuffer()
8881 int32_t filled; in getOldestFront_l() local
8882 (void)__builtin_sub_overflow(mRsmpInRear, front, &filled); in getOldestFront_l()
[all …]
/frameworks/rs/script_api/
Drs_matrix.spec226 of the destination is filled with elements of the identity matrix. E.g.
/frameworks/rs/script_api/include/
Drs_matrix.rsh229 * of the destination is filled with elements of the identity matrix. E.g.
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto2178 // package, the class name will be filled in instead (since settings
4147 // Tag FIELD_AUTOFILL_NUM_VIEWS_FILLED: Number of views that could be filled
4154 // Tag of a field for the number values to be filled in
4157 // Tag of a field for the number of views that were filled
/frameworks/proto_logging/stats/
Datoms.proto2830 * - Each event can be partially filled as we might learn different pieces of device