Home
last modified time | relevance | path

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

/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/
DFoldingLayout.java79 private boolean mIsHorizontal = true; field in FoldingLayout
247 mIsHorizontal = (orientation == Orientation.HORIZONTAL); in prepareFold()
249 if (mIsHorizontal) { in prepareFold()
283 int delta = Math.round(mIsHorizontal ? ((float) w) / ((float) mNumberOfFolds) : in prepareFold()
291 if (mIsHorizontal) { in prepareFold()
300 if (mIsHorizontal) { in prepareFold()
348 float translatedDistance = mIsHorizontal ? mOriginalWidth * cTranslationFactor : in calculateMatrices()
363 float depth = mIsHorizontal ? in calculateMatrices()
377 if (mIsHorizontal) { in calculateMatrices()
391 float anchorPoint = mIsHorizontal ? mAnchorFactor * mOriginalWidth : in calculateMatrices()
[all …]