Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioclient/
DAudioTrackShared.cpp190 ssize_t filled = audio_utils::safe_sub_overflow(rear, front); in obtainBuffer() local
192 if (!(0 <= filled && (size_t) filled <= mFrameCount)) { in obtainBuffer()
195 "shutting down", filled, mFrameCount); in obtainBuffer()
201 filled = 0; in obtainBuffer()
210 ssize_t avail = (mIsOut) ? adjustableSize - filled : filled; in obtainBuffer()
688 ssize_t filled = audio_utils::safe_sub_overflow(rear, newFront); in flushBufferIfNeeded() local
689 if (filled >= (ssize_t)overflowBit) { in flushBufferIfNeeded()
693 ALOGV("flush wrap: filled %zx >= overflowBit %zx", filled, overflowBit); in flushBufferIfNeeded()
695 filled -= overflowBit; in flushBufferIfNeeded()
698 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()
/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.kt156 private fun makeFoodBowlControl(filled: Boolean): Control { in makeFoodBowlControl()
162 if (filled) R.drawable.ic_foodbowl_filled else R.drawable.ic_bowl)) in makeFoodBowlControl()
165 if (filled) colorize( in makeFoodBowlControl()
169 .setControlTemplate(ToggleTemplate("foodbowl", ControlButton(filled, "Refill"))) in makeFoodBowlControl()
171 .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/hardware/interfaces/stats/1.0/
Dtypes.hal243 /* Vector of fields in the order that the LogEvent should be filled. */
/frameworks/av/services/audioflinger/
DThreads.cpp8180 const ssize_t filled = audio_utils::safe_sub_overflow(rear, front); in sync() local
8184 if (filled < 0) { in sync()
8189 } else if ((size_t) filled <= recordThread->mRsmpInFrames) { in sync()
8190 framesIn = (size_t) filled; in sync()
8219 ssize_t filled = audio_utils::safe_sub_overflow(rear, front); in getNextBuffer() local
8222 LOG_ALWAYS_FATAL_IF(!(0 <= filled && (size_t) filled <= recordThread->mRsmpInFrames)); in getNextBuffer()
8226 if (part1 > (size_t) filled) { in getNextBuffer()
8227 part1 = filled; in getNextBuffer()
/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
4140 // Tag FIELD_AUTOFILL_NUM_VIEWS_FILLED: Number of views that could be filled
4147 // Tag of a field for the number values to be filled in
4150 // Tag of a field for the number of views that were filled
/frameworks/ml/nn/tools/api/
DNeuralNetworks.t1153 * @param supportedOps The boolean array to be filled. True means supported. The size of the
1303 * @param dimensions The dimension array to be filled. The size of the array must be exactly as
Dtypes.spec6344 * Creates a tensor filled with a scalar value.
/frameworks/base/cmds/statsd/src/
Datoms.proto2474 * - Each event can be partially filled as we might learn different pieces of device