Searched refs:gap (Results 1 - 17 of 17) sorted by relevance

/frameworks/base/libs/hwui/
H A DFrameInfo.h141 int64_t gap = endtime - starttime; local
142 gap = starttime > 0 ? gap : 0;
150 gap -= offset;
153 return gap > 0 ? gap : 0;
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DLinearLayoutManagerBaseConfigSetTest.java237 int gap = helper.getDecoratedStart(vh.itemView);
238 scrollBy(gap);
239 gap = helper.getDecoratedStart(vh.itemView);
240 assertThat("test sanity", gap, is(0));
271 int gap = helper.getEnd() - helper.getDecoratedEnd(vh.itemView);
272 scrollBy(-gap);
273 gap = helper.getEnd() - helper.getDecoratedEnd(vh.itemView);
274 assertThat("test sanity", gap, is(0));
H A DStaggeredGridLayoutManagerBaseConfigSetTest.java444 assertEquals(config + " there should be no gap on left" + logSuffix,
446 assertEquals(config + " there should be no gap on right" + logSuffix,
449 assertEquals(config + " there should be no gap on bottom" + logSuffix,
451 assertTrue(config + " there should be some gap on top" + logSuffix,
454 assertEquals(config + " there should be no gap on top" + logSuffix,
456 assertTrue(config + " there should be some gap at the bottom" + logSuffix,
460 assertEquals(config + " there should be no gap on top" + logSuffix,
462 assertEquals(config + " there should be no gap at the bottom" + logSuffix,
467 assertTrue(config + " there should be some gap on left" + logSuffix,
470 assertEquals(config + " there should be no gap o
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboard.java85 /** Horizontal gap default for all rows */
94 /** Default gap between rows */
166 /** Default horizontal gap between keys in this row. */
168 /** Vertical gap following this row. */
245 /** Width of the key, not including the gap */
247 /** Height of the key, not including the gap */
249 /** The horizontal gap before this key */
250 public int gap; field in class:Keyboard.Key
318 gap = parent.defaultHorizontalGap;
346 gap
669 setHorizontalGap(int gap) argument
677 setVerticalGap(int gap) argument
[all...]
H A DKeyboardView.java625 dimensionSum += Math.min(key.width, key.height) + key.gap;
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/
H A DDrawerArrowDrawable.java250 * Returns the max gap between the bars when they are parallel to each other.
259 * Sets the max gap between the bars when they are parallel to each other.
261 * @param gap the gap in pixels
265 public void setGapSize(float gap) { argument
266 if (gap != mBarGap) {
267 mBarGap = gap;
/frameworks/base/core/java/com/android/internal/widget/
H A DLinearLayoutManager.java882 int gap = mOrientationHelper.getEndAfterPadding() - endOffset;
884 if (gap > 0) {
885 fixOffset = -scrollBy(-gap, recycler, state);
892 // re-calculate gap, see if we could fix it
893 gap = mOrientationHelper.getEndAfterPadding() - endOffset;
894 if (gap > 0) {
895 mOrientationHelper.offsetChildren(gap);
896 return gap + fixOffset;
907 int gap = startOffset - mOrientationHelper.getStartAfterPadding();
909 if (gap >
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DLinearLayoutManager.java906 int gap = mOrientationHelper.getEndAfterPadding() - endOffset;
908 if (gap > 0) {
909 fixOffset = -scrollBy(-gap, recycler, state);
916 // re-calculate gap, see if we could fix it
917 gap = mOrientationHelper.getEndAfterPadding() - endOffset;
918 if (gap > 0) {
919 mOrientationHelper.offsetChildren(gap);
920 return gap + fixOffset;
931 int gap = startOffset - mOrientationHelper.getStartAfterPadding();
933 if (gap >
[all...]
H A DStaggeredGridLayoutManager.java484 * Returns the current gap handling strategy for StaggeredGridLayoutManager.
492 * @return Current gap handling strategy.
502 * Sets the gap handling strategy for StaggeredGridLayoutManager. If the gapStrategy parameter
505 * @param gapStrategy The new gap handling strategy. Should be
517 throw new IllegalArgumentException("invalid gap strategy. Must be GAP_HANDLING_NONE "
1378 int gap = mPrimaryOrientation.getEndAfterPadding() - maxEndLine;
1380 if (gap > 0) {
1381 fixOffset = -scrollBy(-gap, recycler, state);
1385 gap -= fixOffset;
1386 if (canOffsetChildren && gap >
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiNetworkSelector.java46 // Minimum time gap between last successful network selection and a new selection
216 long gap = mClock.getElapsedSinceBootMillis()
218 if (gap < MINIMUM_NETWORK_SELECTION_INTERVAL_MS) {
219 localLog("Too short since last network selection: " + gap + " ms."
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/
H A DAnimatorInflaterCompat.java753 // figure out the start/end parameters of the current gap
754 // in fractions and distribute the gap among those keyframes
763 float gap = keyframeArray[endIndex + 1].getFraction()
765 distributeKeyframes(keyframeArray, gap, startIndex, endIndex);
787 * Utility function to set fractions on keyframes to cover a gap in which the
789 * in this gap. For example, a gap of 1 keyframe in the range 0-1 will be at .5, a gap
800 * @param gap The total gap w
804 distributeKeyframes(Keyframe[] keyframes, float gap, int startIndex, int endIndex) argument
[all...]
/frameworks/base/media/java/android/media/
H A DCea708CaptionRenderer.java1910 float gap = Math.min(1 - scaleCol, scaleCol);
1935 // The gap will be the minimum distance value of the distances from both
1944 scaleStartCol = scaleCol - gap;
1945 scaleEndCol = scaleCol + gap;
1963 float gap = Math.min(1 - scaleRow, scaleRow);
1964 scaleStartRow = scaleRow - gap;
1965 scaleEndRow = scaleRow + gap;
/frameworks/base/core/java/android/animation/
H A DAnimatorInflater.java893 // figure out the start/end parameters of the current gap
894 // in fractions and distribute the gap among those keyframes
903 float gap = keyframeArray[endIndex + 1].getFraction() -
905 distributeKeyframes(keyframeArray, gap, startIndex, endIndex);
927 * Utility function to set fractions on keyframes to cover a gap in which the
929 * in this gap. For example, a gap of 1 keyframe in the range 0-1 will be at .5, a gap
940 * @param gap The total gap w
944 distributeKeyframes(Keyframe[] keyframes, float gap, int startIndex, int endIndex) argument
[all...]
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Device.cpp392 // with the minimum gap in measurements.
399 const nsecs_t gap = tmono2 - tmono; local
400 if (i == 0 || gap < bestGap) {
401 bestGap = gap;
/frameworks/av/services/audioflinger/
H A DThreads.cpp290 // with the minimum gap in measurements.
297 const nsecs_t gap = tmono2 - tmono; local
298 if (i == 0 || gap < bestGap) {
299 bestGap = gap;
/frameworks/base/core/java/android/widget/
H A DTextView.java11861 final float gap = textWidth / 3.0f;
11862 mGhostStart = lineWidth - textWidth + gap;
11864 mGhostOffset = lineWidth + gap;
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 707 milliseconds