Home
last modified time | relevance | path

Searched refs:mAnchorFactor (Results 1 – 2 of 2) sorted by relevance

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