Searched defs:count (Results 201 - 225 of 430) sorted by path

1234567891011>>

/frameworks/base/libs/common_time/
H A Dclock_recovery.cpp113 uint32_t count) {
115 for (uint32_t i = 1; i < count; ++i)
112 findMinRTTNdx(DisciplineDataPoint* data, uint32_t count) argument
H A Dutils.cpp96 ++last->count;
100 mRingBuffer[mWr].count = 1;
125 size_t count = mIsFull ? mSize : mWr; local
132 for (size_t i = 0; i < count; ++i) {
138 if (1 != mRingBuffer[ndx].count) {
143 mRingBuffer[ndx].count,
H A Dutils.h65 uint32_t count; member in class:android::LogRing::Entry
/frameworks/base/libs/hwui/
H A DAssetAtlas.cpp31 void AssetAtlas::init(sp<GraphicBuffer> buffer, int64_t* map, int count) { argument
45 createEntries(caches, map, count);
117 void AssetAtlas::createEntries(Caches& caches, int64_t* map, int count) { argument
121 for (int i = 0; i < count; ) {
H A DDeferredDisplayList.cpp127 if (CC_LIKELY(!mAllOpsOpaque || !mBounds.contains(bounds) || count() == 1)) return false;
139 inline int count() const { return mOps.size(); } function in class:android::uirenderer::DrawBatch
320 // use invalid save count because it won't be used at flush time - RestoreToCountOp is the
339 DEFER_LOGD("batch %p restoring to count %d", this, mRestoreCount);
352 * The count used here represents the flush() time saveCount. This is as opposed to the
354 * (saveCount + mCount) respectively). Since the count is different from the original
449 DEFER_LOGD("%p adding saveLayerOp %p, flags %x, new count %d",
457 * Takes save op and it's return value - the new save count - and stores it into the stream as a
462 DEFER_LOGD("%p adding saveOp %p, flags %x, new count %d", this, op, saveFlags, newSaveCount);
466 DEFER_LOGD(" adding save barrier with new save count
[all...]
H A DDisplayListOp.h250 DrawBoundedOp(const float* points, int count, const SkPaint* paint) argument
252 for (int i = 2; i < count; i += 2) {
312 RestoreToCountOp(int count) argument
313 : mCount(count) {}
327 OP_LOG("Restore to count %d", mCount);
874 // worth performing a first iteration to count the exact number
924 const size_t count = opMesh->quads.size(); local
925 for (size_t i = 0; i < count; i++) {
1050 DrawRectsOp(const float* rects, int count, const SkPaint* paint) argument
1051 : DrawBoundedOp(rects, count, pain
1255 DrawLinesOp(const float* points, int count, const SkPaint* paint) argument
1285 DrawPointsOp(const float* points, int count, const SkPaint* paint) argument
1301 DrawSomeTextOp(const char* text, int bytesCount, int count, const SkPaint* paint) argument
1331 DrawTextOnPathOp(const char* text, int bytesCount, int count, const SkPath* path, float hOffset, float vOffset, const SkPaint* paint) argument
1353 DrawPosTextOp(const char* text, int bytesCount, int count, const float* positions, const SkPaint* paint) argument
1371 DrawTextOp(const char* text, int bytesCount, int count, float x, float y, const float* positions, const SkPaint* paint, float totalAdvance, const Rect& bounds) argument
[all...]
H A DDisplayListRenderer.cpp342 status_t DisplayListRenderer::drawLines(const float* points, int count, const SkPaint* paint) { argument
343 points = refBuffer<float>(points, count);
346 addDrawOp(new (alloc()) DrawLinesOp(points, count, paint));
350 status_t DisplayListRenderer::drawPoints(const float* points, int count, const SkPaint* paint) { argument
351 points = refBuffer<float>(points, count);
354 addDrawOp(new (alloc()) DrawPointsOp(points, count, paint));
358 status_t DisplayListRenderer::drawTextOnPath(const char* text, int bytesCount, int count, argument
360 if (!text || count <= 0) return DrawGlInfo::kStatusDone;
366 DrawOp* op = new (alloc()) DrawTextOnPathOp(text, bytesCount, count, path,
372 status_t DisplayListRenderer::drawPosText(const char* text, int bytesCount, int count, argument
395 drawText(const char* text, int bytesCount, int count, float x, float y, const float* positions, const SkPaint* paint, float totalAdvance, const Rect& bounds, DrawOpMode drawOpMode) argument
434 drawRects(const float* rects, int count, const SkPaint* paint) argument
[all...]
H A DDisplayListRenderer.h125 virtual status_t drawRects(const float* rects, int count, const SkPaint* paint);
140 virtual status_t drawLines(const float* points, int count, const SkPaint* paint);
141 virtual status_t drawPoints(const float* points, int count, const SkPaint* paint);
144 virtual status_t drawText(const char* text, int bytesCount, int count, float x, float y,
147 virtual status_t drawTextOnPath(const char* text, int bytesCount, int count, const SkPath* path,
149 virtual status_t drawPosText(const char* text, int bytesCount, int count,
188 inline const T* refBuffer(const T* srcBuffer, int32_t count) { argument
191 T* dstBuffer = (T*) mDisplayListData->allocator.alloc(count * sizeof(T));
192 memcpy(dstBuffer, srcBuffer, count * sizeof(T));
H A DGammaFontRenderer.cpp208 int count = 0; local
214 count++;
222 if (count <= 1 || min < 0) return;
H A DGradientCache.cpp43 uint32_t hash = JenkinsHashMix(0, count);
44 for (uint32_t i = 0; i < count; i++) {
52 int deltaInt = int(lhs.count) - int(rhs.count);
55 deltaInt = memcmp(lhs.colors, rhs.colors, lhs.count * sizeof(uint32_t));
58 return memcmp(lhs.positions, rhs.positions, lhs.count * sizeof(float));
132 Texture* GradientCache::get(uint32_t* colors, float* positions, int count) { argument
133 GradientCacheEntry gradient(colors, positions, count);
137 texture = addLinearGradient(gradient, colors, positions, count);
147 void GradientCache::getGradientInfo(const uint32_t* colors, const int count, argument
170 addLinearGradient(GradientCacheEntry& gradient, uint32_t* colors, float* positions, int count) argument
[all...]
H A DGradientCache.h35 count = 0;
40 GradientCacheEntry(uint32_t* colors, float* positions, uint32_t count) { argument
41 copy(colors, positions, count);
45 copy(entry.colors, entry.positions, entry.count);
58 copy(entry.colors, entry.positions, entry.count);
78 uint32_t count; member in struct:android::uirenderer::GradientCacheEntry
81 void copy(uint32_t* colors, float* positions, uint32_t count) { argument
82 this->count = count;
83 this->colors = new uint32_t[count];
[all...]
H A DLayerCache.cpp92 size_t count = mCache.size(); local
93 for (size_t i = 0; i < count; i++) {
H A DLayerRenderer.cpp148 size_t count; local
149 const android::Rect* rects = safeRegion.getArray(&count);
151 GLsizei elementCount = count * 6;
159 mLayer->mesh = new TextureVertex[count * 4];
169 for (size_t i = 0; i < count; i++) {
H A DOpenGLRenderer.cpp491 int count = mLayerUpdates.size(); local
492 if (count > 0) {
500 for (int i = 0; i < count; i++) {
514 int count = mLayerUpdates.size(); local
515 if (count > 0) {
519 for (int i = 0; i < count; i++) {
606 const int count = saveSnapshot(flags); local
612 return count;
663 const int count = saveSnapshot(flags); local
683 return count;
1048 shadeSpan(int x, int y, SkPMColor[], int count) argument
1108 size_t count; local
1192 size_t count; local
1276 const size_t count = mLayers.size(); local
2044 const uint32_t count = meshWidth * meshHeight * 6; local
2271 const size_t count = mesh->quads.size(); local
2420 drawLines(const float* points, int count, const SkPaint* paint) argument
2437 drawPoints(const float* points, int count, const SkPaint* paint) argument
2619 drawTextShadow(const SkPaint* paint, const char* text, int bytesCount, int count, const float* positions, FontRenderer& fontRenderer, int alpha, float x, float y) argument
2670 drawPosText(const char* text, int bytesCount, int count, const float* positions, const SkPaint* paint) argument
2750 drawText(const char* text, int bytesCount, int count, float x, float y, const float* positions, const SkPaint* paint, float totalAdvance, const Rect& bounds, DrawOpMode drawOpMode) argument
2837 drawTextOnPath(const char* text, int bytesCount, int count, const SkPath* path, float hOffset, float vOffset, const SkPaint* paint) argument
3124 drawRects(const float* rects, int count, const SkPaint* paint) argument
3172 drawColorRects(const float* rects, int count, const SkPaint* paint, bool ignoreTransform, bool dirty, bool clip) argument
[all...]
H A DPatchCache.cpp124 size_t count = mGarbage.size(); local
125 for (size_t i = 0; i < count; i++) {
141 size_t count = mGarbage.size(); local
142 for (size_t i = 0; i < count; i++) {
H A DPathCache.cpp389 size_t count = mGarbage.size(); local
390 for (size_t i = 0; i < count; i++) {
H A DPathTessellator.cpp794 const float* points, int count, Rect& bounds) {
797 int numPoints = count / 2;
801 for (int i = 0; i < count; i += 2) {
808 void PathTessellator::tessellatePoints(const float* points, int count, const SkPaint* paint, argument
834 int numPoints = count / 2;
838 instanceVertices<Vertex>(tempBuffer, vertexBuffer, points, count, bounds);
842 instanceVertices<AlphaVertex>(tempBuffer, vertexBuffer, points, count, bounds);
850 void PathTessellator::tessellateLines(const float* points, int count, const SkPaint* paint, argument
856 int numLines = count / 4;
873 for (int i = 0; i < count;
793 instanceVertices(VertexBuffer& srcBuffer, VertexBuffer& dstBuffer, const float* points, int count, Rect& bounds) argument
[all...]
H A DProgramCache.cpp421 size_t count = mCache.size(); local
422 for (size_t i = 0; i < count; i++) {
H A DRenderBufferCache.cpp103 size_t count = mCache.size(); local
104 for (size_t i = 0; i < count; i++) {
H A DTextureCache.cpp244 size_t count = mGarbage.size(); local
245 for (size_t i = 0; i < count; i++) {
/frameworks/base/libs/usb/tests/accessorytest/
H A Dhid.c95 int count = desc_length - offset; local
96 if (count > max_packet) count = max_packet;
98 fprintf(stderr, "sending ACCESSORY_SET_HID_REPORT_DESC offset: %d count: %d desc_length: %d\n",
99 offset, count, desc_length);
101 ACCESSORY_SET_HID_REPORT_DESC, id, offset, &desc.value[offset], count, 1000);
103 offset += count;
167 int count = read(inotify_fd, event_buf, sizeof(event_buf)); local
168 if (count < (int)sizeof(*event)) {
174 while (count >
[all...]
/frameworks/base/media/java/android/media/tv/
H A DTvInputService.java804 * @param count The number of times the action was made.
810 public boolean onKeyMultiple(int keyCode, int count, KeyEvent event) { argument
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpDatabase.cpp368 int count = env->GetIntField(list, field_mCount); local
369 if (result == MTP_RESPONSE_OK && count != 1)
677 int count = env->GetIntField(list, field_mCount); local
680 packet.putUInt32(count);
681 if (count > 0) {
693 for (int i = 0; i < count; i++) {
948 int count = sizeof(kObjectPropertyTable) / sizeof(kObjectPropertyTable[0]); local
950 for (int i = 0; i < count; i++, entry++) {
960 int count = sizeof(kDevicePropertyTable) / sizeof(kDevicePropertyTable[0]); local
962 for (int i = 0; i < count;
992 int count = references->size(); local
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DMutableFrameFormat.java81 public void setDimensionCount(int count) { argument
82 mDimensions = new int[count];
H A DNativeBuffer.java39 public NativeBuffer(int count) { argument
40 allocate(count * getElementSize());
63 public int count() { method in class:NativeBuffer

Completed in 206 milliseconds

1234567891011>>