/frameworks/av/media/libstagefright/ |
D | VideoFrameScheduler.cpp | 191 Vector<nsecs_t> deltas; in prime() local 199 deltas.push(time - lastTime); in prime() 206 deltas.sort(compare<nsecs_t>); in prime() 207 size_t numDeltas = deltas.size(); in prime() 209 nsecs_t deltaMinLimit = max(deltas[0] / kMultiplesThresholdDiv, kMinPeriod); in prime() 210 nsecs_t deltaMaxLimit = deltas[numDeltas / 2] * kMultiplesThresholdDiv; in prime() 212 if (deltas[i] > deltaMaxLimit) { in prime() 213 deltas.resize(i); in prime() 219 nsecs_t delta2nd = deltas[i] - deltas[i - 1]; in prime() 222 deltas.push(delta2nd); in prime() [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | LongSamplingCounterArrayTest.java | 152 final long[] deltas = {123, 234, 345, 456}; in testAddCountLocked() local 154 mCounterArray.addCountLocked(deltas); in testAddCountLocked() 155 assertArrayEquals(deltas, mCounterArray.mCounts, "Unexpected counts"); in testAddCountLocked() 161 final long[] newCounts = new long[deltas.length]; in testAddCountLocked() 162 for (int i = 0; i < deltas.length; ++i) { in testAddCountLocked() 163 newCounts[i] = COUNTS[i] + deltas[i]; in testAddCountLocked() 165 mCounterArray.addCountLocked(deltas); in testAddCountLocked()
|
/frameworks/native/libs/gui/bufferqueue/1.0/ |
D | H2BGraphicBufferProducer.cpp | 784 for (size_t i = 0; i < t.deltas.size(); ++i) { in getFlattenedSize() 785 size += getFlattenedSize(t.deltas[i]); in getFlattenedSize() 800 for (size_t i = 0; i < t.deltas.size(); ++i) { in getFdCount() 801 numFds += getFdCount(t.deltas[i]); in getFdCount() 827 if (t.deltas.size() > ::android::FrameEventHistory::MAX_FRAME_HISTORY) { in flatten() 836 FlattenableUtils::write(buffer, size, static_cast<uint32_t>(t.deltas.size())); in flatten() 837 nh->resize(t.deltas.size()); in flatten() 838 for (size_t deltaIndex = 0; deltaIndex < t.deltas.size(); ++deltaIndex) { in flatten() 840 t.deltas[deltaIndex], &((*nh)[deltaIndex]), in flatten()
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/ |
D | Conversion.h | 1496 for (size_t i = 0; i < t.deltas.size(); ++i) { in getFlattenedSize() 1497 size += getFlattenedSize(t.deltas[i]); in getFlattenedSize() 1512 for (size_t i = 0; i < t.deltas.size(); ++i) { in getFdCount() 1513 numFds += getFdCount(t.deltas[i]); in getFdCount() 1549 t->deltas.resize(deltaCount); in unflatten() 1553 &(t->deltas[deltaIndex]), &((*nh)[deltaIndex]), in unflatten() 1577 if (t.deltas.size() > ::android::FrameEventHistory::MAX_FRAME_HISTORY) { in flatten() 1586 FlattenableUtils::write(buffer, size, static_cast<uint32_t>(t.deltas.size())); in flatten() 1587 for (size_t deltaIndex = 0; deltaIndex < t.deltas.size(); ++deltaIndex) { in flatten() 1588 status_t status = flatten(t.deltas[deltaIndex], buffer, size, fds, numFds); in flatten()
|
/frameworks/base/core/java/android/view/ |
D | FocusFinder.java | 691 public View findNearestTouchable(ViewGroup root, int x, int y, int direction, int[] deltas) { in findNearestTouchable() argument 742 deltas[0] = -distance; in findNearestTouchable() 745 deltas[0] = distance; in findNearestTouchable() 748 deltas[1] = -distance; in findNearestTouchable() 751 deltas[1] = distance; in findNearestTouchable()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | GridLayoutManager.java | 2866 boolean getScrollPosition(View view, View childView, int[] deltas) { 2870 return getAlignedPosition(view, childView, deltas); 2873 return getNoneAlignedPosition(view, deltas); 2877 private boolean getNoneAlignedPosition(View view, int[] deltas) { 2945 deltas[0] = scrollPrimary; 2946 deltas[1] = scrollSecondary; 2952 private boolean getAlignedPosition(View view, View childView, int[] deltas) { 2964 deltas[0] = scrollPrimary; 2965 deltas[1] = scrollSecondary; 2968 deltas[0] = 0; [all …]
|
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
D | GridLayout.java | 1131 public int[] deltas; field in GridLayout.Axis 1620 if (deltas == null) { 1621 deltas = new int[getChildCount()]; 1623 return deltas; 1627 Arrays.fill(deltas, 0); 1638 deltas[i] = delta; 1784 deltas = null;
|
/frameworks/base/core/java/android/widget/ |
D | GridLayout.java | 1240 public int[] deltas; field in GridLayout.Axis 1729 if (deltas == null) { 1730 deltas = new int[getChildCount()]; 1732 return deltas; 1736 Arrays.fill(deltas, 0); 1747 deltas[i] = delta; 1893 deltas = null;
|