Home
last modified time | relevance | path

Searched refs:gap (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/libs/hwui/
DFrameInfo.h141 int64_t gap = endtime - starttime; in duration() local
142 gap = starttime > 0 ? gap : 0; in duration()
150 gap -= offset; in duration()
153 return gap > 0 ? gap : 0; in duration()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DLinearLayoutManagerBaseConfigSetTest.java237 int gap = helper.getDecoratedStart(vh.itemView); in dontRecycleViewsTranslatedOutOfBoundsFromStart() local
238 scrollBy(gap); in dontRecycleViewsTranslatedOutOfBoundsFromStart()
239 gap = helper.getDecoratedStart(vh.itemView); in dontRecycleViewsTranslatedOutOfBoundsFromStart()
240 assertThat("test sanity", gap, is(0)); in dontRecycleViewsTranslatedOutOfBoundsFromStart()
271 int gap = helper.getEnd() - helper.getDecoratedEnd(vh.itemView); in dontRecycleViewsTranslatedOutOfBoundsFromEnd() local
272 scrollBy(-gap); in dontRecycleViewsTranslatedOutOfBoundsFromEnd()
273 gap = helper.getEnd() - helper.getDecoratedEnd(vh.itemView); in dontRecycleViewsTranslatedOutOfBoundsFromEnd()
274 assertThat("test sanity", gap, is(0)); in dontRecycleViewsTranslatedOutOfBoundsFromEnd()
DStaggeredGridLayoutManagerBaseConfigSetTest.java755 int gap = helper.getDecoratedStart(vh.itemView); in dontRecycleViewsTranslatedOutOfBoundsFromStart() local
756 scrollBy(gap); in dontRecycleViewsTranslatedOutOfBoundsFromStart()
757 gap = helper.getDecoratedStart(vh.itemView); in dontRecycleViewsTranslatedOutOfBoundsFromStart()
758 assertThat("test sanity", gap, is(0)); in dontRecycleViewsTranslatedOutOfBoundsFromStart()
792 int gap = helper.getEnd() - helper.getDecoratedEnd(vh.itemView); in dontRecycleViewsTranslatedOutOfBoundsFromEnd() local
793 scrollBy(-gap); in dontRecycleViewsTranslatedOutOfBoundsFromEnd()
794 gap = helper.getEnd() - helper.getDecoratedEnd(vh.itemView); in dontRecycleViewsTranslatedOutOfBoundsFromEnd()
795 assertThat("test sanity", gap, is(0)); in dontRecycleViewsTranslatedOutOfBoundsFromEnd()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java250 public int gap; field in Keyboard.Key
318 gap = parent.defaultHorizontalGap; in Key()
346 gap = getDimensionOrFraction(a, in Key()
352 this.x += gap; in Key()
615 x += key.width + key.gap; in Keyboard()
636 totalGap += key.gap; in resize()
647 x += key.width + key.gap; in resize()
669 protected void setHorizontalGap(int gap) { in setHorizontalGap() argument
670 mDefaultHorizontalGap = gap; in setHorizontalGap()
677 protected void setVerticalGap(int gap) { in setVerticalGap() argument
[all …]
DKeyboardView.java625 dimensionSum += Math.min(key.width, key.height) + key.gap; in computeProximityThreshold()
/frameworks/base/tools/orientationplot/
DREADME.txt50 2. Ensure that there is an appropriate gap between adjacent orientation angles
53 point in between the two orientations; that is the gap. The gap should be
59 There should be no gap observed initially. The algorithm should pick one
63 the measured orientation angle is now within the gap between the new
66 In other words, the hysteresis gap applies only when the measured orientation
/frameworks/base/core/java/com/android/internal/widget/
DLinearLayoutManager.java882 int gap = mOrientationHelper.getEndAfterPadding() - endOffset;
884 if (gap > 0) {
885 fixOffset = -scrollBy(-gap, recycler, state);
893 gap = mOrientationHelper.getEndAfterPadding() - endOffset;
894 if (gap > 0) {
895 mOrientationHelper.offsetChildren(gap);
896 return gap + fixOffset;
907 int gap = startOffset - mOrientationHelper.getStartAfterPadding(); in fixLayoutStartGap() local
909 if (gap > 0) { in fixLayoutStartGap()
911 fixOffset = -scrollBy(gap, recycler, state); in fixLayoutStartGap()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/
DDrawerArrowDrawable.java265 public void setGapSize(float gap) { in setGapSize() argument
266 if (gap != mBarGap) { in setGapSize()
267 mBarGap = gap; in setGapSize()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DLinearLayoutManager.java887 int gap = mOrientationHelper.getEndAfterPadding() - endOffset;
889 if (gap > 0) {
890 fixOffset = -scrollBy(-gap, recycler, state);
898 gap = mOrientationHelper.getEndAfterPadding() - endOffset;
899 if (gap > 0) {
900 mOrientationHelper.offsetChildren(gap);
901 return gap + fixOffset;
912 int gap = startOffset - mOrientationHelper.getStartAfterPadding(); in fixLayoutStartGap() local
914 if (gap > 0) { in fixLayoutStartGap()
916 fixOffset = -scrollBy(gap, recycler, state); in fixLayoutStartGap()
[all …]
DStaggeredGridLayoutManager.java1378 int gap = mPrimaryOrientation.getEndAfterPadding() - maxEndLine;
1380 if (gap > 0) {
1381 fixOffset = -scrollBy(-gap, recycler, state);
1385 gap -= fixOffset;
1386 if (canOffsetChildren && gap > 0) {
1387 mPrimaryOrientation.offsetChildren(gap);
1397 int gap = minStartLine - mPrimaryOrientation.getStartAfterPadding();
1399 if (gap > 0) {
1400 fixOffset = scrollBy(gap, recycler, state);
1404 gap -= fixOffset;
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNetworkSelector.java192 long gap = mClock.getElapsedSinceBootMillis() in isNetworkSelectionNeeded() local
194 if (gap < MINIMUM_NETWORK_SELECTION_INTERVAL_MS) { in isNetworkSelectionNeeded()
195 localLog("Too short since last network selection: " + gap + " ms." in isNetworkSelectionNeeded()
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/
DAnimatorInflaterCompat.java763 float gap = keyframeArray[endIndex + 1].getFraction() in loadPvh() local
765 distributeKeyframes(keyframeArray, gap, startIndex, endIndex); in loadPvh()
804 private static void distributeKeyframes(Keyframe[] keyframes, float gap, in distributeKeyframes() argument
807 float increment = gap / count; in distributeKeyframes()
/frameworks/base/core/java/android/animation/
DAnimatorInflater.java903 float gap = keyframeArray[endIndex + 1].getFraction() - in loadPvh() local
905 distributeKeyframes(keyframeArray, gap, startIndex, endIndex); in loadPvh()
944 private static void distributeKeyframes(Keyframe[] keyframes, float gap, in distributeKeyframes() argument
947 float increment = gap / count; in distributeKeyframes()
/frameworks/base/media/java/android/media/
DCea708CaptionRenderer.java1910 float gap = Math.min(1 - scaleCol, scaleCol); in initWindow() local
1944 scaleStartCol = scaleCol - gap; in initWindow()
1945 scaleEndCol = scaleCol + gap; in initWindow()
1963 float gap = Math.min(1 - scaleRow, scaleRow); in initWindow() local
1964 scaleStartRow = scaleRow - gap; in initWindow()
1965 scaleEndRow = scaleRow + gap; in initWindow()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp370 const nsecs_t gap = tmono2 - tmono; in getMonoToBoottimeOffset() local
371 if (i == 0 || gap < bestGap) { in getMonoToBoottimeOffset()
372 bestGap = gap; in getMonoToBoottimeOffset()
/frameworks/av/services/audioflinger/
DThreads.cpp301 const nsecs_t gap = tmono2 - tmono; in adjustTimebaseOffset() local
302 if (i == 0 || gap < bestGap) { in adjustTimebaseOffset()
303 bestGap = gap; in adjustTimebaseOffset()
/frameworks/base/core/java/android/widget/
DTextView.java11839 final float gap = textWidth / 3.0f; in start() local
11840 mGhostStart = lineWidth - textWidth + gap; in start()
11842 mGhostOffset = lineWidth + gap; in start()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt13597 field public int gap;
/frameworks/base/api/
Dcurrent.txt20357 field public int gap;
Dsystem-current.txt21865 field public int gap;