Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DFrameInfo.h131 int64_t gap = endtime - starttime; in duration() local
132 gap = starttime > 0 ? gap : 0; in duration()
138 gap -= offset; in duration()
141 return gap > 0 ? gap : 0; in duration()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DNetworkEventTest.java88 int gap = 5; in testNetworkEventId_wrapsAround() local
89 long startingId = Long.MAX_VALUE - gap; in testNetworkEventId_wrapsAround()
99 for (int i = 0; i < gap; i++) { in testNetworkEventId_wrapsAround()
106 events.get(gap).getId()); in testNetworkEventId_wrapsAround()
107 assertEquals("Event id was not reset.", 0, events.get(gap + 1).getId()); in testNetworkEventId_wrapsAround()
110 for (int i = gap + 1; i < MAX_EVENTS_PER_BATCH; i++) { in testNetworkEventId_wrapsAround()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java260 public int gap; field in Keyboard.Key
328 gap = parent.defaultHorizontalGap; in Key()
356 gap = getDimensionOrFraction(a, in Key()
362 this.x += gap; in Key()
625 x += key.width + key.gap; in Keyboard()
647 totalGap += key.gap; in resize()
658 x += key.width + key.gap; in resize()
680 protected void setHorizontalGap(int gap) { in setHorizontalGap() argument
681 mDefaultHorizontalGap = gap; in setHorizontalGap()
688 protected void setVerticalGap(int gap) { in setVerticalGap() argument
[all …]
DKeyboardView.java633 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/layoutlib/bridge/src/android/view/shadow/
DHighQualityShadowPainter.java237 int gap = (int) Math.ceil(radius * SCALE_DOWN * sRoundedGap); in drawScaled() local
238 shadowCaster.bottom -= gap; in drawScaled()
239 shadowCaster.top += gap; in drawScaled()
240 shadowCaster.left += gap; in drawScaled()
241 shadowCaster.right -= gap; in drawScaled()
/frameworks/base/core/java/com/android/internal/widget/
DLinearLayoutManager.java878 int gap = mOrientationHelper.getEndAfterPadding() - endOffset;
880 if (gap > 0) {
881 fixOffset = -scrollBy(-gap, recycler, state);
889 gap = mOrientationHelper.getEndAfterPadding() - endOffset;
890 if (gap > 0) {
891 mOrientationHelper.offsetChildren(gap);
892 return gap + fixOffset;
903 int gap = startOffset - mOrientationHelper.getStartAfterPadding(); in fixLayoutStartGap() local
905 if (gap > 0) { in fixLayoutStartGap()
907 fixOffset = -scrollBy(gap, recycler, state); in fixLayoutStartGap()
[all …]
/frameworks/base/cmds/statsd/src/shell/
Dshell_config.proto29 /* gap between two pulls in milliseconds */
/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/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNetworkSelector.java313 long gap = mClock.getElapsedSinceBootMillis() in isNetworkSelectionNeeded() local
315 if (gap < MINIMUM_NETWORK_SELECTION_INTERVAL_MS) { in isNetworkSelectionNeeded()
316 localLog("Too short since last network selection: " + gap + " ms." in isNetworkSelectionNeeded()
/frameworks/base/packages/SystemUI/docs/
Dexecutors.md120 There is one notable gap in this implementation: `Handler.postAtFrontOfQueue()`.
/frameworks/av/media/codec2/sfplugin/
DCCodec.cpp286 float gap = (config.mMinAdjustedFps > 0) in configure() local
291 ptrGapParam.nU32 = int32_t(gap); in configure()
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java1234 final int gap = getResources().getDimensionPixelSize(R.dimen.resolver_icon_margin) / 2;
1235 lp.setMarginsRelative(gap, 0, gap, 0);
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp525 const nsecs_t gap = tmono2 - tmono; in getMonoToBoottimeOffset() local
526 if (i == 0 || gap < bestGap) { in getMonoToBoottimeOffset()
527 bestGap = gap; in getMonoToBoottimeOffset()
/frameworks/av/services/audioflinger/
DThreads.cpp338 const nsecs_t gap = tmono2 - tmono; in adjustTimebaseOffset() local
339 if (i == 0 || gap < bestGap) { in adjustTimebaseOffset()
340 bestGap = gap; in adjustTimebaseOffset()
/frameworks/base/core/java/android/widget/
DTextView.java13591 final float gap = textWidth / 3.0f; in start() local
13592 mGhostStart = lineWidth - textWidth + gap; in start()
13594 mGhostOffset = lineWidth + gap; in start()
/frameworks/base/api/
Dcurrent.txt23325 field @Deprecated public int gap;
26154 field public static final String KEY_MAX_PTS_GAP_TO_ENCODER = "max-pts-gap-to-encoder";
/frameworks/base/non-updatable-api/
Dcurrent.txt23325 field @Deprecated public int gap;
26130 field public static final String KEY_MAX_PTS_GAP_TO_ENCODER = "max-pts-gap-to-encoder";
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt13597 field public int gap;