HomeSort by relevance Sort by last modified time
    Searched refs:mAnchorFactor (Results 1 - 2 of 2) sorted by null

  /development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/
FoldingLayout.java 74 private float mAnchorFactor = 0;
188 if (anchorFactor != mAnchorFactor) {
189 mAnchorFactor = anchorFactor;
202 return mAnchorFactor;
218 prepareFold(mOrientation, mAnchorFactor, mNumberOfFolds);
261 mAnchorFactor = anchorFactor;
391 float anchorPoint = mIsHorizontal ? mAnchorFactor * mOriginalWidth :
392 mAnchorFactor * mOriginalHeight;
FoldingLayoutActivity.java 91 private float mAnchorFactor = 0;
246 mAnchorFactor = ((float)mAnchorSeekBar.getProgress())/100.0f;
247 mFoldLayout.setAnchorFactor(mAnchorFactor);
388 if ((e2.getY() - mParentPositionY) > mFoldLayout.getHeight() * mAnchorFactor) {
404 if (e2.getRawX() > mFoldLayout.getWidth() * mAnchorFactor) {

Completed in 28 milliseconds