file_name stringlengths 6 86 | file_path stringlengths 45 249 | content stringlengths 47 6.26M | file_size int64 47 6.26M | language stringclasses 1
value | extension stringclasses 1
value | repo_name stringclasses 767
values | repo_stars int64 8 14.4k | repo_forks int64 0 1.17k | repo_open_issues int64 0 788 | repo_created_at stringclasses 767
values | repo_pushed_at stringclasses 767
values |
|---|---|---|---|---|---|---|---|---|---|---|---|
ShowDeletedMessagesPatch.java | /FileExtraction/Java_unseen/ReVanced_revanced-integrations/app/src/main/java/app/revanced/integrations/twitch/patches/ShowDeletedMessagesPatch.java | package app.revanced.integrations.twitch.patches;
import static app.revanced.integrations.shared.StringRef.str;
import android.graphics.Color;
import android.graphics.Typeface;
import android.text.SpannableStringBuilder;
import android.text.Spanned;
import android.text.SpannedString;
import android.text.style.Foregro... | 1,758 | Java | .java | ReVanced/revanced-integrations | 649 | 221 | 10 | 2022-03-15T20:37:24Z | 2024-05-08T22:30:33Z |
AppCompatActivityHook.java | /FileExtraction/Java_unseen/ReVanced_revanced-integrations/app/src/main/java/app/revanced/integrations/twitch/settings/AppCompatActivityHook.java | package app.revanced.integrations.twitch.settings;
import android.content.Intent;
import android.os.Bundle;
import androidx.appcompat.app.ActionBar;
import app.revanced.integrations.shared.Logger;
import app.revanced.integrations.shared.Utils;
import app.revanced.integrations.twitch.settings.preference.ReVancedPrefere... | 4,284 | Java | .java | ReVanced/revanced-integrations | 649 | 221 | 10 | 2022-03-15T20:37:24Z | 2024-05-08T22:30:33Z |
Settings.java | /FileExtraction/Java_unseen/ReVanced_revanced-integrations/app/src/main/java/app/revanced/integrations/twitch/settings/Settings.java | package app.revanced.integrations.twitch.settings;
import app.revanced.integrations.shared.settings.BooleanSetting;
import app.revanced.integrations.shared.settings.BaseSettings;
import app.revanced.integrations.shared.settings.StringSetting;
import static java.lang.Boolean.FALSE;
import static java.lang.Boolean.TRUE... | 1,215 | Java | .java | ReVanced/revanced-integrations | 649 | 221 | 10 | 2022-03-15T20:37:24Z | 2024-05-08T22:30:33Z |
CustomPreferenceCategory.java | /FileExtraction/Java_unseen/ReVanced_revanced-integrations/app/src/main/java/app/revanced/integrations/twitch/settings/preference/CustomPreferenceCategory.java | package app.revanced.integrations.twitch.settings.preference;
import android.content.Context;
import android.graphics.Color;
import android.preference.PreferenceCategory;
import android.util.AttributeSet;
import android.view.View;
import android.widget.TextView;
public class CustomPreferenceCategory extends Preferenc... | 680 | Java | .java | ReVanced/revanced-integrations | 649 | 221 | 10 | 2022-03-15T20:37:24Z | 2024-05-08T22:30:33Z |
ReVancedPreferenceFragment.java | /FileExtraction/Java_unseen/ReVanced_revanced-integrations/app/src/main/java/app/revanced/integrations/twitch/settings/preference/ReVancedPreferenceFragment.java | package app.revanced.integrations.twitch.settings.preference;
import app.revanced.integrations.shared.Logger;
import app.revanced.integrations.shared.settings.preference.AbstractPreferenceFragment;
import app.revanced.integrations.twitch.settings.Settings;
/**
* Preference fragment for ReVanced settings
*/
public c... | 716 | Java | .java | ReVanced/revanced-integrations | 649 | 221 | 10 | 2022-03-15T20:37:24Z | 2024-05-08T22:30:33Z |
RetrofitClient.java | /FileExtraction/Java_unseen/ReVanced_revanced-integrations/app/src/main/java/app/revanced/integrations/twitch/api/RetrofitClient.java | package app.revanced.integrations.twitch.api;
import retrofit2.Retrofit;
public class RetrofitClient {
private static RetrofitClient instance = null;
private final PurpleAdblockApi purpleAdblockApi;
private RetrofitClient() {
Retrofit retrofit = new Retrofit.Builder().baseUrl("http://localhost" ... | 690 | Java | .java | ReVanced/revanced-integrations | 649 | 221 | 10 | 2022-03-15T20:37:24Z | 2024-05-08T22:30:33Z |
RequestInterceptor.java | /FileExtraction/Java_unseen/ReVanced_revanced-integrations/app/src/main/java/app/revanced/integrations/twitch/api/RequestInterceptor.java | package app.revanced.integrations.twitch.api;
import androidx.annotation.NonNull;
import app.revanced.integrations.shared.Logger;
import app.revanced.integrations.shared.Utils;
import app.revanced.integrations.twitch.adblock.IAdblockService;
import app.revanced.integrations.twitch.adblock.LuminousService;
import app.r... | 4,579 | Java | .java | ReVanced/revanced-integrations | 649 | 221 | 10 | 2022-03-15T20:37:24Z | 2024-05-08T22:30:33Z |
PurpleAdblockApi.java | /FileExtraction/Java_unseen/ReVanced_revanced-integrations/app/src/main/java/app/revanced/integrations/twitch/api/PurpleAdblockApi.java | package app.revanced.integrations.twitch.api;
import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Url;
/* only used for service pings */
public interface PurpleAdblockApi {
@GET /* root */
Call<ResponseBody> ping(@Url String baseUrl);
} | 295 | Java | .java | ReVanced/revanced-integrations | 649 | 221 | 10 | 2022-03-15T20:37:24Z | 2024-05-08T22:30:33Z |
LuminousService.java | /FileExtraction/Java_unseen/ReVanced_revanced-integrations/app/src/main/java/app/revanced/integrations/twitch/adblock/LuminousService.java | package app.revanced.integrations.twitch.adblock;
import app.revanced.integrations.shared.Logger;
import okhttp3.HttpUrl;
import okhttp3.Request;
import static app.revanced.integrations.shared.StringRef.str;
public class LuminousService implements IAdblockService {
@Override
public String friendlyName() {
... | 1,265 | Java | .java | ReVanced/revanced-integrations | 649 | 221 | 10 | 2022-03-15T20:37:24Z | 2024-05-08T22:30:33Z |
PurpleAdblockService.java | /FileExtraction/Java_unseen/ReVanced_revanced-integrations/app/src/main/java/app/revanced/integrations/twitch/adblock/PurpleAdblockService.java | package app.revanced.integrations.twitch.adblock;
import app.revanced.integrations.shared.Logger;
import app.revanced.integrations.twitch.api.RetrofitClient;
import okhttp3.HttpUrl;
import okhttp3.Request;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import static app.revanced.integrat... | 3,017 | Java | .java | ReVanced/revanced-integrations | 649 | 221 | 10 | 2022-03-15T20:37:24Z | 2024-05-08T22:30:33Z |
IAdblockService.java | /FileExtraction/Java_unseen/ReVanced_revanced-integrations/app/src/main/java/app/revanced/integrations/twitch/adblock/IAdblockService.java | package app.revanced.integrations.twitch.adblock;
import okhttp3.Request;
public interface IAdblockService {
String friendlyName();
Integer maxAttempts();
Boolean isAvailable();
Request rewriteHlsRequest(Request originalRequest);
static boolean isVod(Request request){
return request.ur... | 637 | Java | .java | ReVanced/revanced-integrations | 649 | 221 | 10 | 2022-03-15T20:37:24Z | 2024-05-08T22:30:33Z |
FilterPromotedLinksPatch.java | /FileExtraction/Java_unseen/ReVanced_revanced-integrations/app/src/main/java/app/revanced/integrations/reddit/patches/FilterPromotedLinksPatch.java | package app.revanced.integrations.reddit.patches;
import com.reddit.domain.model.ILink;
import java.util.ArrayList;
import java.util.List;
public final class FilterPromotedLinksPatch {
/**
* Filters list from promoted links.
**/
public static List<?> filterChildren(final Iterable<?> links) {
... | 578 | Java | .java | ReVanced/revanced-integrations | 649 | 221 | 10 | 2022-03-15T20:37:24Z | 2024-05-08T22:30:33Z |
RemoveScreencaptureRestrictionPatch.java | /FileExtraction/Java_unseen/ReVanced_revanced-integrations/app/src/main/java/app/revanced/integrations/all/screencapture/removerestriction/RemoveScreencaptureRestrictionPatch.java | package app.revanced.integrations.all.screencapture.removerestriction;
import android.media.AudioAttributes;
import android.os.Build;
import androidx.annotation.RequiresApi;
public final class RemoveScreencaptureRestrictionPatch {
// Member of AudioAttributes.Builder
@RequiresApi(api = Build.VERSION_CODES.Q)... | 715 | Java | .java | ReVanced/revanced-integrations | 649 | 221 | 10 | 2022-03-15T20:37:24Z | 2024-05-08T22:30:33Z |
RemoveScreenshotRestrictionPatch.java | /FileExtraction/Java_unseen/ReVanced_revanced-integrations/app/src/main/java/app/revanced/integrations/all/screenshot/removerestriction/RemoveScreenshotRestrictionPatch.java | package app.revanced.integrations.all.screenshot.removerestriction;
import android.view.Window;
import android.view.WindowManager;
public class RemoveScreenshotRestrictionPatch {
public static void addFlags(Window window, int flags) {
window.addFlags(flags & ~WindowManager.LayoutParams.FLAG_SECURE);
... | 523 | Java | .java | ReVanced/revanced-integrations | 649 | 221 | 10 | 2022-03-15T20:37:24Z | 2024-05-08T22:30:33Z |
SpoofWifiPatch.java | /FileExtraction/Java_unseen/ReVanced_revanced-integrations/app/src/main/java/app/revanced/integrations/all/connectivity/wifi/spoof/SpoofWifiPatch.java | package app.revanced.integrations.all.connectivity.wifi.spoof;
import android.app.PendingIntent;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.Network;
import android.net.NetworkCapabilities;
import android.net.NetworkInfo;
import android.net.NetworkRequest;
import android.... | 20,038 | Java | .java | ReVanced/revanced-integrations | 649 | 221 | 10 | 2022-03-15T20:37:24Z | 2024-05-08T22:30:33Z |
Main.java | /FileExtraction/Java_unseen/divestedcg_Simple_Hosts_Merger/src/Main.java | /*
Copyright (c) 2015-2019 Divested Computing Group
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distribute... | 20,919 | Java | .java | divestedcg/Simple_Hosts_Merger | 12 | 5 | 1 | 2020-06-02T20:26:29Z | 2024-04-20T18:16:32Z |
BurpTab.java | /FileExtraction/Java_unseen/lorenzog_burpAddCustomHeader/burp/BurpTab.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package burp;
import javax.swing.JRadioButton;
import javax.swing.JTextArea;
import javax.swing.JTextField;
/**
*
* @author lor
*/... | 13,775 | Java | .java | lorenzog/burpAddCustomHeader | 19 | 20 | 7 | 2018-05-07T08:01:10Z | 2021-12-09T20:39:19Z |
BurpExtender.java | /FileExtraction/Java_unseen/lorenzog_burpAddCustomHeader/burp/BurpExtender.java | package burp;
import javax.swing.SwingUtilities;
import java.awt.Component;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.util.regex.PatternSyntaxException;
public class BurpExtender implements IBurpExtender, ISessionHandlingAction, IT... | 7,842 | Java | .java | lorenzog/burpAddCustomHeader | 19 | 20 | 7 | 2018-05-07T08:01:10Z | 2021-12-09T20:39:19Z |
DatabaseCorruptException.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/leveldb/src/main/java/com/litl/leveldb/DatabaseCorruptException.java | package com.litl.leveldb;
public class DatabaseCorruptException extends LevelDBException {
private static final long serialVersionUID = -2110293580518875321L;
public DatabaseCorruptException() {
}
public DatabaseCorruptException(String error) {
super(error);
}
}
| 294 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
NativeObject.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/leveldb/src/main/java/com/litl/leveldb/NativeObject.java | package com.litl.leveldb;
import java.io.Closeable;
abstract class NativeObject implements Closeable {
protected long mPtr;
protected NativeObject() {
}
protected NativeObject(long ptr) {
this();
if (ptr == 0) {
throw new OutOfMemoryError("Failed to allocate native obje... | 998 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
LevelDBException.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/leveldb/src/main/java/com/litl/leveldb/LevelDBException.java | package com.litl.leveldb;
public class LevelDBException extends RuntimeException {
private static final long serialVersionUID = 2903013251786326801L;
public LevelDBException() {
}
public LevelDBException(String error) {
super(error);
}
public LevelDBException(String error, Throwable ... | 366 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
WriteBatch.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/leveldb/src/main/java/com/litl/leveldb/WriteBatch.java | package com.litl.leveldb;
import java.nio.ByteBuffer;
public class WriteBatch extends NativeObject {
public WriteBatch() {
super(nativeCreate());
}
@Override
protected void closeNativeObject(long ptr) {
nativeDestroy(ptr);
}
public void delete(ByteBuffer key) {
assert... | 1,226 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
DB.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/leveldb/src/main/java/com/litl/leveldb/DB.java | package com.litl.leveldb;
import java.io.File;
import java.nio.ByteBuffer;
public class DB extends NativeObject {
public abstract static class Snapshot extends NativeObject {
Snapshot(long ptr) {
super(ptr);
}
}
private final File mPath;
private boolean mDestroyOnClose = f... | 3,925 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
NotFoundException.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/leveldb/src/main/java/com/litl/leveldb/NotFoundException.java | package com.litl.leveldb;
public class NotFoundException extends LevelDBException {
private static final long serialVersionUID = 6207999645579440001L;
public NotFoundException() {
}
public NotFoundException(String error) {
super(error);
}
}
| 272 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
Iterator.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/leveldb/src/main/java/com/litl/leveldb/Iterator.java | package com.litl.leveldb;
public class Iterator extends NativeObject {
Iterator(long iterPtr) {
super(iterPtr);
}
@Override
protected void closeNativeObject(long ptr) {
nativeDestroy(ptr);
}
public void seekToFirst() {
assertOpen("Iterator is closed");
nativeSe... | 1,732 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
TileView.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/tileview/src/main/java/com/qozix/tileview/TileView.java | package com.qozix.tileview;
import android.content.Context;
import android.graphics.Paint;
import android.graphics.Path;
import android.graphics.Rect;
import android.graphics.RectF;
import android.graphics.Region;
import android.os.Handler;
import android.os.Message;
import android.os.Parcel;
import android.os.Parcela... | 37,723 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
CalloutLayout.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/tileview/src/main/java/com/qozix/tileview/markers/CalloutLayout.java | package com.qozix.tileview.markers;
import android.content.Context;
/**
* @deprecated In the next major version, instances of this class will be replaced
* by instances of MarkerLayout
*/
public class CalloutLayout extends MarkerLayout {
public CalloutLayout( Context context ) {
super( context );
}
}
| 317 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
MarkerLayout.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/tileview/src/main/java/com/qozix/tileview/markers/MarkerLayout.java | package com.qozix.tileview.markers;
import android.content.Context;
import android.graphics.Rect;
import android.view.View;
import android.view.ViewGroup;
import com.qozix.tileview.geom.FloatMathHelper;
public class MarkerLayout extends ViewGroup {
private float mScale = 1;
private float mAnchorX;
priv... | 9,770 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
ZoomPanLayout.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/tileview/src/main/java/com/qozix/tileview/widgets/ZoomPanLayout.java | package com.qozix.tileview.widgets;
import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Context;
import android.util.AttributeSet;
import android.view.GestureDetector;
import android.view.MotionEvent;
import android.view.ScaleGestureDetector;
import android.view.View;
impo... | 33,217 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
ScalingLayout.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/tileview/src/main/java/com/qozix/tileview/widgets/ScalingLayout.java | package com.qozix.tileview.widgets;
import android.content.Context;
import android.graphics.Canvas;
import android.view.View;
import android.view.ViewGroup;
import com.qozix.tileview.geom.FloatMathHelper;
public class ScalingLayout extends ViewGroup {
private float mScale = 1;
/**
*
* @param context
*/... | 2,403 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
TouchUpGestureDetector.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/tileview/src/main/java/com/qozix/tileview/view/TouchUpGestureDetector.java | package com.qozix.tileview.view;
import android.view.MotionEvent;
/**
* @author Mike Dunn, 10/6/15.
*/
public class TouchUpGestureDetector {
private OnTouchUpListener mOnTouchUpListener;
public TouchUpGestureDetector( OnTouchUpListener listener ) {
mOnTouchUpListener = listener;
}
public boolean onTo... | 634 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
CompositePathView.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/tileview/src/main/java/com/qozix/tileview/paths/CompositePathView.java | package com.qozix.tileview.paths;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Matrix;
import android.graphics.Paint;
import android.graphics.Path;
import android.view.View;
import java.util.HashSet;
public class CompositePathView extends View {
private static final int ... | 2,501 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
DetailLevelManager.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/tileview/src/main/java/com/qozix/tileview/detail/DetailLevelManager.java | package com.qozix.tileview.detail;
import android.graphics.Rect;
import com.qozix.tileview.geom.FloatMathHelper;
import java.util.Collections;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.Map;
public class DetailLevelManager {
public interface LevelType {
}
private Map<LevelType,... | 6,426 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
DetailLevel.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/tileview/src/main/java/com/qozix/tileview/detail/DetailLevel.java | package com.qozix.tileview.detail;
import android.graphics.Rect;
import com.qozix.tileview.tiles.Tile;
import java.util.HashSet;
import java.util.Set;
import androidx.annotation.NonNull;
public class DetailLevel implements Comparable<DetailLevel> {
private float mScale;
private int mTileWidth;
private... | 6,688 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
CoordinateTranslater.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/tileview/src/main/java/com/qozix/tileview/geom/CoordinateTranslater.java | package com.qozix.tileview.geom;
import android.graphics.Path;
import java.util.List;
/**
* Helper class to translate relative coordinates into absolute pixels.
* Note that these methods always take arguments x and y in that order;
* this may be counter-intuitive since coordinates are often expressed as lat (y), ... | 7,229 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
FloatMathHelper.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/tileview/src/main/java/com/qozix/tileview/geom/FloatMathHelper.java | package com.qozix.tileview.geom;
/**
* @author Mike Dunn, 10/23/15.
*/
public class FloatMathHelper {
public static int scale( int base, float multiplier ) {
return (int) ((base * multiplier) + 0.5);
}
public static int unscale( int base, float multiplier ) {
return (int) ((base / multiplier) + 0.5);
... | 325 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
TileRenderPoolExecutor.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/tileview/src/main/java/com/qozix/tileview/tiles/TileRenderPoolExecutor.java | package com.qozix.tileview.tiles;
import android.os.Handler;
import java.lang.ref.WeakReference;
import java.util.Set;
import java.util.concurrent.LinkedBlockingDeque;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
public class TileRenderPoolExecutor extends ThreadPoolExecutor ... | 3,416 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
TileCanvasViewGroup.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/tileview/src/main/java/com/qozix/tileview/tiles/TileCanvasViewGroup.java | package com.qozix.tileview.tiles;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Rect;
import android.graphics.Region;
import android.os.Handler;
import android.os.Looper;
import android.os.Message;
import android.view.ViewGroup;
import com.qozix.tileview.detail.DetailLevel;
i... | 16,225 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
TileRenderRunnable.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/tileview/src/main/java/com/qozix/tileview/tiles/TileRenderRunnable.java | package com.qozix.tileview.tiles;
import android.os.Handler;
import android.os.Message;
import android.os.Process;
import java.lang.ref.WeakReference;
/**
* @author Mike Dunn, 3/10/16.
*/
class TileRenderRunnable implements Runnable {
private WeakReference<Tile> mTileWeakReference;
private WeakReference<TileR... | 3,966 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
TileRenderHandler.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/tileview/src/main/java/com/qozix/tileview/tiles/TileRenderHandler.java | package com.qozix.tileview.tiles;
import android.os.Handler;
import android.os.Looper;
import android.os.Message;
import java.lang.ref.WeakReference;
/**
* @author Mike Dunn, 3/10/16.
*/
class TileRenderHandler extends Handler {
public static final int RENDER_ERROR = -1;
public static final int RENDER_INCOMPL... | 1,888 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
Tile.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/tileview/src/main/java/com/qozix/tileview/tiles/Tile.java | package com.qozix.tileview.tiles;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Rect;
import android.view.animation.AnimationUtils;
import com.qozix.tileview.detail.DetailLevel;
import com.qozix.tileview.detail.De... | 6,943 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
BitmapProvider.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/tileview/src/main/java/com/qozix/tileview/graphics/BitmapProvider.java | package com.qozix.tileview.graphics;
import android.content.Context;
import android.graphics.Bitmap;
import com.qozix.tileview.tiles.Tile;
/**
* This interface provides the bitmap data necessary to draw each tile. It will be run
* in a worker (non-UI) thread, so network operations are safe here. How the bitmap i... | 868 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
BitmapProviderAssets.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/tileview/src/main/java/com/qozix/tileview/graphics/BitmapProviderAssets.java | package com.qozix.tileview.graphics;
import android.content.Context;
import android.content.res.AssetManager;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import com.qozix.tileview.tiles.Tile;
import java.io.InputStream;
/**
* This is a very simple implementation of BitmapProvider, using ... | 1,747 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
HotSpot.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/tileview/src/main/java/com/qozix/tileview/hotspots/HotSpot.java | package com.qozix.tileview.hotspots;
import android.graphics.Region;
public class HotSpot extends Region {
private Object mTag;
private HotSpotTapListener mHotSpotTapListener;
public Object getTag() {
return mTag;
}
public void setTag( Object object ) {
mTag = object;
}
public void setHotSpo... | 867 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
HotSpotManager.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/tileview/src/main/java/com/qozix/tileview/hotspots/HotSpotManager.java | package com.qozix.tileview.hotspots;
import com.qozix.tileview.geom.FloatMathHelper;
import java.util.Iterator;
import java.util.LinkedList;
public class HotSpotManager {
private float mScale = 1;
private HotSpot.HotSpotTapListener mHotSpotTapListener;
private LinkedList<HotSpot> mHotSpots = new Linked... | 1,869 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
WorldLevelData.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/app/src/main/java/io/vn/nguyenduck/blocktopograph/WorldLevelData.java | package io.vn.nguyenduck.blocktopograph;
import android.net.Uri;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.documentfile.provider.DocumentFile;
import io.vn.nguyenduck.blocktopograph.nbt.NbtInputStream;
import io.vn.nguyenduck.blocktopograph.nbt.Type;
import io.vn.nguyenduck.blocktop... | 3,340 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
DocumentUtils.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/app/src/main/java/io/vn/nguyenduck/blocktopograph/DocumentUtils.java | package io.vn.nguyenduck.blocktopograph;
import android.content.ContentResolver;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.documentfile.provider.DocumentFile;
import java.util.Objects;
import java.util.logging.Logger;
import static io.vn.nguyenduck.blocktopograph.Consta... | 1,153 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
NbtUtils.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/app/src/main/java/io/vn/nguyenduck/blocktopograph/NbtUtils.java | package io.vn.nguyenduck.blocktopograph;
import android.os.Bundle;
import io.vn.nguyenduck.blocktopograph.nbt.Type;
import io.vn.nguyenduck.blocktopograph.nbt.tag.*;
import java.util.ArrayList;
public class NbtUtils {
public static Bundle toBundle(Tag tag) {
return toBundle(tag, new Bundle());
}
... | 4,332 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
MainActivity.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/app/src/main/java/io/vn/nguyenduck/blocktopograph/MainActivity.java | package io.vn.nguyenduck.blocktopograph;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.net.Uri;
import androi... | 4,700 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
WorldListAdapter.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/app/src/main/java/io/vn/nguyenduck/blocktopograph/WorldListAdapter.java | package io.vn.nguyenduck.blocktopograph;
import android.os.Bundle;
import android.text.format.DateFormat;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.doc... | 4,213 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
TranslationUtils.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/app/src/main/java/io/vn/nguyenduck/blocktopograph/TranslationUtils.java | package io.vn.nguyenduck.blocktopograph;
public class TranslationUtils {
public static int translateGamemode(int gamemode) {
switch (gamemode) {
case 0:
return R.string.gamemode_survival;
case 1:
return R.string.gamemode_creative;
case 2:
... | 505 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
Constants.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/app/src/main/java/io/vn/nguyenduck/blocktopograph/Constants.java | package io.vn.nguyenduck.blocktopograph;
public class Constants {
static final String DOC_AUTHORITY = "com.android.externalstorage.documents";
static final String DOC_DATA_PATH = "primary:Android/data";
static final String SELF_APP_ID = "io.vn.nguyenduck.blocktopograph";
static final String SELF_APP_N... | 841 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
Logger.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/app/src/main/java/io/vn/nguyenduck/blocktopograph/Logger.java | package io.vn.nguyenduck.blocktopograph;
import static io.vn.nguyenduck.blocktopograph.Constants.SELF_APP_NAME;
public class Logger {
public static final java.util.logging.Logger LOGGER = java.util.logging.Logger.getLogger(SELF_APP_NAME);
}
| 247 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
NbtInputStream.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/app/src/main/java/io/vn/nguyenduck/blocktopograph/nbt/NbtInputStream.java | package io.vn.nguyenduck.blocktopograph.nbt;
import io.vn.nguyenduck.blocktopograph.nbt.tag.*;
import java.io.Closeable;
import java.io.DataInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import static io.vn.nguyenduck.blocktopograph.nbt.Type.END;
public class NbtInp... | 4,458 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
Type.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/app/src/main/java/io/vn/nguyenduck/blocktopograph/nbt/Type.java | package io.vn.nguyenduck.blocktopograph.nbt;
public enum Type {
END(0),
BYTE(1),
SHORT(2),
INT(3),
LONG(4),
FLOAT(5),
DOUBLE(6),
BYTE_ARRAY(7),
STRING(8),
LIST(9),
COMPOUND(10),
INT_ARRAY(11),
SHORT_ARRAY(12);
private final int value;
Type(int value) {
... | 501 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
NbtOutputStream.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/app/src/main/java/io/vn/nguyenduck/blocktopograph/nbt/NbtOutputStream.java | package io.vn.nguyenduck.blocktopograph.nbt;
import io.vn.nguyenduck.blocktopograph.nbt.tag.*;
import java.io.Closeable;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.util.ArrayList;
public class NbtOutputStream implements Closeable {
private final DataOutp... | 4,286 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
CompoundTag.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/app/src/main/java/io/vn/nguyenduck/blocktopograph/nbt/tag/CompoundTag.java | package io.vn.nguyenduck.blocktopograph.nbt.tag;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import io.vn.nguyenduck.blocktopograph.nbt.Type;
import java.util.ArrayList;
import java.util.StringJoiner;
import java.util.stream.Stream;
import static io.vn.nguyenduck.blocktopograph.nbt.Type.... | 1,435 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
ShortArrayTag.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/app/src/main/java/io/vn/nguyenduck/blocktopograph/nbt/tag/ShortArrayTag.java | package io.vn.nguyenduck.blocktopograph.nbt.tag;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import io.vn.nguyenduck.blocktopograph.nbt.Type;
import java.util.Arrays;
import static io.vn.nguyenduck.blocktopograph.nbt.Type.SHORT_ARRAY;
public class ShortArrayTag implements Tag {
priv... | 928 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
ListTag.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/app/src/main/java/io/vn/nguyenduck/blocktopograph/nbt/tag/ListTag.java | package io.vn.nguyenduck.blocktopograph.nbt.tag;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import io.vn.nguyenduck.blocktopograph.nbt.Type;
import org.checkerframework.checker.units.qual.A;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.StringJoiner;
import java.u... | 1,738 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
IntArrayTag.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/app/src/main/java/io/vn/nguyenduck/blocktopograph/nbt/tag/IntArrayTag.java | package io.vn.nguyenduck.blocktopograph.nbt.tag;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import io.vn.nguyenduck.blocktopograph.nbt.Type;
import java.util.Arrays;
import static io.vn.nguyenduck.blocktopograph.nbt.Type.INT_ARRAY;
public class IntArrayTag implements Tag {
private ... | 928 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
IntTag.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/app/src/main/java/io/vn/nguyenduck/blocktopograph/nbt/tag/IntTag.java | package io.vn.nguyenduck.blocktopograph.nbt.tag;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import io.vn.nguyenduck.blocktopograph.nbt.Type;
import static io.vn.nguyenduck.blocktopograph.nbt.Type.INT;
public class IntTag implements Tag {
private final String name;
private final ... | 857 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
FloatTag.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/app/src/main/java/io/vn/nguyenduck/blocktopograph/nbt/tag/FloatTag.java | package io.vn.nguyenduck.blocktopograph.nbt.tag;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import io.vn.nguyenduck.blocktopograph.nbt.Type;
import static io.vn.nguyenduck.blocktopograph.nbt.Type.FLOAT;
public class FloatTag implements Tag {
private final String name;
private f... | 860 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
ShortTag.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/app/src/main/java/io/vn/nguyenduck/blocktopograph/nbt/tag/ShortTag.java | package io.vn.nguyenduck.blocktopograph.nbt.tag;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import io.vn.nguyenduck.blocktopograph.nbt.Type;
import static io.vn.nguyenduck.blocktopograph.nbt.Type.SHORT;
public class ShortTag implements Tag {
private final String name;
private fi... | 859 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
EndTag.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/app/src/main/java/io/vn/nguyenduck/blocktopograph/nbt/tag/EndTag.java | package io.vn.nguyenduck.blocktopograph.nbt.tag;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import io.vn.nguyenduck.blocktopograph.nbt.Type;
import static io.vn.nguyenduck.blocktopograph.nbt.Type.END;
public class EndTag implements Tag {
@NonNull
@Override
public Type getTyp... | 605 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
LongTag.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/app/src/main/java/io/vn/nguyenduck/blocktopograph/nbt/tag/LongTag.java | package io.vn.nguyenduck.blocktopograph.nbt.tag;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import io.vn.nguyenduck.blocktopograph.nbt.Type;
import static io.vn.nguyenduck.blocktopograph.nbt.Type.LONG;
public class LongTag implements Tag {
private final String name;
private fina... | 852 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
DoubleTag.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/app/src/main/java/io/vn/nguyenduck/blocktopograph/nbt/tag/DoubleTag.java | package io.vn.nguyenduck.blocktopograph.nbt.tag;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import io.vn.nguyenduck.blocktopograph.nbt.Type;
import static io.vn.nguyenduck.blocktopograph.nbt.Type.DOUBLE;
public class DoubleTag implements Tag {
private final String name;
private ... | 866 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
ByteTag.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/app/src/main/java/io/vn/nguyenduck/blocktopograph/nbt/tag/ByteTag.java | package io.vn.nguyenduck.blocktopograph.nbt.tag;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import io.vn.nguyenduck.blocktopograph.nbt.Type;
import static io.vn.nguyenduck.blocktopograph.nbt.Type.BYTE;
public class ByteTag implements Tag {
private final String name;
private fina... | 859 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
ByteArrayTag.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/app/src/main/java/io/vn/nguyenduck/blocktopograph/nbt/tag/ByteArrayTag.java | package io.vn.nguyenduck.blocktopograph.nbt.tag;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import io.vn.nguyenduck.blocktopograph.nbt.Type;
import java.util.Arrays;
import static io.vn.nguyenduck.blocktopograph.nbt.Type.BYTE_ARRAY;
public class ByteArrayTag implements Tag {
privat... | 921 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
Tag.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/app/src/main/java/io/vn/nguyenduck/blocktopograph/nbt/tag/Tag.java | package io.vn.nguyenduck.blocktopograph.nbt.tag;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import io.vn.nguyenduck.blocktopograph.nbt.Type;
public interface Tag {
@NonNull
String toString();
@NonNull
Type getType();
@NonNull
String getName();
@NonNull
... | 341 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
StringTag.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/app/src/main/java/io/vn/nguyenduck/blocktopograph/nbt/tag/StringTag.java | package io.vn.nguyenduck.blocktopograph.nbt.tag;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import io.vn.nguyenduck.blocktopograph.nbt.Type;
import static io.vn.nguyenduck.blocktopograph.nbt.Type.STRING;
public class StringTag implements Tag {
private final String name;
private ... | 898 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
WorldDetailActivity.java | /FileExtraction/Java_unseen/NguyenDuck_blocktopograph/app/src/main/java/io/vn/nguyenduck/blocktopograph/activity/WorldDetailActivity.java | package io.vn.nguyenduck.blocktopograph.activity;
import android.os.Bundle;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
public class WorldDetailActivity extends AppCompatActivity {
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.... | 357 | Java | .java | NguyenDuck/blocktopograph | 17 | 0 | 4 | 2024-02-27T02:25:56Z | 2024-03-20T04:22:24Z |
ExampleUnitTest.java | /FileExtraction/Java_unseen/zoebchhatriwala_VPNTree/app/src/test/java/in/co/zoeb/vpntree/ExampleUnitTest.java | package in.co.zoeb.vpntree;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void add... | 396 | Java | .java | zoebchhatriwala/VPNTree | 18 | 9 | 2 | 2017-02-06T11:07:11Z | 2017-03-26T06:58:30Z |
HomeFragment.java | /FileExtraction/Java_unseen/zoebchhatriwala_VPNTree/app/src/main/java/in/co/zoeb/vpntree/HomeFragment.java | package in.co.zoeb.vpntree;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.net.VpnService;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.content.LocalBroadcastMana... | 4,930 | Java | .java | zoebchhatriwala/VPNTree | 18 | 9 | 2 | 2017-02-06T11:07:11Z | 2017-03-26T06:58:30Z |
AboutAppFragment.java | /FileExtraction/Java_unseen/zoebchhatriwala_VPNTree/app/src/main/java/in/co/zoeb/vpntree/AboutAppFragment.java | package in.co.zoeb.vpntree;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.webkit.WebView;
/**
* A simple {@link Fragment} subclass.
*/
public class AboutAppFragment extends Fragment {
... | 3,728 | Java | .java | zoebchhatriwala/VPNTree | 18 | 9 | 2 | 2017-02-06T11:07:11Z | 2017-03-26T06:58:30Z |
Activity_Loader.java | /FileExtraction/Java_unseen/zoebchhatriwala_VPNTree/app/src/main/java/in/co/zoeb/vpntree/Activity_Loader.java | package in.co.zoeb.vpntree;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.design.widget.NavigationView;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.support.v4.view.GravityCompat;
import android.support.v4... | 3,336 | Java | .java | zoebchhatriwala/VPNTree | 18 | 9 | 2 | 2017-02-06T11:07:11Z | 2017-03-26T06:58:30Z |
MyVpnService.java | /FileExtraction/Java_unseen/zoebchhatriwala_VPNTree/app/src/main/java/in/co/zoeb/vpntree/MyVpnService.java | package in.co.zoeb.vpntree;
import android.app.PendingIntent;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.net.VpnService;
import android.os.Handler;
import android.os.Message;
import android.os.ParcelFileDe... | 13,082 | Java | .java | zoebchhatriwala/VPNTree | 18 | 9 | 2 | 2017-02-06T11:07:11Z | 2017-03-26T06:58:30Z |
ExampleInstrumentedTest.java | /FileExtraction/Java_unseen/zoebchhatriwala_VPNTree/app/src/androidTest/java/in/co/zoeb/vpntree/ExampleInstrumentedTest.java | package in.co.zoeb.vpntree;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumentation test, which will execute on an Android d... | 740 | Java | .java | zoebchhatriwala/VPNTree | 18 | 9 | 2 | 2017-02-06T11:07:11Z | 2017-03-26T06:58:30Z |
PBStreamDeckTest.java | /FileExtraction/Java_unseen/IllusionaryOne_PBStreamDeck/pbstreamdeck/src/test/java/tv/phantombot/pbstreamdeck/PBStreamDeckTest.java | package tv.phantombot.pbstreamdeck;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
/**
* Unit test for simple App.
*/
public class PBStreamDeckTest
extends TestCase
{
/**
* Create the test case
*
* @param testName name of the test case
*/... | 719 | Java | .java | IllusionaryOne/PBStreamDeck | 9 | 3 | 2 | 2018-04-10T22:40:23Z | 2020-05-05T09:31:33Z |
PBStreamDeckProperties.java | /FileExtraction/Java_unseen/IllusionaryOne_PBStreamDeck/pbstreamdeck/src/main/java/tv/phantombot/pbstreamdeck/PBStreamDeckProperties.java | /*
* Copyright (C) 2018 phantombot.tv
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is dist... | 2,839 | Java | .java | IllusionaryOne/PBStreamDeck | 9 | 3 | 2 | 2018-04-10T22:40:23Z | 2020-05-05T09:31:33Z |
ElgatoStreamDeckConfig.java | /FileExtraction/Java_unseen/IllusionaryOne_PBStreamDeck/pbstreamdeck/src/main/java/tv/phantombot/pbstreamdeck/ElgatoStreamDeckConfig.java | /*
* Copyright (C) 2018 phantombot.tv
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is dist... | 3,560 | Java | .java | IllusionaryOne/PBStreamDeck | 9 | 3 | 2 | 2018-04-10T22:40:23Z | 2020-05-05T09:31:33Z |
PBStreamDeck.java | /FileExtraction/Java_unseen/IllusionaryOne_PBStreamDeck/pbstreamdeck/src/main/java/tv/phantombot/pbstreamdeck/PBStreamDeck.java | /*
* Copyright (C) 2018 phantombot.tv
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is dist... | 4,039 | Java | .java | IllusionaryOne/PBStreamDeck | 9 | 3 | 2 | 2018-04-10T22:40:23Z | 2020-05-05T09:31:33Z |
PhantomBotRESTAPI.java | /FileExtraction/Java_unseen/IllusionaryOne_PBStreamDeck/pbstreamdeck/src/main/java/tv/phantombot/pbstreamdeck/PhantomBotRESTAPI.java | /*
* Copyright (C) 2018 phantombot.tv
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is dist... | 6,608 | Java | .java | IllusionaryOne/PBStreamDeck | 9 | 3 | 2 | 2018-04-10T22:40:23Z | 2020-05-05T09:31:33Z |
module-info.java | /FileExtraction/Java_unseen/Tristan971_Lyrebird/lyrebird-api/src/main/java/module-info.java | open module lyrebird.api {
exports moe.lyrebird.api.model;
exports moe.lyrebird.api.conf;
requires slf4j.api;
requires spring.beans;
requires spring.context;
requires spring.core;
requires spring.web;
requires spring.boot.autoconfigure;
requires com.fasterxml.jackson.databind;
... | 475 | Java | .java | Tristan971/Lyrebird | 34 | 9 | 10 | 2017-02-05T19:44:00Z | 2020-09-27T21:13:06Z |
Endpoints.java | /FileExtraction/Java_unseen/Tristan971_Lyrebird/lyrebird-api/src/main/java/moe/lyrebird/api/conf/Endpoints.java | /*
* Lyrebird, a free open-source cross-platform twitter client.
* Copyright (C) 2017-2018, Tristan Deloche
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either ver... | 1,120 | Java | .java | Tristan971/Lyrebird | 34 | 9 | 10 | 2017-02-05T19:44:00Z | 2020-09-27T21:13:06Z |
TargetPlatform.java | /FileExtraction/Java_unseen/Tristan971_Lyrebird/lyrebird-api/src/main/java/moe/lyrebird/api/model/TargetPlatform.java | /*
* Lyrebird, a free open-source cross-platform twitter client.
* Copyright (C) 2017-2018, Tristan Deloche
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either ver... | 1,481 | Java | .java | Tristan971/Lyrebird | 34 | 9 | 10 | 2017-02-05T19:44:00Z | 2020-09-27T21:13:06Z |
AbstractLyrebirdVersion.java | /FileExtraction/Java_unseen/Tristan971_Lyrebird/lyrebird-api/src/main/java/moe/lyrebird/api/model/AbstractLyrebirdVersion.java | /*
* Lyrebird, a free open-source cross-platform twitter client.
* Copyright (C) 2017-2018, Tristan Deloche
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either ver... | 1,235 | Java | .java | Tristan971/Lyrebird | 34 | 9 | 10 | 2017-02-05T19:44:00Z | 2020-09-27T21:13:06Z |
AbstractLyrebirdPackage.java | /FileExtraction/Java_unseen/Tristan971_Lyrebird/lyrebird-api/src/main/java/moe/lyrebird/api/model/AbstractLyrebirdPackage.java | /*
* Lyrebird, a free open-source cross-platform twitter client.
* Copyright (C) 2017-2018, Tristan Deloche
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either ver... | 1,143 | Java | .java | Tristan971/Lyrebird | 34 | 9 | 10 | 2017-02-05T19:44:00Z | 2020-09-27T21:13:06Z |
module-info.java | /FileExtraction/Java_unseen/Tristan971_Lyrebird/lyrebird-api-server/src/main/java/module-info.java | open module lyrebird.server {
exports moe.lyrebird.api.server;
exports moe.lyrebird.api.server.model;
exports moe.lyrebird.api.server.controllers;
requires slf4j.api;
requires spring.beans;
requires spring.boot;
requires spring.boot.autoconfigure;
requires spring.context;
requires... | 495 | Java | .java | Tristan971/Lyrebird | 34 | 9 | 10 | 2017-02-05T19:44:00Z | 2020-09-27T21:13:06Z |
LyrebirdApiSecurityAdapter.java | /FileExtraction/Java_unseen/Tristan971_Lyrebird/lyrebird-api-server/src/main/java/moe/lyrebird/api/server/LyrebirdApiSecurityAdapter.java | package moe.lyrebird.api.server;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.security.config.annotation... | 910 | Java | .java | Tristan971/Lyrebird | 34 | 9 | 10 | 2017-02-05T19:44:00Z | 2020-09-27T21:13:06Z |
LyrebirdApi.java | /FileExtraction/Java_unseen/Tristan971_Lyrebird/lyrebird-api-server/src/main/java/moe/lyrebird/api/server/LyrebirdApi.java | /*
* Lyrebird, a free open-source cross-platform twitter client.
* Copyright (C) 2017-2018, Tristan Deloche
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either ver... | 1,134 | Java | .java | Tristan971/Lyrebird | 34 | 9 | 10 | 2017-02-05T19:44:00Z | 2020-09-27T21:13:06Z |
VersionController.java | /FileExtraction/Java_unseen/Tristan971_Lyrebird/lyrebird-api-server/src/main/java/moe/lyrebird/api/server/controllers/VersionController.java | /*
* Lyrebird, a free open-source cross-platform twitter client.
* Copyright (C) 2017-2018, Tristan Deloche
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either ver... | 2,825 | Java | .java | Tristan971/Lyrebird | 34 | 9 | 10 | 2017-02-05T19:44:00Z | 2020-09-27T21:13:06Z |
VersionService.java | /FileExtraction/Java_unseen/Tristan971_Lyrebird/lyrebird-api-server/src/main/java/moe/lyrebird/api/server/model/VersionService.java | /*
* Lyrebird, a free open-source cross-platform twitter client.
* Copyright (C) 2017-2018, Tristan Deloche
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either ver... | 2,823 | Java | .java | Tristan971/Lyrebird | 34 | 9 | 10 | 2017-02-05T19:44:00Z | 2020-09-27T21:13:06Z |
module-info.java | /FileExtraction/Java_unseen/Tristan971_Lyrebird/lyrebird/src/main/java/module-info.java | open module lyrebird {
requires lyrebird.api;
requires org.twitter4j.core;
requires java.persistence;
requires java.prefs;
requires moe.tristan.easyfxml;
requires java.desktop;
requires javafx.controls;
requires javafx.fxml;
requires javafx.graphics;
requires javafx.media;
... | 805 | Java | .java | Tristan971/Lyrebird | 34 | 9 | 10 | 2017-02-05T19:44:00Z | 2020-09-27T21:13:06Z |
Lyrebird.java | /FileExtraction/Java_unseen/Tristan971_Lyrebird/lyrebird/src/main/java/moe/lyrebird/Lyrebird.java | /*
* Lyrebird, a free open-source cross-platform twitter client.
* Copyright (C) 2017-2018, Tristan Deloche
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either ver... | 3,279 | Java | .java | Tristan971/Lyrebird | 34 | 9 | 10 | 2017-02-05T19:44:00Z | 2020-09-27T21:13:06Z |
PersistenceConfiguration.java | /FileExtraction/Java_unseen/Tristan971_Lyrebird/lyrebird/src/main/java/moe/lyrebird/persistence/PersistenceConfiguration.java | package moe.lyrebird.persistence;
import org.springframework.context.annotation.Configuration;
@Configuration
public class PersistenceConfiguration {
}
| 155 | Java | .java | Tristan971/Lyrebird | 34 | 9 | 10 | 2017-02-05T19:44:00Z | 2020-09-27T21:13:06Z |
LyrebirdUiManager.java | /FileExtraction/Java_unseen/Tristan971_Lyrebird/lyrebird/src/main/java/moe/lyrebird/view/LyrebirdUiManager.java | /*
* Lyrebird, a free open-source cross-platform twitter client.
* Copyright (C) 2017-2018, Tristan Deloche
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either ver... | 5,869 | Java | .java | Tristan971/Lyrebird | 34 | 9 | 10 | 2017-02-05T19:44:00Z | 2020-09-27T21:13:06Z |
TweetContentTokenizer.java | /FileExtraction/Java_unseen/Tristan971_Lyrebird/lyrebird/src/main/java/moe/lyrebird/view/viewmodel/tokenization/TweetContentTokenizer.java | package moe.lyrebird.view.viewmodel.tokenization;
import java.util.Comparator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.function.Function;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
i... | 4,588 | Java | .java | Tristan971/Lyrebird | 34 | 9 | 10 | 2017-02-05T19:44:00Z | 2020-09-27T21:13:06Z |
Token.java | /FileExtraction/Java_unseen/Tristan971_Lyrebird/lyrebird/src/main/java/moe/lyrebird/view/viewmodel/tokenization/Token.java | package moe.lyrebird.view.viewmodel.tokenization;
import javafx.scene.text.Text;
import moe.lyrebird.view.viewmodel.javafx.ClickableText;
/**
* This class represents a String-convertible token that can either represent some {@link TokenType#SIMPLE_TEXT} or
* a {@link TokenType#CLICKABLE} element.
*/
public final ... | 1,512 | Java | .java | Tristan971/Lyrebird | 34 | 9 | 10 | 2017-02-05T19:44:00Z | 2020-09-27T21:13:06Z |
TokensExtractor.java | /FileExtraction/Java_unseen/Tristan971_Lyrebird/lyrebird/src/main/java/moe/lyrebird/view/viewmodel/tokenization/TokensExtractor.java | package moe.lyrebird.view.viewmodel.tokenization;
import java.util.List;
import twitter4j.Status;
public interface TokensExtractor {
List<Token> extractTokens(final Status status);
}
| 192 | Java | .java | Tristan971/Lyrebird | 34 | 9 | 10 | 2017-02-05T19:44:00Z | 2020-09-27T21:13:06Z |
SimpleTextTokensCollector.java | /FileExtraction/Java_unseen/Tristan971_Lyrebird/lyrebird/src/main/java/moe/lyrebird/view/viewmodel/tokenization/SimpleTextTokensCollector.java | package moe.lyrebird.view.viewmodel.tokenization;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import twitter4j.Status;
public final class SimpleTextTokensCollector {
private SimpleTextTokensCollector() {
}
public static List<Token> colle... | 1,647 | Java | .java | Tristan971/Lyrebird | 34 | 9 | 10 | 2017-02-05T19:44:00Z | 2020-09-27T21:13:06Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.