Searched refs:mNumberOfFolds (Results 1 – 2 of 2) sorted by relevance
77 private int mNumberOfFolds = 2; field in FoldingLayout195 if (numberOfFolds != mNumberOfFolds) { in setNumberOfFolds()196 mNumberOfFolds = numberOfFolds; in setNumberOfFolds()214 return mNumberOfFolds; in getNumberOfFolds()218 prepareFold(mOrientation, mAnchorFactor, mNumberOfFolds); in updateFold()262 mNumberOfFolds = numberOfFolds; in prepareFold()267 mFoldRectArray = new Rect[mNumberOfFolds]; in prepareFold()268 mMatrix = new Matrix [mNumberOfFolds]; in prepareFold()270 for (int x = 0; x < mNumberOfFolds; x++) { in prepareFold()283 int delta = Math.round(mIsHorizontal ? ((float) w) / ((float) mNumberOfFolds) : in prepareFold()[all …]
87 private int mNumberOfFolds = 2; field in FoldingLayoutActivity346 mNumberOfFolds = Integer.parseInt(parent.getItemAtPosition(pos).toString()); in onItemSelected()351 mFoldLayout.setNumberOfFolds(mNumberOfFolds); in onItemSelected()