X-Git-Url: https://rtime.felk.cvut.cz/gitweb/orte.git/blobdiff_plain/f88581426bf62ae773cd5198f697bc27c54bade9:/orte/contrib/shape_android/src/org/ocera/orte/shape4a/BoxType.java..d12ec5819453e323a7ee14b30d0ed1118fb7ed8e:/orte/contrib/shape_android/src/org/ocera/orte/shape_android/BoxType.java diff --git a/orte/contrib/shape_android/src/org/ocera/orte/shape4a/BoxType.java b/orte/contrib/shape_android/src/org/ocera/orte/shape_android/BoxType.java similarity index 89% rename from orte/contrib/shape_android/src/org/ocera/orte/shape4a/BoxType.java rename to orte/contrib/shape_android/src/org/ocera/orte/shape_android/BoxType.java index c8482a5..651536d 100644 --- a/orte/contrib/shape_android/src/org/ocera/orte/shape4a/BoxType.java +++ b/orte/contrib/shape_android/src/org/ocera/orte/shape_android/BoxType.java @@ -1,27 +1,29 @@ /** * - * This file is part of shape4a. + * This file is part of shape_android. * - * shape4a is free software: you can redistribute it and/or modify + * shape_android is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * shape4a is distributed in the hope that it will be useful, + * shape_android is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with shape4a. If not, see . + * along with shape_android. If not, see . * */ -package org.ocera.orte.shape4a; +package org.ocera.orte.shape_android; import org.ocera.orte.DomainApp; import org.ocera.orte.types.MessageData; import org.ocera.orte.types.ORTEConstant; +import android.content.SharedPreferences; +import android.preference.PreferenceManager; import android.util.Log; /** @@ -34,8 +36,8 @@ import android.util.Log; public class BoxType extends MessageData { private static final byte FUZZY = 0; - private static final double DESTINATION_WIDTH = 389.0; - private static final double DESTINATION_HEIGHT = 331.0; + private static final double DESTINATION_WIDTH = 367.0; //389.0; + private static final double DESTINATION_HEIGHT = 261.0; //331.0; public byte color; public byte shape;