/frameworks/base/libs/hwui/hwui/ |
H A D | MinikinUtils.cpp | 57 Typeface* typeface, const uint16_t* buf, size_t start, size_t count, 62 layout.doLayout(buf, start, count, bufSize, bidiFlags, minikinStyle, minikinPaint, 68 const uint16_t* buf, size_t start, size_t count, size_t bufSize, float *advances) { 72 return minikin::Layout::measureText(buf, start, count, bufSize, bidiFlags, minikinStyle, 56 doLayout(const Paint* paint, int bidiFlags, Typeface* typeface, const uint16_t* buf, size_t start, size_t count, size_t bufSize) argument 67 measureText(const Paint* paint, int bidiFlags, Typeface* typeface, const uint16_t* buf, size_t start, size_t count, size_t bufSize, float *advances) argument
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | RecordingCanvasTests.cpp | 140 << "float count must be rounded down to closest multiple of 4"; 183 int count = 0; local 184 playbackOps(*dl, [&count](const RecordedOp& op) { 185 count++; 192 ASSERT_EQ(1, count); 251 int count = 0; local 253 playbackOps(*dl, [&count, &lastX](const RecordedOp& op) { 254 count++; 264 ASSERT_EQ(3, count); 303 int count local 352 int count = 0; local 386 int count = 0; local 416 int count = 0; local 431 int count = 0; local 466 int count = 0; local 485 int count = 0; local 513 int count = 0; local 540 int count = 0; local 812 int count = 0; local 836 int count = 0; local [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | MutableFrameFormat.java | 81 public void setDimensionCount(int count) { argument 82 mDimensions = new int[count];
|
H A D | NativeBuffer.java | 39 public NativeBuffer(int count) { argument 40 allocate(count * getElementSize()); 63 public int count() { method in class:NativeBuffer
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/ |
H A D | Point.java | 88 public Point rotated90(int count) { argument 91 for (int i = 0; i < count; ++i) {
|
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_util.cpp | 58 ALOGE("JavaObject: Reference count is NULL! JavaObject may be corrupted."); 75 ALOGE("JavaObject: Reference count is NULL! JavaObject may be corrupted."); 149 const jint count = env->GetArrayLength(static_cast<jintArray>(object)); local 150 result = MakeIntArrayValue(elems, count); 154 const jint count = env->GetArrayLength(static_cast<jfloatArray>(object)); local 155 result = MakeFloatArrayValue(elems, count);
|
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/ |
H A D | BluetoothPacketEncoder.java | 56 public void onSend(byte[] msg, int offset, int count, long timestamp) 72 bytesNeeded = count; 111 (msg[offset + count - 1] == MidiConstants.STATUS_END_SYSEX); 112 int remaining = (hasSysExEnd ? count - 1 : count); 154 int dataLength = count - 1; 188 public void onSend(byte[] msg, int offset, int count, long timestamp) argument 191 mMidiFramer.send(msg, offset, count, timestamp);
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
H A D | DocumentLoaderTest.java | 188 private void setUpDocument(TestMtpManager manager, int count) { argument 189 int[] childDocuments = new int[count];
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_UsbMidiDevice.cpp | 131 int count = env->GetArrayLength(fds); local 132 for (int i = 0; i < count; i++) {
|
/frameworks/base/services/net/java/android/net/netlink/ |
H A D | NetlinkSocket.java | 138 public boolean sendMessage(byte[] bytes, int offset, int count) argument 140 return sendMessage(bytes, offset, count, 0); 149 public boolean sendMessage(byte[] bytes, int offset, int count, long timeoutMs) argument 162 return (count == Os.write(mDescriptor, bytes, offset, count));
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | PhoneNumberFormattingTextWatcher.java | 75 public void beforeTextChanged(CharSequence s, int start, int count, argument 81 if (count > 0 && hasSeparator(s, start, count)) { 87 public void onTextChanged(CharSequence s, int start, int before, int count) { argument 92 if (count > 0 && hasSeparator(s, start, count)) { 165 private boolean hasSeparator(final CharSequence s, final int start, final int count) { argument 166 for (int i = start; i < start + count; i++) {
|
/frameworks/base/tools/aapt/ |
H A D | WorkQueue.cpp | 82 size_t count = mWorkUnits.size(); local 83 for (size_t i = 0; i < count; i++) { 107 size_t count = mWorkThreads.size(); local 108 for (size_t i = 0; i < count; i++) {
|
/frameworks/base/tools/aapt2/util/ |
H A D | BigBuffer.h | 83 T* NextBlock(size_t count = 1); 93 * Backs up count bytes. This must only be called after NextBlock() 94 * and can not be larger than sizeof(T) * count of the last NextBlock() 97 void BackUp(size_t count); 149 inline T* BigBuffer::NextBlock(size_t count) { argument 152 CHECK(count != 0); 153 return reinterpret_cast<T*>(NextBlockImpl(sizeof(T) * count)); 156 inline void BigBuffer::BackUp(size_t count) { argument 158 block.size -= count; 159 size_ -= count; [all...] |
/frameworks/compile/mclinker/unittests/ |
H A D | HashTableTest.cpp | 141 int count; local 144 count = hashTable->erase(key); 145 EXPECT_EQ(1, count); 189 int count; local 192 count = hashTable->erase(key); 193 EXPECT_EQ(1, count); 303 int count = 0; local 306 count++; 308 ASSERT_EQ(16, count);
|
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/ |
H A D | ListChangeRegistry.java | 44 callback.onItemRangeChanged(sender, listChanges.start, listChanges.count); 47 callback.onItemRangeInserted(sender, listChanges.start, listChanges.count); 51 listChanges.count); 54 callback.onItemRangeRemoved(sender, listChanges.start, listChanges.count); 77 * @param count The number of changed elements. 79 public void notifyChanged(ObservableList list, int start, int count) { argument 80 ListChanges listChanges = acquire(start, 0, count); 89 * @param count The number of elements that were inserted. 91 public void notifyInserted(ObservableList list, int start, int count) { argument 92 ListChanges listChanges = acquire(start, 0, count); 104 notifyMoved(ObservableList list, int from, int to, int count) argument 116 notifyRemoved(ObservableList list, int start, int count) argument 121 acquire(int start, int to, int count) argument 147 public int count; field in class:ListChangeRegistry.ListChanges [all...] |
H A D | ObservableArrayList.java | 116 private void notifyAdd(int start, int count) { argument 118 mListeners.notifyInserted(this, start, count); 122 private void notifyRemove(int start, int count) { argument 124 mListeners.notifyRemoved(this, start, count);
|
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/ |
H A D | CallbackBindingObject.java | 64 void beforeTextChanged(CharSequence s, int start, int count, int after); argument 66 void onTextChanged(CharSequence s, int start, int before, int count); argument
|
/frameworks/minikin/libs/minikin/ |
H A D | GraphemeBreak.cpp | 60 size_t count, const size_t offset) { 67 if (offset <= start || offset >= start + count) { 79 U16_NEXT(buf, offset_forward, start + count, c2); 206 size_t count, size_t offset, MoveOpt opt) { 209 if (offset < start + count) { 214 while (!isGraphemeBreak(advances, buf, start, count, offset)) { 224 while (!isGraphemeBreak(advances, buf, start, count, offset)) { 229 if (!isGraphemeBreak(advances, buf, start, count, offset)) { 59 isGraphemeBreak(const float* advances, const uint16_t* buf, size_t start, size_t count, const size_t offset) argument 205 getTextRunCursor(const float* advances, const uint16_t* buf, size_t start, size_t count, size_t offset, MoveOpt opt) argument
|
H A D | Measurement.cpp | 33 size_t start, size_t count, size_t offset) { 45 if (offset < start + count && advances[offset - layoutStart] == 0.0f) { 50 for (nextCluster = offset + 1; nextCluster < start + count; nextCluster++) { 58 advances + (start - layoutStart), buf, start, count, i)) { 72 float getRunAdvance(const float* advances, const uint16_t* buf, size_t start, size_t count, argument 74 return getRunAdvance(advances, buf, start, start, count, offset); 85 size_t getOffsetForAdvance(const float* advances, const uint16_t* buf, size_t start, size_t count, argument 89 for (size_t i = start; i < start + count; i++) { 90 if (GraphemeBreak::isGraphemeBreak(advances, buf, start, count, i)) { 106 for (size_t i = searchStart; i <= start + count; 32 getRunAdvance(const float* advances, const uint16_t* buf, size_t layoutStart, size_t start, size_t count, size_t offset) argument [all...] |
/frameworks/native/include/gui/ |
H A D | DisplayEventReceiver.h | 66 uint32_t count; member in struct:android::DisplayEventReceiver::Event::VSync 115 ssize_t getEvents(Event* events, size_t count); 116 static ssize_t getEvents(gui::BitTube* dataChannel, Event* events, size_t count); 122 static ssize_t sendEvents(gui::BitTube* dataChannel, Event const* events, size_t count); 130 status_t setVsyncRate(uint32_t count);
|
/frameworks/native/libs/gui/ |
H A D | BitTube.cpp | 132 ssize_t BitTube::sendObjects(BitTube* tube, void const* events, size_t count, size_t objSize) { 134 ssize_t size = tube->write(vaddr, count * objSize); 138 "BitTube::sendObjects(count=%zu, size=%zu), res=%zd (partial events were " 140 count, objSize, size); 142 // ALOGE_IF(size<0, "error %d sending %d events", size, count); 146 ssize_t BitTube::recvObjects(BitTube* tube, void* events, size_t count, size_t objSize) { argument 148 ssize_t size = tube->read(vaddr, count * objSize); 152 "BitTube::recvObjects(count=%zu, size=%zu), res=%zd (partial events were " 154 count, objSize, size); 156 // ALOGE_IF(size<0, "error %d receiving %d events", size, count); [all...] |
/frameworks/native/libs/sensor/ |
H A D | BitTube.cpp | 144 void const* events, size_t count, size_t objSize) 147 ssize_t size = tube->write(vaddr, count*objSize); 151 "BitTube::sendObjects(count=%zu, size=%zu), res=%zd (partial events were sent!)", 152 count, objSize, size); 154 //ALOGE_IF(size<0, "error %d sending %d events", size, count); 159 void* events, size_t count, size_t objSize) 162 ssize_t size = tube->read(vaddr, count*objSize); 166 "BitTube::recvObjects(count=%zu, size=%zu), res=%zd (partial events were received!)", 167 count, objSize, size); 169 //ALOGE_IF(size<0, "error %d receiving %d events", size, count); 158 recvObjects(const sp<BitTube>& tube, void* events, size_t count, size_t objSize) argument [all...] |
/frameworks/native/libs/vr/libpdx_uds/ |
H A D | channel_event_set.cpp | 94 const int count = local 98 if (count < 0) {
|
H A D | service_dispatcher.cpp | 126 int count = epoll_wait(epoll_fd_.Get(), events, kMaxEventsPerLoop, timeout); local 127 if (count <= 0) { 128 ALOGE_IF(count < 0, "Failed to wait for epoll events because: %s\n", 131 return count < 0 ? -errno : -ETIMEDOUT; 134 for (int i = 0; i < count; i++) { 159 int count = epoll_wait(epoll_fd_.Get(), events, kMaxEventsPerLoop, -1); local 160 if (count < 0 && errno != EINTR) { 166 for (int i = 0; i < count; i++) {
|
/frameworks/native/services/sensorservice/ |
H A D | SensorFusion.cpp | 33 ssize_t count = mSensorDevice.getSensorList(&list); local 39 if (count > 0) { 40 for (size_t i=0 ; i<size_t(count) ; i++) {
|