Home
last modified time | relevance | path

Searched refs:mSize (Results 1 – 4 of 4) 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/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/ui/
DImageDetailActivity.java181 private final int mSize; field in ImageDetailActivity.ImagePagerAdapter
185 mSize = size; in ImagePagerAdapter()
190 return mSize; in getCount()
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
DViewfinderProcessor.java47 private Size mSize; field in ViewfinderProcessor
56 mSize = dimensions; in ViewfinderProcessor()