Searched defs:count (Results 26 - 50 of 352) sorted by relevance

1234567891011>>

/frameworks/native/libs/gui/
H A DIDisplayEventConnection.cpp55 virtual void setVsyncRate(uint32_t count) { argument
58 data.writeInt32(count);
/frameworks/native/services/sensorservice/
H A DCorrectedGyroSensor.cpp32 CorrectedGyroSensor::CorrectedGyroSensor(sensor_t const* list, size_t count) argument
36 for (size_t i=0 ; i<count ; i++) {
H A DBatteryService.h44 int32_t count; member in struct:android::BatteryService::Info
45 Info() : uid(0), handle(0), count(0) { }
46 Info(uid_t uid, int handle) : uid(uid), handle(handle), count(0) { }
H A DGravitySensor.cpp32 GravitySensor::GravitySensor(sensor_t const* list, size_t count) argument
36 for (size_t i=0 ; i<count ; i++) {
H A DLinearAccelerationSensor.cpp32 LinearAccelerationSensor::LinearAccelerationSensor(sensor_t const* list, size_t count) argument
34 mGravitySensor(list, count)
/frameworks/native/services/surfaceflinger/
H A DEventThread.h49 // count >= 1 : continuous event. count is the vsync rate
50 // count == 0 : one-shot event that has not fired
51 // count ==-1 : one-shot event that fired this round / disabled
52 int32_t count; member in class:android::EventThread::Connection
58 virtual void setVsyncRate(uint32_t count);
71 void setVsyncRate(uint32_t count, const sp<Connection>& connection);
/frameworks/support/v4/java/android/support/v4/util/
H A DLogWriter.java51 @Override public void write(char[] buf, int offset, int count) { argument
52 for(int i = 0; i < count; i++) {
/frameworks/base/media/mca/filterfw/java/android/filterfw/format/
H A DObjectFormat.java29 public static MutableFrameFormat fromClass(Class clazz, int count, int target) { argument
33 if (count != FrameFormat.SIZE_UNSPECIFIED) {
34 result.setDimensions(count);
50 public static MutableFrameFormat fromObject(Object object, int count, int target) { argument
53 : fromClass(object.getClass(), count, target);
H A DPrimitiveFormat.java28 public static MutableFrameFormat createByteFormat(int count, int target) { argument
29 return createFormat(FrameFormat.TYPE_BYTE, count, target);
32 public static MutableFrameFormat createInt16Format(int count, int target) { argument
33 return createFormat(FrameFormat.TYPE_INT16, count, target);
36 public static MutableFrameFormat createInt32Format(int count, int target) { argument
37 return createFormat(FrameFormat.TYPE_INT32, count, target);
40 public static MutableFrameFormat createFloatFormat(int count, int target) { argument
41 return createFormat(FrameFormat.TYPE_FLOAT, count, target);
44 public static MutableFrameFormat createDoubleFormat(int count, int target) { argument
45 return createFormat(FrameFormat.TYPE_DOUBLE, count, targe
68 createFormat(int baseType, int count, int target) argument
[all...]
/frameworks/av/media/libmedia/
H A DIMediaDeathNotifier.cpp92 size_t count = list.size(); local
93 for (size_t iter = 0; iter < count; ++iter) {
/frameworks/av/media/libnbaio/
H A DAudioStreamInSource.cpp68 ssize_t AudioStreamInSource::read(void *buffer, size_t count) argument
73 ssize_t bytesRead = mStream->read(mStream, buffer, count << mBitShift);
H A DMonoPipeReader.cpp46 ssize_t MonoPipeReader::read(void *buffer, size_t count, int64_t readPTS) argument
50 // with a count (which is the number of audio frames they are going to
52 // by the duration of count will give us the readPTS which will be passed to
57 nextReadPTS = mPipe->offsetTimestampByAudioFrames(readPTS, count);
59 // count == 0 is unlikely and not worth checking for explicitly; will be handled automatically
67 if (CC_LIKELY((size_t) red > count)) {
68 red = count;
H A DPipeReader.cpp62 ssize_t PipeReader::read(void *buffer, size_t count, int64_t readPTS) argument
70 if (CC_LIKELY(count > (size_t) avail)) {
71 count = avail;
75 if (CC_LIKELY(red > count)) {
76 red = count;
82 if (CC_UNLIKELY((count -= red) > front)) {
83 count = front;
85 if (CC_LIKELY(count > 0)) {
86 memcpy((char *) buffer + (red << mBitShift), mPipe.mBuffer, count << mBitShift);
87 red += count;
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
H A DomxVCM4P2_EncodeMV.c89 OMX_INT iBlk, i, count = 1; local
118 count = 4;
122 count = 1;
128 for (iBlk = 0; iBlk < count; iBlk++)
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
H A Dh264bsd_interpolate_mid_hor.s37 count RN 2 ;// bit-packed width and count values label
71 ;// pack values to count register
81 AND tmp3, count, #0x000F0000 ;// partWidth-1
84 ADD count, count, tmp3, LSL #12
115 SUBS count, count, #4<<28
146 SUBS count, count, #
[all...]
/frameworks/av/media/mtp/
H A DMtpStringBuffer.cpp64 // count the characters
65 int count = 0; local
90 count++;
95 mCharCount = count;
99 int count = 0; local
103 while ((ch = *src++) != 0 && count < 255) {
114 count++;
117 mCharCount = count;
122 int count = packet->getUInt8(); local
124 for (int i = 0; i < count;
143 int count = mCharCount; local
[all...]
/frameworks/av/services/audioflinger/
H A DStateQueue.cpp114 unsigned count = 0; local
127 if (count == 1) {
130 ++count;
135 if (count > 1) {
158 unsigned count = 0; local
167 if (count == 1) {
170 ++count;
175 if (count > 1) {
/frameworks/base/core/java/android/util/
H A DLogWriter.java64 @Override public void write(char[] buf, int offset, int count) { argument
65 for(int i = 0; i < count; i++) {
/frameworks/base/libs/hwui/
H A DDisplayListLogBuffer.cpp89 uint32_t count = (level + 1) * 2; local
90 char indent[count + 1];
91 for (uint32_t i = 0; i < count; i++) {
94 indent[count] = '\0';
/frameworks/base/services/common_time/
H A Dutils.h65 uint32_t count; member in class:android::LogRing::Entry
/frameworks/base/voip/jni/rtp/
H A DGsmCodec.cpp47 int decode(int16_t *samples, int count, void *payload, int length);
60 int GsmCodec::decode(int16_t *samples, int count, void *payload, int length) argument
64 while (n + 160 <= count && length >= 33 &&
/frameworks/native/include/gui/
H A DDisplayEventReceiver.h56 uint32_t count; member in struct:android::DisplayEventReceiver::Event::VSync
104 ssize_t getEvents(Event* events, size_t count);
106 Event* events, size_t count);
113 Event const* events, size_t count);
121 status_t setVsyncRate(uint32_t count);
/frameworks/native/services/sensorservice/tests/
H A Dsensorservicetest.cpp67 ssize_t count = mgr.getSensorList(&list); local
68 printf("numSensors=%d\n", int(count));
/frameworks/wilhelm/src/itf/
H A DIMetadataTraversal.c55 SLuint32 count = thiz->mCount; local
57 *pCount = count;
/frameworks/base/obex/javax/obex/
H A DPrivateOutputStream.java97 public synchronized void write(byte[] buffer, int offset, int count) throws IOException { argument
99 int remainLength = count;
104 if ((offset | count) < 0 || count > buffer.length - offset) {

Completed in 8177 milliseconds

1234567891011>>