Lines Matching defs:diff

380     public static String configurationDiffToString(int diff) {
382 if ((diff & ActivityInfo.CONFIG_MCC) != 0) {
385 if ((diff & ActivityInfo.CONFIG_MNC) != 0) {
388 if ((diff & ActivityInfo.CONFIG_LOCALE) != 0) {
391 if ((diff & ActivityInfo.CONFIG_TOUCHSCREEN) != 0) {
394 if ((diff & ActivityInfo.CONFIG_KEYBOARD) != 0) {
397 if ((diff & ActivityInfo.CONFIG_KEYBOARD_HIDDEN) != 0) {
400 if ((diff & ActivityInfo.CONFIG_NAVIGATION) != 0) {
403 if ((diff & ActivityInfo.CONFIG_ORIENTATION) != 0) {
406 if ((diff & ActivityInfo.CONFIG_SCREEN_LAYOUT) != 0) {
409 if ((diff & ActivityInfo.CONFIG_COLOR_MODE) != 0) {
412 if ((diff & ActivityInfo.CONFIG_UI_MODE) != 0) {
415 if ((diff & ActivityInfo.CONFIG_SCREEN_SIZE) != 0) {
418 if ((diff & ActivityInfo.CONFIG_SMALLEST_SCREEN_SIZE) != 0) {
421 if ((diff & ActivityInfo.CONFIG_LAYOUT_DIRECTION) != 0) {
424 if ((diff & ActivityInfo.CONFIG_FONT_SCALE) != 0) {
427 if ((diff & ActivityInfo.CONFIG_ASSETS_PATHS) != 0) {
763 * between two Configurations will yield a diff flag of
1109 * @return a bit mask of the changed fields, as per {@link #diff}
1320 public int diff(Configuration delta) {
1321 return diff(delta, false /* compareUndefined */, false /* publicOnly */);
1325 * Returns the diff against the provided {@link Configuration} excluding values that would
1333 return diff(delta, false /* compareUndefined */, true /* publicOnly */);
1337 * Variation of {@link #diff(Configuration)} with an option to skip checks for undefined values.
1341 public int diff(Configuration delta, boolean compareUndefined, boolean publicOnly) {
1489 int diff = other.seq - seq;
1490 if (diff > 0x10000) {
1495 return diff > 0;