/packages/services/BuiltInPrintService/jni/lib/ |
D | printer.c | 177 struct sockaddr_in sin; in wConnect() local 186 memset((char *) &sin, 0, sizeof(sin)); in wConnect() 187 sin.sin_family = AF_INET; in wConnect() 188 sin.sin_port = htons(port_num); in wConnect() 190 if ((sin.sin_addr.s_addr = inet_addr(printer_addr)) == -1) { in wConnect() 197 (void) memcpy(&(sin.sin_addr.s_addr), h_info->h_addr, h_info->h_length); in wConnect() 209 int socketConnect = connect(psock, (const struct sockaddr *) &sin, sizeof(sin)); in wConnect()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | PreviewOverlay.java | 342 mCenterY - mInnerRadius * (float) Math.sin(mFingerAngle), in draw() 344 mCenterY - mOuterRadius * (float) Math.sin(mFingerAngle), mPaint); in draw() 346 mCenterY + mInnerRadius * (float) Math.sin(mFingerAngle), in draw() 348 mCenterY + mOuterRadius * (float) Math.sin(mFingerAngle), mPaint); in draw() 354 mCenterY - mInnerRadius * (float) Math.sin(mFingerAngle), in draw() 356 mCenterY - zoomRadius * (float) Math.sin(mFingerAngle), mPaint); in draw() 358 mCenterY + mInnerRadius * (float) Math.sin(mFingerAngle), in draw() 360 mCenterY + zoomRadius * (float) Math.sin(mFingerAngle), mPaint); in draw()
|
/packages/apps/SoundRecorder/src/com/android/soundrecorder/ |
D | VUMeter.java | 94 float sin = (float) Math.sin(mCurrentAngle); in onDraw() local 97 float y0 = pivotY - l*sin; in onDraw()
|
/packages/apps/WallpaperPicker/src/com/android/photos/views/ |
D | TiledImageRenderer.java | 367 double sin = Math.sin(radians); in getRange() local 369 Math.abs(cos * w - sin * h), Math.abs(cos * w + sin * h))); in getRange() 371 Math.abs(sin * w + cos * h), Math.abs(sin * w - cos * h))); in getRange()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | TileImageView.java | 309 double sin = Math.sin(radians); in getRange() local 311 Math.abs(cos * w - sin * h), Math.abs(cos * w + sin * h))); in getRange() 313 Math.abs(sin * w + cos * h), Math.abs(sin * w - cos * h))); in getRange()
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | TiledImageRenderer.java | 367 double sin = Math.sin(radians); in getRange() local 369 Math.abs(cos * w - sin * h), Math.abs(cos * w + sin * h))); in getRange() 371 Math.abs(sin * w + cos * h), Math.abs(sin * w - cos * h))); in getRange()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | RoundedLine.java | 64 final float sina = (float)Math.sin(aa); in makePath() 66 final float sinb = (float)Math.sin(ab); in makePath()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | EclipseControl.java | 174 float sin45 = (float) Math.sin(45); in actionMove() 274 float y = cy + (float) (ry * Math.sin(angle)); in paintOvallines() 293 float y = cy + (float) (ry * Math.sin(angle)); in fillHandles()
|
D | ImageStraighten.java | 191 double sina = Math.sin(a); in getUntranslatedStraightenCropBounds()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/face/ |
D | AnimationParticle.java | 148 * (float) Math.sin(tSec * PULSE_SPEED_NORMAL + mOffsetTimeSec) in updateDot() 223 mBounds.exactCenterY() + h * (float) Math.sin(mCurrentAngle), in drawDot()
|
/packages/apps/Settings/src/com/android/settings/biometrics/face/ |
D | AnimationParticle.java | 148 * (float) Math.sin(tSec * PULSE_SPEED_NORMAL + mOffsetTimeSec) in updateDot() 223 mBounds.exactCenterY() + h * (float) Math.sin(mCurrentAngle), in drawDot()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | GalleryUtils.java | 178 double dlat = Math.sin(0.5 * (lat2 - lat1)); in accurateDistanceMeters() 179 double dlng = Math.sin(0.5 * (lng2 - lng1)); in accurateDistanceMeters()
|
D | MotionEventHelper.java | 106 v[0] = (float) Math.sin(angleRadians); in transformAngle()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | ClippedFolderIconLayoutRule.java | 126 result[1] = mAvailableSpace / 2 + (float) (- radius * Math.sin(theta) / 2) - halfIconSize; in getPosition()
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | DismissAnimationHelper.java | 160 * (float) Math.sin((moveDeltaX / width) * (Math.PI / 2)); in calculateTranslateDistance()
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
D | TimerCircleView.java | 144 final float dotY = yCenter + (float) (radius * Math.sin(dotAngleRadians)); in onDraw()
|
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/ |
D | SimulatorRemoteVideo.java | 122 circleY += (float) Math.sin(angle) * CIRCLE_STEP; in moveCircle()
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
D | StopwatchCircleView.java | 161 final float dotY = yCenter + (float) (radius * Math.sin(dotAngleRadians)); in onDraw()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | ColorSpaceMatrix.java | 152 float zrs = (float) Math.sin(rot * Math.PI / 180.0); in setHue()
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | ZoomControlWheel.java | 127 int y = mCenterY - (int)(mWheelRadius * Math.sin(radian)); in layoutIcon()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
D | PieRenderer.java | 309 int y = mCenter.y - (int) (r * Math.sin(angle)) - h / 2; in layoutItems() 677 out.y = (int) (radius * Math.sin(a) + 0.5); in convertCart()
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/ |
D | PieRenderer.java | 309 int y = center.y - (int) (r * Math.sin(angle)) - h / 2; in layoutItems() 677 out.y = (int) (radius * Math.sin(a) + 0.5); in convertCart()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | EyePosition.java | 47 private static final float USER_ANGEL_SIN = (float) Math.sin(USER_ANGEL);
|
/packages/screensavers/Basic/src/com/android/dreams/basic/ |
D | ColorsGLRenderer.java | 414 final float freq = (float) Math.sin(2 * Math.PI * t / cornerFrequencies[i]); in draw()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | PhotoTable.java | 367 final double[] left = { Math.sin(alpha - beta), in moveFocus() 369 final double[] right = { Math.sin(alpha + beta), in moveFocus()
|