Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

First commit

  • Loading branch information...
commit 4f6e59449a063b8544543381cf94e3842bfabb6e 0 parents
Fred Grott authored September 12, 2010

Showing 65 changed files with 1,214 additions and 0 deletions. Show diff stats Hide diff stats

  1. 14  .checkstyle
  2. 7  .classpath
  3. 5  .gitignore
  4. 7  .pmd
  5. 45  .project
  6. 241  .ruleset
  7. 24  AndroidManifest.xml
  8. 210  LICENSE-2.0.html
  9. BIN  antlibs/asm-3.1.jar
  10. BIN  antlibs/checkstyle-all-5.0.jar
  11. BIN  antlibs/jaxen-1.1.1.jar
  12. BIN  antlibs/junit-4.4.jar
  13. BIN  antlibs/pmd-4.2.5.jar
  14. 3  build.properties
  15. BIN  buildconfig/images/companylogo.png
  16. 66  buildconfig/xsls/checkstyle.xsl
  17. 86  buildconfig/xsls/pmd.xsl
  18. 11  default.properties
  19. BIN  doclets/apiviz-1.3.1.GA.jar
  20. 104  eclipse_sun_checkstyle.xml
  21. 44  readme.markdown
  22. BIN  res/drawable-hdpi/andcustomtitleicon.png
  23. 10  res/drawable-hdpi/companylogo.xml
  24. 5  res/drawable-hdpi/gradient.xml
  25. BIN  res/drawable-hdpi/icon.png
  26. BIN  res/drawable-hdpi/lil_developers.png
  27. BIN  res/drawable-hdpi/lil_market.png
  28. BIN  res/drawable-hdpi/lil_opensource.png
  29. BIN  res/drawable-hdpi/mobilebyteslogo_normal.png
  30. BIN  res/drawable-hdpi/mobilebyteslogo_pressed.png
  31. BIN  res/drawable-hdpi/strokes_blue_developers.png
  32. BIN  res/drawable-hdpi/title_bar_shadow2.png
  33. BIN  res/drawable-ldpi/andcustomtitleicon.png
  34. 10  res/drawable-ldpi/companylogo.xml
  35. 5  res/drawable-ldpi/gradient.xml
  36. BIN  res/drawable-ldpi/icon.png
  37. BIN  res/drawable-ldpi/lil_developers.png
  38. BIN  res/drawable-ldpi/lil_market.png
  39. BIN  res/drawable-ldpi/lil_opensource.png
  40. BIN  res/drawable-ldpi/mobilebyteslogo_normal.png
  41. BIN  res/drawable-ldpi/mobilebyteslogo_pressed.png
  42. BIN  res/drawable-ldpi/strokes_blue_developers.png
  43. BIN  res/drawable-ldpi/title_bar_shadow2.png
  44. BIN  res/drawable-mdpi/andcustomtitleicon.png
  45. 10  res/drawable-mdpi/companylogo.xml
  46. 5  res/drawable-mdpi/gradient.xml
  47. BIN  res/drawable-mdpi/icon.png
  48. BIN  res/drawable-mdpi/lil_developers.png
  49. BIN  res/drawable-mdpi/lil_market.png
  50. BIN  res/drawable-mdpi/lil_opensource.png
  51. BIN  res/drawable-mdpi/mobilebyteslogo_normal.png
  52. BIN  res/drawable-mdpi/mobilebyteslogo_pressed.png
  53. BIN  res/drawable-mdpi/strokes_blue_developers.png
  54. BIN  res/drawable-mdpi/title_bar_shadow2.png
  55. 74  res/layout/main.xml
  56. 8  res/layout/splashscreen.xml
  57. 18  res/layout/title.xml
  58. 5  res/values/strings.xml
  59. 6  res/values/styles.xml
  60. 8  res/values/themes.xml
  61. BIN  screenshots/AndCustomTitle.apk
  62. BIN  screenshots/andcustomtitleicon.png
  63. 110  src/com/mobilebytes/andcustomtitle/MainActivity.java
  64. 67  src/com/mobilebytes/andcustomtitle/Splash.java
  65. 6  src/com/mobilebytes/andcustomtitle/package-info.java
14  .checkstyle
... ...
@@ -0,0 +1,14 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+
  3
+<fileset-config file-format-version="1.2.0" simple-config="false">
  4
+  <local-check-config name="andcheckdroid" location="eclipse_sun_checkstyle.xml" type="project" description="">
  5
+    <additional-data name="protect-config-file" value="false"/>
  6
+  </local-check-config>
  7
+  <fileset name="all" enabled="false" check-config-name="Sun Checks" local="false">
  8
+    <file-match-pattern match-pattern="." include-pattern="true"/>
  9
+  </fileset>
  10
+  <fileset name="javaR" enabled="true" check-config-name="andcheckdroid" local="true">
  11
+    <file-match-pattern match-pattern=".java$" include-pattern="true"/>
  12
+    <file-match-pattern match-pattern="R.java" include-pattern="false"/>
  13
+  </fileset>
  14
+</fileset-config>
7  .classpath
... ...
@@ -0,0 +1,7 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<classpath>
  3
+	<classpathentry kind="src" path="src"/>
  4
+	<classpathentry kind="src" path="gen"/>
  5
+	<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
  6
+	<classpathentry kind="output" path="bin"/>
  7
+</classpath>
5  .gitignore
... ...
@@ -0,0 +1,5 @@
  1
+bin/
  2
+local.properties
  3
+/local.properties
  4
+/local.properties
  5
+/local.properties
7  .pmd
... ...
@@ -0,0 +1,7 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<pmd>
  3
+    <useProjectRuleSet>true</useProjectRuleSet>
  4
+    <ruleSetFile>/home/fredgrott/my35ws_github/AndCustomTitle/.ruleset</ruleSetFile>
  5
+    <includeDerivedFiles>false</includeDerivedFiles>
  6
+    <violationsAsErrors>false</violationsAsErrors>
  7
+</pmd>
45  .project
... ...
@@ -0,0 +1,45 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<projectDescription>
  3
+	<name>AndCustomTitle</name>
  4
+	<comment></comment>
  5
+	<projects>
  6
+	</projects>
  7
+	<buildSpec>
  8
+		<buildCommand>
  9
+			<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
  10
+			<arguments>
  11
+			</arguments>
  12
+		</buildCommand>
  13
+		<buildCommand>
  14
+			<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
  15
+			<arguments>
  16
+			</arguments>
  17
+		</buildCommand>
  18
+		<buildCommand>
  19
+			<name>org.eclipse.jdt.core.javabuilder</name>
  20
+			<arguments>
  21
+			</arguments>
  22
+		</buildCommand>
  23
+		<buildCommand>
  24
+			<name>com.android.ide.eclipse.adt.ApkBuilder</name>
  25
+			<arguments>
  26
+			</arguments>
  27
+		</buildCommand>
  28
+		<buildCommand>
  29
+			<name>net.sf.eclipsecs.core.CheckstyleBuilder</name>
  30
+			<arguments>
  31
+			</arguments>
  32
+		</buildCommand>
  33
+		<buildCommand>
  34
+			<name>net.sourceforge.pmd.eclipse.plugin.pmdBuilder</name>
  35
+			<arguments>
  36
+			</arguments>
  37
+		</buildCommand>
  38
+	</buildSpec>
  39
+	<natures>
  40
+		<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
  41
+		<nature>org.eclipse.jdt.core.javanature</nature>
  42
+		<nature>net.sf.eclipsecs.core.CheckstyleNature</nature>
  43
+		<nature>net.sourceforge.pmd.eclipse.plugin.pmdNature</nature>
  44
+	</natures>
  45
+</projectDescription>
241  .ruleset
... ...
@@ -0,0 +1,241 @@
  1
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2
+<ruleset xmlns="http://pmd.sf.net/ruleset/1.0.0" name="pmd-eclipse" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd" xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd">
  3
+   <description>PMD Plugin preferences rule set</description>
  4
+   <rule ref="rulesets/typeresolution.xml/LooseCoupling"/>
  5
+   <rule ref="rulesets/typeresolution.xml/CloneMethodMustImplementCloneable"/>
  6
+   <rule ref="rulesets/typeresolution.xml/UnusedImports"/>
  7
+   <rule ref="rulesets/typeresolution.xml/SignatureDeclareThrowsException"/>
  8
+   <rule ref="rulesets/braces.xml/IfStmtsMustUseBraces"/>
  9
+   <rule ref="rulesets/braces.xml/WhileLoopsMustUseBraces"/>
  10
+   <rule ref="rulesets/braces.xml/IfElseStmtsMustUseBraces"/>
  11
+   <rule ref="rulesets/braces.xml/ForLoopsMustUseBraces"/>
  12
+   <rule ref="rulesets/design.xml/UseSingleton"/>
  13
+   <rule ref="rulesets/design.xml/SimplifyBooleanReturns"/>
  14
+   <rule ref="rulesets/design.xml/SimplifyBooleanExpressions"/>
  15
+   <rule ref="rulesets/design.xml/SwitchStmtsShouldHaveDefault"/>
  16
+   <rule ref="rulesets/design.xml/AvoidDeeplyNestedIfStmts"/>
  17
+   <rule ref="rulesets/design.xml/AvoidReassigningParameters"/>
  18
+   <rule ref="rulesets/design.xml/SwitchDensity"/>
  19
+   <rule ref="rulesets/design.xml/ConstructorCallsOverridableMethod"/>
  20
+   <rule ref="rulesets/design.xml/AccessorClassGeneration"/>
  21
+   <rule ref="rulesets/design.xml/FinalFieldCouldBeStatic"/>
  22
+   <rule ref="rulesets/design.xml/CloseResource"/>
  23
+   <rule ref="rulesets/design.xml/NonStaticInitializer"/>
  24
+   <rule ref="rulesets/design.xml/DefaultLabelNotLastInSwitchStmt"/>
  25
+   <rule ref="rulesets/design.xml/NonCaseLabelInSwitchStatement"/>
  26
+   <rule ref="rulesets/design.xml/OptimizableToArrayCall"/>
  27
+   <rule ref="rulesets/design.xml/BadComparison"/>
  28
+   <rule ref="rulesets/design.xml/EqualsNull"/>
  29
+   <rule ref="rulesets/design.xml/ConfusingTernary"/>
  30
+   <rule ref="rulesets/design.xml/InstantiationToGetClass"/>
  31
+   <rule ref="rulesets/design.xml/IdempotentOperations"/>
  32
+   <rule ref="rulesets/design.xml/SimpleDateFormatNeedsLocale"/>
  33
+   <rule ref="rulesets/design.xml/ImmutableField"/>
  34
+   <rule ref="rulesets/design.xml/UseLocaleWithCaseConversions"/>
  35
+   <rule ref="rulesets/design.xml/AvoidProtectedFieldInFinalClass"/>
  36
+   <rule ref="rulesets/design.xml/AssignmentToNonFinalStatic"/>
  37
+   <rule ref="rulesets/design.xml/MissingStaticMethodInNonInstantiatableClass"/>
  38
+   <rule ref="rulesets/design.xml/AvoidSynchronizedAtMethodLevel"/>
  39
+   <rule ref="rulesets/design.xml/MissingBreakInSwitch"/>
  40
+   <rule ref="rulesets/design.xml/UseNotifyAllInsteadOfNotify"/>
  41
+   <rule ref="rulesets/design.xml/AvoidInstanceofChecksInCatchClause"/>
  42
+   <rule ref="rulesets/design.xml/AbstractClassWithoutAbstractMethod"/>
  43
+   <rule ref="rulesets/design.xml/SimplifyConditional"/>
  44
+   <rule ref="rulesets/design.xml/CompareObjectsWithEquals"/>
  45
+   <rule ref="rulesets/design.xml/PositionLiteralsFirstInComparisons"/>
  46
+   <rule ref="rulesets/design.xml/UnnecessaryLocalBeforeReturn"/>
  47
+   <rule ref="rulesets/design.xml/NonThreadSafeSingleton"/>
  48
+   <rule ref="rulesets/design.xml/UncommentedEmptyMethod"/>
  49
+   <rule ref="rulesets/design.xml/UncommentedEmptyConstructor"/>
  50
+   <rule ref="rulesets/design.xml/AvoidConstantsInterface"/>
  51
+   <rule ref="rulesets/design.xml/UnsynchronizedStaticDateFormatter"/>
  52
+   <rule ref="rulesets/design.xml/PreserveStackTrace"/>
  53
+   <rule ref="rulesets/design.xml/UseCollectionIsEmpty"/>
  54
+   <rule ref="rulesets/design.xml/ClassWithOnlyPrivateConstructorsShouldBeFinal"/>
  55
+   <rule ref="rulesets/design.xml/EmptyMethodInAbstractClassShouldBeAbstract"/>
  56
+   <rule ref="rulesets/design.xml/SingularField"/>
  57
+   <rule ref="rulesets/design.xml/ReturnEmptyArrayRatherThanNull"/>
  58
+   <rule ref="rulesets/design.xml/AbstractClassWithoutAnyMethod"/>
  59
+   <rule ref="rulesets/design.xml/TooFewBranchesForASwitchStatement"/>
  60
+   <rule ref="rulesets/strictexception.xml/AvoidCatchingThrowable"/>
  61
+   <rule ref="rulesets/strictexception.xml/SignatureDeclareThrowsException"/>
  62
+   <rule ref="rulesets/strictexception.xml/ExceptionAsFlowControl"/>
  63
+   <rule ref="rulesets/strictexception.xml/AvoidCatchingNPE"/>
  64
+   <rule ref="rulesets/strictexception.xml/AvoidThrowingRawExceptionTypes"/>
  65
+   <rule ref="rulesets/strictexception.xml/AvoidThrowingNullPointerException"/>
  66
+   <rule ref="rulesets/strictexception.xml/AvoidRethrowingException"/>
  67
+   <rule ref="rulesets/strictexception.xml/DoNotExtendJavaLangError"/>
  68
+   <rule ref="rulesets/strictexception.xml/DoNotThrowExceptionInFinally"/>
  69
+   <rule ref="rulesets/strictexception.xml/AvoidThrowingNewInstanceOfSameException"/>
  70
+   <rule ref="rulesets/unusedcode.xml/UnusedPrivateField"/>
  71
+   <rule ref="rulesets/unusedcode.xml/UnusedLocalVariable"/>
  72
+   <rule ref="rulesets/unusedcode.xml/UnusedPrivateMethod"/>
  73
+   <rule ref="rulesets/unusedcode.xml/UnusedFormalParameter"/>
  74
+   <rule ref="rulesets/logging-java.xml/MoreThanOneLogger"/>
  75
+   <rule ref="rulesets/logging-java.xml/LoggerIsNotStaticFinal"/>
  76
+   <rule ref="rulesets/logging-java.xml/SystemPrintln"/>
  77
+   <rule ref="rulesets/logging-java.xml/AvoidPrintStackTrace"/>
  78
+   <rule ref="rulesets/strings.xml/AvoidDuplicateLiterals"/>
  79
+   <rule ref="rulesets/strings.xml/StringInstantiation"/>
  80
+   <rule ref="rulesets/strings.xml/StringToString"/>
  81
+   <rule ref="rulesets/strings.xml/InefficientStringBuffering"/>
  82
+   <rule ref="rulesets/strings.xml/UnnecessaryCaseChange"/>
  83
+   <rule ref="rulesets/strings.xml/UseStringBufferLength"/>
  84
+   <rule ref="rulesets/strings.xml/AppendCharacterWithChar"/>
  85
+   <rule ref="rulesets/strings.xml/ConsecutiveLiteralAppends"/>
  86
+   <rule ref="rulesets/strings.xml/UseIndexOfChar"/>
  87
+   <rule ref="rulesets/strings.xml/InefficientEmptyStringCheck"/>
  88
+   <rule ref="rulesets/strings.xml/InsufficientStringBufferDeclaration"/>
  89
+   <rule ref="rulesets/strings.xml/UselessStringValueOf"/>
  90
+   <rule ref="rulesets/strings.xml/StringBufferInstantiationWithChar"/>
  91
+   <rule ref="rulesets/strings.xml/UseEqualsToCompareStrings"/>
  92
+   <rule ref="rulesets/strings.xml/AvoidStringBufferField"/>
  93
+   <rule ref="rulesets/migrating.xml/ReplaceVectorWithList"/>
  94
+   <rule ref="rulesets/migrating.xml/ReplaceHashtableWithMap"/>
  95
+   <rule ref="rulesets/migrating.xml/ReplaceEnumerationWithIterator"/>
  96
+   <rule ref="rulesets/migrating.xml/AvoidEnumAsIdentifier"/>
  97
+   <rule ref="rulesets/migrating.xml/AvoidAssertAsIdentifier"/>
  98
+   <rule ref="rulesets/migrating.xml/IntegerInstantiation"/>
  99
+   <rule ref="rulesets/migrating.xml/ByteInstantiation"/>
  100
+   <rule ref="rulesets/migrating.xml/ShortInstantiation"/>
  101
+   <rule ref="rulesets/migrating.xml/LongInstantiation"/>
  102
+   <rule ref="rulesets/migrating.xml/JUnit4TestShouldUseBeforeAnnotation"/>
  103
+   <rule ref="rulesets/migrating.xml/JUnit4TestShouldUseAfterAnnotation"/>
  104
+   <rule ref="rulesets/migrating.xml/JUnit4TestShouldUseTestAnnotation"/>
  105
+   <rule ref="rulesets/migrating.xml/JUnit4SuitesShouldUseSuiteAnnotation"/>
  106
+   <rule ref="rulesets/migrating.xml/JUnitUseExpected"/>
  107
+   <rule ref="rulesets/j2ee.xml/UseProperClassLoader"/>
  108
+   <rule ref="rulesets/j2ee.xml/MDBAndSessionBeanNamingConvention"/>
  109
+   <rule ref="rulesets/j2ee.xml/RemoteSessionInterfaceNamingConvention"/>
  110
+   <rule ref="rulesets/j2ee.xml/LocalInterfaceSessionNamingConvention"/>
  111
+   <rule ref="rulesets/j2ee.xml/LocalHomeNamingConvention"/>
  112
+   <rule ref="rulesets/j2ee.xml/RemoteInterfaceNamingConvention"/>
  113
+   <rule ref="rulesets/j2ee.xml/DoNotCallSystemExit"/>
  114
+   <rule ref="rulesets/j2ee.xml/StaticEJBFieldShouldBeFinal"/>
  115
+   <rule ref="rulesets/j2ee.xml/DoNotUseThreads"/>
  116
+   <rule ref="rulesets/optimizations.xml/LocalVariableCouldBeFinal"/>
  117
+   <rule ref="rulesets/optimizations.xml/MethodArgumentCouldBeFinal"/>
  118
+   <rule ref="rulesets/optimizations.xml/AvoidInstantiatingObjectsInLoops"/>
  119
+   <rule ref="rulesets/optimizations.xml/UseArrayListInsteadOfVector"/>
  120
+   <rule ref="rulesets/optimizations.xml/SimplifyStartsWith"/>
  121
+   <rule ref="rulesets/optimizations.xml/UseStringBufferForStringAppends"/>
  122
+   <rule ref="rulesets/optimizations.xml/UseArraysAsList"/>
  123
+   <rule ref="rulesets/optimizations.xml/AvoidArrayLoops"/>
  124
+   <rule ref="rulesets/optimizations.xml/UnnecessaryWrapperObjectCreation"/>
  125
+   <rule ref="rulesets/optimizations.xml/AddEmptyString"/>
  126
+   <rule ref="rulesets/basic.xml/EmptyCatchBlock"/>
  127
+   <rule ref="rulesets/basic.xml/EmptyIfStmt"/>
  128
+   <rule ref="rulesets/basic.xml/EmptyWhileStmt"/>
  129
+   <rule ref="rulesets/basic.xml/EmptyTryBlock"/>
  130
+   <rule ref="rulesets/basic.xml/EmptyFinallyBlock"/>
  131
+   <rule ref="rulesets/basic.xml/EmptySwitchStatements"/>
  132
+   <rule ref="rulesets/basic.xml/JumbledIncrementer"/>
  133
+   <rule ref="rulesets/basic.xml/ForLoopShouldBeWhileLoop"/>
  134
+   <rule ref="rulesets/basic.xml/UnnecessaryConversionTemporary"/>
  135
+   <rule ref="rulesets/basic.xml/OverrideBothEqualsAndHashcode"/>
  136
+   <rule ref="rulesets/basic.xml/DoubleCheckedLocking"/>
  137
+   <rule ref="rulesets/basic.xml/ReturnFromFinallyBlock"/>
  138
+   <rule ref="rulesets/basic.xml/EmptySynchronizedBlock"/>
  139
+   <rule ref="rulesets/basic.xml/UnnecessaryReturn"/>
  140
+   <rule ref="rulesets/basic.xml/EmptyStaticInitializer"/>
  141
+   <rule ref="rulesets/basic.xml/UnconditionalIfStatement"/>
  142
+   <rule ref="rulesets/basic.xml/EmptyStatementNotInLoop"/>
  143
+   <rule ref="rulesets/basic.xml/BooleanInstantiation"/>
  144
+   <rule ref="rulesets/basic.xml/UnnecessaryFinalModifier"/>
  145
+   <rule ref="rulesets/basic.xml/CollapsibleIfStatements"/>
  146
+   <rule ref="rulesets/basic.xml/UselessOverridingMethod"/>
  147
+   <rule ref="rulesets/basic.xml/ClassCastExceptionWithToArray"/>
  148
+   <rule ref="rulesets/basic.xml/AvoidDecimalLiteralsInBigDecimalConstructor"/>
  149
+   <rule ref="rulesets/basic.xml/UselessOperationOnImmutable"/>
  150
+   <rule ref="rulesets/basic.xml/MisplacedNullCheck"/>
  151
+   <rule ref="rulesets/basic.xml/UnusedNullCheckInEquals"/>
  152
+   <rule ref="rulesets/basic.xml/AvoidThreadGroup"/>
  153
+   <rule ref="rulesets/basic.xml/BrokenNullCheck"/>
  154
+   <rule ref="rulesets/basic.xml/BigIntegerInstantiation"/>
  155
+   <rule ref="rulesets/basic.xml/AvoidUsingOctalValues"/>
  156
+   <rule ref="rulesets/basic.xml/AvoidUsingHardCodedIP"/>
  157
+   <rule ref="rulesets/basic.xml/CheckResultSet"/>
  158
+   <rule ref="rulesets/basic.xml/AvoidMultipleUnaryOperators"/>
  159
+   <rule ref="rulesets/basic.xml/EmptyInitializer"/>
  160
+   <rule ref="rulesets/sunsecure.xml/MethodReturnsInternalArray"/>
  161
+   <rule ref="rulesets/sunsecure.xml/ArrayIsStoredDirectly"/>
  162
+   <rule ref="rulesets/coupling.xml/CouplingBetweenObjects"/>
  163
+   <rule ref="rulesets/coupling.xml/ExcessiveImports"/>
  164
+   <rule ref="rulesets/coupling.xml/LooseCoupling"/>
  165
+   <rule ref="rulesets/imports.xml/DuplicateImports"/>
  166
+   <rule ref="rulesets/imports.xml/DontImportJavaLang"/>
  167
+   <rule ref="rulesets/imports.xml/UnusedImports"/>
  168
+   <rule ref="rulesets/imports.xml/ImportFromSamePackage"/>
  169
+   <rule ref="rulesets/imports.xml/TooManyStaticImports"/>
  170
+   <rule ref="rulesets/junit.xml/JUnitStaticSuite"/>
  171
+   <rule ref="rulesets/junit.xml/JUnitSpelling"/>
  172
+   <rule ref="rulesets/junit.xml/JUnitAssertionsShouldIncludeMessage"/>
  173
+   <rule ref="rulesets/junit.xml/JUnitTestsShouldIncludeAssert"/>
  174
+   <rule ref="rulesets/junit.xml/TestClassWithoutTestCases"/>
  175
+   <rule ref="rulesets/junit.xml/UnnecessaryBooleanAssertion"/>
  176
+   <rule ref="rulesets/junit.xml/UseAssertEqualsInsteadOfAssertTrue"/>
  177
+   <rule ref="rulesets/junit.xml/UseAssertSameInsteadOfAssertTrue"/>
  178
+   <rule ref="rulesets/junit.xml/UseAssertNullInsteadOfAssertTrue"/>
  179
+   <rule ref="rulesets/junit.xml/SimplifyBooleanAssertion"/>
  180
+   <rule ref="rulesets/controversial.xml/UnnecessaryConstructor"/>
  181
+   <rule ref="rulesets/controversial.xml/NullAssignment"/>
  182
+   <rule ref="rulesets/controversial.xml/OnlyOneReturn"/>
  183
+   <rule ref="rulesets/controversial.xml/UnusedModifier"/>
  184
+   <rule ref="rulesets/controversial.xml/AssignmentInOperand"/>
  185
+   <rule ref="rulesets/controversial.xml/AtLeastOneConstructor"/>
  186
+   <rule ref="rulesets/controversial.xml/DontImportSun"/>
  187
+   <rule ref="rulesets/controversial.xml/SuspiciousOctalEscape"/>
  188
+   <rule ref="rulesets/controversial.xml/CallSuperInConstructor"/>
  189
+   <rule ref="rulesets/controversial.xml/UnnecessaryParentheses"/>
  190
+   <rule ref="rulesets/controversial.xml/DefaultPackage"/>
  191
+   <rule ref="rulesets/controversial.xml/BooleanInversion"/>
  192
+   <rule ref="rulesets/controversial.xml/DataflowAnomalyAnalysis"/>
  193
+   <rule ref="rulesets/controversial.xml/AvoidFinalLocalVariable"/>
  194
+   <rule ref="rulesets/controversial.xml/AvoidUsingShortType"/>
  195
+   <rule ref="rulesets/controversial.xml/AvoidUsingVolatile"/>
  196
+   <rule ref="rulesets/controversial.xml/AvoidUsingNativeCode"/>
  197
+   <rule ref="rulesets/controversial.xml/AvoidAccessibilityAlteration"/>
  198
+   <rule ref="rulesets/controversial.xml/DoNotCallGarbageCollectionExplicitly"/>
  199
+   <rule ref="rulesets/naming.xml/ShortVariable"/>
  200
+   <rule ref="rulesets/naming.xml/LongVariable"/>
  201
+   <rule ref="rulesets/naming.xml/ShortMethodName"/>
  202
+   <rule ref="rulesets/naming.xml/VariableNamingConventions"/>
  203
+   <rule ref="rulesets/naming.xml/MethodNamingConventions"/>
  204
+   <rule ref="rulesets/naming.xml/ClassNamingConventions"/>
  205
+   <rule ref="rulesets/naming.xml/AbstractNaming"/>
  206
+   <rule ref="rulesets/naming.xml/AvoidDollarSigns"/>
  207
+   <rule ref="rulesets/naming.xml/MethodWithSameNameAsEnclosingClass"/>
  208
+   <rule ref="rulesets/naming.xml/SuspiciousHashcodeMethodName"/>
  209
+   <rule ref="rulesets/naming.xml/SuspiciousConstantFieldName"/>
  210
+   <rule ref="rulesets/naming.xml/SuspiciousEqualsMethodName"/>
  211
+   <rule ref="rulesets/naming.xml/AvoidFieldNameMatchingTypeName"/>
  212
+   <rule ref="rulesets/naming.xml/AvoidFieldNameMatchingMethodName"/>
  213
+   <rule ref="rulesets/naming.xml/NoPackage"/>
  214
+   <rule ref="rulesets/naming.xml/PackageCase"/>
  215
+   <rule ref="rulesets/naming.xml/MisleadingVariableName"/>
  216
+   <rule ref="rulesets/naming.xml/BooleanGetMethodName"/>
  217
+   <rule ref="rulesets/codesize.xml/NPathComplexity"/>
  218
+   <rule ref="rulesets/codesize.xml/ExcessiveMethodLength"/>
  219
+   <rule ref="rulesets/codesize.xml/ExcessiveParameterList"/>
  220
+   <rule ref="rulesets/codesize.xml/ExcessiveClassLength"/>
  221
+   <rule ref="rulesets/codesize.xml/CyclomaticComplexity"/>
  222
+   <rule ref="rulesets/codesize.xml/ExcessivePublicCount"/>
  223
+   <rule ref="rulesets/codesize.xml/TooManyFields"/>
  224
+   <rule ref="rulesets/codesize.xml/NcssMethodCount"/>
  225
+   <rule ref="rulesets/codesize.xml/NcssTypeCount"/>
  226
+   <rule ref="rulesets/codesize.xml/NcssConstructorCount"/>
  227
+   <rule ref="rulesets/codesize.xml/TooManyMethods"/>
  228
+   <rule ref="rulesets/finalizers.xml/EmptyFinalizer"/>
  229
+   <rule ref="rulesets/finalizers.xml/FinalizeOnlyCallsSuperFinalize"/>
  230
+   <rule ref="rulesets/finalizers.xml/FinalizeOverloaded"/>
  231
+   <rule ref="rulesets/finalizers.xml/FinalizeDoesNotCallSuperFinalize"/>
  232
+   <rule ref="rulesets/finalizers.xml/FinalizeShouldBeProtected"/>
  233
+   <rule ref="rulesets/finalizers.xml/AvoidCallingFinalize"/>
  234
+   <rule ref="rulesets/logging-jakarta-commons.xml/UseCorrectExceptionLogging"/>
  235
+   <rule ref="rulesets/logging-jakarta-commons.xml/ProperLogger"/>
  236
+   <rule ref="rulesets/javabeans.xml/BeanMembersShouldSerialize"/>
  237
+   <rule ref="rulesets/javabeans.xml/MissingSerialVersionUID"/>
  238
+   <rule ref="rulesets/clone.xml/ProperCloneImplementation"/>
  239
+   <rule ref="rulesets/clone.xml/CloneThrowsCloneNotSupportedException"/>
  240
+   <rule ref="rulesets/clone.xml/CloneMethodMustImplementCloneable"/>
  241
+</ruleset>
24  AndroidManifest.xml
... ...
@@ -0,0 +1,24 @@
  1
+<?xml version="1.0" encoding="utf-8"?>
  2
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
  3
+      package="com.mobilebytes.andcustomtitle"
  4
+      android:versionCode="1"
  5
+      android:versionName="1.0">
  6
+    <application android:icon="@drawable/andcustomtitleicon" android:label="@string/app_name"
  7
+    android:theme="@android:style/Theme.NoTitleBar">
  8
+        <activity android:name=".Splash"
  9
+                  android:label="@string/app_name">
  10
+            <intent-filter>
  11
+                <action android:name="android.intent.action.MAIN" />
  12
+                <category android:name="android.intent.category.LAUNCHER" />
  13
+            </intent-filter>
  14
+        </activity>
  15
+     <activity android:name=".MainActivity"
  16
+     android:theme="@style/MyTheme"></activity>
  17
+    </application>
  18
+    <uses-sdk android:minSdkVersion="3" />
  19
+    <supports-screens android:smallScreens="true"
  20
+                  android:normalScreens="true"
  21
+                  android:largeScreens="true"
  22
+                  android:anyDensity="false" />
  23
+
  24
+</manifest>
210  LICENSE-2.0.html
... ...
@@ -0,0 +1,210 @@
  1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2
+<html><head>
  3
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  4
+  <link rel="stylesheet" href="LICENSE-2.0_fichiers/style.css" type="text/css">
  5
+  <meta name="author" content="The Apache Software Foundation">
  6
+  <meta name="email" content="apache.AT.apache.DOT.org">
  7
+  <title>Apache License, Version 2.0 - The Apache Software Foundation</title>
  8
+</head>
  9
+<body>        
  10
+<p align="center">
  11
+Apache License<br>
  12
+Version 2.0, January 2004<br>
  13
+<a href="http://www.apache.org/licenses/">http://www.apache.org/licenses/</a>
  14
+</p>
  15
+<p>
  16
+TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
  17
+</p>
  18
+<p><b><a name="definitions">1. Definitions</a></b>.</p>
  19
+<p>
  20
+      "License" shall mean the terms and conditions for use, reproduction,
  21
+      and distribution as defined by Sections 1 through 9 of this document.
  22
+</p>
  23
+<p>
  24
+      "Licensor" shall mean the copyright owner or entity authorized by
  25
+      the copyright owner that is granting the License.
  26
+</p>
  27
+<p>
  28
+      "Legal Entity" shall mean the union of the acting entity and all
  29
+      other entities that control, are controlled by, or are under common
  30
+      control with that entity. For the purposes of this definition,
  31
+      "control" means (i) the power, direct or indirect, to cause the
  32
+      direction or management of such entity, whether by contract or
  33
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
  34
+      outstanding shares, or (iii) beneficial ownership of such entity.
  35
+</p>
  36
+<p>
  37
+      "You" (or "Your") shall mean an individual or Legal Entity
  38
+      exercising permissions granted by this License.
  39
+</p>
  40
+<p>
  41
+      "Source" form shall mean the preferred form for making modifications,
  42
+      including but not limited to software source code, documentation
  43
+      source, and configuration files.
  44
+</p>
  45
+<p>
  46
+      "Object" form shall mean any form resulting from mechanical
  47
+      transformation or translation of a Source form, including but
  48
+      not limited to compiled object code, generated documentation,
  49
+      and conversions to other media types.
  50
+</p>
  51
+<p>
  52
+      "Work" shall mean the work of authorship, whether in Source or
  53
+      Object form, made available under the License, as indicated by a
  54
+      copyright notice that is included in or attached to the work
  55
+      (an example is provided in the Appendix below).
  56
+</p>
  57
+<p>
  58
+      "Derivative Works" shall mean any work, whether in Source or Object
  59
+      form, that is based on (or derived from) the Work and for which the
  60
+      editorial revisions, annotations, elaborations, or other modifications
  61
+      represent, as a whole, an original work of authorship. For the purposes
  62
+      of this License, Derivative Works shall not include works that remain
  63
+      separable from, or merely link (or bind by name) to the interfaces of,
  64
+      the Work and Derivative Works thereof.
  65
+</p>
  66
+<p>
  67
+      "Contribution" shall mean any work of authorship, including
  68
+      the original version of the Work and any modifications or additions
  69
+      to that Work or Derivative Works thereof, that is intentionally
  70
+      submitted to Licensor for inclusion in the Work by the copyright owner
  71
+      or by an individual or Legal Entity authorized to submit on behalf of
  72
+      the copyright owner. For the purposes of this definition, "submitted"
  73
+      means any form of electronic, verbal, or written communication sent
  74
+      to the Licensor or its representatives, including but not limited to
  75
+      communication on electronic mailing lists, source code control systems,
  76
+      and issue tracking systems that are managed by, or on behalf of, the
  77
+      Licensor for the purpose of discussing and improving the Work, but
  78
+      excluding communication that is conspicuously marked or otherwise
  79
+      designated in writing by the copyright owner as "Not a Contribution."
  80
+</p>
  81
+<p>
  82
+      "Contributor" shall mean Licensor and any individual or Legal Entity
  83
+      on behalf of whom a Contribution has been received by Licensor and
  84
+      subsequently incorporated within the Work.
  85
+</p>
  86
+<p><b><a name="copyright">2. Grant of Copyright License</a></b>.
  87
+Subject to the terms and conditions of
  88
+      this License, each Contributor hereby grants to You a perpetual,
  89
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
  90
+      copyright license to reproduce, prepare Derivative Works of,
  91
+      publicly display, publicly perform, sublicense, and distribute the
  92
+      Work and such Derivative Works in Source or Object form.
  93
+</p>
  94
+<p><b><a name="patent">3. Grant of Patent License</a></b>.
  95
+Subject to the terms and conditions of
  96
+      this License, each Contributor hereby grants to You a perpetual,
  97
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
  98
+      (except as stated in this section) patent license to make, have made,
  99
+      use, offer to sell, sell, import, and otherwise transfer the Work,
  100
+      where such license applies only to those patent claims licensable
  101
+      by such Contributor that are necessarily infringed by their
  102
+      Contribution(s) alone or by combination of their Contribution(s)
  103
+      with the Work to which such Contribution(s) was submitted. If You
  104
+      institute patent litigation against any entity (including a
  105
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
  106
+      or a Contribution incorporated within the Work constitutes direct
  107
+      or contributory patent infringement, then any patent licenses
  108
+      granted to You under this License for that Work shall terminate
  109
+      as of the date such litigation is filed.
  110
+</p>
  111
+<p><b><a name="redistribution">4. Redistribution</a></b>.
  112
+You may reproduce and distribute copies of the
  113
+      Work or Derivative Works thereof in any medium, with or without
  114
+      modifications, and in Source or Object form, provided that You
  115
+      meet the following conditions:
  116
+</p><ol type="a">
  117
+<li>You must give any other recipients of the Work or
  118
+          Derivative Works a copy of this License; and
  119
+<br> <br></li>
  120
+
  121
+<li>You must cause any modified files to carry prominent notices
  122
+          stating that You changed the files; and
  123
+<br> <br></li>
  124
+
  125
+<li>You must retain, in the Source form of any Derivative Works
  126
+          that You distribute, all copyright, patent, trademark, and
  127
+          attribution notices from the Source form of the Work,
  128
+          excluding those notices that do not pertain to any part of
  129
+          the Derivative Works; and
  130
+<br> <br></li>
  131
+
  132
+<li>If the Work includes a "NOTICE" text file as part of its
  133
+          distribution, then any Derivative Works that You distribute must
  134
+          include a readable copy of the attribution notices contained
  135
+          within such NOTICE file, excluding those notices that do not
  136
+          pertain to any part of the Derivative Works, in at least one
  137
+          of the following places: within a NOTICE text file distributed
  138
+          as part of the Derivative Works; within the Source form or
  139
+          documentation, if provided along with the Derivative Works; or,
  140
+          within a display generated by the Derivative Works, if and
  141
+          wherever such third-party notices normally appear. The contents
  142
+          of the NOTICE file are for informational purposes only and
  143
+          do not modify the License. You may add Your own attribution
  144
+          notices within Derivative Works that You distribute, alongside
  145
+          or as an addendum to the NOTICE text from the Work, provided
  146
+          that such additional attribution notices cannot be construed
  147
+          as modifying the License.</li>
  148
+</ol>
  149
+      You may add Your own copyright statement to Your modifications and
  150
+      may provide additional or different license terms and conditions
  151
+      for use, reproduction, or distribution of Your modifications, or
  152
+      for any such Derivative Works as a whole, provided Your use,
  153
+      reproduction, and distribution of the Work otherwise complies with
  154
+      the conditions stated in this License.
  155
+
  156
+<p><b><a name="contributions">5. Submission of Contributions</a></b>.
  157
+Unless You explicitly state otherwise,
  158
+      any Contribution intentionally submitted for inclusion in the Work
  159
+      by You to the Licensor shall be under the terms and conditions of
  160
+      this License, without any additional terms or conditions.
  161
+      Notwithstanding the above, nothing herein shall supersede or modify
  162
+      the terms of any separate license agreement you may have executed
  163
+      with Licensor regarding such Contributions.
  164
+</p>
  165
+<p><b><a name="trademarks">6. Trademarks</a></b>.
  166
+This License does not grant permission to use the trade
  167
+      names, trademarks, service marks, or product names of the Licensor,
  168
+      except as required for reasonable and customary use in describing the
  169
+      origin of the Work and reproducing the content of the NOTICE file.
  170
+</p>
  171
+<p><b><a name="no-warranty">7. Disclaimer of Warranty</a></b>.
  172
+Unless required by applicable law or
  173
+      agreed to in writing, Licensor provides the Work (and each
  174
+      Contributor provides its Contributions) on an "AS IS" BASIS,
  175
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
  176
+      implied, including, without limitation, any warranties or conditions
  177
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
  178
+      PARTICULAR PURPOSE. You are solely responsible for determining the
  179
+      appropriateness of using or redistributing the Work and assume any
  180
+      risks associated with Your exercise of permissions under this License.
  181
+</p>
  182
+<p><b><a name="no-liability">8. Limitation of Liability</a></b>.
  183
+In no event and under no legal theory,
  184
+      whether in tort (including negligence), contract, or otherwise,
  185
+      unless required by applicable law (such as deliberate and grossly
  186
+      negligent acts) or agreed to in writing, shall any Contributor be
  187
+      liable to You for damages, including any direct, indirect, special,
  188
+      incidental, or consequential damages of any character arising as a
  189
+      result of this License or out of the use or inability to use the
  190
+      Work (including but not limited to damages for loss of goodwill,
  191
+      work stoppage, computer failure or malfunction, or any and all
  192
+      other commercial damages or losses), even if such Contributor
  193
+      has been advised of the possibility of such damages.
  194
+</p>
  195
+<p><b><a name="additional">9. Accepting Warranty or Additional Liability</a></b>.
  196
+While redistributing
  197
+      the Work or Derivative Works thereof, You may choose to offer,
  198
+      and charge a fee for, acceptance of support, warranty, indemnity,
  199
+      or other liability obligations and/or rights consistent with this
  200
+      License. However, in accepting such obligations, You may act only
  201
+      on Your own behalf and on Your sole responsibility, not on behalf
  202
+      of any other Contributor, and only if You agree to indemnify,
  203
+      defend, and hold each Contributor harmless for any liability
  204
+      incurred by, or claims asserted against, such Contributor by reason
  205
+      of your accepting any such warranty or additional liability.
  206
+</p>
  207
+<p>
  208
+END OF TERMS AND CONDITIONS
  209
+</p>
  210
+</body></html>
BIN  antlibs/asm-3.1.jar
Binary file not shown
BIN  antlibs/checkstyle-all-5.0.jar
Binary file not shown
BIN  antlibs/jaxen-1.1.1.jar
Binary file not shown
BIN  antlibs/junit-4.4.jar
Binary file not shown
BIN  antlibs/pmd-4.2.5.jar
Binary file not shown
3  build.properties
... ...
@@ -0,0 +1,3 @@
  1
+application.package=com.mobilebytes.andlog
  2
+source.dir=src
  3
+out.dir=bin
BIN  buildconfig/images/companylogo.png
66  buildconfig/xsls/checkstyle.xsl
... ...
@@ -0,0 +1,66 @@
  1
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  2
+<xsl:output method="html" 
  3
+     indent="yes"  />
  4
+<xsl:param name="project" select="files"/>
  5
+<xsl:param name="company" select="company"/>
  6
+<xsl:param name="today" select="today"/>
  7
+<xsl:param name="context-root" select="context-root"/>
  8
+<xsl:param name="source-root" select="source-root"/>
  9
+
  10
+<xsl:template match="/checkstyle">
  11
+    <html>
  12
+    <head>
  13
+    <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"/>
  14
+    <title>Checkstyle Results for <xsl:value-of select="$project"/></title>
  15
+    <link rel="stylesheet" type="text/css" href="reports.css"/>
  16
+    </head>
  17
+    <body>
  18
+    <h1>Checkstyle Audit of <xsl:value-of select="$project"/> source code for <xsl:value-of select="company"/></h1>
  19
+    <p align="right">Run with <a href="http://checkstyle.sourceforge.net">Checkstyle <xsl:value-of select="//checkstyle/@version"/></a> on <xsl:value-of select="$today"/></p>
  20
+    <table class="summary">
  21
+        <tr>
  22
+            <th>Files</th>
  23
+            <th>Items Found</th>
  24
+        </tr>
  25
+        <tr>
  26
+            <td><xsl:value-of select="count(//file)"/></td>
  27
+            <td><xsl:value-of select="count(//error)" /></td>
  28
+        </tr>
  29
+    </table>
  30
+    <hr size="2" />
  31
+    <xsl:apply-templates/>
  32
+    </body>
  33
+    </html>
  34
+</xsl:template>
  35
+
  36
+<xsl:template name="severityDiv">
  37
+<xsl:if test="@severity = 'error'">p1</xsl:if>
  38
+<xsl:if test="@severity = 'warning'">p2</xsl:if>
  39
+<xsl:if test="@severity = 'info'">p3</xsl:if>
  40
+</xsl:template>
  41
+
  42
+<xsl:template match="//file[error]">
  43
+    <xsl:variable name="filename" select="@name"/>
  44
+    <xsl:variable name="translated-path" select="translate(@name, '\', '/')"/>
  45
+    <xsl:variable name="translated-source-root" select="translate($source-root, '\', '/')"/>
  46
+    <xsl:variable name="linkpath" select="substring-after($translated-path, $translated-source-root)"/>
  47
+    <xsl:variable name="class-name" select="translate($linkpath, '/', '.')"/>
  48
+    <table class="details">
  49
+    <tr>
  50
+    <th colspan="4">
  51
+        <xsl:value-of select="$linkpath"/></th>
  52
+    </tr>
  53
+    <xsl:for-each select="error">
  54
+        <tr>
  55
+        <td style="padding: 3px" align="right"><div><xsl:attribute name="class"><xsl:call-template name="severityDiv"/></xsl:attribute><xsl:value-of disable-output-escaping="yes" select="@severity"/></div></td>
  56
+        <xsl:variable name="lineNum" select="@line"/>
  57
+        <td><a href="{$context-root}/{$linkpath}.html#{$lineNum}">Line <xsl:value-of select="@line"/></a></td>
  58
+        <td><xsl:value-of select="."/></td>
  59
+        <td><xsl:value-of select="@message"/></td>
  60
+        </tr>
  61
+    </xsl:for-each>
  62
+    </table>
  63
+    <p/>
  64
+</xsl:template>
  65
+
  66
+</xsl:stylesheet>
86  buildconfig/xsls/pmd.xsl
... ...
@@ -0,0 +1,86 @@
  1
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  2
+<xsl:output method="html" 
  3
+     indent="yes"  />
  4
+<xsl:param name="project" select="files"/>
  5
+<xsl:param name="rulesets" select="'not defined'"/>
  6
+<xsl:param name="today" select="today"/>
  7
+<xsl:param name="company" select="company"/>
  8
+<xsl:param name="context-root" select="context-root"/>
  9
+
  10
+<xsl:template match="/pmd">
  11
+    <html>
  12
+    <head>
  13
+    <meta http-equiv="Content-Style-Type" content="text/css"/>
  14
+    <title>PMD Results for <xsl:value-of select="$project"/></title>
  15
+    <link rel="stylesheet" type="text/css" href="reports.css"/>
  16
+    </head>
  17
+    <body>
  18
+    <h1>Static Analysis of <xsl:value-of select="$project"/> source code for <xsl:value-of select="$company"/> on <xsl:value-of select="$today"/></h1>
  19
+    <p align="right">Run with <a href="http://pmd.sourceforge.net">PMD <xsl:value-of select="//pmd/@version"/></a></p>
  20
+    <table class="summary">
  21
+        <tr><th>Rulesets Used</th> 
  22
+            <th>Files</th>
  23
+            <th>Items Found</th>
  24
+            <th>Priority 1</th>
  25
+            <th>Priority 2</th>
  26
+            <th>Priority 3</th>
  27
+            <th>Priority 4</th>
  28
+            <th>Priority 5</th>
  29
+        </tr>
  30
+        <tr><td><xsl:value-of select="$rulesets"/></td>
  31
+            <td><xsl:value-of select="count(//file)"/></td>
  32
+            <td><xsl:value-of select="count(//violation)" /></td>
  33
+            <td><div class="p1"><xsl:value-of select="count(//violation[@priority = 1])"/></div></td>
  34
+            <td><div class="p2"><xsl:value-of select="count(//violation[@priority = 2])"/></div></td>
  35
+            <td><div class="p3"><xsl:value-of select="count(//violation[@priority = 3])"/></div></td>
  36
+            <td><div class="p4"><xsl:value-of select="count(//violation[@priority = 4])"/></div></td>
  37
+            <td><div class="p5"><xsl:value-of select="count(//violation[@priority = 5])"/></div></td>
  38
+        </tr>
  39
+    </table>
  40
+    <hr size="2" />
  41
+    <xsl:apply-templates/>
  42
+    </body>
  43
+    </html>
  44
+</xsl:template>
  45
+
  46
+<xsl:template name="priorityDiv">
  47
+<xsl:if test="@priority = 1">p1</xsl:if>
  48
+<xsl:if test="@priority = 2">p2</xsl:if>
  49
+<xsl:if test="@priority = 3">p3</xsl:if>
  50
+<xsl:if test="@priority = 4">p4</xsl:if>
  51
+<xsl:if test="@priority = 5">p5</xsl:if>
  52
+</xsl:template>
  53
+
  54
+<xsl:template match="//file">
  55
+    <xsl:variable name="filename" select="@name"/>
  56
+    <table class="details">
  57
+    <tr>
  58
+    <th colspan="4">
  59
+        <xsl:value-of select="$filename"/></th>
  60
+    </tr>
  61
+    <xsl:for-each select="violation">
  62
+        <tr>
  63
+        <td style="padding: 3px" align="right"><div><xsl:attribute name="class"><xsl:call-template name="priorityDiv"/></xsl:attribute><xsl:value-of disable-output-escaping="yes" select="@priority"/></div></td>
  64
+        <!-- PMD 3.x uses the 'line' attribute, but 4.0 uses 'beginline' and 'endline' -->
  65
+        <xsl:if test="@line">
  66
+            <xsl:variable name="lineNum" select="@line"/>
  67
+            <td><a href="{$context-root}/{$filename}.html#{$lineNum}">Line <xsl:value-of select="@line"/></a></td>
  68
+        </xsl:if>
  69
+        <xsl:if test="@beginline">
  70
+            <xsl:variable name="lineNum" select="@beginline"/>
  71
+            <td><a href="{$context-root}/{$filename}.html#{$lineNum}">Line <xsl:value-of select="@beginline"/></a></td>
  72
+        </xsl:if>
  73
+        <td><xsl:value-of select="."/></td>
  74
+        <td><xsl:if test="@externalInfoUrl">
  75
+                <a><xsl:attribute name="href"><xsl:value-of select="@externalInfoUrl"/></xsl:attribute><xsl:value-of select="@rule"/></a>
  76
+            </xsl:if>
  77
+            <xsl:if test="not(@externalInfoUrl)">
  78
+                <xsl:value-of select="@rule"/>
  79
+            </xsl:if></td>
  80
+        </tr>
  81
+    </xsl:for-each>
  82
+    </table>
  83
+    <p/>
  84
+</xsl:template>
  85
+
  86
+</xsl:stylesheet>
11  default.properties
... ...
@@ -0,0 +1,11 @@
  1
+# This file is automatically generated by Android Tools.
  2
+# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
  3
+# 
  4
+# This file must be checked in Version Control Systems.
  5
+# 
  6
+# To customize properties used by the Ant build system use,
  7
+# "build.properties", and override values to adapt the script to your
  8
+# project structure.
  9
+
  10
+# Project target.
  11
+target=android-4
BIN  doclets/apiviz-1.3.1.GA.jar
Binary file not shown
104  eclipse_sun_checkstyle.xml
... ...
@@ -0,0 +1,104 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
  3
+
  4
+<!--
  5
+    This configuration file was written by the eclipse-cs plugin configuration editor
  6
+-->
  7
+<!--
  8
+    Checkstyle-Configuration: ec
  9
+    Description: none
  10
+-->
  11
+<module name="Checker">
  12
+  <property name="severity" value="warning"/>
  13
+  <module name="TreeWalker">
  14
+    <property name="tabWidth" value="4"/>
  15
+    <module name="JavadocMethod">
  16
+      <property name="logLoadErrors" value="true"/>
  17
+      <property name="suppressLoadErrors" value="true"/>
  18
+    </module>
  19
+    <module name="JavadocType"/>
  20
+    <module name="JavadocVariable"/>
  21
+    <module name="JavadocStyle"/>
  22
+    <module name="ConstantName"/>
  23
+    <module name="LocalFinalVariableName"/>
  24
+    <module name="LocalVariableName"/>
  25
+    <module name="MemberName"/>
  26
+    <module name="MethodName"/>
  27
+    <module name="PackageName"/>
  28
+    <module name="ParameterName"/>
  29
+    <module name="StaticVariableName"/>
  30
+    <module name="TypeName"/>
  31
+    <module name="AvoidStarImport"/>
  32
+    <module name="IllegalImport"/>
  33
+    <module name="RedundantImport"/>
  34
+    <module name="UnusedImports"/>
  35
+    <module name="LineLength"/>
  36
+    <module name="MethodLength"/>
  37
+    <module name="ParameterNumber"/>
  38
+    <module name="EmptyForIteratorPad"/>
  39
+    <module name="MethodParamPad"/>
  40
+    <module name="NoWhitespaceAfter">
  41
+      <property name="tokens" value="BNOT,DEC,DOT,INC,LNOT,UNARY_MINUS,UNARY_PLUS"/>
  42
+    </module>
  43
+    <module name="NoWhitespaceBefore"/>
  44
+    <module name="OperatorWrap"/>
  45
+    <module name="ParenPad"/>
  46
+    <module name="TypecastParenPad"/>
  47
+    <module name="WhitespaceAfter"/>
  48
+    <module name="WhitespaceAround"/>
  49
+    <module name="ModifierOrder"/>
  50
+    <module name="RedundantModifier"/>
  51
+    <module name="AvoidNestedBlocks"/>
  52
+    <module name="EmptyBlock"/>
  53
+    <module name="LeftCurly"/>
  54
+    <module name="NeedBraces"/>
  55
+    <module name="RightCurly"/>
  56
+    <module name="AvoidInlineConditionals"/>
  57
+    <module name="DoubleCheckedLocking"/>
  58
+    <module name="EmptyStatement"/>
  59
+    <module name="EqualsHashCode"/>
  60
+    <module name="HiddenField"/>
  61
+    <module name="IllegalInstantiation"/>
  62
+    <module name="InnerAssignment"/>
  63
+    <module name="MagicNumber"/>
  64
+    <module name="MissingSwitchDefault"/>
  65
+    <module name="RedundantThrows">
  66
+      <property name="logLoadErrors" value="true"/>
  67
+      <property name="suppressLoadErrors" value="true"/>
  68
+    </module>
  69
+    <module name="SimplifyBooleanExpression"/>
  70
+    <module name="SimplifyBooleanReturn"/>
  71
+    <module name="DesignForExtension"/>
  72
+    <module name="FinalClass"/>
  73
+    <module name="HideUtilityClassConstructor"/>
  74
+    <module name="InterfaceIsType"/>
  75
+    <module name="VisibilityModifier"/>
  76
+    <module name="ArrayTypeStyle"/>
  77
+    <module name="FinalParameters">
  78
+      <property name="severity" value="ignore"/>
  79
+      <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>
  80
+    </module>
  81
+    <module name="TodoComment">
  82
+      <property name="severity" value="ignore"/>
  83
+      <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>
  84
+    </module>
  85
+    <module name="UpperEll"/>
  86
+  </module>
  87
+  <module name="JavadocPackage"/>
  88
+  <module name="NewlineAtEndOfFile">
  89
+    <property name="severity" value="ignore"/>
  90
+    <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>
  91
+  </module>
  92
+  <module name="Translation"/>
  93
+  <module name="FileLength"/>
  94
+  <module name="FileTabCharacter">
  95
+    <property name="severity" value="ignore"/>
  96
+    <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>
  97
+  </module>
  98
+  <module name="RegexpSingleline">
  99
+    <property name="severity" value="ignore"/>
  100
+    <property name="format" value="\s+$"/>
  101
+    <property name="message" value="Line has trailing spaces."/>
  102
+    <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>
  103
+  </module>
  104
+</module>
44  readme.markdown
Source Rendered
... ...
@@ -0,0 +1,44 @@
  1
+![AndCustomTitle(http://github.com/shareme/andcustomtitle/raw/master/screenshots/andcustomtitleicon.png)
  2
+# Project Name
  3
+
  4
+AndCustomTitle uses themes and extended Window features of Android to customize
  5
+the title bar. Title bar flash is removed by putting a Splash activity as the
  6
+point of entry into the application and a call in the Splash activity onCreate
  7
+method that sets NoTitle as the Window extended feature to use.
  8
+
  9
+# Project Lead
  10
+
  11
+Fred Grott, a mobile and java developer, is the Project Lead. He has been
  12
+involved in mobile before contributing to such things as a UI Library called
  13
+SynclastUI(a xml-ized UI for MIDP devices) and an Apache ANT build library
  14
+tool for MIDP java development called Antenna.
  15
+
  16
+On the Java Enterprise side he has written technical articles for
  17
+IBM DeveloperWorks and has co-authored articles on the Eclipse IDE.
  18
+His linkedin profile can be found at:
  19
+
  20
+http://www.linkedin.com/in/shareme
  21
+
  22
+His Android Developer Blog can be found at:
  23
+
  24
+http://mobilebytes.wordpress.com
  25
+
  26
+His LAMP blog can be found at:
  27
+
  28
+http://hackedlabs.wordpress.com
  29
+
  30
+# Project License
  31
+
  32
+AndCustomTitle is licensed under the Apache License 2.0 and text for that
  33
+license can be found at:
  34
+http://www.apache.org/licenses/LICENSE-2.0.html
  35
+
  36
+# Usage
  37
+
  38
+You can download the source and re-use or you can also download the binary to
  39
+see it at work in your android device.
  40
+
  41
+# Credits
  42
+
  43
+# Feedback
  44
+
BIN  res/drawable-hdpi/andcustomtitleicon.png
10  res/drawable-hdpi/companylogo.xml
... ...
@@ -0,0 +1,10 @@
  1
+<?xml version="1.0" encoding="utf-8"?>
  2
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
  3
+
  4
+    <item android:state_pressed="false"
  5
+        android:drawable="@drawable/mobilebyteslogo_normal" />
  6
+        
  7
+    <item android:state_pressed="true"
  8
+        android:drawable="@drawable/mobilebyteslogo_pressed" />
  9
+        
  10
+</selector>
5  res/drawable-hdpi/gradient.xml
... ...
@@ -0,0 +1,5 @@
  1
+<?xml version="1.0" encoding="utf-8"?>
  2
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
  3
+	<gradient android:angle="0" android:startColor="#066dc9"
  4
+		android:centerColor="#1e7acd" android:endColor="#84ddff"/>
  5
+</shape>
BIN  res/drawable-hdpi/icon.png
BIN  res/drawable-hdpi/lil_developers.png
BIN  res/drawable-hdpi/lil_market.png
BIN  res/drawable-hdpi/lil_opensource.png
BIN  res/drawable-hdpi/mobilebyteslogo_normal.png
BIN  res/drawable-hdpi/mobilebyteslogo_pressed.png
BIN  res/drawable-hdpi/strokes_blue_developers.png
BIN  res/drawable-hdpi/title_bar_shadow2.png
BIN  res/drawable-ldpi/andcustomtitleicon.png
10  res/drawable-ldpi/companylogo.xml
... ...
@@ -0,0 +1,10 @@
  1
+<?xml version="1.0" encoding="utf-8"?>
  2
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
  3
+
  4
+    <item android:state_pressed="false"
  5
+        android:drawable="@drawable/mobilebyteslogo_normal" />
  6
+        
  7
+    <item android:state_pressed="true"
  8
+        android:drawable="@drawable/mobilebyteslogo_pressed" />
  9
+        
  10
+</selector>
5  res/drawable-ldpi/gradient.xml
... ...
@@ -0,0 +1,5 @@
  1
+<?xml version="1.0" encoding="utf-8"?>
  2
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
  3
+	<gradient android:angle="0" android:startColor="#066dc9"
  4
+		android:centerColor="#1e7acd" android:endColor="#84ddff"/>
  5
+</shape>
BIN  res/drawable-ldpi/icon.png
BIN  res/drawable-ldpi/lil_developers.png
BIN  res/drawable-ldpi/lil_market.png
BIN  res/drawable-ldpi/lil_opensource.png
BIN  res/drawable-ldpi/mobilebyteslogo_normal.png
BIN  res/drawable-ldpi/mobilebyteslogo_pressed.png
BIN  res/drawable-ldpi/strokes_blue_developers.png
BIN  res/drawable-ldpi/title_bar_shadow2.png
BIN  res/drawable-mdpi/andcustomtitleicon.png
10  res/drawable-mdpi/companylogo.xml
... ...
@@ -0,0 +1,10 @@
  1
+<?xml version="1.0" encoding="utf-8"?>
  2
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
  3
+
  4
+    <item android:state_pressed="false"
  5
+        android:drawable="@drawable/mobilebyteslogo_normal" />
  6
+        
  7
+    <item android:state_pressed="true"
  8
+        android:drawable="@drawable/mobilebyteslogo_pressed" />
  9
+        
  10
+</selector>
5  res/drawable-mdpi/gradient.xml
... ...
@@ -0,0 +1,5 @@
  1
+<?xml version="1.0" encoding="utf-8"?>
  2
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
  3
+	<gradient android:angle="0" android:startColor="#066dc9"
  4
+		android:centerColor="#1e7acd" android:endColor="#84ddff"/>
  5
+</shape>
BIN  res/drawable-mdpi/icon.png
BIN  res/drawable-mdpi/lil_developers.png
BIN  res/drawable-mdpi/lil_market.png
BIN  res/drawable-mdpi/lil_opensource.png
BIN  res/drawable-mdpi/mobilebyteslogo_normal.png
BIN  res/drawable-mdpi/mobilebyteslogo_pressed.png
BIN  res/drawable-mdpi/strokes_blue_developers.png
BIN  res/drawable-mdpi/title_bar_shadow2.png
74  res/layout/main.xml
... ...
@@ -0,0 +1,74 @@
  1
+<?xml version="1.0" encoding="utf-8"?>
  2
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3
+    android:layout_width="fill_parent" android:layout_height="fill_parent"
  4
+    android:background="#040e17">
  5
+
  6
+    <ImageView android:id="@+id/footer" android:src="@drawable/strokes_blue_developers"
  7
+        android:layout_height="wrap_content" android:layout_width="wrap_content"
  8
+        android:layout_alignParentBottom="true" />
  9
+
  10
+    <LinearLayout android:id="@+id/content"
  11
+        android:layout_height="fill_parent" android:layout_width="fill_parent"
  12
+        android:layout_below="@+id/header" android:layout_above="@+id/footer"
  13
+        android:orientation="vertical">
  14
+
  15
+        <View android:layout_width="fill_parent" android:layout_height="100px" />
  16
+
  17
+        <View android:background="@drawable/gradient"
  18
+            android:layout_width="fill_parent" android:layout_height="3px" android:layout_margin="3px"/>
  19
+
  20
+        <View android:background="@drawable/gradient"
  21
+            android:layout_width="fill_parent" android:layout_height="3px" android:layout_margin="3px"/>
  22
+
  23
+        <View android:background="@drawable/gradient"
  24
+            android:layout_width="fill_parent" android:layout_height="3px" android:layout_margin="3px"/>
  25
+
  26
+        <TableLayout android:layout_height="wrap_content"
  27
+            android:layout_width="wrap_content">
  28
+
  29
+            <TableRow>
  30
+                <ImageView android:layout_width="wrap_content"
  31
+                    android:layout_height="wrap_content" android:src="@drawable/lil_market"
  32
+                    android:padding="6px" android:layout_gravity="center_vertical|center_horizontal" />
  33
+
  34
+                <ImageView android:layout_width="wrap_content"
  35
+                    android:layout_height="wrap_content" android:src="@drawable/lil_developers"
  36
+                    android:padding="6px" android:layout_gravity="center_vertical|center_horizontal" />
  37
+
  38
+                <ImageView android:layout_width="wrap_content"
  39
+                    android:layout_height="wrap_content" android:src="@drawable/lil_opensource"
  40
+                    android:padding="6px" android:layout_gravity="center_vertical|center_horizontal" />
  41
+            </TableRow>
  42
+
  43
+            <TableRow>
  44
+                <TextView android:layout_width="wrap_content"
  45
+                    android:layout_height="wrap_content" android:text="Market"
  46
+                    android:textColor="#669999" android:textSize="20px"
  47
+                    android:layout_gravity="center_vertical" android:padding="6px" />
  48
+
  49
+                <TextView android:layout_width="wrap_content"
  50
+                    android:layout_height="wrap_content" android:text="Developers"
  51
+                    android:textColor="#669999" android:textSize="20px"
  52
+                    android:layout_gravity="center_vertical" android:padding="6px" />
  53
+
  54
+                <TextView android:layout_width="wrap_content"
  55
+                    android:layout_height="wrap_content" android:text="Open Source"
  56
+                    android:textColor="#669999" android:textSize="20px"
  57
+                    android:layout_gravity="center_vertical" android:padding="6px" />
  58
+            </TableRow>
  59
+
  60
+        </TableLayout>
  61
+
  62
+        <View android:background="@drawable/gradient"
  63
+            android:layout_width="fill_parent" android:layout_height="3px" android:layout_margin="3px"/>
  64
+
  65
+        <View android:background="@drawable/gradient"
  66
+            android:layout_width="fill_parent" android:layout_height="3px" android:layout_margin="3px"/>
  67
+
  68
+        <View android:background="@drawable/gradient"
  69
+            android:layout_width="fill_parent" android:layout_height="3px" android:layout_margin="3px"/>
  70
+
  71
+
  72
+    </LinearLayout>
  73
+
  74
+</RelativeLayout>
8  res/layout/splashscreen.xml
... ...
@@ -0,0 +1,8 @@
  1
+<?xml version="1.0" encoding="utf-8"?>
  2
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3
+    android:orientation="vertical"
  4
+    android:layout_width="fill_parent"
  5
+    android:layout_height="fill_parent"
  6
+    >
  7
+
  8
+</LinearLayout>
18  res/layout/title.xml
... ...
@@ -0,0 +1,18 @@
  1
+<?xml version="1.0" encoding="utf-8"?>
  2
+<RelativeLayout android:id="@+id/header"
  3
+	xmlns:android="http://schemas.android.com/apk/res/android"
  4
+	android:layout_height="wrap_content" android:layout_width="fill_parent"
  5
+	android:background="#066dc9">
  6
+
  7
+	<ImageView android:src="@drawable/companylogo"
  8
+		android:layout_width="wrap_content" android:layout_alignParentLeft="true"
  9
+		android:layout_centerVertical="true" android:id="@+id/back"
  10
+		android:layout_height="wrap_content" android:layout_alignParentTop="true" />
  11
+
  12
+	<TextView android:id="@+id/title" android:layout_width="wrap_content"
  13
+		android:gravity="center" android:textSize="20px"
  14
+		android:textColor="#ffffff" android:layout_alignParentRight="true"
  15
+		android:text="New Title" android:background="#335370"
  16
+		android:layout_height="wrap_content" android:layout_alignParentTop="true"
  17
+		android:padding="9dip" android:layout_margin="5dip" />
  18
+</RelativeLayout>
5  res/values/strings.xml
... ...
@@ -0,0 +1,5 @@
  1
+<?xml version="1.0" encoding="utf-8"?>
  2
+<resources>
  3
+    <string name="hello">Hello World, MainActivity!</string>
  4
+    <string name="app_name">AndCustomTitle</string>
  5
+</resources>
6  res/values/styles.xml
... ...
@@ -0,0 +1,6 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<resources>
  3
+    <style name="WindowTitleBackground" parent="android:WindowTitleBackground">    
  4
+        <item name="android:background">@android:color/transparent</item>        
  5
+    </style>    
  6
+</resources>
8  res/values/themes.xml
... ...
@@ -0,0 +1,8 @@
  1
+<?xml version="1.0" encoding="utf-8"?>
  2
+<resources>
  3
+	<style name="MyTheme" parent="android:Theme">
  4
+		<item name="android:windowTitleSize">54px</item>
  5
+		<item name="android:windowTitleBackgroundStyle">@style/WindowTitleBackground</item>