diff options
| author | Michael Bestas <mikeioannina@cyanogenmod.org> | 2016-08-05 11:09:14 -0700 |
|---|---|---|
| committer | Michael Bestas <mikeioannina@cyanogenmod.org> | 2016-08-05 11:09:14 -0700 |
| commit | 91cb33803cafc1628349d98d63449b235451095b (patch) | |
| tree | 528035dd6bad1d7a960c13a582a0f7bb86b28c71 | |
| parent | a8ef044be1eb70c0f8a17f0c40d4c5c08bf71593 (diff) | |
| download | android_hardware_lineage_lineagehw-91cb33803cafc1628349d98d63449b235451095b.tar.gz android_hardware_lineage_lineagehw-91cb33803cafc1628349d98d63449b235451095b.tar.bz2 android_hardware_lineage_lineagehw-91cb33803cafc1628349d98d63449b235451095b.zip | |
Revert "cmhw: Add PictureAdjustment stubs"
* Revert until the rest of the topic is merged
to unbreak builds
This reverts commit a8ef044be1eb70c0f8a17f0c40d4c5c08bf71593.
Change-Id: If1ba59c952e899f04b7ac0e23c52f4733c2e505d
| -rw-r--r-- | src/org/cyanogenmod/hardware/PictureAdjustment.java | 103 |
1 files changed, 0 insertions, 103 deletions
diff --git a/src/org/cyanogenmod/hardware/PictureAdjustment.java b/src/org/cyanogenmod/hardware/PictureAdjustment.java deleted file mode 100644 index bbde0e0..0000000 --- a/src/org/cyanogenmod/hardware/PictureAdjustment.java +++ /dev/null @@ -1,103 +0,0 @@ -/* - * Copyright (C) 2016 The CyanogenMod Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.cyanogenmod.hardware; - -import android.annotation.TargetApi; -import android.util.Range; - -import cyanogenmod.hardware.HSIC; - -/** - * Picture adjustment support - * - * Allows tuning of hue, saturation, intensity, and contrast levels - * of the display - */ -public class PictureAdjustment { - - /** - * Whether device supports picture adjustment - * - * @return boolean Supported devices must return always true - */ - public static boolean isSupported() { - return false; - } - - /** - * This method returns the current picture adjustment values - * - * @return the HSIC object or null if not supported - */ - public static HSIC getHSIC() { - return null; - } - - /** - * This method allows to set the picture adjustment - * - * @param hsic - * @return boolean Must be false if feature is not supported or the operation - * failed; true in any other case. - */ - public static boolean setHSIC(final HSIC hsic) { - return false; - } - - /** - * Get the range available for hue adjustment - * @return range of floats - */ - public static Range<Float> getHueRange() { - return new Range(0.0f, 0.0f); - } - - /** - * Get the range available for saturation adjustment - * @return range of floats - */ - public static Range<Float> getSaturationRange() { - return new Range(0.0f, 0.0f); - } - - /** - * Get the range available for intensity adjustment - * @return range of floats - */ - public static Range<Float> getIntensityRange() { - return new Range(0.0f, 0.0f); - } - - /** - * Get the range available for contrast adjustment - * @return range of floats - */ - public static Range<Float> getContrastRange() { - return new Range(0.0f, 0.0f); - } - - /** - * Get the range available for saturation threshold adjustment - * - * This is the threshold where the display becomes fully saturated - * - * @return range of floats - */ - public static Range<Float> getSaturationThresholdRange() { - return new Range(0.0f, 0.0f); - } -} |
