Searched refs:fits (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuPresenter.java72 boolean fits = (itemsToShow.size() == mMaxItems && childIndex < mMaxItems) ||
74 return fits && !item.isActionButton();
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java721 final boolean fits = (dwidth < 0 || vwidth == dwidth) &&
733 if (fits || mMatrix.isIdentity()) {
734 // The bitmap fits exactly, no transform needed.
752 final boolean fits = (dwidth < 0 || vwidth == dwidth) &&
755 if (fits && !mAllowCrop) {
/frameworks/base/core/java/android/widget/
H A DImageView.java922 boolean fits = (dwidth < 0 || vwidth == dwidth) &&
943 } else if (fits) {
944 // The bitmap fits exactly, no transform needed.
H A DGridLayout.java525 * boundaries in whatever order best fits the given constraints.
561 * boundaries in whatever order best fits the given constraints.
695 private static boolean fits(int[] a, int value, int start, int end) { method in class:GridLayout
759 while (!fits(maxSizes, major, minor, minor + minorSpan)) {
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java525 * boundaries in whatever order best fits the given constraints.
561 * boundaries in whatever order best fits the given constraints.
695 private static boolean fits(int[] a, int value, int start, int end) { method in class:GridLayout
759 while (!fits(maxSizes, major, minor, minor + minorSpan)) {

Completed in 408 milliseconds