Lines Matching defs:that

28  * This class describes all device configuration information that can
57 * resource qualifier. 0 if undefined. Note that the actual MNC may be 0; in order to check
82 /** Constant for {@link #screenLayout}: bits that encode the size. */
85 * value indicating that no size has been set. */
120 /** Constant for {@link #screenLayout}: bits that encode the aspect ratio. */
123 * value indicating that no size has been set. */
126 * value that corresponds to the
131 * value that corresponds to the
136 /** Constant for {@link #screenLayout}: bits that encode the layout direction. */
141 * value indicating that no layout dir has been set. */
144 * value indicating that a layout dir has been set to LTR. */
147 * value indicating that a layout dir has been set to RTL. */
150 /** Constant for {@link #screenLayout}: a value indicating that screenLayout is undefined */
155 * Special flag we generate to indicate that the screen layout requires
156 * us to use a compatibility mode for apps that are not modern layout
269 /** Constant for {@link #touchscreen}: a value indicating that no value has been set. */
288 /** Constant for {@link #keyboard}: a value indicating that no value has been set. */
310 /** Constant for {@link #keyboardHidden}: a value indicating that no value has been set. */
332 /** Constant for {@link #hardKeyboardHidden}: a value indicating that no value has been set. */
344 * user, when that mechanism is closed. One of:
349 /** Constant for {@link #navigation}: a value indicating that no value has been set. */
375 /** Constant for {@link #navigationHidden}: a value indicating that no value has been set. */
389 * controls from the user, when that mechanism is closed. One of:
394 /** Constant for {@link #orientation}: a value indicating that no value has been set. */
413 /** Constant for {@link #uiMode}: bits that encode the mode type. */
416 * value indicating that no mode type has been set. */
419 * value that corresponds to
424 * value that corresponds to the
429 * value that corresponds to the
434 * value that corresponds to the
439 * value that corresponds to the
444 /** Constant for {@link #uiMode}: bits that encode the night mode. */
447 * value indicating that no mode type has been set. */
450 * value that corresponds to the
455 * value that corresponds to the
475 * Default value for {@link #screenWidthDp} indicating that no width
490 * Default value for {@link #screenHeightDp} indicating that no width
505 * Default value for {@link #smallestScreenWidthDp} indicating that no width
522 * Default value for {@link #densityDpi} indicating that no width
1044 * @param interestingChanges The configuration changes that the resource
1055 * that 'this' is your current sequence and 'other' is a new one you have
1171 public int compareTo(Configuration that) {
1174 float b = that.fontScale;
1177 n = this.mcc - that.mcc;
1179 n = this.mnc - that.mnc;
1182 if (that.locale != null) return 1;
1183 } else if (that.locale == null) {
1186 n = this.locale.getLanguage().compareTo(that.locale.getLanguage());
1188 n = this.locale.getCountry().compareTo(that.locale.getCountry());
1190 n = this.locale.getVariant().compareTo(that.locale.getVariant());
1193 n = this.touchscreen - that.touchscreen;
1195 n = this.keyboard - that.keyboard;
1197 n = this.keyboardHidden - that.keyboardHidden;
1199 n = this.hardKeyboardHidden - that.hardKeyboardHidden;
1201 n = this.navigation - that.navigation;
1203 n = this.navigationHidden - that.navigationHidden;
1205 n = this.orientation - that.orientation;
1207 n = this.screenLayout - that.screenLayout;
1209 n = this.uiMode - that.uiMode;
1211 n = this.screenWidthDp - that.screenWidthDp;
1213 n = this.screenHeightDp - that.screenHeightDp;
1215 n = this.smallestScreenWidthDp - that.smallestScreenWidthDp;
1217 n = this.densityDpi - that.densityDpi;
1222 public boolean equals(Configuration that) {
1223 if (that == null) return false;
1224 if (that == this) return true;
1225 return this.compareTo(that) == 0;
1228 public boolean equals(Object that) {
1230 return equals((Configuration)that);