Home
last modified time | relevance | path

Searched refs:cut (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/av/media/libstagefright/
DSkipCutBuffer.cpp27 SkipCutBuffer::SkipCutBuffer(size_t skip, size_t cut, size_t num16BitChannels) { in SkipCutBuffer() argument
39 if (skip > INT32_MAX / frameSize || cut > INT32_MAX / frameSize in SkipCutBuffer()
40 || cut * frameSize > INT32_MAX - 4096) { in SkipCutBuffer()
42 skip, cut); in SkipCutBuffer()
46 cut *= frameSize; in SkipCutBuffer()
49 mBackPadding = cut; in SkipCutBuffer()
50 mCapacity = cut + 4096; in SkipCutBuffer()
52 ALOGV("skipcutbuffer %zu %zu %d", skip, cut, mCapacity); in SkipCutBuffer()
/frameworks/base/data/sounds/
Dgenerate-all-audio.sh44 cut -d : -f 2 |
45 cut -d \ -f 1 |
53 cut -d : -f 1 |
/frameworks/libs/net/common/netd/libnetdutils/include/netdutils/
DSlice.h96 inline std::pair<const Slice, const Slice> split(const Slice s, size_t cut) { in split() argument
97 const size_t tmp = std::min(cut, s.size()); in split()
102 inline const Slice take(const Slice s, size_t cut) { in take() argument
103 return std::get<0>(split(s, cut)); in take()
107 inline const Slice drop(const Slice s, size_t cut) { in drop() argument
108 return std::get<1>(split(s, cut)); in drop()
/frameworks/av/media/libstagefright/tests/fuzzers/
DSkipCutBufferFuzzer.cpp29 size_t cut = fdp.ConsumeIntegral<size_t>(); in LLVMFuzzerTestOneInput() local
31 sp<SkipCutBuffer> sBuffer(new SkipCutBuffer(skip, cut, num16Channels)); in LLVMFuzzerTestOneInput()
/frameworks/base/core/java/com/android/internal/graphics/palette/
DWuQuantizer.java196 if (cut(mCubes[next], mCubes[i])) { in createBoxes()
261 private boolean cut(Box one, Box two) { in cut() method in WuQuantizer
336 int cut = -1; in maximize() local
363 cut = i; in maximize()
366 return new MaximizeResult(cut, max); in maximize()
435 MaximizeResult(int cut, double max) { in MaximizeResult() argument
436 mCutLocation = cut; in MaximizeResult()
/frameworks/wilhelm/tools/permute/
Dpermute.c97 unsigned cut = r % slop; in split() local
99 unsigned leftLength = s->mMinSegmentLengthFrames + cut; in split()
101 unsigned rightLength = s->mMinSegmentLengthFrames + (slop - cut); in split()
/frameworks/av/media/libstagefright/include/media/stagefright/
DSkipCutBuffer.h36 SkipCutBuffer(size_t skip, size_t cut, size_t num16Channels);
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/
DVrView.java261 cut(0, deltax, deltay); in actionMove()
266 cut(1, deltax, deltay); in actionMove()
271 cut(2, deltax, deltay); in actionMove()
280 public void cut(int side, float fractionx, float fractiony) { in cut() method in VrView
/frameworks/opt/net/voip/src/java/android/net/sip/
DSimpleSessionDescription.java463 return cut("b=", ':'); in getBandwidthTypes()
493 return cut("a=", ':'); in getAttributeNames()
549 private String[] cut(String prefix, char delimiter) { in cut() method in SimpleSessionDescription.Fields
/frameworks/rs/perf-test-scripts/
Dget-freq57 …frequencies=(`adb shell cat $CPU_DIR/$core/cpufreq/stats/time_in_state | cut -f1 -d " " | tr -d '\…
Dset-cpu-freq72 … frequencies=(`adb shell cat $DIR/$core/cpufreq/stats/time_in_state | cut -f1 -d " " | tr -d '\r'`)
/frameworks/base/packages/CtsShim/build/
DAndroid.bp62 …cmd: "sed -e s/__HASH__/`sha512sum -b $(location :CtsShimPrivUpgrade) | cut -d' ' -f1`/ $(location…
174 …cmd: "sed -e s/__HASH__/`sha512sum -b $(location :CtsShimUpgrade) | cut -d' ' -f1`/ $(location shi…
/frameworks/base/cmds/incident_helper/src/
Dih_util.cpp211 std::string behead(std::string* line, const char cut) { in behead() argument
212 auto found = line->find_first_of(cut); in behead()
219 while(line->at(found) == cut) found++; // trim more cut of the rest in behead()
Dih_util.h96 std::string behead(std::string* line, const char cut);
/frameworks/native/libs/android_runtime_lazy/
DAndroid.bp26 // This library can be used to cut down the dependency between them.
/frameworks/rs/
Dupdate_rs_prebuilts.sh26 NUM_CORES=`cat /proc/cpuinfo | grep processor | tail -n 1 | cut -f 2 -d :`
/frameworks/av/media/libstagefright/codecs/aacdec/
DSoftAAC2.cpp181 unsigned cut = atoi(value); in initDecoder() local
182 ALOGV("AAC decoder using desired DRC attenuation factor of %d instead of %d", cut, in initDecoder()
184 mDrcWrap.setParam(DRC_PRES_MODE_WRAP_DESIRED_ATT_FACTOR, cut); in initDecoder()
/frameworks/base/tools/orientationplot/
DREADME.txt42 1. Ensure the filtering is not too aggressive. If the filter cut-off frequency is
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewActivityTest.java330 mToolbar.clickFloatingToolbarItem(mActivity.getString(com.android.internal.R.string.cut)); in testToolbarAppearsAfterSelection_withFirstStringLtrAlgorithmAndRtlHint()
532 mActivity.getString(com.android.internal.R.string.cut)); in testToolbarAndInsertionHandle()
548 mActivity.getString(com.android.internal.R.string.cut)); in testToolbarAndSelectionHandle()
564 mActivity.getString(com.android.internal.R.string.cut)); in testToolbarAndSelectionHandle()
/frameworks/av/media/codec2/sfplugin/
DCCodecBuffers.cpp199 void OutputBuffers::setSkipCutBuffer(int32_t skip, int32_t cut) { in setSkipCutBuffer() argument
206 mSkipCutBuffer = new SkipCutBuffer(skip, cut, mChannelCount); in setSkipCutBuffer()
DCCodecBuffers.h402 void setSkipCutBuffer(int32_t skip, int32_t cut);
/frameworks/base/core/proto/android/os/
Dsystem_properties.proto41 optional int32 cut = 2; field
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java173 private static final int ID_CUT = android.R.id.cut;
/frameworks/base/core/java/android/widget/
DEditor.java3093 com.android.internal.R.string.cut) in onCreateContextMenu()
4298 com.android.internal.R.string.cut) in populateMenuWithItems()
DTextView.java12851 static final int ID_CUT = android.R.id.cut;

12