Home
last modified time | relevance | path

Searched refs:mSize (Results 1 – 3 of 3) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/view/
DGameView.java505 protected float mSize;
520 mSize = size;
534 && distanceTo(other) <= Math.max(mSize, other.mSize)
535 + Math.min(mSize, other.mSize) * 0.5f;
569 while (mPositionX <= -mSize) {
570 mPositionX += width + mSize * 2;
572 while (mPositionX >= width + mSize) {
573 mPositionX -= width + mSize * 2;
575 while (mPositionY <= -mSize) {
576 mPositionY += height + mSize * 2;
[all …]
/development/samples/ControllerSample/src/com/example/controllersample/
DGameView.java502 protected float mSize; field in GameView.Sprite
517 mSize = size; in setSize()
531 && distanceTo(other) <= Math.max(mSize, other.mSize) in collidesWith()
532 + Math.min(mSize, other.mSize) * 0.5f; in collidesWith()
593 while (mPositionX <= -mSize) { in wrapAtPlayfieldBoundary()
594 mPositionX += width + mSize * 2; in wrapAtPlayfieldBoundary()
596 while (mPositionX >= width + mSize) { in wrapAtPlayfieldBoundary()
597 mPositionX -= width + mSize * 2; in wrapAtPlayfieldBoundary()
599 while (mPositionY <= -mSize) { in wrapAtPlayfieldBoundary()
600 mPositionY += height + mSize * 2; in wrapAtPlayfieldBoundary()
[all …]
/development/samples/training/bitmapfun/BitmapFun/src/main/java/com/example/android/bitmapfun/ui/
DImageDetailActivity.java180 private final int mSize; field in ImageDetailActivity.ImagePagerAdapter
184 mSize = size; in ImagePagerAdapter()
189 return mSize; in getCount()