Lines Matching refs:mode
36 // Compatibility state: no longer ask user to select the mode.
38 // Compatibility state: compatibility mode is enabled.
81 String mode = parser.getAttributeValue(null, "mode");
83 if (mode != null) {
85 modeInt = Integer.parseInt(mode);
134 // Update -- if the app no longer can run in compat mode, clear
210 public void setFrontActivityScreenCompatModeLocked(int mode) {
216 setPackageScreenCompatModeLocked(r.info.applicationInfo, mode);
231 public void setPackageScreenCompatModeLocked(String packageName, int mode) {
241 setPackageScreenCompatModeLocked(ai, mode);
244 private void setPackageScreenCompatModeLocked(ApplicationInfo ai, int mode) {
250 switch (mode) {
261 Slog.w(TAG, "Unknown screen compat mode req #" + mode + "; ignoring");
274 Slog.w(TAG, "Ignoring compat mode change of " + packageName
279 Slog.w(TAG, "Ignoring compat mode change of " + packageName
361 int mode = entry.getValue();
362 if (mode == 0) {
383 out.attribute(null, "mode", Integer.toString(mode));