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

  /development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/
FoldingLayout.java 77 private int mNumberOfFolds = 2;
195 if (numberOfFolds != mNumberOfFolds) {
196 mNumberOfFolds = numberOfFolds;
214 return mNumberOfFolds;
218 prepareFold(mOrientation, mAnchorFactor, mNumberOfFolds);
262 mNumberOfFolds = numberOfFolds;
267 mFoldRectArray = new Rect[mNumberOfFolds];
268 mMatrix = new Matrix [mNumberOfFolds];
270 for (int x = 0; x < mNumberOfFolds; x++) {
283 int delta = Math.round(mIsHorizontal ? ((float) w) / ((float) mNumberOfFolds)
    [all...]
FoldingLayoutActivity.java 87 private int mNumberOfFolds = 2;
346 mNumberOfFolds = Integer.parseInt(parent.getItemAtPosition(pos).toString());
351 mFoldLayout.setNumberOfFolds(mNumberOfFolds);

Completed in 420 milliseconds