/frameworks/base/core/java/android/view/animation/ |
H A D | AnimationSet.java | 131 final int count = mAnimations.size(); 134 for (int i = 0; i < count; i++) { 185 final int count = mAnimations.size(); 188 for (int i = 0; i < count; i++) { 257 final int count = mAnimations.size(); 260 for (int i = 0; i < count; i++) { 270 final int count = mAnimations.size(); 273 for (int i = 0; i < count; i++) { 286 int count = animations.size(); 288 for (int i = 0; i < count; [all...] |
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
H A D | checks.spec | 28 glDebugMessageControl check ids count 36 glDrawElements check_AIOOBE indices count 37 glDrawElementsBaseVertex check_AIOOBE indices count-basevertex 38 glDrawRangeElementsBaseVertex check_AIOOBE indices count-basevertex 52 glGetAttachedShaders nullAllowed count check count 1 check shaders maxcount 103 glUniform1 check v count 104 glUniform2 check v count*2 105 glUniform3 check v count*3 106 glUniform4 check v count* [all...] |
/frameworks/base/core/java/android/util/jar/ |
H A D | StrictJarFile.java | 188 int count = 0; 190 count += chain.length; 194 Certificate[] certs = new Certificate[count]; 311 private long count; field in class:StrictJarFile.JarFileInputStream 318 count = size; 326 if (count > 0) { 330 count--; 332 count = 0; 334 if (count == 0) { 351 if (count > [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_connectivity_Vpn.cpp | 135 int count = 0; local 144 count = BAD_ARGUMENT; 150 count = (errno == EINVAL) ? BAD_ARGUMENT : SYSTEM_ERROR; 157 count = BAD_ARGUMENT; 161 if (count) { 162 snprintf(ifr4.ifr_name, sizeof(ifr4.ifr_name), "%s:%d", name, count); 165 count = (errno == EINVAL) ? BAD_ARGUMENT : SYSTEM_ERROR; 172 count = (errno == EINVAL) ? BAD_ARGUMENT : SYSTEM_ERROR; 177 ++count; 180 if (count 287 int count = -1; local [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | CarrierSignalAgentTest.java | 93 // Broadcast count 94 int count = 0; 105 verify(mContext, times(count)).sendBroadcast(mCaptorIntent.capture()); 110 count++; 114 verify(mContext, times(count)).sendBroadcast(mCaptorIntent.capture()); 120 count += 2; 122 verify(mContext, times(count)).sendBroadcast(mCaptorIntent.capture()); 137 // Broadcast count 138 int count = 0; 147 verify(mContext, times(count)) [all...] |
/frameworks/base/core/java/com/android/internal/app/procstats/ |
H A D | PssTable.java | 71 final long count = getValue(key, PSS_SAMPLE_COUNT); 72 if (count == 0) { 84 setValue(key, PSS_SAMPLE_COUNT, count + inCount); 95 (long)(((val*(double)count)+(avgPss*(double)inCount)) / (count+inCount))); 109 (long)(((val*(double)count)+(avgUss*(double)inCount)) / (count+inCount))); 123 (long)(((val*(double)count)+(avgUss*(double)inCount)) / (count+inCount)));
|
/frameworks/base/tools/aapt2/io/ |
H A D | Data.h | 65 void BackUp(size_t count) override { 66 if (count > next_read_ - offset_) { 69 next_read_ -= count; 114 void BackUp(size_t count) override { 115 if (count > next_read_) { 118 next_read_ -= count; 162 void BackUp(size_t count) override { 163 if (count > next_read_) { 166 next_read_ -= count; 203 void BackUp(size_t /*count*/) overrid [all...] |
/frameworks/support/paging/runtime/src/main/java/androidx/paging/ |
H A D | PagedStorageDiffHelper.java | 100 public void onInserted(int position, int count) { argument 101 mCallback.onInserted(position + mOffset, count); 105 public void onRemoved(int position, int count) { argument 106 mCallback.onRemoved(position + mOffset, count); 115 public void onChanged(int position, int count, Object payload) { argument 116 mCallback.onChanged(position + mOffset, count, payload); 153 int count = trailingOld - trailingNew; 154 callback.onRemoved(oldList.size() - count, count);
|
/frameworks/av/media/img_utils/include/img_utils/ |
H A D | TiffEntryImpl.h | 38 TiffEntryImpl(uint16_t tag, TagType type, uint32_t count, Endianness end, const T* data); 64 TiffEntryImpl<T>::TiffEntryImpl(uint16_t tag, TagType type, uint32_t count, Endianness end, argument 66 : mTag(tag), mType(static_cast<uint16_t>(type)), mCount(count), mEnd(end) { 67 count = (type == RATIONAL || type == SRATIONAL) ? count * 2 : count; 68 ssize_t index = mData.appendArray(data, count); 134 uint32_t count = mCount; local 139 * size of the array here, multiply the count by 2. 141 count << 160 uint32_t count = mCount; local [all...] |
/frameworks/base/core/java/android/gesture/ |
H A D | GestureStroke.java | 50 final int count = points.size(); 51 final float[] tmpPoints = new float[count * 2]; 52 final long[] times = new long[count]; 58 for (int i = 0; i < count; i++) { 122 final int count = localPoints.length; 129 for (int i = 0; i < count; i += 2) { 176 final int count = pts.length; 178 for (int i = 0; i < count; i += 2) { 203 final int count = points.length; 206 out.writeInt(count / [all...] |
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
H A D | HeadsUpManagerPhoneTest.java | 98 assertEquals(0, mHeadsUpManager.getAllEntries().count()); 106 assertEquals(1, mHeadsUpManager.getAllEntries().count()); 114 assertEquals(1, mHeadsUpManager.getAllEntries().count()); 122 assertEquals(1, mHeadsUpManager.getAllEntries().count()); 131 assertEquals(0, mHeadsUpManager.getAllEntries().count()); 142 assertEquals(0, mHeadsUpManager.getAllEntries().count()); 155 assertEquals(1, mHeadsUpManager.getAllEntries().count()); 163 assertEquals(0, mHeadsUpManager.getAllEntries().count()); 172 assertEquals(0, mHeadsUpManager.getAllEntries().count()); 180 assertEquals(1, mHeadsUpManager.getAllEntries().count()); [all...] |
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
H A D | Hwc2TestLayers.cpp | 120 return mTestLayers.count(layer) != 0; 126 if (mTestLayers.count(layer) == 0) { 134 if (mTestLayers.count(layer) == 0) { 150 if (mTestLayers.count(layer) == 0) { 158 if (mTestLayers.count(layer) == 0) { 166 if (mTestLayers.count(layer) == 0) { 174 if (mTestLayers.count(layer) == 0) { 182 if (mTestLayers.count(layer) == 0) { 190 if (mTestLayers.count(layer) == 0) { 198 if (mTestLayers.count(laye [all...] |
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | RequestHolder.java | 117 int count = 0; 121 ++count; 127 return count; 134 int count = 0; 138 ++count; 144 return count;
|
/frameworks/base/libs/hwui/ |
H A D | GpuMemoryTracker.cpp | 41 int count = 0; member in struct:android::uirenderer::TypeStats 57 gObjectStats[static_cast<int>(mType)].count++; 64 gObjectStats[static_cast<int>(mType)].count--; 96 stream << ", count = " << stats.count; 102 return gObjectStats[static_cast<int>(type)].count; 117 ATRACE_INT(buf, stats.count);
|
/frameworks/base/media/java/android/media/midi/ |
H A D | MidiOutputPort.java | 60 int count = mInputStream.read(buffer); 61 if (count < 0) { 66 int packetType = MidiPortImpl.getPacketType(buffer, count); 69 int offset = MidiPortImpl.getDataOffset(buffer, count); 70 int size = MidiPortImpl.getDataSize(buffer, count); 71 long timestamp = MidiPortImpl.getPacketTimestamp(buffer, count);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | SimpleFrame.java | 49 final int count = format.getLength(); 53 mObject = new byte[count]; 56 mObject = new short[count]; 59 mObject = new int[count]; 62 mObject = new float[count]; 65 mObject = new double[count];
|
/frameworks/support/compat/src/androidTest/java/androidx/core/graphics/ |
H A D | PathUtilsTest.java | 63 int count = 0; 65 count++; 68 assertEquals(2, count); 85 count = 0; 87 count++; 90 assertEquals(3, count);
|
/frameworks/native/opengl/libagl/ |
H A D | array.cpp | 311 const GLvoid *pointer, const buffer_t* bo, GLsizei count) 331 this->bounds = count; 379 size_t count = VERTEX_BUFFER_SIZE + VERTEX_CACHE_SIZE; local 383 } while (--count); 390 size_t count = VERTEX_BUFFER_SIZE + VERTEX_CACHE_SIZE; local 394 } while (--count); 531 void drawPrimitivesPoints(ogles_context_t* c, GLint first, GLsizei count) argument 533 if (ggl_unlikely(count < 1)) 542 GLsizei num = count > vcs ? vcs : count; 309 init( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, const buffer_t* bo, GLsizei count) argument 562 drawPrimitivesLineStrip(ogles_context_t* c, GLint first, GLsizei count) argument 601 drawPrimitivesLineLoop(ogles_context_t* c, GLint first, GLsizei count) argument 616 drawPrimitivesLines(ogles_context_t* c, GLint first, GLsizei count) argument 648 drawPrimitivesTriangleFanOrStrip(ogles_context_t* c, GLint first, GLsizei count, int winding) argument 702 drawPrimitivesTriangleStrip(ogles_context_t* c, GLint first, GLsizei count) argument 707 drawPrimitivesTriangleFan(ogles_context_t* c, GLint first, GLsizei count) argument 712 drawPrimitivesTriangles(ogles_context_t* c, GLint first, GLsizei count) argument 762 drawIndexedPrimitivesPoints(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 779 drawIndexedPrimitivesLineStrip(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 804 drawIndexedPrimitivesLineLoop(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 836 drawIndexedPrimitivesLines(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 858 drawIndexedPrimitivesTriangleFanOrStrip(ogles_context_t* c, GLsizei count, const GLvoid *indices, int winding) argument 894 drawIndexedPrimitivesTriangleStrip(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 899 drawIndexedPrimitivesTriangleFan(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 904 drawIndexedPrimitivesTriangles(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 963 compileElements__generic(ogles_context_t* c, vertex_t* v, GLint first, GLsizei count) argument 1343 glDrawArrays(GLenum mode, GLint first, GLsizei count) argument 1387 glDrawElements( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) argument [all...] |
/frameworks/base/libs/hwui/tests/unit/ |
H A D | RecordingCanvasTests.cpp | 140 << "float count must be rounded down to closest multiple of 4"; 181 int count = 0; local 182 playbackOps(*dl, [&count](const RecordedOp& op) { 183 count++; 190 ASSERT_EQ(1, count); 247 int count = 0; local 249 playbackOps(*dl, [&count, &lastX](const RecordedOp& op) { 250 count++; 260 ASSERT_EQ(3, count); 299 int count local 347 int count = 0; local 381 int count = 0; local 411 int count = 0; local 426 int count = 0; local 461 int count = 0; local 480 int count = 0; local 508 int count = 0; local 535 int count = 0; local 808 int count = 0; local 831 int count = 0; local [all...] |
/frameworks/av/media/libaudioprocessing/ |
H A D | AudioResamplerFirProcessNeon.h | 75 int count, 85 ALOG_ASSERT(count > 0 && (count & 7) == 0); // multiple of 8 160 } while (count -= 8); 183 int count, 193 ALOG_ASSERT(count > 0 && (count & 7) == 0); // multiple of 8 335 } while (count -= 8); 358 int count, 368 ALOG_ASSERT(count > 74 ProcessNeonIntrinsic(int32_t* out, int count, const int16_t* coefsP, const int16_t* coefsN, const int16_t* sP, const int16_t* sN, const int32_t* volumeLR, uint32_t lerpP, const int16_t* coefsP1, const int16_t* coefsN1) argument 182 ProcessNeonIntrinsic(int32_t* out, int count, const int32_t* coefsP, const int32_t* coefsN, const int16_t* sP, const int16_t* sN, const int32_t* volumeLR, uint32_t lerpP, const int32_t* coefsP1, const int32_t* coefsN1) argument 357 ProcessNeonIntrinsic(float* out, int count, const float* coefsP, const float* coefsN, const float* sP, const float* sN, const float* volumeLR, float lerpP, const float* coefsP1, const float* coefsN1) argument 526 ProcessL(int32_t* const out, int count, const int16_t* coefsP, const int16_t* coefsN, const int16_t* sP, const int16_t* sN, const int32_t* const volumeLR) argument 583 ProcessL(int32_t* const out, int count, const int16_t* coefsP, const int16_t* coefsN, const int16_t* sP, const int16_t* sN, const int32_t* const volumeLR) argument 646 Process(int32_t* const out, int count, const int16_t* coefsP, const int16_t* coefsN, const int16_t* coefsP1, const int16_t* coefsN1, const int16_t* sP, const int16_t* sN, uint32_t lerpP, const int32_t* const volumeLR) argument 722 Process(int32_t* const out, int count, const int16_t* coefsP, const int16_t* coefsN, const int16_t* coefsP1, const int16_t* coefsN1, const int16_t* sP, const int16_t* sN, uint32_t lerpP, const int32_t* const volumeLR) argument 803 ProcessL(int32_t* const out, int count, const int32_t* coefsP, const int32_t* coefsN, const int16_t* sP, const int16_t* sN, const int32_t* const volumeLR) argument 869 ProcessL(int32_t* const out, int count, const int32_t* coefsP, const int32_t* coefsN, const int16_t* sP, const int16_t* sN, const int32_t* const volumeLR) argument 954 Process(int32_t* const out, int count, const int32_t* coefsP, const int32_t* coefsN, const int32_t* coefsP1, const int32_t* coefsN1, const int16_t* sP, const int16_t* sN, uint32_t lerpP, const int32_t* const volumeLR) argument 1044 Process(int32_t* const out, int count, const int32_t* coefsP, const int32_t* coefsN, const int32_t* coefsP1, const int32_t* coefsN1, const int16_t* sP, const int16_t* sN, uint32_t lerpP, const int32_t* const volumeLR) argument 1153 ProcessL(float* const out, int count, const float* coefsP, const float* coefsN, const float* sP, const float* sN, const float* const volumeLR) argument 1166 ProcessL(float* const out, int count, const float* coefsP, const float* coefsN, const float* sP, const float* sN, const float* const volumeLR) argument 1179 Process(float* const out, int count, const float* coefsP, const float* coefsN, const float* coefsP1, const float* coefsN1, const float* sP, const float* sN, float lerpP, const float* const volumeLR) argument 1195 Process(float* const out, int count, const float* coefsP, const float* coefsN, const float* coefsP1, const float* coefsN1, const float* sP, const float* sN, float lerpP, const float* const volumeLR) argument [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | RescueParty.java | 226 public abstract void setCount(int count); argument 256 int count = getCount() + 1; 257 setCount(count); 258 EventLogTags.writeRescueNote(uid, count, window); 259 Slog.w(TAG, "Noticed " + count + " events for UID " + uid + " in last " 261 return (count >= triggerCount); 284 public void setCount(int count) { argument 285 SystemProperties.set(PROP_RESCUE_BOOT_COUNT, Integer.toString(count)); 304 private int count; field in class:RescueParty.AppThreshold 313 @Override public int getCount() { return count; } 314 setCount(int count) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | DateTimeView.java | 239 int count; 248 count = (int)(duration / MINUTE_IN_MILLIS); 252 count), 253 count); 256 count = (int)(duration / HOUR_IN_MILLIS); 260 count), 261 count); 266 count = Math.max(Math.abs(dayDistance(timeZone, mTimeMillis, now)), 1); 270 count), 271 count); [all...] |
/frameworks/native/vulkan/libvulkan/ |
H A D | api.cpp | 68 VkResult Parse(const char* const* names, uint32_t count) { argument 76 if (!arr.count) 79 names_ = AllocateNameArray(arr.count + count); 84 for (uint32_t i = 0; i < arr.count; i++) 87 name_count_ = arr.count; 90 for (uint32_t i = 0; i < count; i++) { 114 uint32_t count; member in struct:vulkan::api::__anon1921::OverrideLayerNames::ImplicitLayerArray 130 if (implicit_layers_.count <= 0) { 136 std::sort(arr.elements, arr.elements + arr.count, 343 Parse(const char* const* names, uint32_t count) argument 1012 DestroyLayers(ActiveLayer* layers, uint32_t count, const VkAllocationCallbacks& allocator) argument 1151 GetActiveLayers( VkPhysicalDevice physical_dev, uint32_t& count) argument 1256 uint32_t count; local [all...] |
/frameworks/av/media/libaaudio/src/fifo/ |
H A D | FifoControllerBase.h | 56 * @param count Number of frames that have been read. 58 virtual void setReadCounter(fifo_counter_t count) = 0; 67 * @param count Number of frames that have been read. 69 virtual void setWriteCounter(fifo_counter_t count) = 0;
|
/frameworks/av/media/mtp/ |
H A D | MtpDataPacket.h | 81 void putAInt8(const int8_t* values, int count); 82 void putAUInt8(const uint8_t* values, int count); 83 void putAInt16(const int16_t* values, int count); 84 void putAUInt16(const uint16_t* values, int count); 86 void putAInt32(const int32_t* values, int count); 87 void putAUInt32(const uint32_t* values, int count); 89 void putAInt64(const int64_t* values, int count); 90 void putAUInt64(const uint64_t* values, int count);
|