/external/swiftshader/src/OpenGL/libEGL/ |
Texture.hpp | 35 virtual void sweep() = 0; // Garbage collect if no external references 43 sweep();
|
/external/valgrind/none/tests/s390x/ |
clc.c | 50 void sweep(int l) function 60 sweep(0); 61 sweep(1); 62 sweep(2); 63 sweep(3); 64 sweep(4); 65 sweep(5); 66 sweep(22);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/ |
GradientDrawable_Delegate.java | 44 float sweep = useLevel ? (360.0f * level / 10000.0f) : 360f; local 46 if (sweep >= 360 || sweep <= -360) {
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
PieItem.java | 40 private float sweep; field in class:PieItem 135 sweep = sw; 140 public void setFixedSlice(float center, float sweep) { 142 this.sweep = sweep; 158 return sweep;
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/pie/ |
PieRenderer.java | 69 float sweep = (float) (scale * (values[i]) * 360); local 70 offset += sweep; 73 radius, lastOffset, sweep); 80 float rad, float startAngle, float sweep) { 103 PointF r2Outer = calculateLineEnd(cx, cy, rad, startAngle + sweep); 104 PointF r2Inner = calculateLineEnd(cx, cy, donutSizePx, startAngle + sweep); 119 startAngle, sweep); 125 p.arcTo(bounds, startAngle, sweep); 128 // sweep back to original angle: 134 startAngle + sweep, -sweep) [all...] |
/packages/apps/Settings/src/com/android/settings/widget/ |
ChartView.java | 134 protected void layoutSweep(ChartSweepView sweep) { 138 layoutSweep(sweep, parentRect, childRect); 139 sweep.layout(childRect.left, childRect.top, childRect.right, childRect.bottom); 142 protected void layoutSweep(ChartSweepView sweep, Rect parentRect, Rect childRect) { 143 final Rect sweepMargins = sweep.getMargins(); 145 // sweep is always placed along specific dimension 146 if (sweep.getFollowAxis() == ChartSweepView.VERTICAL) { 147 parentRect.top += sweepMargins.top + (int) sweep.getPoint(); 151 Gravity.apply(SWEEP_GRAVITY, parentRect.width(), sweep.getMeasuredHeight(), 155 parentRect.left += sweepMargins.left + (int) sweep.getPoint() [all...] |
ChartDataUsageView.java | 97 final ChartSweepView sweep = (ChartSweepView) msg.obj; 98 updateVertAxisBounds(sweep); 101 // we keep dispatching repeating updates until sweep is dropped 102 sendUpdateAxisDelayed(sweep, true); 243 // since we just changed axis, make sweep recalculate its value 283 private void sendUpdateAxisDelayed(ChartSweepView sweep, boolean force) { 284 if (force || !mHandler.hasMessages(MSG_UPDATE_AXIS, sweep)) { 286 mHandler.obtainMessage(MSG_UPDATE_AXIS, sweep), DELAY_MILLIS); 290 private void clearUpdateAxisDelayed(ChartSweepView sweep) { 291 mHandler.removeMessages(MSG_UPDATE_AXIS, sweep); [all...] |
ChartSweepView.java | 42 * Sweep across a {@link ChartView} at a specific {@link ChartAxis} value, which 101 public void onSweep(ChartSweepView sweep, boolean sweepDone); 102 public void requestEdit(ChartSweepView sweep); 216 public void setSweepDrawable(Drawable sweep, int color) { 222 if (sweep != null) { 223 sweep.setCallback(this); 224 if (sweep.isStateful()) { 225 sweep.setState(getDrawableState()); 227 sweep.setVisible(getVisibility() == VISIBLE, false); 228 mSweep = sweep; [all...] |
/prebuilts/go/darwin-x86/src/runtime/ |
mgcsweep.go | 14 var sweep sweepdata var 16 // State of background sweep. 27 // "sweep finished" message was printed. 39 // sweep any unswept spans. If this is a concurrent GC, there 40 // shouldn't be any spans left to sweep, so this should finish 41 // instantly. If GC was forced before the concurrent sweep 42 // finished, there may be spans to sweep. 44 sweep.npausesweep++ 51 sweep.g = getg() 53 lock(&sweep.lock 167 func (s *mspan) sweep(preserve bool) bool { func [all...] |
mcentral.go | 36 // Deduct credit for this span allocation and sweep if necessary. 49 s.sweep(true) 66 // sweep it and see if we can free some space in it 71 s.sweep(true) 78 // the span is still empty after sweep
|
/prebuilts/go/linux-x86/src/runtime/ |
mgcsweep.go | 14 var sweep sweepdata var 16 // State of background sweep. 27 // "sweep finished" message was printed. 39 // sweep any unswept spans. If this is a concurrent GC, there 40 // shouldn't be any spans left to sweep, so this should finish 41 // instantly. If GC was forced before the concurrent sweep 42 // finished, there may be spans to sweep. 44 sweep.npausesweep++ 51 sweep.g = getg() 53 lock(&sweep.lock 167 func (s *mspan) sweep(preserve bool) bool { func [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
AudioHelper.java | 36 final double frequency, double sweep) { 39 sweep = Math.PI * sweep / ((double)sampleRate * vai.length); 41 int unsigned = (int)(Math.sin(j * (rad + j * sweep)) * Byte.MAX_VALUE) 49 final double frequency, double sweep) { 52 sweep = Math.PI * sweep / ((double)sampleRate * vai.length); 54 vai[j] = (short)(Math.sin(j * (rad + j * sweep)) * Short.MAX_VALUE); 60 final double frequency, double sweep) { 63 sweep = Math.PI * sweep / ((double)sampleRate * vaf.length) [all...] |
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/ |
PieItem.java | 37 private float sweep; field in class:PieItem 118 sweep = sw; 136 return sweep;
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
AnqpCacheTest.java | 83 * Verify the expectation for the sweep function (expired entries will be removed). 91 // Sweep the cache when the entry is not expired. 94 mCache.sweep(); 97 // Sweep the cache when the entry is expired. 99 mCache.sweep();
|
/external/skia/samplecode/ |
SampleArc.cpp | 47 void setSweep(SkScalar sweep) { 48 if (fSweep != sweep) { 49 fSweep = sweep; 119 static void DrawLabel(SkCanvas* canvas, const SkRect& rect, SkScalar start, SkScalar sweep) { 129 str.appendScalar(sweep);
|
SampleDither.cpp | 53 SkScalar sweep = 360.0f; local 60 path.arcTo(bounds, 0, sweep, false); 62 path.arcTo(innerBounds, sweep, -sweep, false);
|
/external/skia/tests/ |
PathOpsAngleIdeas.cpp | 118 static void setQuadHullSweep(const SkDQuad& quad, SkDVector sweep[2]) { 119 sweep[0] = quad[1] - quad[0]; 120 sweep[1] = quad[2] - quad[0]; 130 SkDVector sweep[2], tweep[2]; local 131 setQuadHullSweep(quad1, sweep); 142 double s0dt0 = sweep[0].dot(tweep[0]); 144 double s0xt0 = sweep[0].crossCheck(tweep[0]); 146 double sDist = sweep[0].length() * m; 165 SkDVector sweep[2], tweep[2]; 166 setQuadHullSweep(quad1, sweep); 211 double sweep = end - start; local [all...] |
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-cris/ |
pic-gc-72.d | 8 # Exercise PIC relocs through changed GC sweep function.
|
/frameworks/base/libs/hwui/utils/ |
VectorDrawableUtils.cpp | 111 * @param sweep The angle (positive or negative) of the sweep of the arc on the ellipse 122 double sweep) { 127 int numSegments = ceil(fabs(sweep * 4 / M_PI)); 137 double anglePerSegment = sweep / numSegments; 229 double sweep = (eta1 - eta0); local 230 if (isPositiveArc != (sweep >= 0)) { 231 if (sweep > 0) { 232 sweep -= 2 * M_PI; 234 sweep += 2 * M_PI [all...] |
/frameworks/support/compat/java/android/support/v4/graphics/ |
PathParser.java | 568 // (rx ry x-axis-rotation large-arc-flag sweep-flag x y) 670 double sweep = (eta1 - eta0); local 671 if (isPositiveArc != (sweep >= 0)) { 672 if (sweep > 0) { 673 sweep -= 2 * Math.PI; 675 sweep += 2 * Math.PI; 685 arcToBezier(p, cx, cy, a, b, x0, y0, thetaD, eta0, sweep); 700 * @param sweep The angle (positive or negative) of the sweep of the arc on the ellipse 711 double sweep) { [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
MatrixUtils.java | 72 private static void sweep(final int row, final float[][] squareMatrix0, method in class:MatrixUtils 115 sweep(i, squareMatrix, inverseMatrix, size); method
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
AnqpCache.java | 74 public void sweep() { method in class:AnqpCache 76 // Check if it is time to perform the sweep. 97 out.println("Last sweep " + Utils.toHMS(mClock.getElapsedSinceBootMillis() - mLastSweep)
|
/external/skia/src/utils/ |
SkParsePath.cpp | 167 SkScalar angle, largeArc, sweep; local 174 && (data = find_scalar(data, &sweep, false, 0)) 178 (SkPath::Direction) !SkToBool(sweep), points[0]);
|
/external/skia/src/pathops/ |
SkOpAngle.cpp | 260 const SkDVector* sweep, * tweep; local 262 sweep = this->fPart.fSweep; 265 sweep = &scratch[0]; 273 double s0xt0 = sweep->crossCheck(*tweep); 360 const SkDVector* sweep = this->fPart.fSweep; local 362 double s0xs1 = sweep[0].crossCheck(sweep[1]); 363 double s0xt0 = sweep[0].crossCheck(tweep[0]); 364 double s1xt0 = sweep[1].crossCheck(tweep[0]); 366 double s0xt1 = sweep[0].crossCheck(tweep[1]) 1025 const SkDVector* sweep = fPart.fSweep; local [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
PathParser_Delegate.java | 653 // (rx ry x-axis-rotation large-arc-flag sweep-flag x y) 754 double sweep = (eta1 - eta0); local 755 if (isPositiveArc != (sweep >= 0)) { 756 if (sweep > 0) { 757 sweep -= 2 * Math.PI; 759 sweep += 2 * Math.PI; 770 "cx, cy, a, b, x0, y0, thetaD, eta0, sweep = " + cx + " , " 773 + Math.toDegrees(eta0) + " , " + Math.toDegrees(sweep)); 775 arcToBezier(p, cx, cy, a, b, x0, y0, thetaD, eta0, sweep); [all...] |