HomeSort by relevance Sort by last modified time
    Searched refs:centerY (Results 26 - 50 of 90) sorted by null

12 3 4

  /frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
TransformTestActivity.java 98 float centerY = detector.getFocusY();
100 float diffY = centerY - mPosY;
  /packages/apps/Contacts/src/com/android/contacts/quickcontact/
FloatingChildLayout.java 118 final int childTop = target.centerY() - Math.round(childHeight * 0.35f);
155 mChild.setPivotY(mTargetScreen.centerY() - mChild.getTop());
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
SlideshowView.java 149 float centerY = viewHeight / 2 + mMovingVector.y * mProgress;
151 canvas.translate(centerX, centerY, 0);
PhotoView.java 167 private boolean setTileViewPosition(int centerX, int centerY, float scale) {
169 int inverseY = mPositionController.getImageHeight() - centerY;
173 case 0: return t.setPosition(centerX, centerY, scale, 0);
174 case 90: return t.setPosition(centerY, inverseX, scale, 90);
181 public void setPosition(int centerX, int centerY, float scale) {
182 if (setTileViewPosition(centerX, centerY, scale)) {
  /cts/tests/tests/gesture/src/android/gesture/cts/
GestureStrokeTest.java 116 assertEquals(LineGestureStrokeHelper.LINE_MIDWAY_POINT, box.centerY);
  /packages/apps/Gallery/src/com/android/camera/
ImageViewTouchBase.java 307 protected void zoomTo(float scale, float centerX, float centerY) {
315 mSuppMatrix.postScale(deltaScale, deltaScale, centerX, centerY);
321 final float centerY, final float durationMs) {
331 zoomTo(target, centerX, centerY);
  /packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/actions/
CropView.java 207 private void drawIndicator(Canvas canvas, Drawable indicator, float centerX, float centerY) {
209 int top = (int) centerY - indicatorSize / 2;
241 drawIndicator(canvas, cropIndicator, cropped.left, cropped.centerY());
244 drawIndicator(canvas, cropIndicator, cropped.right, cropped.centerY());
  /sdk/rule_api/src/com/android/ide/common/api/
Rect.java 165 public int centerY() {
  /external/skia/samplecode/
SampleArc.cpp 53 canvas->drawLine(r.fLeft, r.centerY(), r.fRight, r.centerY(), p);
SampleLayers.cpp 235 bounds.fBottom = bounds.centerY();
  /frameworks/base/opengl/tests/gl_jni/jni/
gl_code.cpp 25 float centerX, float centerY, float centerZ, float upX, float upY,
32 float fy = centerY - eyeY;
  /frameworks/base/opengl/tests/tritex/
tritex.cpp 36 float centerX, float centerY, float centerZ, float upX, float upY,
43 float fy = centerY - eyeY;
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
ProximityInfo.java 187 final int centerY = y + mCellHeight / 2;
192 if (key.squaredDistanceToEdge(centerX, centerY) < threshold)
  /device/google/accessory/demokit/app/src/com/google/android/DemoKit/
Slider.java 106 int lineY = r.centerY();
  /external/webkit/Source/WebCore/rendering/
RenderImage.cpp 284 int centerY = (usableHeight - image->height()) / 2;
285 if (centerY < 0)
286 centerY = 0;
288 imageY = topBorder + topPad + centerY + 1;
  /frameworks/base/core/java/android/gesture/
GestureUtils.java 131 float preDy = -rect.centerY();
332 float centerY = 0;
337 centerY += points[i];
341 center[1] = 2 * centerY / count;
  /frameworks/base/libs/hwui/
ShapeCache.cpp 135 path.moveTo(r.centerX(), r.centerY());
  /external/replicaisland/src/com/replica/replicaisland/
BackgroundCollisionComponent.java 325 int left, int right, float centerY, Vector2 hitPoint, Vector2 hitNormal,
333 mTestPointStart.y = (centerY);
  /frameworks/base/opengl/tests/gl_basic/
gl_basic.cpp 39 float centerX, float centerY, float centerZ, float upX, float upY,
46 float fy = centerY - eyeY;
  /packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
ImageViewTouchBase.java 357 * @param centerY The vertical center
359 public void zoomTo(float scale, float centerX, float centerY) {
365 mSuppMatrix.postScale(deltaScale, deltaScale, centerX, centerY);
  /frameworks/base/core/java/com/android/internal/widget/
LockPatternView.java 897 final float centerY = getCenterYForRow(currentCell.row);
903 (getCenterYForRow(nextCell.row) - centerY);
905 mInProgressY = centerY + dy;
926 //float centerY = mPaddingTop + i * mSquareHeight + (mSquareHeight / 2);
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
ConstraintPainter.java 733 int ty = targetBounds.centerY();
763 graphics.drawLine(targetBounds.x, targetBounds.centerY(),
764 targetBounds.x2(), targetBounds.centerY());
766 graphics.drawLine(sourceBounds.x, sourceBounds.centerY(),
767 sourceBounds.x2(), sourceBounds.centerY());
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
RectTest.java 482 method = "centerY",
488 assertEquals(15, mRect.centerY());
490 assertEquals(15, mRect.centerY());
492 assertEquals(16, mRect.centerY());
  /hardware/ti/omap4xxx/camera/OMXCameraAdapter/
OMXFD.cpp 459 int centerY = (faces[i].rect[trans_top] + faces[i].rect[trans_bot] ) / 2;
476 (abs(tempCenterY - centerY) < VerticalFilterThreshold) )
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
GridLayoutPainter.java 212 int centerY = bounds.h / 2 + offsetY + y;
226 x1 + (x2 - x1 - 16) / 2, centerY - 3);

Completed in 672 milliseconds

12 3 4