text
stringlengths
3
1.18M
package com.ch_linghu.fanfoudroid.ui.module; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.graphics.drawable.AnimationDrawable; import android.text.TextPaint; import android.util.Log; import android.view.View; import android.view.animation.Animation; import ...
package com.ch_linghu.fanfoudroid.ui.module; import android.widget.ListAdapter; public interface TweetAdapter extends ListAdapter { void refresh(); }
package com.ch_linghu.fanfoudroid; import java.text.MessageFormat; import java.util.List; import android.content.Intent; import android.os.Bundle; import com.ch_linghu.fanfoudroid.fanfou.Paging; import com.ch_linghu.fanfoudroid.http.HttpException; import com.ch_linghu.fanfoudroid.ui.base.UserArrayBaseActivity; impor...
/* * Copyright (C) 2009 Google Inc. * * 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 agree...
package com.ch_linghu.fanfoudroid.http; /** * HTTP StatusCode is not 200 */ public class HttpException extends Exception { private int statusCode = -1; public HttpException(String msg) { super(msg); } public HttpException(Exception cause) { super(cause); } public HttpException(String msg, int statusCode...
package com.ch_linghu.fanfoudroid.http; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.UnsupportedEncodingException; import java.net.URI; import java.net.URISyntaxException; import java.net.URLEncoder; import java.util.ArrayList; import java.util.zip.GZIPInputStream; impor...
package com.ch_linghu.fanfoudroid.http; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Reader; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse...
package com.ch_linghu.fanfoudroid.http; import java.util.HashMap; import java.util.Map; public class HTMLEntity { public static String escape(String original) { StringBuffer buf = new StringBuffer(original); escape(buf); return buf.toString(); } public static void escape(StringBuffer original) { int index...
/* * Copyright (C) 2009 Google Inc. * * 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...
/* * Copyright (C) 2009 Google Inc. * * 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 agree...
package com.ch_linghu.fanfoudroid; import java.util.ArrayList; import java.util.List; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.ListView; import android.widget.ProgressBar; import com.ch_linghu.fanfoudroid.data.Tweet; ...
package com.ch_linghu.fanfoudroid; import java.util.ArrayList; import java.util.List; import android.database.Cursor; import android.os.Bundle; import com.ch_linghu.fanfoudroid.data.Tweet; import com.ch_linghu.fanfoudroid.db.StatusTable; import com.ch_linghu.fanfoudroid.fanfou.Status; import com.ch_linghu.fanfoudroi...
package com.ch_linghu.fanfoudroid.task; import android.app.ProgressDialog; import android.content.Context; import android.util.Log; import android.widget.Toast; import com.ch_linghu.fanfoudroid.ui.base.WithHeaderActivity; public abstract class TaskFeedback { private static TaskFeedback _instance = null; public st...
package com.ch_linghu.fanfoudroid.task; import java.util.HashMap; import org.json.JSONException; import com.ch_linghu.fanfoudroid.http.HttpException; /** * 暂未使用,待观察是否今后需要此类 * * @author lds * */ public class TaskParams { private HashMap<String, Object> params = null; public TaskParams() { params = new H...
package com.ch_linghu.fanfoudroid.task; import android.util.Log; import com.ch_linghu.fanfoudroid.TwitterApplication; import com.ch_linghu.fanfoudroid.data.Tweet; import com.ch_linghu.fanfoudroid.db.StatusTable; import com.ch_linghu.fanfoudroid.http.HttpException; import com.ch_linghu.fanfoudroid.ui.base.BaseActivity...
package com.ch_linghu.fanfoudroid.task; public interface TaskListener { String getName(); void onPreExecute(GenericTask task); void onPostExecute(GenericTask task, TaskResult result); void onProgressUpdate(GenericTask task, Object param); void onCancelled(GenericTask task); }
package com.ch_linghu.fanfoudroid.task; import java.util.Observable; import java.util.Observer; import android.util.Log; public class TaskManager extends Observable { private static final String TAG = "TaskManager"; public static final Integer CANCEL_ALL = 1; public void cancelAll() { Log.d(TAG, "All task Can...
package com.ch_linghu.fanfoudroid.task; import java.util.Observable; import java.util.Observer; import android.os.AsyncTask; import android.util.Log; import android.widget.Toast; import com.ch_linghu.fanfoudroid.TwitterApplication; import com.ch_linghu.fanfoudroid.ui.module.Feedback; public abstract class GenericTa...
package com.ch_linghu.fanfoudroid.task; public abstract class TaskAdapter implements TaskListener { public abstract String getName(); public void onPreExecute(GenericTask task) { }; public void onPostExecute(GenericTask task, TaskResult result) { }; public void onProgressUpdate(GenericTask task, Object param...
package com.ch_linghu.fanfoudroid.task; public enum TaskResult { OK, FAILED, CANCELLED, NOT_FOLLOWED_ERROR, IO_ERROR, AUTH_ERROR }
/* * Copyright (C) 2009 Google Inc. * * 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...
package com.ch_linghu.fanfoudroid.db; /** * All information of status table * */ public final class StatusTablesInfo { }
package com.ch_linghu.fanfoudroid.db; import android.database.Cursor; import android.provider.BaseColumns; import android.util.Log; import com.ch_linghu.fanfoudroid.data.User; public final class UserInfoTable implements BaseColumns { public static final String TAG = "UserInfoTable"; public static fin...
package com.ch_linghu.fanfoudroid.db; import java.text.ParseException; import android.database.Cursor; import android.provider.BaseColumns; import android.util.Log; import com.ch_linghu.fanfoudroid.data.Dm; /** * Table - Direct Messages * */ public final class MessageTable implements BaseColumns { public stat...
package com.ch_linghu.fanfoudroid.db; import android.database.Cursor; import android.provider.BaseColumns; import android.util.Log; import com.ch_linghu.fanfoudroid.data.Tweet; import com.ch_linghu.fanfoudroid.util.DateTimeHelper; /** * Table - Statuses <br /> * <br /> * 为节省流量,故此表不保证本地数据库中所有消息具有前后连贯性, 而只确保最新的MAX_...
package com.ch_linghu.fanfoudroid.db; import java.text.ParseException; import android.database.Cursor; import android.provider.BaseColumns; import android.util.Log; import com.ch_linghu.fanfoudroid.data.User; /** * Table - Followers * */ public final class FollowTable implements BaseColumns { public static fi...
package com.ch_linghu.fanfoudroid.db; import java.io.File; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.List; import java.util.Locale; import android.content.ContentValues; import android.content.Context; import android.content.SharedPreferences; import android.database.Cursor; imp...
package com.ch_linghu.fanfoudroid; import java.util.ArrayList; import java.util.List; import android.app.SearchManager; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.text.TextUtils; import android.util.Log; import android.view.KeyEvent; import android.view.Lay...
/* * Copyright (C) 2009 Google Inc. * * 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 agree...
package com.ch_linghu.fanfoudroid; import java.text.ParseException; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.database.Cursor; import android.graphics.B...
package com.ch_linghu.fanfoudroid.util; import java.io.InputStream; import java.io.OutputStream; public class StreamUtils { public static void CopyStream(InputStream is, OutputStream os) { final int buffer_size = 1024; try { byte[] bytes = new byte[buffer_size]; for (;;) { int count = is.rea...
package com.ch_linghu.fanfoudroid.util; import java.text.DecimalFormat; import java.text.NumberFormat; import java.util.Arrays; import java.util.HashMap; import android.util.Log; import com.ch_linghu.fanfoudroid.TwitterApplication; /** * Debug Timer * * Usage: -------------------------------- DebugTimer.start()...
package com.ch_linghu.fanfoudroid.util; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.Locale; import android.util.Log; import com.ch_linghu.fanfoudroid.R; import com.ch_linghu.fanfoudroid.TwitterAppl...
package com.ch_linghu.fanfoudroid.util; import java.io.File; import java.io.IOException; import android.os.Environment; /** * 对SD卡文件的管理 * * @author ch.linghu * */ public class FileHelper { private static final String TAG = "FileHelper"; private static final String BASE_PATH = "fanfoudroid"; public static...
package com.ch_linghu.fanfoudroid.util; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import android.t...
/* * Copyright (C) 2009 Google Inc. * * 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 agree...
package com.ch_linghu.fanfoudroid; import java.text.MessageFormat; import java.util.List; import android.content.Intent; import android.os.Bundle; import android.view.ContextMenu; import android.view.ContextMenu.ContextMenuInfo; import android.view.View; import android.widget.AdapterView; import android.widget.Adapte...
package com.ch_linghu.fanfoudroid; import java.util.HashSet; //import org.acra.ReportingInteractionMode; //import org.acra.annotation.ReportsCrashes; import android.app.Application; import android.content.Context; import android.content.SharedPreferences; import android.database.Cursor; import android.net...
package com.markupartist.android.widget; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import android.content.Context; import android.util.AttributeSet; import android.util.Log; import android.view.GestureDetector; import android.view.LayoutInflater; import android.view.MotionEv...
package com.example.androlem2; import java.io.File; import java.io.FileFilter; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.Serializable; import java.util.ArrayList; import java.util.HashMap; import lem2.logic.SISet; import lem2.logic.SISe...
package ru.gelin.android.weather; /** * Holds temperature values. * Allows to set the values in different unit systems. * Automatically calculates high and low temps when current temp is set. * Automatically calculates current temp when high and low are set. */ public class SimpleTemperature implements Temper...
package ru.gelin.android.weather; import java.util.ArrayList; import java.util.Date; import java.util.List; /** * Simple weather realization. Just holds the values. */ public class SimpleWeather implements Weather { /** Location */ Location location; /** Time */ Date time; /** Unit system */ ...
package ru.gelin.android.weather; /** * Simple location which query and text are equal and are set in constructor. */ public class SimpleLocation implements Location { String text; /** * Create the location. * @param locationText query and the text value. */ public SimpleLocation(...
package ru.gelin.android.weather; import java.util.Date; import java.util.List; /** * Interface which contains the weather query results. */ public interface Weather { /** * Returns the weather location (original, passed to {@link WeatherSource#query}, * or modified by the weather source imple...
package ru.gelin.android.weather.notification.skin; import ru.gelin.android.weather.Weather; import ru.gelin.android.weather.notification.MainActivity; import ru.gelin.android.weather.notification.Tag; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import and...
package ru.gelin.android.weather.notification.skin.builtin; /** * Constants for preference keys. */ public interface PreferenceKeys { /** Notification icon style preference key */ public static final String NOTIFICATION_ICON_STYLE = "notification_icon_style"; /** Notification icon style default value *...
package ru.gelin.android.weather.notification.skin.builtin; import static ru.gelin.android.weather.notification.AbstractWeatherLayout.formatTemp; import static ru.gelin.android.weather.notification.skin.builtin.PreferenceKeys.NOTIFICATION_ICON_STYLE; import static ru.gelin.android.weather.notification.skin.builtin.Pre...
package ru.gelin.android.weather.notification.skin.builtin; import ru.gelin.android.weather.notification.R; public enum NotificationStyle { BLACK_TEXT(R.drawable.temp_icon_black, R.layout.notification_black), WHITE_TEXT(R.drawable.temp_icon_white, R.layout.notification_white); int iconRes; int layou...
package ru.gelin.android.weather.notification.skin.builtin; import ru.gelin.android.weather.notification.AbstractWeatherLayout; import ru.gelin.android.weather.notification.R; import android.content.Context; import android.widget.RemoteViews; /** * Utility to layout weather values to remove view. */ public class R...
package ru.gelin.android.weather.notification.skin.builtin; import ru.gelin.android.weather.UnitSystem; public enum TemperatureUnit { C(UnitSystem.SI), F(UnitSystem.US), CF(UnitSystem.SI), FC(UnitSystem.US); UnitSystem unit; TemperatureUnit(UnitSystem unit) { this.unit = uni...
package ru.gelin.android.weather.notification.skin; import static ru.gelin.android.weather.notification.PreferenceKeys.ENABLE_NOTIFICATION; import static ru.gelin.android.weather.notification.PreferenceKeys.ENABLE_NOTIFICATION_DEFAULT; import static ru.gelin.android.weather.notification.skin.WeatherNotificationReceive...
package ru.gelin.android.weather.notification; import android.content.Context; import android.view.View; import android.widget.TextView; /** * Utility to layout weather values to view. */ public class WeatherLayout extends AbstractWeatherLayout { /** View to bind. */ View view; /** * Cr...
package ru.gelin.android.weather.notification; import static ru.gelin.android.weather.notification.PreferenceKeys.AUTO_LOCATION; import static ru.gelin.android.weather.notification.PreferenceKeys.AUTO_LOCATION_DEFAULT; import static ru.gelin.android.weather.notification.PreferenceKeys.ENABLE_NOTIFICATION; import stati...
package ru.gelin.android.weather.notification; import static ru.gelin.android.weather.notification.Tag.TAG; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.util.Log; /** * ...
package ru.gelin.android.weather.notification; /** * Constants for preference keys. */ public interface PreferenceKeys { /** Enable notification preference key */ public static final String ENABLE_NOTIFICATION = "enable_notification"; /** Enable notification default value */ public static final boo...
package ru.gelin.android.weather.notification; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; /** * Broadcast receiver which receives event about boot complete. * Starts UpdateService. */ public class BootCompletedReceiver extends BroadcastReceiver { ...
package ru.gelin.android.weather.notification; /** * Represents the refresh interval. * Handles interval value (in milliseconds). */ public enum RefreshInterval { REFRESH_1H(3600 * 1000), REFRESH_2H(2 * 3600 * 1000), REFRESH_3H(3 * 3600 * 1000), REFRESH_4H(4 * 3600 * 1000), REFRESH_6H(6 *...
package ru.gelin.android.weather.notification; import static ru.gelin.android.weather.notification.skin.builtin.PreferenceKeys.TEMP_UNIT; import static ru.gelin.android.weather.notification.skin.builtin.PreferenceKeys.TEMP_UNIT_DEFAULT; import java.util.Calendar; import java.util.Date; import ru.gelin.android.weathe...
package ru.gelin.android.weather.notification; public interface WeatherStorageKeys { /** Preference name for location. */ static final String LOCATION = "weather_location"; /** Preference name for time. */ static final String TIME = "weather_time"; /** Preference name for unit system. */ stati...
package ru.gelin.android.weather.notification; import static ru.gelin.android.weather.notification.WeatherStorageKeys.CONDITION_TEXT; import static ru.gelin.android.weather.notification.WeatherStorageKeys.CURRENT_TEMP; import static ru.gelin.android.weather.notification.WeatherStorageKeys.HIGH_TEMP; import static ru.g...
package ru.gelin.android.weather.notification; import ru.gelin.android.weather.Weather; import android.content.Context; import android.content.SharedPreferences; import android.content.SharedPreferences.OnSharedPreferenceChangeListener; import android.preference.Preference; import android.preference.PreferenceManager;...
package ru.gelin.android.weather.notification; public interface Tag { /** This application tag for logging. */ static final String TAG = Tag.class.getPackage().getName(); }
package ru.gelin.android.weather.notification; import java.util.ArrayList; import java.util.Date; import java.util.List; import ru.gelin.android.weather.Location; import ru.gelin.android.weather.SimpleLocation; import ru.gelin.android.weather.SimpleTemperature; import ru.gelin.android.weather.SimpleWeather; import ru...
package ru.gelin.android.weather.notification; import static ru.gelin.android.weather.notification.PreferenceKeys.AUTO_LOCATION; import static ru.gelin.android.weather.notification.PreferenceKeys.ENABLE_NOTIFICATION; import static ru.gelin.android.weather.notification.PreferenceKeys.LOCATION; import static ru.gelin.an...
package ru.gelin.android.weather; /** * Identifies location to search weather. */ public interface Location { /** * Returns the query String (for Google Weather API). */ String getQuery(); /** * Returns the location in a human readable form. */ String getText(); ...
package ru.gelin.android.weather.google; import java.io.IOException; import java.io.Reader; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; import javax.xml.parsers.ParserConfigurationException; import javax.xml.parsers.SAXP...
package ru.gelin.android.weather.google; import java.io.IOException; import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; import java.net.MalformedURLException; import java.net.URL; import java.net.URLConnection; import java.net.URLEncoder; import java.util.Locale; import ru.gelin.android.we...
package ru.gelin.android.weather.google; import android.location.Address; import ru.gelin.android.weather.Location; /** * Wrapper for Android location to query Google weather API with geo coordinates. */ public class AndroidGoogleLocation implements Location { /** Query template */ static final String QUE...
package ru.gelin.android.weather; import java.util.Locale; /** * Source of the weather forecasts. */ public interface WeatherSource { /** * Searches the weather for specified location. * @throws WeatherException if the weather cannot be found */ Weather query(Location location) throws Wea...
package ru.gelin.android.weather; /** * Common exception for weather getting errors. */ public class WeatherException extends Exception { public WeatherException() { super(); } public WeatherException(String detailMessage, Throwable throwable) { super(detailMessage, throwable); } ...
package ru.gelin.android.weather; public enum UnitSystem { SI, US; }
package ru.gelin.android.weather; //import java.net.URL; /** * Common weather conditions. */ public interface WeatherCondition { /** * Returns condition as a human readable text. */ String getConditionText(); /** * Returns URL to condition icon. */ //URL getCondition...
package ru.gelin.android.weather; /** * Simple weather condition implementation which just holds * the values. */ public class SimpleWeatherCondition implements WeatherCondition { String conditionText; SimpleTemperature temperature; String windText; String humidityText; /** * Sets ...
package ru.gelin.android.weather; /** * Contains current, high and low temperature values. */ public interface Temperature { /** Unknown temperature value */ static int UNKNOWN = Integer.MIN_VALUE; /** * Current temperature. */ int getCurrent(); /** * High forecast te...
package ru.gelin.android.preference; import android.content.Context; import android.preference.ListPreference; import android.util.AttributeSet; /** * List preference which displays the selected value as Summary. */ public class SummaryListPreference extends ListPreference { public SummaryListPreference(Conte...
package ru.gelin.android.preference; import android.content.Context; import android.preference.EditTextPreference; import android.util.AttributeSet; /** * Edit text preference which displays the entered value as Summary. */ public class SummaryTextPreference extends EditTextPreference { public SummaryTextPref...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ //listar procesos, ps -eo pid,comm //matar proceso, kill (idproceso) // apagar pc, shutdown -h now /* * To change this template, choose Tools | Templates * and open the template in the edi...
package Webservice; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.Writer; import java.net.URL; import javax.net.ssl.HttpsURLConnection; public class WebServiceEPDK { //private String NAMESPACE = "http://dbs.epdk.org.t...
package Webservice; import java.security.KeyManagementException; import java.security.NoSuchAlgorithmException; import java.security.SecureRandom; import java.security.cert.CertificateException; import java.security.cert.X509Certificate; import javax.net.ssl.HostnameVerifier; import javax.net.ssl.HttpsURLConne...
package com.example.yakitfiyatlari; public class Sehir { int _id; String _il; String _ilKodu; String _ilAlanKodu; public int getID(){ return this._id; } public void setID(int id){ this._id = id; } public String getIlKodu(){...
package com.example.yakitfiyatlari; import java.util.ArrayList; import android.os.Bundle; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHe...
package com.example.yakitfiyatlari; import java.util.ArrayList; import android.widget.TextView; public class SabitVeriler { public static String[] Yakitlar() { return new String[]{ "Benzin", "Dizel" , "LPG" }; } }
/** Automatically generated file. DO NOT MODIFY */ package com.example.yakitfiyatlari; public final class BuildConfig { public final static boolean DEBUG = true; }
package Webservice; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.Writer; import java.net.URL; import javax.net.ssl.HttpsURLConnection; public class WebServiceEPDK { //private String NAMESPACE = "http://dbs.epdk.org.t...
package Webservice; import java.security.KeyManagementException; import java.security.NoSuchAlgorithmException; import java.security.SecureRandom; import java.security.cert.CertificateException; import java.security.cert.X509Certificate; import javax.net.ssl.HostnameVerifier; import javax.net.ssl.HttpsURLConne...
package com.example.soadeneme; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.Scanner; import java.util.regex.Pattern; import Webservice.WebServiceEPDK; import android.os.Bundle; import android.app.Activity; ...
/** Automatically generated file. DO NOT MODIFY */ package com.example.soadeneme; public final class BuildConfig { public final static boolean DEBUG = true; }
package i4napps.theeggs; import java.util.Random; import java.util.Timer; import java.util.TimerTask; import com.qwapi.adclient.android.data.Ad; import com.qwapi.adclient.android.data.Status; import com.qwapi.adclient.android.requestparams.AdRequestParams; import com.qwapi.adclient.android.view.AdEventsListener; impo...
/* * Android Weather Notification. * Copyright (C) 2010 Denis Nelubin aka Gelin * * This program 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 2 of the License, or * (at your opt...
package ru.gelin.android.weather.notification.skin.bigtext; /** * This formatter displays "+" sign for positive temperature. */ public class TemperatureFormatter extends ru.gelin.android.weather.notification.skin.impl.TemperatureFormatter { protected String signedValue(int value) { if (value > 0) { ...
/* * Android Weather Notification. * Copyright (C) 2012 Denis Nelubin aka Gelin * * This program 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 2 of the License, or * (at your opt...
/* * Android Weather Notification. * Copyright (C) 2010 Denis Nelubin aka Gelin * * This program 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 2 of the License, or * (at your opt...
/* * Android Weather Notification. * Copyright (C) 2010 Denis Nelubin aka Gelin * * This program 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 2 of the License, or * (at your opt...
/* * Android Weather Notification. * Copyright (C) 2011 Denis Nelubin aka Gelin * * This program 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 2 of the License, or * (at your opt...
/* * Android Weather Notification. * Copyright (C) 2010 Denis Nelubin aka Gelin * * This program 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 2 of the License, or * (at your opt...
/* * Android Weather Notification. * Copyright (C) 2010 Denis Nelubin aka Gelin * * This program 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 2 of the License, or * (at your opt...
/* * Android Weather Notification. * Copyright (C) 2010 Denis Nelubin aka Gelin * * This program 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 2 of the License, or * (at your opt...
/* * Android Weather Notification. * Copyright (C) 2010 Denis Nelubin aka Gelin * * This program 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 2 of the License, or * (at your opt...
package ru.gelin.android.weather.notification.skin.blacktextplus; /** * This formatter displays "+" sign for positive temperature. */ public class TemperatureFormatter extends ru.gelin.android.weather.notification.skin.impl.TemperatureFormatter { protected String signedValue(int value) { if (value > 0)...
/* * Android Weather Notification. * Copyright (C) 2011 Denis Nelubin aka Gelin * * This program 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 2 of the License, or * (at your opt...