Home
last modified time | relevance | path

Searched refs:deltas (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/media/libstagefright/
DVideoFrameScheduler.cpp186 Vector<nsecs_t> deltas; in prime() local
194 deltas.push(time - lastTime); in prime()
201 deltas.sort(compare<nsecs_t>); in prime()
202 size_t numDeltas = deltas.size(); in prime()
204 nsecs_t deltaMinLimit = max(deltas[0] / kMultiplesThresholdDiv, kMinPeriod); in prime()
205 nsecs_t deltaMaxLimit = deltas[numDeltas / 2] * kMultiplesThresholdDiv; in prime()
207 if (deltas[i] > deltaMaxLimit) { in prime()
208 deltas.resize(i); in prime()
214 nsecs_t delta2nd = deltas[i] - deltas[i - 1]; in prime()
217 deltas.push(delta2nd); in prime()
[all …]
/frameworks/base/core/java/android/view/
DFocusFinder.java513 public View findNearestTouchable(ViewGroup root, int x, int y, int direction, int[] deltas) { in findNearestTouchable() argument
564 deltas[0] = -distance; in findNearestTouchable()
567 deltas[0] = distance; in findNearestTouchable()
570 deltas[1] = -distance; in findNearestTouchable()
573 deltas[1] = distance; in findNearestTouchable()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DGridLayoutManager.java2391 private boolean getScrollPosition(View view, View childView, int[] deltas) {
2395 return getAlignedPosition(view, childView, deltas);
2398 return getNoneAlignedPosition(view, deltas);
2402 private boolean getNoneAlignedPosition(View view, int[] deltas) {
2471 deltas[0] = scrollPrimary;
2472 deltas[1] = scrollSecondary;
2478 private boolean getAlignedPosition(View view, View childView, int[] deltas) {
2493 deltas[0] = scrollPrimary;
2494 deltas[1] = scrollSecondary;
/frameworks/base/core/java/android/widget/
DGridLayout.java1224 public int[] deltas; field in GridLayout.Axis
1713 if (deltas == null) {
1714 deltas = new int[getChildCount()];
1716 return deltas;
1720 Arrays.fill(deltas, 0);
1731 deltas[i] = delta;
1876 deltas = null;
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DGridLayout.java1119 public int[] deltas; field in GridLayout.Axis
1608 if (deltas == null) {
1609 deltas = new int[getChildCount()];
1611 return deltas;
1615 Arrays.fill(deltas, 0);
1626 deltas[i] = delta;
1771 deltas = null;
/frameworks/base/docs/html/about/versions/
Dandroid-4.3.jd73 <li><a href="#ContactsDelta">Query for contacts deltas</a></li>
904 <h3 id="ContactsDelta">Query for contacts deltas</h3>