Lines Matching defs:that

28  * This class describes all device configuration information that can
75 /** Constant for {@link #screenLayout}: bits that encode the size. */
78 * value indicating that no size has been set. */
113 /** Constant for {@link #screenLayout}: bits that encode the aspect ratio. */
116 * value indicating that no size has been set. */
119 * value that corresponds to the
124 * value that corresponds to the
129 /** Constant for {@link #screenLayout}: bits that encode the layout direction. */
134 * value indicating that no layout dir has been set. */
137 * value indicating that a layout dir has been set to LTR. */
140 * value indicating that a layout dir has been set to RTL. */
143 /** Constant for {@link #screenLayout}: a value indicating that screenLayout is undefined */
148 * Special flag we generate to indicate that the screen layout requires
149 * us to use a compatibility mode for apps that are not modern layout
262 /** Constant for {@link #touchscreen}: a value indicating that no value has been set. */
281 /** Constant for {@link #keyboard}: a value indicating that no value has been set. */
303 /** Constant for {@link #keyboardHidden}: a value indicating that no value has been set. */
325 /** Constant for {@link #hardKeyboardHidden}: a value indicating that no value has been set. */
337 * user, when that mechanism is closed. One of:
342 /** Constant for {@link #navigation}: a value indicating that no value has been set. */
368 /** Constant for {@link #navigationHidden}: a value indicating that no value has been set. */
382 * controls from the user, when that mechanism is closed. One of:
387 /** Constant for {@link #orientation}: a value indicating that no value has been set. */
406 /** Constant for {@link #uiMode}: bits that encode the mode type. */
409 * value indicating that no mode type has been set. */
412 * value that corresponds to
417 * value that corresponds to the
422 * value that corresponds to the
427 * value that corresponds to the
432 * value that corresponds to the
437 /** Constant for {@link #uiMode}: bits that encode the night mode. */
440 * value indicating that no mode type has been set. */
443 * value that corresponds to the
448 * value that corresponds to the
468 * Default value for {@link #screenWidthDp} indicating that no width
483 * Default value for {@link #screenHeightDp} indicating that no width
498 * Default value for {@link #smallestScreenWidthDp} indicating that no width
515 * Default value for {@link #densityDpi} indicating that no width
991 * @param interestingChanges The configuration changes that the resource
1002 * that 'this' is your current sequence and 'other' is a new one you have
1118 public int compareTo(Configuration that) {
1121 float b = that.fontScale;
1124 n = this.mcc - that.mcc;
1126 n = this.mnc - that.mnc;
1129 if (that.locale != null) return 1;
1130 } else if (that.locale == null) {
1133 n = this.locale.getLanguage().compareTo(that.locale.getLanguage());
1135 n = this.locale.getCountry().compareTo(that.locale.getCountry());
1137 n = this.locale.getVariant().compareTo(that.locale.getVariant());
1140 n = this.touchscreen - that.touchscreen;
1142 n = this.keyboard - that.keyboard;
1144 n = this.keyboardHidden - that.keyboardHidden;
1146 n = this.hardKeyboardHidden - that.hardKeyboardHidden;
1148 n = this.navigation - that.navigation;
1150 n = this.navigationHidden - that.navigationHidden;
1152 n = this.orientation - that.orientation;
1154 n = this.screenLayout - that.screenLayout;
1156 n = this.uiMode - that.uiMode;
1158 n = this.screenWidthDp - that.screenWidthDp;
1160 n = this.screenHeightDp - that.screenHeightDp;
1162 n = this.smallestScreenWidthDp - that.smallestScreenWidthDp;
1164 n = this.densityDpi - that.densityDpi;
1169 public boolean equals(Configuration that) {
1170 if (that == null) return false;
1171 if (that == this) return true;
1172 return this.compareTo(that) == 0;
1175 public boolean equals(Object that) {
1177 return equals((Configuration)that);