Home
last modified time | relevance | path

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

/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/
DFoldingLayout.java98 private float [] mDst; field in FoldingLayout
234 mDst = new float[NUM_OF_POLY_POINTS]; in prepareFold()
413 mDst[0] = (anchorPoint > x * mFoldDrawWidth) ? anchorPoint + (x - midFold) * in calculateMatrices()
415 mDst[1] = isEven ? 0 : topScaledPoint; in calculateMatrices()
416 mDst[2] = mDst[0]; in calculateMatrices()
417 mDst[3] = isEven ? mFoldDrawHeight: bottomScaledPoint; in calculateMatrices()
418 mDst[4] = (anchorPoint > (x + 1) * mFoldDrawWidth) ? anchorPoint + (x + 1 - midFold) in calculateMatrices()
420 mDst[5] = isEven ? topScaledPoint : 0; in calculateMatrices()
421 mDst[6] = mDst[4]; in calculateMatrices()
422 mDst[7] = isEven ? bottomScaledPoint : mFoldDrawHeight; in calculateMatrices()
[all …]