code
stringlengths
3
1.18M
language
stringclasses
1 value
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
Java
/* * Copyright (C) 2008 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 app...
Java
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
Java
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
Java
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
Java
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
/* * Copyright (C) 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java
/* * Copyright (C) 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
/* * Copyright (C) 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
/* * Copyright (C) 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
/* * Copyright (C) 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
/* * Copyright (C) 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
package com.google.android.webviewdemo; import android.app.Activity; import android.os.Bundle; import android.os.Handler; import android.util.Log; import android.webkit.JsResult; import android.webkit.WebChromeClient; import android.webkit.WebSettings; import android.webkit.WebView; /** * Demonstrates how to embed a...
Java
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
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 com.springapp.model; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Gen...
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 com.springapp.model; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Gen...
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 com.springapp.controller; import com.springapp.model.Animal; import com.springapp.model.Type; import com.springapp.se...
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 com.springapp.service; import com.springapp.model.Type; import java.util.List; /** * * @author Лерок */ pu...
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 com.springapp.service.impl; import com.springapp.model.Animal; import com.springapp.repository.AnimalRepository; im...
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 com.springapp.service.impl; import com.springapp.model.Animal; import com.springapp.model.Type; import com.springap...
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 com.springapp.service; import com.springapp.model.Animal; import java.util.List; /** * * @author Лерок */ ...
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 com.springapp.repository; import com.springapp.model.Animal; import org.springframework.data.repository.CrudReposito...
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 com.springapp.repository; import com.springapp.model.Type; import org.springframework.data.repository.CrudRepository...
Java
/* * Copyright (c) 2012 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
Java
/* * Copyright (c) 2012 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
Java
/* * Copyright (c) 2012 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
Java
/* * Copyright (c) 2012 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
Java
/* * Copyright (c) 2012 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
Java
/* * Copyright (c) 2012 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
Java
package nz.broto.animatedlabel; import java.util.ArrayList; public class JXLabelMoveGroup { private ArrayList<JXLabelMove> allLabels = new ArrayList<JXLabelMove>(); public void addJXLabelMove(JXLabelMove label){ if (!allLabels.contains(label)){ allLabels.add(label); label.setGroup(this); } } public...
Java
package nz.broto.animatedlabel; import java.awt.Color; import java.awt.event.MouseEvent; import javax.swing.ImageIcon; import javax.swing.event.MouseInputListener; import org.jdesktop.swingx.JXLabel; @SuppressWarnings("serial") public class JXLabelMove extends JXLabel implements MouseInputListener{ private Color ...
Java
package tools; import java.util.List; import org.jdom.Element; /** * XML Element解析器 * * @author Rekc@h */ public class ElementParser { private final Element e; public ElementParser(Element e) { this.e = e; } public String getAttributeString(String name) { return e.getAttributeValue(...
Java
package tools; public interface RekcahConst { /** 无翻转 */ public static final int FLIP_NONE = 0; /** 水平翻转 */ public static final int FLIP_X = 1; /** 垂直翻转 */ public static final int FLIP_Y = 1 << 1; /** 90度旋转 */ public static final int FLIP_90 = 1 << 2; // 4 /** 水平翻转 + 垂直翻转 等价于 ( FLIP_X | FLIP_Y ) ...
Java
package tools; import javax.swing.AbstractAction; import javax.swing.Action; import javax.swing.ActionMap; import javax.swing.Icon; import javax.swing.InputMap; import javax.swing.JComponent; import javax.swing.KeyStroke; /** * 按钮动作 * * @author Rekc@h * @date 2012-1-12 */ public abstract class R...
Java
package tools; import javax.swing.Icon; import javax.swing.tree.DefaultMutableTreeNode; import org.jdom.Element; /** * 可编辑的树结点 * * @author Rekc@h */ public class FLTreeNode extends DefaultMutableTreeNode implements RekcahConst { private static final long serialVersionUID = -2204297617778025284L; public FLTree...
Java
package tools; import java.awt.Color; import java.awt.Component; import java.awt.Desktop; import java.awt.Dimension; import java.awt.Graphics2D; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Image; import java.awt.Point; import java.awt.Rectangle; import java.awt.Toolki...
Java
package tools; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Image; import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeListener; import java.io.File; import javax.swing.ImageIcon; import javax.swing.JComponent; import javax.swing.JFileChooser; /** * 文件对话框图片预览器 * * @aut...
Java
package tools; import javax.swing.undo.AbstractUndoableEdit; public class RekcahUndoableEdit extends AbstractUndoableEdit { String name; public RekcahUndoableEdit(String name) { if (name == null) { name = ""; } this.name = name; init(); } protected void init() { } @Override pub...
Java
package frame; import java.util.Vector; import javax.swing.table.AbstractTableModel; import model.FLSequence; public class FLSequenceTableModel extends AbstractTableModel { Vector<FLSequence> sequences; static final String[] COLUMN_NAMES = { "ID", "Frame", "Duration" }; static final Class<?>[] COL...
Java
package frame; import java.awt.datatransfer.DataFlavor; import java.awt.datatransfer.Transferable; import java.awt.datatransfer.UnsupportedFlavorException; import java.io.IOException; import model.FLFrame; public class FrameTransferable implements Transferable { Integer frameId; public FrameTransferab...
Java
package frame; import java.util.Vector; import javax.swing.table.AbstractTableModel; import model.FLAction; public class FLActionTableModel extends AbstractTableModel { private final Vector<FLAction> actions; public static final String[] COLUMN_NAMES = { "ID", "Name" }; public FLActionTableModel...
Java
package frame; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Image; import java.awt.Point; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.awt.event.MouseMotionListener; import java.awt.image.MemoryImageSource; import java.awt.i...
Java
package frame; import java.awt.BorderLayout; import java.awt.Component; import java.awt.Point; import java.awt.datatransfer.DataFlavor; import java.awt.datatransfer.Transferable; import java.awt.datatransfer.UnsupportedFlavorException; import java.awt.dnd.DnDConstants; import java.awt.dnd.DragGestureEvent; i...
Java
package frame; import java.util.Vector; import javax.swing.table.AbstractTableModel; import model.FLModule; public class FLModuleTableModel extends AbstractTableModel { private Vector<FLModule> modules; private static final String[] COLUMN_NAMES = { "ID", "Module", "Trans" }; public FLModuleTableM...
Java
package frame; import java.awt.Color; import java.io.File; import java.util.List; import java.util.Vector; import org.jdom.Element; import tools.ElementParser; import tools.Tools; /** * 配置 * @author Rekc@h */ public class AppConfig { private final String version = "AnimationPacker V0.1"; pr...
Java
package frame; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Point; import java.awt.Rectangle; import java.awt.datatransfer.DataFlavor; import java.awt.datatransfer.Transferable; import java.awt.datatransfer.UnsupportedFlavorException;...
Java
package frame; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Component; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Toolkit; import java.awt.event.ActionEvent; import java.awt.event.KeyEvent; import java.util.Iterator; import javax.swing.AbstractAction; imp...
Java
package frame; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Component; import java.awt.Frame; import java.awt.Window; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import java.awt.event.MouseAdapter; import java.awt.event.Mou...
Java
package frame; import java.util.Vector; import javax.swing.table.AbstractTableModel; import model.FLFrame; public class FLFrameTableModel extends AbstractTableModel { private final Vector<FLFrame> frames; static final String[] COLUMN_NAMES = { "ID", "Name" }; public FLFrameTableModel(Vector<FLFr...
Java
package frame; import java.awt.datatransfer.DataFlavor; import java.awt.datatransfer.Transferable; import java.awt.datatransfer.UnsupportedFlavorException; import java.io.IOException; import java.util.Vector; import model.FLClip; public class ClipTransferable implements Transferable { Vector<String> objs...
Java
package model; import java.util.List; import java.util.Vector; import org.jdom.Element; import tools.ElementParser; import tools.FLTreeNode; public class FLAction extends FLTreeNode { private final Vector<FLSequence> sequences; public FLAction() { sequences = new Vector<FLSequence>(); } pub...
Java
package model; import java.io.File; import java.util.List; import java.util.Vector; import org.jdom.Element; import tools.ElementParser; import tools.FLTreeNode; import tools.Tools; public class FLAnimation extends FLTreeNode { private final Vector<FLAction> actions; private final Vector<FLFrame> fr...
Java
package model; import java.awt.Color; import java.awt.Graphics; import java.awt.Image; import java.awt.Point; import java.awt.Rectangle; import org.jdom.Element; import tools.ElementParser; import tools.FLTreeNode; import tools.Tools; import frame.AppConfig; public class FLModule extends FLTreeNode {...
Java
package model; import org.jdom.Element; import tools.ElementParser; import tools.FLTreeNode; public class FLSequence extends FLTreeNode { private FLFrame frame; private int duration; public FLSequence() { } public FLSequence(FLFrame frame) { this.frame = frame; duration = 1; } public...
Java
package model; import java.util.List; import java.util.Vector; import org.jdom.Element; import tools.ElementParser; import tools.FLTreeNode; public class FLFrame extends FLTreeNode { private final Vector<FLModule> modules; public FLFrame() { modules = new Vector<FLModule>(); } public FLFram...
Java
package model; import java.awt.Dimension; import java.awt.Rectangle; import java.io.File; import java.util.List; import java.util.Vector; import org.jdom.Element; import tools.FLTreeNode; import tools.Tools; public class FLPlist extends FLTreeNode { String plistFile; String textureFile; int forma...
Java
package model; import java.awt.Dimension; import java.awt.Image; import java.awt.Point; import java.awt.Rectangle; import javax.swing.Icon; import javax.swing.ImageIcon; import tools.FLTreeNode; import tools.Tools; public class FLClip extends FLTreeNode { private FLPlist plist; private Rectangle fr...
Java
package net.appositedesigns.fileexplorer.workers; import java.io.File; import java.util.ArrayList; import java.util.Collections; import java.util.Date; import java.util.List; import java.util.Map; import net.appositedesigns.fileexplorer.R; import net.appositedesigns.fileexplorer.activity.FileListActivity; ...
Java
package net.appositedesigns.fileexplorer.workers; import java.io.File; import net.appositedesigns.fileexplorer.R; import net.appositedesigns.fileexplorer.activity.FileListActivity; import net.appositedesigns.fileexplorer.util.AbortionFlag; import net.appositedesigns.fileexplorer.util.Util; import android.app....
Java
package net.appositedesigns.fileexplorer.workers; import java.io.File; import net.appositedesigns.fileexplorer.R; import net.appositedesigns.fileexplorer.activity.FileListActivity; import net.appositedesigns.fileexplorer.exception.LocationInvalidException; import net.appositedesigns.fileexplorer.util.AbortionF...
Java
package net.appositedesigns.fileexplorer.workers; import java.io.File; import net.appositedesigns.fileexplorer.R; import net.appositedesigns.fileexplorer.activity.FileListActivity; import net.appositedesigns.fileexplorer.callbacks.OperationCallback; import net.appositedesigns.fileexplorer.util.Util; import an...
Java
package net.appositedesigns.fileexplorer.workers; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.util.ArrayList; import java.util.Enumeration; import java.util.List; import java.util.zip.Zi...
Java
package net.appositedesigns.fileexplorer.workers; import java.io.File; import java.util.ArrayList; import java.util.Collections; import java.util.List; import net.appositedesigns.fileexplorer.R; import net.appositedesigns.fileexplorer.activity.BookmarkListActivity; import net.appositedesigns.fileexplorer.mod...
Java
package net.appositedesigns.fileexplorer.exception; public class LocationInvalidException extends Exception { private static final long serialVersionUID = -4046926680600982016L; private String location; public LocationInvalidException(String location) { super(); this.location = location; } p...
Java
package net.appositedesigns.fileexplorer.callbacks; import android.content.Intent; import android.net.Uri; import android.view.ActionMode; import android.view.ActionMode.Callback; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import android.webkit.MimeTypeMap; impo...
Java
package net.appositedesigns.fileexplorer.callbacks; public interface OperationCallback<T> { T onSuccess(); void onFailure(Throwable e); }
Java
package net.appositedesigns.fileexplorer.callbacks; public interface CancellationCallback { void onCancel(); }
Java
package net.appositedesigns.fileexplorer.adapters; import java.util.List; import net.appositedesigns.fileexplorer.R; import net.appositedesigns.fileexplorer.activity.BookmarkListActivity; import net.appositedesigns.fileexplorer.model.FileListEntry; import net.appositedesigns.fileexplorer.util.Util; import and...
Java
package net.appositedesigns.fileexplorer.adapters; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.ImageView; import android.widget.TextView; import net.appositedesigns.fileexplorer.R; import net.appositede...
Java
package net.appositedesigns.fileexplorer; import android.app.Application; import android.content.Intent; public class FileExplorerApp extends Application { public static final int THEME_BLACK = R.style.Theme_FileExplorer; public static final int THEME_WHITE = R.style.Theme_FileExplorer_Light; public stat...
Java
package net.appositedesigns.fileexplorer.util; import android.app.AlertDialog.Builder; import android.content.Context; import android.content.DialogInterface; import android.graphics.drawable.Drawable; import android.net.Uri; import android.os.Environment; import android.os.StatFs; import android.text.InputTy...
Java
package net.appositedesigns.fileexplorer.util; public class AbortionFlag { private boolean aborted = false; public synchronized void abort() { aborted = true; } public synchronized boolean isAborted() { return aborted; } }
Java
package net.appositedesigns.fileexplorer.util; import android.app.Activity; import android.app.AlertDialog; import android.app.AlertDialog.Builder; import android.app.Instrumentation.ActivityResult; import android.app.Notification; import android.app.NotificationManager; import android.content.Context; import...
Java
package net.appositedesigns.fileexplorer.util; import android.app.Activity; import android.content.Context; import android.content.SharedPreferences; import android.os.AsyncTask; import net.appositedesigns.fileexplorer.activity.BookmarkListActivity; import net.appositedesigns.fileexplorer.model.FileListEntry;...
Java
package net.appositedesigns.fileexplorer.util; import java.util.Comparator; import net.appositedesigns.fileexplorer.activity.BaseFileListActivity; import net.appositedesigns.fileexplorer.activity.FileListActivity; import net.appositedesigns.fileexplorer.model.FileListEntry; import net.appositedesigns.fileexplo...
Java