| * $LastChangedBy$ | * $LastChangedBy$ | ||||
| * $LastChangedDate$ | * $LastChangedDate$ | ||||
| * | * | ||||
| * Copyright (c) 2005 syseca AG, Switzerland | |||||
| * Copyright (c) 2011 spherIC, Switzerland | |||||
| * All rights reserved. | * All rights reserved. | ||||
| * | * | ||||
| * This software is the confidential and proprietary information | * This software is the confidential and proprietary information | ||||
| * of syseca AG. ("Confidential Information"). You shall not | |||||
| * of spherIC. ("Confidential Information"). You shall not | |||||
| * disclose such Confidential Information and shall use it only | * disclose such Confidential Information and shall use it only | ||||
| * in accordance with the terms of the license agreement you | * in accordance with the terms of the license agreement you | ||||
| * entered into with syseca AG. | |||||
| * entered into with spherIC. | |||||
| */ | */ | ||||
| package ch.spherIC; | package ch.spherIC; | ||||
| import android.app.Activity; | import android.app.Activity; | ||||
| import android.app.Dialog; | import android.app.Dialog; | ||||
| import android.content.pm.PackageManager; | import android.content.pm.PackageManager; | ||||
| import android.content.pm.PackageManager.NameNotFoundException; | import android.content.pm.PackageManager.NameNotFoundException; | ||||
| import android.view.View; | import android.view.View; | ||||
| import android.view.View.OnClickListener; | import android.view.View.OnClickListener; | ||||
| import android.widget.Button; | import android.widget.Button; | ||||
| import android.widget.ImageView; | import android.widget.ImageView; | ||||
| import android.widget.TextView; | import android.widget.TextView; | ||||
| import ch.spherIC.settings.SettingsDlg; | import ch.spherIC.settings.SettingsDlg; | ||||
| switch (dlgCode) { | switch (dlgCode) { | ||||
| case EasyBracketMain.ABOUT_DLG: | |||||
| dlg = createAboutDialog(parent); | |||||
| break; | |||||
| case EasyBracketMain.ABOUT_DLG: | |||||
| dlg = createAboutDialog(parent); | |||||
| break; | |||||
| case EasyBracketMain.SETTINGS_DLG: | |||||
| dlg = createSettingsDialog(parent); | |||||
| break; | |||||
| case EasyBracketMain.SETTINGS_DLG: | |||||
| dlg = createSettingsDialog(parent); | |||||
| break; | |||||
| case EasyBracketMain.USERGUIDE_DLG: | |||||
| dlg = createUserGuideDialog(parent); | |||||
| break; | |||||
| case EasyBracketMain.USERGUIDE_DLG: | |||||
| dlg = createUserGuideDialog(parent); | |||||
| break; | |||||
| default: | |||||
| dlg = null; | |||||
| break; | |||||
| default: | |||||
| dlg = null; | |||||
| break; | |||||
| } | } | ||||
| return dlg; | return dlg; | ||||
| dialog.setTitle(parent.getResources().getText(R.string.menuAbout) + " EasyBracketing..."); | dialog.setTitle(parent.getResources().getText(R.string.menuAbout) + " EasyBracketing..."); | ||||
| try { | try { | ||||
| versionName = parent.getPackageManager().getPackageInfo("ch.spherIC", PackageManager.GET_CONFIGURATIONS) | |||||
| .versionName; | |||||
| versionName = parent.getPackageManager().getPackageInfo("ch.spherIC", PackageManager.GET_CONFIGURATIONS).versionName; | |||||
| } catch (NameNotFoundException e) { | } catch (NameNotFoundException e) { | ||||
| versionName = "-"; | versionName = "-"; | ||||
| } | } | ||||
| dialog.setTitle(parent.getResources().getText(R.string.menuUserGuide)); | dialog.setTitle(parent.getResources().getText(R.string.menuUserGuide)); | ||||
| try { | try { | ||||
| versionName = parent.getPackageManager().getPackageInfo("ch.spherIC", PackageManager.GET_CONFIGURATIONS) | |||||
| .versionName; | |||||
| versionName = parent.getPackageManager().getPackageInfo("ch.spherIC", PackageManager.GET_CONFIGURATIONS).versionName; | |||||
| } catch (NameNotFoundException e) { | } catch (NameNotFoundException e) { | ||||
| versionName = "-"; | versionName = "-"; | ||||
| } | } |
| * $LastChangedBy$ | * $LastChangedBy$ | ||||
| * $LastChangedDate$ | * $LastChangedDate$ | ||||
| * | * | ||||
| * Copyright (c) 2005 syseca AG, Switzerland | |||||
| * Copyright (c) 2011 spherIC, Switzerland | |||||
| * All rights reserved. | * All rights reserved. | ||||
| * | * | ||||
| * This software is the confidential and proprietary information | * This software is the confidential and proprietary information | ||||
| * of syseca AG. ("Confidential Information"). You shall not | |||||
| * of spherIC. ("Confidential Information"). You shall not | |||||
| * disclose such Confidential Information and shall use it only | * disclose such Confidential Information and shall use it only | ||||
| * in accordance with the terms of the license agreement you | * in accordance with the terms of the license agreement you | ||||
| * entered into with syseca AG. | |||||
| * entered into with spherIC. | |||||
| */ | */ | ||||
| package ch.spherIC; | package ch.spherIC; | ||||
| * $LastChangedBy$ | * $LastChangedBy$ | ||||
| * $LastChangedDate$ | * $LastChangedDate$ | ||||
| * | * | ||||
| * Copyright (c) 2005 syseca AG, Switzerland | |||||
| * Copyright (c) 2011 spherIC, Switzerland | |||||
| * All rights reserved. | * All rights reserved. | ||||
| * | * | ||||
| * This software is the confidential and proprietary information | * This software is the confidential and proprietary information | ||||
| * of syseca AG. ("Confidential Information"). You shall not | |||||
| * of spherIC. ("Confidential Information"). You shall not | |||||
| * disclose such Confidential Information and shall use it only | * disclose such Confidential Information and shall use it only | ||||
| * in accordance with the terms of the license agreement you | * in accordance with the terms of the license agreement you | ||||
| * entered into with syseca AG. | |||||
| * entered into with spherIC. | |||||
| */ | */ | ||||
| package ch.spherIC.components; | package ch.spherIC.components; | ||||
| import android.content.Context; | import android.content.Context; | ||||
| import android.util.AttributeSet; | import android.util.AttributeSet; | ||||
| * $LastChangedBy$ | * $LastChangedBy$ | ||||
| * $LastChangedDate$ | * $LastChangedDate$ | ||||
| * | * | ||||
| * Copyright (c) 2005 syseca AG, Switzerland | |||||
| * Copyright (c) 2011 spherIC, Switzerland | |||||
| * All rights reserved. | * All rights reserved. | ||||
| * | * | ||||
| * This software is the confidential and proprietary information | * This software is the confidential and proprietary information | ||||
| * of syseca AG. ("Confidential Information"). You shall not | |||||
| * of spherIC. ("Confidential Information"). You shall not | |||||
| * disclose such Confidential Information and shall use it only | * disclose such Confidential Information and shall use it only | ||||
| * in accordance with the terms of the license agreement you | * in accordance with the terms of the license agreement you | ||||
| * entered into with syseca AG. | |||||
| * entered into with spherIC. | |||||
| */ | */ | ||||
| package ch.spherIC.components; | package ch.spherIC.components; | ||||
| import android.content.Context; | import android.content.Context; | ||||
| import android.util.AttributeSet; | import android.util.AttributeSet; | ||||
| * $LastChangedBy$ | * $LastChangedBy$ | ||||
| * $LastChangedDate$ | * $LastChangedDate$ | ||||
| * | * | ||||
| * Copyright (c) 2005 syseca AG, Switzerland | |||||
| * Copyright (c) 2011 spherIC, Switzerland | |||||
| * All rights reserved. | * All rights reserved. | ||||
| * | * | ||||
| * This software is the confidential and proprietary information | * This software is the confidential and proprietary information | ||||
| * of syseca AG. ("Confidential Information"). You shall not | |||||
| * of spherIC. ("Confidential Information"). You shall not | |||||
| * disclose such Confidential Information and shall use it only | * disclose such Confidential Information and shall use it only | ||||
| * in accordance with the terms of the license agreement you | * in accordance with the terms of the license agreement you | ||||
| * entered into with syseca AG. | |||||
| * entered into with spherIC. | |||||
| */ | */ | ||||
| package ch.spherIC.components; | package ch.spherIC.components; | ||||
| import android.content.Context; | import android.content.Context; | ||||
| import android.util.AttributeSet; | import android.util.AttributeSet; | ||||
| import android.widget.Spinner; | import android.widget.Spinner; | ||||
| * $LastChangedBy$ | * $LastChangedBy$ | ||||
| * $LastChangedDate$ | * $LastChangedDate$ | ||||
| * | * | ||||
| * Copyright (c) 2005 syseca AG, Switzerland | |||||
| * Copyright (c) 2011 spherIC, Switzerland | |||||
| * All rights reserved. | * All rights reserved. | ||||
| * | * | ||||
| * This software is the confidential and proprietary information | * This software is the confidential and proprietary information | ||||
| * of syseca AG. ("Confidential Information"). You shall not | |||||
| * of spherIC. ("Confidential Information"). You shall not | |||||
| * disclose such Confidential Information and shall use it only | * disclose such Confidential Information and shall use it only | ||||
| * in accordance with the terms of the license agreement you | * in accordance with the terms of the license agreement you | ||||
| * entered into with syseca AG. | |||||
| * entered into with spherIC. | |||||
| */ | */ | ||||
| package ch.spherIC.components; | package ch.spherIC.components; | ||||
| import android.content.Context; | import android.content.Context; | ||||
| import android.content.res.TypedArray; | import android.content.res.TypedArray; | ||||
| import android.graphics.Canvas; | import android.graphics.Canvas; | ||||
| import android.graphics.Paint; | import android.graphics.Paint; | ||||
| import android.graphics.Rect; | import android.graphics.Rect; | ||||
| import android.util.AttributeSet; | import android.util.AttributeSet; | ||||
| import android.widget.TextView; | import android.widget.TextView; | ||||
| import ch.spherIC.R; | import ch.spherIC.R; | ||||
| this.drawborderWidth = a.getDimensionPixelSize(R.styleable.XTextView_drawBorderWidth, 1); | this.drawborderWidth = a.getDimensionPixelSize(R.styleable.XTextView_drawBorderWidth, 1); | ||||
| if (this.drawborder) { | if (this.drawborder) { | ||||
| setPadding(getPaddingLeft() + this.drawborderWidth, getPaddingTop() + this.drawborderWidth, | |||||
| getPaddingRight() + this.drawborderWidth, getPaddingBottom() + this.drawborderWidth); | |||||
| setPadding(getPaddingLeft() + this.drawborderWidth, getPaddingTop() + this.drawborderWidth, getPaddingRight() + this.drawborderWidth, | |||||
| getPaddingBottom() + this.drawborderWidth); | |||||
| } | } | ||||
| } | } | ||||
| * $LastChangedBy$ | * $LastChangedBy$ | ||||
| * $LastChangedDate$ | * $LastChangedDate$ | ||||
| * | * | ||||
| * Copyright (c) 2005 syseca AG, Switzerland | |||||
| * Copyright (c) 2011 spherIC, Switzerland | |||||
| * All rights reserved. | * All rights reserved. | ||||
| * | * | ||||
| * This software is the confidential and proprietary information | * This software is the confidential and proprietary information | ||||
| * of syseca AG. ("Confidential Information"). You shall not | |||||
| * of spherIC. ("Confidential Information"). You shall not | |||||
| * disclose such Confidential Information and shall use it only | * disclose such Confidential Information and shall use it only | ||||
| * in accordance with the terms of the license agreement you | * in accordance with the terms of the license agreement you | ||||
| * entered into with syseca AG. | |||||
| * entered into with spherIC. | |||||
| */ | */ | ||||
| package ch.spherIC.resultlist; | package ch.spherIC.resultlist; | ||||
| import java.text.DecimalFormat; | |||||
| import android.graphics.Bitmap; | import android.graphics.Bitmap; | ||||
| import java.text.DecimalFormat; | |||||
| /** | /** | ||||
| * Exposure result class. | * Exposure result class. |
| * $LastChangedBy$ | * $LastChangedBy$ | ||||
| * $LastChangedDate$ | * $LastChangedDate$ | ||||
| * | * | ||||
| * Copyright (c) 2005 syseca AG, Switzerland | |||||
| * Copyright (c) 2011 spherIC, Switzerland | |||||
| * All rights reserved. | * All rights reserved. | ||||
| * | * | ||||
| * This software is the confidential and proprietary information | * This software is the confidential and proprietary information | ||||
| * of syseca AG. ("Confidential Information"). You shall not | |||||
| * of spherIC. ("Confidential Information"). You shall not | |||||
| * disclose such Confidential Information and shall use it only | * disclose such Confidential Information and shall use it only | ||||
| * in accordance with the terms of the license agreement you | * in accordance with the terms of the license agreement you | ||||
| * entered into with syseca AG. | |||||
| * entered into with spherIC. | |||||
| */ | */ | ||||
| package ch.spherIC.resultlist; | package ch.spherIC.resultlist; | ||||
| import java.util.List; | |||||
| import android.app.Activity; | import android.app.Activity; | ||||
| import android.content.Context; | import android.content.Context; | ||||
| import android.util.DisplayMetrics; | import android.util.DisplayMetrics; | ||||
| import android.view.Gravity; | import android.view.Gravity; | ||||
| import android.view.View; | import android.view.View; | ||||
| import android.view.ViewGroup; | import android.view.ViewGroup; | ||||
| import android.widget.BaseAdapter; | import android.widget.BaseAdapter; | ||||
| import android.widget.ImageView; | import android.widget.ImageView; | ||||
| import android.widget.LinearLayout; | import android.widget.LinearLayout; | ||||
| import android.widget.TextView; | |||||
| import android.widget.LinearLayout.LayoutParams; | import android.widget.LinearLayout.LayoutParams; | ||||
| import android.widget.TextView; | |||||
| import ch.spherIC.R; | import ch.spherIC.R; | ||||
| import java.util.List; | |||||
| /** | /** | ||||
| * Exposure adapter view class. | * Exposure adapter view class. | ||||
| // Nbr | // Nbr | ||||
| TextView nbrControl = new TextView(context); | TextView nbrControl = new TextView(context); | ||||
| LinearLayout.LayoutParams nbrParams = new LinearLayout.LayoutParams(Math.round(0.14583f * width), | |||||
| LayoutParams.WRAP_CONTENT, 0.2f); | |||||
| LinearLayout.LayoutParams nbrParams = new LinearLayout.LayoutParams(Math.round(0.14583f * width), LayoutParams.WRAP_CONTENT, 0.2f); | |||||
| nbrParams.setMargins(3, 1, 1, 1); | nbrParams.setMargins(3, 1, 1, 1); | ||||
| nbrControl.setGravity(Gravity.CENTER_HORIZONTAL | Gravity.CENTER_VERTICAL); | nbrControl.setGravity(Gravity.CENTER_HORIZONTAL | Gravity.CENTER_VERTICAL); | ||||
| nbrControl.setTextAppearance(context, R.style.ResultExposureText); | nbrControl.setTextAppearance(context, R.style.ResultExposureText); | ||||
| // Aperture | // Aperture | ||||
| TextView apertureControl = new TextView(context); | TextView apertureControl = new TextView(context); | ||||
| LinearLayout.LayoutParams apertureParams = new LinearLayout.LayoutParams(Math.round(0.20833f * width), | |||||
| LayoutParams.WRAP_CONTENT, 0.2f); | |||||
| LinearLayout.LayoutParams apertureParams = new LinearLayout.LayoutParams(Math.round(0.20833f * width), LayoutParams.WRAP_CONTENT, 0.2f); | |||||
| apertureParams.setMargins(1, 1, 1, 1); | apertureParams.setMargins(1, 1, 1, 1); | ||||
| apertureControl.setGravity(Gravity.CENTER_HORIZONTAL | Gravity.CENTER_VERTICAL); | apertureControl.setGravity(Gravity.CENTER_HORIZONTAL | Gravity.CENTER_VERTICAL); | ||||
| apertureControl.setTextAppearance(context, R.style.ResultExposureText); | apertureControl.setTextAppearance(context, R.style.ResultExposureText); | ||||
| // Shutter speed | // Shutter speed | ||||
| TextView shutterControl = new TextView(context); | TextView shutterControl = new TextView(context); | ||||
| LinearLayout.LayoutParams shutterParams = new LinearLayout.LayoutParams(Math.round(0.35417f * width), | |||||
| LayoutParams.WRAP_CONTENT, 0.2f); | |||||
| LinearLayout.LayoutParams shutterParams = new LinearLayout.LayoutParams(Math.round(0.35417f * width), LayoutParams.WRAP_CONTENT, 0.2f); | |||||
| shutterParams.setMargins(1, 1, 1, 1); | shutterParams.setMargins(1, 1, 1, 1); | ||||
| shutterControl.setGravity(Gravity.CENTER_HORIZONTAL | Gravity.CENTER_VERTICAL); | shutterControl.setGravity(Gravity.CENTER_HORIZONTAL | Gravity.CENTER_VERTICAL); | ||||
| shutterControl.setTextAppearance(context, R.style.ResultExposureTextSpecial); | shutterControl.setTextAppearance(context, R.style.ResultExposureTextSpecial); | ||||
| // EV Step | // EV Step | ||||
| TextView evStepControl = new TextView(context); | TextView evStepControl = new TextView(context); | ||||
| LinearLayout.LayoutParams evStepParams = new LinearLayout.LayoutParams(Math.round(0.14583f * width), | |||||
| LayoutParams.WRAP_CONTENT, 0.2f); | |||||
| LinearLayout.LayoutParams evStepParams = new LinearLayout.LayoutParams(Math.round(0.14583f * width), LayoutParams.WRAP_CONTENT, 0.2f); | |||||
| evStepParams.setMargins(1, 1, 1, 1); | evStepParams.setMargins(1, 1, 1, 1); | ||||
| evStepControl.setGravity(Gravity.CENTER_HORIZONTAL | Gravity.CENTER_VERTICAL); | evStepControl.setGravity(Gravity.CENTER_HORIZONTAL | Gravity.CENTER_VERTICAL); | ||||
| evStepControl.setTextAppearance(context, R.style.ResultExposureText); | evStepControl.setTextAppearance(context, R.style.ResultExposureText); | ||||
| // Icon | // Icon | ||||
| ImageView expIconControl = new ImageView(context); | ImageView expIconControl = new ImageView(context); | ||||
| LinearLayout.LayoutParams expIconParams = new LinearLayout.LayoutParams(Math.round(0.14583f * width), | |||||
| LayoutParams.WRAP_CONTENT, 0.2f); | |||||
| LinearLayout.LayoutParams expIconParams = new LinearLayout.LayoutParams(Math.round(0.14583f * width), LayoutParams.WRAP_CONTENT, 0.2f); | |||||
| expIconParams.setMargins(1, 1, 1, 1); | expIconParams.setMargins(1, 1, 1, 1); | ||||
| expIconControl.setImageBitmap(exposure.getEvStepBtmp()); | expIconControl.setImageBitmap(exposure.getEvStepBtmp()); | ||||
| addView(expIconControl, expIconParams); | addView(expIconControl, expIconParams); | ||||
| // Nbr | // Nbr | ||||
| TextView nbrControl = new TextView(context); | TextView nbrControl = new TextView(context); | ||||
| LinearLayout.LayoutParams nbrParams = new LinearLayout.LayoutParams(Math.round(0.14583f * width), | |||||
| LayoutParams.WRAP_CONTENT, 0.2f); | |||||
| LinearLayout.LayoutParams nbrParams = new LinearLayout.LayoutParams(Math.round(0.14583f * width), LayoutParams.WRAP_CONTENT, 0.2f); | |||||
| nbrParams.setMargins(3, 1, 1, 1); | nbrParams.setMargins(3, 1, 1, 1); | ||||
| nbrControl.setGravity(Gravity.CENTER_HORIZONTAL | Gravity.CENTER_VERTICAL); | nbrControl.setGravity(Gravity.CENTER_HORIZONTAL | Gravity.CENTER_VERTICAL); | ||||
| nbrControl.setTextSize(13f); | nbrControl.setTextSize(13f); | ||||
| // Aperture | // Aperture | ||||
| TextView apertureControl = new TextView(context); | TextView apertureControl = new TextView(context); | ||||
| LinearLayout.LayoutParams apertureParams = new LinearLayout.LayoutParams(Math.round(0.20833f * width), | |||||
| LayoutParams.WRAP_CONTENT, 0.2f); | |||||
| LinearLayout.LayoutParams apertureParams = new LinearLayout.LayoutParams(Math.round(0.20833f * width), LayoutParams.WRAP_CONTENT, 0.2f); | |||||
| apertureParams.setMargins(1, 1, 1, 1); | apertureParams.setMargins(1, 1, 1, 1); | ||||
| apertureControl.setGravity(Gravity.CENTER_HORIZONTAL | Gravity.CENTER_VERTICAL); | apertureControl.setGravity(Gravity.CENTER_HORIZONTAL | Gravity.CENTER_VERTICAL); | ||||
| apertureControl.setTextSize(13f); | apertureControl.setTextSize(13f); | ||||
| // Shutter speed | // Shutter speed | ||||
| TextView shutterControl = new TextView(context); | TextView shutterControl = new TextView(context); | ||||
| LinearLayout.LayoutParams shutterParams = new LinearLayout.LayoutParams(Math.round(0.35417f * width), | |||||
| LayoutParams.WRAP_CONTENT, 0.2f); | |||||
| LinearLayout.LayoutParams shutterParams = new LinearLayout.LayoutParams(Math.round(0.35417f * width), LayoutParams.WRAP_CONTENT, 0.2f); | |||||
| shutterParams.setMargins(1, 1, 1, 1); | shutterParams.setMargins(1, 1, 1, 1); | ||||
| shutterControl.setGravity(Gravity.CENTER_HORIZONTAL | Gravity.CENTER_VERTICAL); | shutterControl.setGravity(Gravity.CENTER_HORIZONTAL | Gravity.CENTER_VERTICAL); | ||||
| shutterControl.setTextSize(13f); | shutterControl.setTextSize(13f); | ||||
| // EV Step | // EV Step | ||||
| TextView evStepControl = new TextView(context); | TextView evStepControl = new TextView(context); | ||||
| LinearLayout.LayoutParams evStepParams = new LinearLayout.LayoutParams(Math.round(0.14583f * width), | |||||
| LayoutParams.WRAP_CONTENT, 0.2f); | |||||
| LinearLayout.LayoutParams evStepParams = new LinearLayout.LayoutParams(Math.round(0.14583f * width), LayoutParams.WRAP_CONTENT, 0.2f); | |||||
| evStepParams.setMargins(1, 1, 1, 1); | evStepParams.setMargins(1, 1, 1, 1); | ||||
| evStepControl.setGravity(Gravity.CENTER_HORIZONTAL | Gravity.CENTER_VERTICAL); | evStepControl.setGravity(Gravity.CENTER_HORIZONTAL | Gravity.CENTER_VERTICAL); | ||||
| evStepControl.setTextSize(13f); | evStepControl.setTextSize(13f); | ||||
| // Icon | // Icon | ||||
| ImageView expIconControl = new ImageView(context); | ImageView expIconControl = new ImageView(context); | ||||
| LinearLayout.LayoutParams expIconParams = new LinearLayout.LayoutParams(Math.round(0.14583f * width), | |||||
| LayoutParams.WRAP_CONTENT, 0.2f); | |||||
| LinearLayout.LayoutParams expIconParams = new LinearLayout.LayoutParams(Math.round(0.14583f * width), LayoutParams.WRAP_CONTENT, 0.2f); | |||||
| expIconParams.setMargins(1, 1, 1, 1); | expIconParams.setMargins(1, 1, 1, 1); | ||||
| headerLL.addView(expIconControl, expIconParams); | headerLL.addView(expIconControl, expIconParams); | ||||
| * $LastChangedBy$ | * $LastChangedBy$ | ||||
| * $LastChangedDate$ | * $LastChangedDate$ | ||||
| * | * | ||||
| * Copyright (c) 2005 syseca AG, Switzerland | |||||
| * Copyright (c) 2011 spherIC, Switzerland | |||||
| * All rights reserved. | * All rights reserved. | ||||
| * | * | ||||
| * This software is the confidential and proprietary information | * This software is the confidential and proprietary information | ||||
| * of syseca AG. ("Confidential Information"). You shall not | |||||
| * of spherIC. ("Confidential Information"). You shall not | |||||
| * disclose such Confidential Information and shall use it only | * disclose such Confidential Information and shall use it only | ||||
| * in accordance with the terms of the license agreement you | * in accordance with the terms of the license agreement you | ||||
| * entered into with syseca AG. | |||||
| * entered into with spherIC. | |||||
| */ | */ | ||||
| package ch.spherIC.resultlist; | package ch.spherIC.resultlist; | ||||
| * $LastChangedBy$ | * $LastChangedBy$ | ||||
| * $LastChangedDate$ | * $LastChangedDate$ | ||||
| * | * | ||||
| * Copyright (c) 2005 syseca AG, Switzerland | |||||
| * Copyright (c) 2011 spherIC, Switzerland | |||||
| * All rights reserved. | * All rights reserved. | ||||
| * | * | ||||
| * This software is the confidential and proprietary information | * This software is the confidential and proprietary information | ||||
| * of syseca AG. ("Confidential Information"). You shall not | |||||
| * of spherIC. ("Confidential Information"). You shall not | |||||
| * disclose such Confidential Information and shall use it only | * disclose such Confidential Information and shall use it only | ||||
| * in accordance with the terms of the license agreement you | * in accordance with the terms of the license agreement you | ||||
| * entered into with syseca AG. | |||||
| * entered into with spherIC. | |||||
| */ | */ | ||||
| package ch.spherIC.resultlist; | package ch.spherIC.resultlist; | ||||
| import android.content.Context; | import android.content.Context; | ||||
| import android.content.res.Resources; | import android.content.res.Resources; | ||||
| import android.graphics.Bitmap; | import android.graphics.Bitmap; | ||||
| import android.graphics.Bitmap.Config; | |||||
| import android.graphics.BitmapFactory; | import android.graphics.BitmapFactory; | ||||
| import android.graphics.Canvas; | import android.graphics.Canvas; | ||||
| import android.graphics.Paint; | import android.graphics.Paint; | ||||
| import android.graphics.Paint.Style; | |||||
| import android.graphics.PorterDuff; | import android.graphics.PorterDuff; | ||||
| import android.graphics.PorterDuffXfermode; | import android.graphics.PorterDuffXfermode; | ||||
| import android.graphics.Bitmap.Config; | |||||
| import android.graphics.Paint.Style; | |||||
| import ch.spherIC.R; | import ch.spherIC.R; | ||||
| * $LastChangedBy$ | * $LastChangedBy$ | ||||
| * $LastChangedDate$ | * $LastChangedDate$ | ||||
| * | * | ||||
| * Copyright (c) 2005 syseca AG, Switzerland | |||||
| * Copyright (c) 2011 spherIC, Switzerland | |||||
| * All rights reserved. | * All rights reserved. | ||||
| * | * | ||||
| * This software is the confidential and proprietary information | * This software is the confidential and proprietary information | ||||
| * of syseca AG. ("Confidential Information"). You shall not | |||||
| * of spherIC. ("Confidential Information"). You shall not | |||||
| * disclose such Confidential Information and shall use it only | * disclose such Confidential Information and shall use it only | ||||
| * in accordance with the terms of the license agreement you | * in accordance with the terms of the license agreement you | ||||
| * entered into with syseca AG. | |||||
| * entered into with spherIC. | |||||
| */ | */ | ||||
| package ch.spherIC.settings; | package ch.spherIC.settings; | ||||
| import android.app.Dialog; | import android.app.Dialog; | ||||
| import android.content.Context; | import android.content.Context; | ||||
| import android.content.SharedPreferences; | import android.content.SharedPreferences; | ||||
| import android.os.Bundle; | import android.os.Bundle; | ||||
| import android.view.View; | import android.view.View; | ||||
| import android.widget.Button; | import android.widget.Button; | ||||
| import android.widget.RadioButton; | import android.widget.RadioButton; | ||||
| import android.widget.Spinner; | import android.widget.Spinner; | ||||
| import ch.spherIC.EasyBracketMain; | import ch.spherIC.EasyBracketMain; | ||||
| import ch.spherIC.R; | import ch.spherIC.R; | ||||