code
string
repo_name
string
path
string
language
string
license
string
size
int64
/* * [The "BSD licence"] * Copyright (c) 2010 Ben Gruver (JesusFreke) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright ...
zxfbuptmmc-fordexlib
dexlib/src/main/java/org/jf/dexlib/EncodedValue/AnnotationEncodedSubValue.java
Java
bsd
6,422
/* * [The "BSD licence"] * Copyright (c) 2010 Ben Gruver (JesusFreke) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright ...
zxfbuptmmc-fordexlib
dexlib/src/main/java/org/jf/dexlib/EncodedValue/ArrayEncodedValue.java
Java
bsd
2,785
/* * [The "BSD licence"] * Copyright (c) 2010 Ben Gruver (JesusFreke) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright ...
zxfbuptmmc-fordexlib
dexlib/src/main/java/org/jf/dexlib/EncodedValue/ArrayEncodedSubValue.java
Java
bsd
4,989
/* * [The "BSD licence"] * Copyright (c) 2010 Ben Gruver (JesusFreke) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright ...
zxfbuptmmc-fordexlib
dexlib/src/main/java/org/jf/dexlib/EncodedValue/LongEncodedValue.java
Java
bsd
3,609
/* * [The "BSD licence"] * Copyright (c) 2010 Ben Gruver (JesusFreke) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright ...
zxfbuptmmc-fordexlib
dexlib/src/main/java/org/jf/dexlib/EncodedValue/FieldEncodedValue.java
Java
bsd
3,904
/* * [The "BSD licence"] * Copyright (c) 2010 Ben Gruver (JesusFreke) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright ...
zxfbuptmmc-fordexlib
dexlib/src/main/java/org/jf/dexlib/EncodedValue/CharEncodedValue.java
Java
bsd
3,701
/* * [The "BSD licence"] * Copyright (c) 2010 Ben Gruver (JesusFreke) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright ...
zxfbuptmmc-fordexlib
dexlib/src/main/java/org/jf/dexlib/EncodedValue/ByteEncodedValue.java
Java
bsd
3,224
/* * [The "BSD licence"] * Copyright (c) 2010 Ben Gruver (JesusFreke) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright ...
zxfbuptmmc-fordexlib
dexlib/src/main/java/org/jf/dexlib/EncodedValue/AnnotationEncodedValue.java
Java
bsd
3,223
/* * [The "BSD licence"] * Copyright (c) 2010 Ben Gruver (JesusFreke) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright ...
zxfbuptmmc-fordexlib
dexlib/src/main/java/org/jf/dexlib/EncodedValue/ValueType.java
Java
bsd
3,141
/* * [The "BSD licence"] * Copyright (c) 2010 Ben Gruver (JesusFreke) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright ...
zxfbuptmmc-fordexlib
dexlib/src/main/java/org/jf/dexlib/EncodedArrayItem.java
Java
bsd
4,792
/* * [The "BSD licence"] * Copyright (c) 2010 Ben Gruver (JesusFreke) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright ...
zxfbuptmmc-fordexlib
dexlib/src/main/java/org/jf/dexlib/StringIdItem.java
Java
bsd
6,913
/* * [The "BSD licence"] * Copyright (c) 2010 Ben Gruver (JesusFreke) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright ...
zxfbuptmmc-fordexlib
dexlib/src/main/java/org/jf/dexlib/TypeIdItem.java
Java
bsd
8,191
/* * [The "BSD licence"] * Copyright (c) 2010 Ben Gruver (JesusFreke) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright ...
zxfbuptmmc-fordexlib
dexlib/src/main/java/org/jf/dexlib/DexFile.java
Java
bsd
36,012
/* * [The "BSD licence"] * Copyright (c) 2010 Ben Gruver (JesusFreke) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright ...
zxfbuptmmc-fordexlib
dexlib/src/main/java/org/jf/dexlib/HeaderItem.java
Java
bsd
11,143
/* * [The "BSD licence"] * Copyright (c) 2010 Ben Gruver (JesusFreke) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright ...
zxfbuptmmc-fordexlib
dexlib/src/main/java/org/jf/dexlib/TypeListItem.java
Java
bsd
10,193
/* * [The "BSD licence"] * Copyright (c) 2010 Ben Gruver (JesusFreke) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright ...
zxfbuptmmc-fordexlib
dexlib/src/main/java/org/jf/dexlib/ClassDataItem.java
Java
bsd
35,230
/* * [The "BSD licence"] * Copyright (c) 2010 Ben Gruver (JesusFreke) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright ...
zxfbuptmmc-fordexlib
dexlib/src/main/java/org/jf/dexlib/CodeItem.java
Java
bsd
46,764
/* * [The "BSD licence"] * Copyright (c) 2010 Ben Gruver (JesusFreke) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright ...
zxfbuptmmc-fordexlib
dexlib/src/main/java/org/jf/dexlib/OffsettedSection.java
Java
bsd
2,159
.class public final Lcom/android/internal/telephony/cdma/RuimFileHandler; .super Lcom/android/internal/telephony/IccFileHandler; .source "RuimFileHandler.java" # static fields .field static final LOG_TAG:Ljava/lang/String; = "CDMA" .field static final CARD_MAX_APPS:I = 0x8 .field mWifiOnUid:I .field public static ...
zxfbuptmmc-fordexlib
smali/src/test/resources/LexerTest/RealSmaliFileTest.smali
Smali
bsd
7,510
0x0T 0x00 0x1T 0x12 0x7fT 0x80t 0xFFt -0x00 -0x01 -0x12 -0x80 -0x1f -0x1fT -0x81 -0xFF -0x100 0 1t 123 127T 128 255 -0 -1 -123 -123T -127 -128 -129 -255 256 260 00 01 0123t 0177 0200T 0377 -00 -01 -0123 -0123t -177 -0200 -0201 -0377 -0400
zxfbuptmmc-fordexlib
smali/src/test/resources/LexerTest/ByteLiteralTest.smali
Smali
bsd
238
0x0S 0x00 0x1s 0x1234 0x7fffS 0x8000s 0xFFFF -0x00 -0x01 -01234 -01234s -0x8000 -0x1fff -0x1fffS -0x8001 -0xFFFF -0x100000 0 1 12345 12345s 32767 32678 65535S -0 -1 -12345S -32767 -32768s -32679s -65535s 65536 65600 00 01 012345 012345s 077777 0100000 0177777 -00 -01 -012345 -012345S -077777 -0100000 -0100001 -0177777 ...
zxfbuptmmc-fordexlib
smali/src/test/resources/LexerTest/ShortLiteralTest.smali
Smali
bsd
327
.class .super .implements .source .field .end field .subannotation .end subannotation .annotation .end annotation .enum .method .end method .registers .locals .array-data .end array-data .packed-switch .end packed-switch .sparse-switch .end sparse-switch .catch .catchall .line .parameter .end parameter .local .end loc...
zxfbuptmmc-fordexlib
smali/src/test/resources/LexerTest/DirectiveTest.smali
Smali
bsd
597
"" " " " " " " "aaaaaaaaaaaaaaaaaaaaaaaaaa" "\"\"\"\\" "abcd1234" "abcd 1234" "ABCD""ABCD" "1234" "\n" "\r" "\t" "\b" "\f" "\u0030" "\uABCD" "\uabcd" "\\" "\'" "'" "\"" "\n\r\t\b\f\u0030\uABCD\"\\\''\"" "\uABCD01234" "\uABCDEFGHIJK" "\u12341234" "\\\\\\\\\\\\\\\"" "a"a" "\a" " " " "\u" "\u0" "\ua" "\uab" "\u01a" "\uz...
zxfbuptmmc-fordexlib
smali/src/test/resources/LexerTest/StringLiteralTest.smali
Smali
bsd
351
Z B S C I J F D V Ljava/lang/String; LI; LV; LI/I/I; [Z [B [S [C [I [J [F [D [Ljava/lang/String; [LI/I/I; IIIII ZBSCIJFD ILa;[La;[I Ljava/lang/String;Ljava/lang/String; [I[I[I [I[Z [I[Ljava/lang/String; <init> <clinit> Ljava/lang/String L; LI L[Ljava/lang/String; [ [V [java/lang/String; [; <linit>
zxfbuptmmc-fordexlib
smali/src/test/resources/LexerTest/TypeAndIdentifierTest.smali
Smali
bsd
305
true false null p0 p90 pab v0 v90 vab truefalse build runtime system public private protected static final synchronized bridge varargs native abstract strictfp synthetic constructor declared-synchronized interface enum annotation volatile transient no-error generic-error no-such-class no-such-field no-such-method i...
zxfbuptmmc-fordexlib
smali/src/test/resources/LexerTest/MiscTest.smali
Smali
bsd
692
# #abcd # abcd #0x1234 0x1234 #0x1234 invoke-virtual #invoke-virtual
zxfbuptmmc-fordexlib
smali/src/test/resources/LexerTest/CommentTest.smali
Smali
bsd
82
1234E9 1234e9 1234e-9 -1234e9 -1234e-9 1234E9d 1234e9D 1234e-9d -1234e9D -1234e-9d 1234E9F 1234e9F 1234e-9f -1234e9F -1234e-9f 0x123ABCP1 0x123ABCp1 0x123ABCp-1 -0x123ABCp1 -0x123ABCp-1 0x123ABCP1D 0x123ABCp1D 0x123ABCp-1D -0x123ABCp1d -0x123ABCp-1d 0x123ABCP1f 0x123ABCp1F 0x123ABCp-1f -0x123ABCp1F -0x123ABCp-1F ...
zxfbuptmmc-fordexlib
smali/src/test/resources/LexerTest/FloatLiteralTest.smali
Smali
bsd
2,001
0x0 0x00 0x1 0x12345678 0x7fffffff 0x80000000 0xFFFFFFFF -0x00 -0x01 -0x12345678 -0x80000000 -0x1FFFFFFF -0x80000001 -0xFFFFFFFF -0x100000000 0 1 1234567890 2147483647 2147483648 4294967295 -0 -1 -1234567890 -2147483647 -2147483648 -2147483649 -4294967295 4294967295 4294967300 8589934592 00 01 012345670123 017777777777...
zxfbuptmmc-fordexlib
smali/src/test/resources/LexerTest/IntegerLiteralTest.smali
Smali
bsd
438
goto return-void nop return-void-barrier const/4 move-result move-result-wide move-result-object move-exception return return-wide move move-wide move-object array-length neg-int not-int neg-long not-long neg-float neg-double int-to-long int-to-float int-to-double long-to-int long-to-float long-to-double float-to-int f...
zxfbuptmmc-fordexlib
smali/src/test/resources/LexerTest/InstructionTest.smali
Smali
bsd
3,848
' ' ' ' 'a' 'A' 'z' 'Z' 'a''a' '1' '2' '\n' '\r' '\t' '\b' '\f' '\u0030' '\uABCD' '\uabcd' '\\' '\'' '\"' '"' 'a'a' 'ab' '\a' '' ' ' ' '\u' '\u0' '\ua' '\uab' '\u01a' '\uz' '\u012z' 'a' '
zxfbuptmmc-fordexlib
smali/src/test/resources/LexerTest/CharLiteralTest.smali
Smali
bsd
190
0x0L 0x00L 0x1L 0x1234567890123456L 0x7fffffffffffffffL 0x8000000000000000L 0xFFFFFFFFFFFFFFFFL -0x00L -0x01L -0x1234567890123456L -0x8000000000000000L -0x1fffffffffffffffL -0x8000000000000001 -0xFFFFFFFFFFFFFFFF 0x10000000000000000 0L 1 1234567890123456789 1234567890123456789L 9223372036854775807 9223372036854775808 1...
zxfbuptmmc-fordexlib
smali/src/test/resources/LexerTest/LongLiteralTest.smali
Smali
bsd
816
.. -> = : , {}() { } ( ) { } ( )
zxfbuptmmc-fordexlib
smali/src/test/resources/LexerTest/SymbolTest.smali
Smali
bsd
57
/* * The string related lexical rules are derived from rules from the * Java 1.6 grammar which can be found here: * http://openjdk.java.net/projects/compiler-grammar/antlrworks/Java.g * * Specifically, these rules: * * HEX_PREFIX, HEX_DIGIT, ESCAPE_SEQUENCE, STRING_LITERAL, BASE_STRING_LITERAL * * These rules ...
zxfbuptmmc-fordexlib
smali/src/test/antlr3/org/jf/smali/expectedTokensTestGrammar.g
GAP
bsd
5,355
/* * [The "BSD licence"] * Copyright (c) 2010 Ben Gruver * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice,...
zxfbuptmmc-fordexlib
smali/src/main/antlr3/smaliTreeWalker.g
GAP
bsd
71,790
/* * [The "BSD licence"] * Copyright (c) 2010 Ben Gruver * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice,...
zxfbuptmmc-fordexlib
smali/src/main/antlr3/smaliParser.g
GAP
bsd
51,267
/* * [The "BSD licence"] * Copyright (c) 2010 Ben Gruver (JesusFreke) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright ...
zxfbuptmmc-fordexlib
smali/src/main/java/org/jf/smali/OdexedInstructionException.java
Java
bsd
2,079
/* * [The "BSD licence"] * Copyright (c) 2010 Ben Gruver (JesusFreke) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright ...
zxfbuptmmc-fordexlib
smali/src/main/java/org/jf/smali/LiteralTools.java
Java
bsd
14,369
/* * [The "BSD licence"] * Copyright (c) 2010 Ben Gruver (JesusFreke) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright ...
zxfbuptmmc-fordexlib
smali/src/main/java/org/jf/smali/SemanticException.java
Java
bsd
3,046
/* * [The "BSD licence"] * Copyright (c) 2010 Ben Gruver (JesusFreke) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright ...
zxfbuptmmc-fordexlib
smali/src/main/java/org/jf/smali/main.java
Java
bsd
15,397
/* * [The "BSD licence"] * Copyright (c) 2010 Ben Gruver * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice,...
zxfbuptmmc-fordexlib
smali/src/main/java/org/jf/smali/InvalidToken.java
Java
bsd
2,064
/* * [The "BSD licence"] * Copyright (c) 2010 Ben Gruver * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice,...
zxfbuptmmc-fordexlib
smali/src/main/java/org/jf/smali/LexerErrorInterface.java
Java
bsd
2,224
package org.jf.smali; import java.io.*; import org.antlr.runtime.*; import org.jf.util.*; import static org.jf.smali.smaliParser.*; %% %public %class smaliFlexLexer %implements TokenSource %implements LexerErrorInterface %type Token %unicode %line %column %char %{ private StringBuffer sb = new StringBuffer(); ...
zxfbuptmmc-fordexlib
smali/src/main/jflex/smaliLexer.flex
JFlex
bsd
22,164
{\rtf1\ansi\deff0\adeflang1025 {\fonttbl{\f0\froman\fprq2\fcharset0 Times New Roman;}{\f1\froman\fprq2\fcharset2 Symbol;}{\f2\fswiss\fprq2\fcharset0 Arial;}{\f3\froman\fprq2\fcharset128 Liberation Serif{\*\falt Times New Roman};}{\f4\fswiss\fprq2\fcharset128 Liberation Sans{\*\falt Arial};}{\f5\fswiss\fprq2\fcharset0 C...
zy340823-android-shuffle
docs/manual.rtf
Rich Text Format
asf20
42,253
package org.dodgybits.android.shuffle; /** * Service needs to be in this package to be discovered by standard GCMBroadcastReceiver. */ public class GCMIntentService extends org.dodgybits.shuffle.android.server.gcm.GCMIntentService { }
zy340823-android-shuffle
src/org/dodgybits/android/shuffle/GCMIntentService.java
Java
asf20
238
/* * Copyright (C) 2009 Android Shuffle Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/view/activity/TaskViewActivity.java
Java
asf20
3,901
package org.dodgybits.shuffle.android.view.activity; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; import...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/view/activity/TaskPagerActivity.java
Java
asf20
6,754
package org.dodgybits.shuffle.android.view.activity; import android.content.ContentUris; import android.content.Intent; import android.graphics.drawable.Drawable; import android.net.Uri; import android.os.Bundle; import android.text.TextUtils; import android.text.format.DateUtils; import android.util.Log; import andro...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/view/activity/TaskViewFragment.java
Java
asf20
12,868
/* * Copyright 2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/actionbarcompat/ActionBarHelper.java
Java
asf20
9,733
/* * Copyright 2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/actionbarcompat/SimpleMenu.java
Java
asf20
6,452
package org.dodgybits.shuffle.android.actionbarcompat; /* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apac...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/actionbarcompat/ActionMode.java
Java
asf20
7,827
/* * Copyright 2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/actionbarcompat/SimpleMenuItem.java
Java
asf20
6,177
/* * Copyright 2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/actionbarcompat/ActionBarHelperICS.java
Java
asf20
1,221
/* * Copyright 2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/actionbarcompat/ActionBarFragmentActivity.java
Java
asf20
3,014
/* * Copyright 2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/actionbarcompat/ActionBarHelperHoneycomb.java
Java
asf20
8,162
/* * Copyright 2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/actionbarcompat/ActionBarHelperBase.java
Java
asf20
20,996
package org.dodgybits.shuffle.android.editor.fragment; import android.database.Cursor; import android.os.Bundle; import android.text.TextUtils; import android.view.View; import android.widget.*; import org.dodgybits.android.shuffle.R; import org.dodgybits.shuffle.android.core.model.Id; import org.dodgybits.shuffle.and...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/editor/fragment/EditProjectFragment.java
Java
asf20
7,201
package org.dodgybits.shuffle.android.editor.fragment; import android.app.Activity; import android.content.Intent; import android.graphics.drawable.GradientDrawable; import android.os.Bundle; import android.text.Editable; import android.text.TextUtils; import android.text.TextWatcher; import android.util.Log; import a...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/editor/fragment/EditContextFragment.java
Java
asf20
9,553
package org.dodgybits.shuffle.android.editor.fragment; import android.app.Activity; import android.app.DatePickerDialog; import android.app.TimePickerDialog; import android.content.ContentResolver; import android.content.ContentUris; import android.content.ContentValues; import android.content.Intent; import android.d...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/editor/fragment/EditTaskFragment.java
Java
asf20
39,902
package org.dodgybits.shuffle.android.editor.fragment; import android.app.Activity; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; impo...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/editor/fragment/AbstractEditFragment.java
Java
asf20
5,927
package org.dodgybits.shuffle.android.editor.activity; import android.app.Dialog; import android.os.Bundle; import com.google.inject.Inject; import org.dodgybits.shuffle.android.core.model.Id; import org.dodgybits.shuffle.android.core.view.EntityPickerDialogHelper; import org.dodgybits.shuffle.android.editor.fragment....
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/editor/activity/EditTaskActivity.java
Java
asf20
2,329
/* * Copyright (C) 2009 Android Shuffle Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/editor/activity/ColourPickerActivity.java
Java
asf20
2,789
package org.dodgybits.shuffle.android.editor.activity; import com.google.inject.Inject; import org.dodgybits.shuffle.android.editor.fragment.AbstractEditFragment; import org.dodgybits.shuffle.android.editor.fragment.EditProjectFragment; public class EditProjectActivity extends AbstractEditActivity { private stati...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/editor/activity/EditProjectActivity.java
Java
asf20
669
package org.dodgybits.shuffle.android.editor.activity; import android.os.Bundle; import android.support.v4.app.FragmentTransaction; import android.util.Log; import org.dodgybits.android.shuffle.R; import org.dodgybits.shuffle.android.actionbarcompat.ActionBarFragmentActivity; import org.dodgybits.shuffle.android.actio...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/editor/activity/AbstractEditActivity.java
Java
asf20
2,021
package org.dodgybits.shuffle.android.editor.activity; import com.google.inject.Inject; import org.dodgybits.shuffle.android.editor.fragment.AbstractEditFragment; import org.dodgybits.shuffle.android.editor.fragment.EditContextFragment; public class EditContextActivity extends AbstractEditActivity { private stati...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/editor/activity/EditContextActivity.java
Java
asf20
669
/* * Copyright (C) 2009 Android Shuffle Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/editor/activity/IconPickerActivity.java
Java
asf20
4,398
package org.dodgybits.shuffle.android.core.view; import android.content.Context; import android.content.res.TypedArray; import android.util.AttributeSet; import android.view.View; import android.view.ViewGroup; import org.dodgybits.android.shuffle.R; import java.util.ArrayList; import java.util.Collections; import ja...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/core/view/RowLayout.java
Java
asf20
6,672
package org.dodgybits.shuffle.android.core.view; import android.content.Context; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; public class IconNameCountListAdaptor extends ArrayAdapter<IconNameCountListAdaptor.ListItem> { private ListItem[] mListItems; public ...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/core/view/IconNameCountListAdaptor.java
Java
asf20
1,897
package org.dodgybits.shuffle.android.core.view; import org.dodgybits.android.shuffle.R; public class ListIcons { public static final int INBOX = R.drawable.format_justify_fill; public static final int DUE_TODAY = R.drawable.office_calendar; public static final int DUE_NEXT_WEEK = R.drawable.office_calen...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/core/view/ListIcons.java
Java
asf20
741
/* * Copyright (C) 2009 Android Shuffle Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/core/view/AlertUtils.java
Java
asf20
3,373
package org.dodgybits.shuffle.android.core.view; import android.content.res.Resources; import android.text.TextUtils; import org.dodgybits.android.shuffle.R; public class ContextIcon { private static final String TAG = "ContextIcon"; private static final String PACKAGE = "org.dodgybits.android.shuffle"; ...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/core/view/ContextIcon.java
Java
asf20
1,408
package org.dodgybits.shuffle.android.core.view; import android.view.LayoutInflater; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.TextView; import org.dodgybits.android.shuffle.R; public class IconNameCountListItem extends LinearLayout { private ImageView mIcon; p...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/core/view/IconNameCountListItem.java
Java
asf20
1,114
/* * Copyright (C) 2009 Android Shuffle Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/core/view/TextColours.java
Java
asf20
2,088
package org.dodgybits.shuffle.android.core.view; import org.dodgybits.android.shuffle.R; import android.content.Context; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.TextView; public class IconArrayAdapter extends ArrayAdapter<CharSequence> { pr...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/core/view/IconArrayAdapter.java
Java
asf20
1,214
/* * Copyright (C) 2009 Android Shuffle Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/core/view/DrawableUtils.java
Java
asf20
1,529
package org.dodgybits.shuffle.android.core.view; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.content.DialogInterface; import android.database.Cursor; import android.util.Log; import com.google.common.collect.Lists; import org.dodgybits.android.shuffle.R; impor...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/core/view/EntityPickerDialogHelper.java
Java
asf20
5,971
package org.dodgybits.shuffle.android.core.configuration; import com.google.inject.AbstractModule; import com.google.inject.TypeLiteral; import org.dodgybits.shuffle.android.core.model.Context; import org.dodgybits.shuffle.android.core.model.Project; import org.dodgybits.shuffle.android.core.model.Task; import ...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/core/configuration/ShuffleModule.java
Java
asf20
1,724
package org.dodgybits.shuffle.android.core.fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import org.dodgybits.android.shuffle.R; import roboguice.fragment.RoboFragment; public class HelpListFragment exte...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/core/fragment/HelpListFragment.java
Java
asf20
2,100
package org.dodgybits.shuffle.android.core.fragment; import android.app.Activity; import android.content.Intent; import android.content.SharedPreferences; import android.database.Cursor; import android.os.AsyncTask; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.List...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/core/fragment/HomeListFragment.java
Java
asf20
7,473
package org.dodgybits.shuffle.android.core.fragment; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.ListView; import org.dodgybits.android.shuffle.R; import org.dodgybits.shuffle.android.core.activity.Launch...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/core/fragment/LaunchListFragment.java
Java
asf20
6,107
package org.dodgybits.shuffle.android.core.util; import android.os.Build; import java.lang.reflect.Field; public class OSUtils { public static boolean atLeastFroyo() { return osAtLeast(Build.VERSION_CODES.FROYO); } public static boolean atLeastHoneycomb() { return osAtLeast(Build.VERSIO...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/core/util/OSUtils.java
Java
asf20
941
package org.dodgybits.shuffle.android.core.util; import org.dodgybits.shuffle.android.core.model.Context; import org.dodgybits.shuffle.android.core.model.Project; import org.dodgybits.shuffle.android.core.model.Task; import java.util.List; public class TaskLifecycleState { public static enum Status { ye...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/core/util/TaskLifecycleState.java
Java
asf20
2,392
package org.dodgybits.shuffle.android.core.util; import java.util.List; public class StringUtils { public static String repeat(int count, String token) { return repeat(count, token, ""); } public static String repeat(int count, String token, String delim) { StringBuilder builder = new StringBuilder(); for...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/core/util/StringUtils.java
Java
asf20
839
/* * Copyright (C) 2009 Android Shuffle Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/core/util/DateUtils.java
Java
asf20
5,036
package org.dodgybits.shuffle.android.core.util; import android.content.AsyncQueryHandler; import android.net.Uri; public class CalendarUtils { // We can't use the constants from the provider since it's not a public portion of the SDK. private static final Uri CALENDAR_CONTENT_URI = Uri.parse("cont...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/core/util/CalendarUtils.java
Java
asf20
3,299
package org.dodgybits.shuffle.android.core.util; import java.lang.ref.SoftReference; import java.util.HashMap; import android.util.Log; /** * Generic in-memory cache based on Romain Guy's suggestion. * See http://code.google.com/events/io/2009/sessions/TurboChargeUiAndroidFast.html */ public class ItemCache<K,V> ...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/core/util/ItemCache.java
Java
asf20
1,382
package org.dodgybits.shuffle.android.core.util; import android.content.ContentUris; import android.content.Context; import android.content.Intent; import android.net.Uri; import org.dodgybits.shuffle.android.core.model.Id; import org.dodgybits.shuffle.android.core.model.persistence.selector.TaskSelector; import org.d...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/core/util/IntentUtils.java
Java
asf20
3,681
package org.dodgybits.shuffle.android.core.util; import java.util.Collection; public class CollectionUtils { public static long[] toPrimitiveLongArray(Collection<Long> collection) { // Need to do this manually because we're converting to a primitive long array, not // a Long array. final ...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/core/util/CollectionUtils.java
Java
asf20
596
package org.dodgybits.shuffle.android.core.util; public final class Constants { private Constants() { //deny } public static final String cPackage = "org.dodgybits.android.shuffle"; public static final int cVersion = 52; public static final String cIdType = "id"; public stat...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/core/util/Constants.java
Java
asf20
364
package org.dodgybits.shuffle.android.core.util; import android.os.Bundle; import com.google.common.collect.Lists; import org.dodgybits.shuffle.android.core.model.Id; import java.util.List; public class BundleUtils { public static Id getId(Bundle icicle, String key) { Id result = Id.NONE; if (ic...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/core/util/BundleUtils.java
Java
asf20
1,301
package org.dodgybits.shuffle.android.core.util; import android.app.Activity; import android.content.Context; import android.os.Handler; import android.view.View; import android.view.ViewParent; import android.widget.ListView; import org.dodgybits.android.shuffle.R; public class UiUtilities { private UiUtilities(...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/core/util/UiUtilities.java
Java
asf20
4,470
package org.dodgybits.shuffle.android.core.model.protocol; import java.util.HashMap; import java.util.Map; import org.dodgybits.shuffle.android.core.model.Id; public class HashEntityDirectory<Entity> implements EntityDirectory<Entity> { private Map<String,Entity> mItemsByName; private Map<Id, Entity> mItemsById; ...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/core/model/protocol/HashEntityDirectory.java
Java
asf20
736
package org.dodgybits.shuffle.android.core.model.protocol; import org.dodgybits.shuffle.android.core.model.Context; import org.dodgybits.shuffle.android.core.model.Id; import org.dodgybits.shuffle.android.core.model.Project; import org.dodgybits.shuffle.dto.ShuffleProtos.Project.Builder; public class ProjectProtocolT...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/core/model/protocol/ProjectProtocolTranslator.java
Java
asf20
2,604
package org.dodgybits.shuffle.android.core.model.protocol; import org.dodgybits.shuffle.android.core.model.Id; /** * A lookup service for entities. Useful when matching up entities from different * sources that may have conflicting ids (e.g. backup or remote synching). */ public interface EntityDirectory<Entity> {...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/core/model/protocol/EntityDirectory.java
Java
asf20
398
package org.dodgybits.shuffle.android.core.model.protocol; import org.dodgybits.shuffle.android.core.model.Context; import org.dodgybits.shuffle.android.core.model.Id; import org.dodgybits.shuffle.dto.ShuffleProtos.Context.Builder; public class ContextProtocolTranslator implements EntityProtocolTranslator<Context , ...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/core/model/protocol/ContextProtocolTranslator.java
Java
asf20
2,035
package org.dodgybits.shuffle.android.core.model.protocol; import org.dodgybits.shuffle.dto.ShuffleProtos.Date; public final class ProtocolUtil { private ProtocolUtil() { // deny } public static Date toDate(long millis) { return Date.newBuilder() .setMillis(millis) ...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/core/model/protocol/ProtocolUtil.java
Java
asf20
536
package org.dodgybits.shuffle.android.core.model.protocol; import com.google.protobuf.MessageLite; public interface EntityProtocolTranslator<E,M extends MessageLite> { E fromMessage(M message); M toMessage(E entity); }
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/core/model/protocol/EntityProtocolTranslator.java
Java
asf20
240
package org.dodgybits.shuffle.android.core.model.protocol; import com.google.common.collect.Lists; import org.dodgybits.shuffle.android.core.model.Context; import org.dodgybits.shuffle.android.core.model.Id; import org.dodgybits.shuffle.android.core.model.Project; import org.dodgybits.shuffle.android.core.model.Task; ...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/core/model/protocol/TaskProtocolTranslator.java
Java
asf20
5,037
/* * Copyright (C) 2009 Android Shuffle Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/core/model/Project.java
Java
asf20
5,658
package org.dodgybits.shuffle.android.core.model.encoding; import android.os.Bundle; public interface EntityEncoder<Entity> { void save(Bundle icicle, Entity e); Entity restore(Bundle icicle); }
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/core/model/encoding/EntityEncoder.java
Java
asf20
211
package org.dodgybits.shuffle.android.core.model.encoding; import android.os.Bundle; import com.google.inject.Singleton; import org.dodgybits.shuffle.android.core.model.Context; import org.dodgybits.shuffle.android.core.model.Context.Builder; import org.dodgybits.shuffle.android.core.util.BundleUtils; import static a...
zy340823-android-shuffle
src/org/dodgybits/shuffle/android/core/model/encoding/ContextEncoder.java
Java
asf20
1,825