Searched refs:newDim (Results 1 – 1 of 1) sorted by relevance
398 private int validateDim(String name, String dimen, int lastDim, int newDim) { in validateDim() argument399 int dim = newDim; in validateDim()405 assertTrue(name + " new " + dimen + " " + newDim in validateDim()407 newDim >= lastDim - 1); in validateDim()408 dim = Math.max(lastDim, newDim); in validateDim()410 assertTrue(name + " new " + dimen + " " + newDim in validateDim()412 newDim <= lastDim + 1); in validateDim()413 dim = Math.min(lastDim, newDim); in validateDim()415 if (newDim != lastDim) { in validateDim()419 assertTrue(name + " " + dimen + " " + newDim + " must be <= " + mMax, in validateDim()[all …]