Home
last modified time | relevance | path

Searched refs:sweep (Results 1 – 25 of 26) sorted by relevance

12

/aosp12/packages/apps/Settings/src/com/android/settings/widget/
H A DChartView.java128 protected void layoutSweep(ChartSweepView sweep) { in layoutSweep() argument
132 layoutSweep(sweep, parentRect, childRect); in layoutSweep()
133 sweep.layout(childRect.left, childRect.top, childRect.right, childRect.bottom); in layoutSweep()
136 protected void layoutSweep(ChartSweepView sweep, Rect parentRect, Rect childRect) { in layoutSweep() argument
137 final Rect sweepMargins = sweep.getMargins(); in layoutSweep()
140 if (sweep.getFollowAxis() == ChartSweepView.VERTICAL) { in layoutSweep()
141 parentRect.top += sweepMargins.top + (int) sweep.getPoint(); in layoutSweep()
145 Gravity.apply(SWEEP_GRAVITY, parentRect.width(), sweep.getMeasuredHeight(), in layoutSweep()
149 parentRect.left += sweepMargins.left + (int) sweep.getPoint(); in layoutSweep()
153 Gravity.apply(SWEEP_GRAVITY, sweep.getMeasuredWidth(), parentRect.height(), in layoutSweep()
H A DChartSweepView.java101 public void onSweep(ChartSweepView sweep, boolean sweepDone); in onSweep() argument
102 public void requestEdit(ChartSweepView sweep); in requestEdit() argument
216 public void setSweepDrawable(Drawable sweep, int color) { in setSweepDrawable() argument
222 if (sweep != null) { in setSweepDrawable()
223 sweep.setCallback(this); in setSweepDrawable()
224 if (sweep.isStateful()) { in setSweepDrawable()
225 sweep.setState(getDrawableState()); in setSweepDrawable()
227 sweep.setVisible(getVisibility() == VISIBLE, false); in setSweepDrawable()
228 mSweep = sweep; in setSweepDrawable()
231 sweep.getPadding(mSweepPadding); in setSweepDrawable()
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
H A DPieItem.java40 private float sweep; field in PieItem
135 sweep = sw; in setGeometry()
140 public void setFixedSlice(float center, float sweep) { in setFixedSlice() argument
142 this.sweep = sweep; in setFixedSlice()
158 return sweep; in getSweep()
H A DPieRenderer.java285 float sweep = (float) (PIE_SWEEP - 2 * emptyangle) / items.size(); in layoutItems() local
286 float angle = centerAngle - PIE_SWEEP / 2 + emptyangle + sweep / 2; in layoutItems()
292 sweep = item.getSweep(); in layoutItems()
296 Path path = makeSlice(getDegrees(0) - gap, getDegrees(sweep) + gap, in layoutItems()
312 float itemstart = angle - sweep / 2; in layoutItems()
313 item.setGeometry(itemstart, sweep, inner, outer); in layoutItems()
318 angle += sweep; in layoutItems()
/aosp12/frameworks/layoutlib/bridge/src/android/graphics/drawable/
H A DGradientDrawable_Delegate.java44 float sweep = useLevel ? (360.0f * level / 10000.0f) : 360f; in buildRing() local
46 if (sweep >= 360 || sweep <= -360) { in buildRing()
/aosp12/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
H A DPieItem.java37 private float sweep; field in PieItem
118 sweep = sw; in setGeometry()
136 return sweep; in getSweep()
H A DPieRenderer.java286 float sweep = (PIE_SWEEP - 2 * emptyangle) / items.size(); in layoutItems() local
287 float angle = centerAngle - PIE_SWEEP / 2 + emptyangle + sweep / 2; in layoutItems()
293 sweep = item.getSweep(); in layoutItems()
297 Path path = makeSlice(getDegrees(0) - gap, getDegrees(sweep) + gap, outer, inner, center); in layoutItems()
312 float itemstart = angle - sweep / 2; in layoutItems()
313 item.setGeometry(itemstart, sweep, inner, outer); in layoutItems()
317 angle += sweep; in layoutItems()
/aosp12/frameworks/layoutlib/bridge/src/android/util/
H A DPathParser_Delegate.java756 double sweep = (eta1 - eta0); in drawArc() local
757 if (isPositiveArc != (sweep >= 0)) { in drawArc()
758 if (sweep > 0) { in drawArc()
759 sweep -= 2 * Math.PI; in drawArc()
761 sweep += 2 * Math.PI; in drawArc()
775 + Math.toDegrees(eta0) + " , " + Math.toDegrees(sweep)); in drawArc()
777 arcToBezier(p, cx, cy, a, b, x0, y0, thetaD, eta0, sweep); in drawArc()
797 double sweep) { in arcToBezier() argument
802 int numSegments = (int) Math.ceil(Math.abs(sweep * 4 / Math.PI)); in arcToBezier()
813 double anglePerSegment = sweep / numSegments; in arcToBezier()
/aosp12/system/memory/libmemunreachable/
H A DREADME.md6sweep garbage collector pass over all native memory, reporting any unreachable blocks as leaks. I…
69 12. The mark-and-sweep pass is performed starting from roots.
81 - `HeapWalker.cpp`: Performs the mark-and-sweep pass over active allocations.
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DMatrixUtils.java72 private static void sweep(final int row, final float[][] squareMatrix0, in sweep() method in MatrixUtils
115 sweep(i, squareMatrix, inverseMatrix, size); in inverse()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
H A DAnqpCacheTest.java113 mCache.sweep(); in sweepRemoveExpiredEntry()
118 mCache.sweep(); in sweepRemoveExpiredEntry()
H A DPasspointManagerTest.java1153 verify(mAnqpCache).sweep(); in sweepCache()
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
H A DAnqpCache.java92 public void sweep() { in sweep() method in AnqpCache
H A DPasspointManager.java962 mAnqpCache.sweep(); in sweepCache()
/aosp12/frameworks/base/graphics/java/android/graphics/drawable/
H A DGradientDrawable.java1012 float sweep = st.mUseLevelForShape ? (360.0f * getLevel() / 10000.0f) : 360f;
1040 if (sweep < 360 && sweep > -360) {
1047 ringPath.arcTo(bounds, 0.0f, sweep, false);
1049 ringPath.arcTo(innerBounds, sweep, -sweep, false);
/aosp12/frameworks/layoutlib/bridge/src/android/graphics/
H A DBaseCanvas_Delegate.java278 final float startAngle, final float sweep, in nDrawArc() argument
287 -startAngle, -sweep, in nDrawArc()
/aosp12/frameworks/base/graphics/java/android/graphics/
H A DBaseRecordingCanvas.java675 float bottom, float startAngle, float sweep, boolean useCenter, long nativePaint); in nDrawArc() argument
H A DBaseCanvas.java770 float bottom, float startAngle, float sweep, boolean useCenter, long nativePaint); in nDrawArc() argument
/aosp12/frameworks/base/core/proto/android/server/
H A Djobscheduler.proto216 // Mapping: standby bucket -> number of heartbeats between each sweep of
/aosp12/hardware/interfaces/renderscript/1.0/
H A DIContext.hal789 * TODO: sweep whole file and remove prefix "v" from all parameter names
/aosp12/frameworks/rs/tests/java_api/Refocus/dataExtraction/
H A DN5.txt602 …0/com.example.xinyiwang.refocus I/art﹕ Background partial concurrent mark sweep GC freed 124(2MB) …
/aosp12/system/memory/libmeminfo/testdata1/
H A Dsmaps54804 … 00000000 00:00 0 [anon:dalvik-concurrent copying sweep array free buffer]
54805 Name: [anon:dalvik-concurrent copying sweep array free buffer]
54949 … 00000000 00:00 0 [anon:dalvik-concurrent copying sweep array free buffer]
54950 Name: [anon:dalvik-concurrent copying sweep array free buffer]
/aosp12/art/build/boot/hiddenapi/
H A Dhiddenapi-max-target-o-low-priority.txt7770 Ljava/util/concurrent/LinkedTransferQueue;->sweep()V
/aosp12/packages/inputmethods/LatinIME/dictionaries/
H A Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
H A Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...

12