Lines Matching defs:mode
165 * Returns the current Daltonization mode.
174 * Sets the current Daltonization mode. This adjusts the color space to correct for or simulate
177 * @param mode the new Daltonization mode, or -1 to disable
179 public void setDaltonizerMode(int mode) {
181 if (mDaltonizerMode != mode) {
182 mDaltonizerMode = mode;
183 applyDaltonizerMode(mode);
215 * Propagates the provided Daltonization mode to the SurfaceFlinger.
217 private static void applyDaltonizerMode(int mode) {
222 data.writeInt(mode);
226 Slog.e(TAG, "Failed to set Daltonizer mode", ex);
291 * Toggles native mode on/off in SurfaceFlinger.