index int64 | repo_id string | file_path string | content string |
|---|---|---|---|
0 | java-sources/at/datenwort/openhtmltopdf/openhtmltopdf-svg-support/1.1.4/com/openhtmltopdf | java-sources/at/datenwort/openhtmltopdf/openhtmltopdf-svg-support/1.1.4/com/openhtmltopdf/svgsupport/SVGImageExtension.java | package com.openhtmltopdf.svgsupport;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.List;
import java.util.logging.Level;
import org.apache.batik.bridge.BridgeContext;
import org.apache.batik.bridge.SVGBridgeExtension;
import org.apache.batik.bridge.SVGImageElementBridge;
import org.apache... |
0 | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib/armadillo/AesCbcEncryption.java | package at.favre.lib.armadillo;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import java.nio.ByteBuffer;
import java.security.InvalidKeyException;
import java.security.Provider;
import java.security.SecureRandom;
import javax.crypto.Cipher;
import javax.crypto.Mac;
import javax.crypto.Sec... |
0 | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib/armadillo/AesGcmEncryption.java | package at.favre.lib.armadillo;
import androidx.annotation.Nullable;
import java.nio.ByteBuffer;
import java.security.Provider;
import java.security.SecureRandom;
import javax.crypto.Cipher;
import javax.crypto.spec.GCMParameterSpec;
import javax.crypto.spec.SecretKeySpec;
import at.favre.lib.bytes.Bytes;
/**
* I... |
0 | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib/armadillo/Armadillo.java | package at.favre.lib.armadillo;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Build;
import android.provider.Settings;
import androidx.annotation.Nullable;
import java.security.Provider;
import java.security.SecureRandom;
import java.util.ArrayList;
import java.util.Colle... |
0 | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib/armadillo/ArmadilloBcryptKeyStretcher.java | package at.favre.lib.armadillo;
import android.os.StrictMode;
import at.favre.lib.bytes.Bytes;
import at.favre.lib.crypto.HKDF;
import at.favre.lib.crypto.bcrypt.BCrypt;
/**
* Bcrypt is a password hashing function designed by Niels Provos and David Mazières, based on the Blowfish cipher,
* and presented at USENIX ... |
0 | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib/armadillo/ArmadilloSharedPreferences.java | package at.favre.lib.armadillo;
import android.content.SharedPreferences;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
/**
* Extending the {@link SharedPreferences} interface this exports additional APIs specific
* to armadillo.
*/
public interface ArmadilloSharedPreferences extends Sha... |
0 | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib/armadillo/AuthenticatedEncryption.java | package at.favre.lib.armadillo;
import androidx.annotation.IntDef;
import androidx.annotation.Nullable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/**
* Authenticated encryption (AE) and authenticated encryption with associated data (AEAD, variant of AE)
* is a form of encr... |
0 | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib/armadillo/AuthenticatedEncryptionException.java | package at.favre.lib.armadillo;
/**
* Thrown during the process of {@link AuthenticatedEncryptionException}
*
* @author Patrick Favre-Bulle
* @since 18.12.2017
*/
public class AuthenticatedEncryptionException extends Exception {
public AuthenticatedEncryptionException(String message) {
super(message... |
0 | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib/armadillo/BrokenBcryptKeyStretcher.java | package at.favre.lib.armadillo;
import android.os.StrictMode;
import java.nio.ByteBuffer;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.security.SecureRandom;
import java.util.Locale;
import at.favre.lib.bytes.Bytes;
import at.favre.lib.crypto.HKDF;
import at.favre.lib.crypto... |
0 | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib/armadillo/ByteArrayRuntimeObfuscator.java | package at.favre.lib.armadillo;
import java.security.SecureRandom;
import java.util.Objects;
import at.favre.lib.bytes.Bytes;
/**
* Simple wrapper for obfuscated in-memory byte array. The idea is to have some kind of data obfuscation
* during runtime, to make it harder to read the content when instrumenting or doi... |
0 | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib/armadillo/Compressor.java | package at.favre.lib.armadillo;
/**
* Compresses the given byte array with a lossless compression technique (like gzip)
*
* @author Patrick Favre-Bulle
* @since 06.01.2018
*/
interface Compressor {
/**
* Compress given uncompressed byte array
*
* @param uncompressed to compress
* @return a... |
0 | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib/armadillo/DataObfuscator.java | package at.favre.lib.armadillo;
import androidx.annotation.NonNull;
/**
* Data obfuscation which obfuscates the given byte arrays.
* Obfuscation is the deliberate act of creating data that is difficult for humans to understand.
* It is not cryptographic encryption.
*
* @author Patrick Favre-Bulle
*/
public inte... |
0 | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib/armadillo/DefaultEncryptionProtocol.java | package at.favre.lib.armadillo;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import java.nio.ByteBuffer;
import java.nio.CharBuffer;
import java.nio.charset.StandardCharsets;
import java.security.SecureRandom;
import java.text.Normalizer;
import java.util.List;
import java.util.Objects;
i... |
0 | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib/armadillo/DerivedPasswordCache.java | package at.favre.lib.armadillo;
import androidx.annotation.Nullable;
import android.util.LruCache;
import java.security.SecureRandom;
import at.favre.lib.bytes.Bytes;
/**
* A simple caches, that helps caching derived passwords so that not every get operation requires
* to derive over the (expensive) key stretchin... |
0 | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib/armadillo/DisabledCompressor.java | package at.favre.lib.armadillo;
/**
* A compressor which does not compress anything, but just returns the same array.
*
* @author Patrick Favre-Bulle
*/
public class DisabledCompressor implements Compressor {
@Override
public byte[] compress(byte[] uncompressed) {
return uncompressed;
}
@... |
0 | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib/armadillo/EncryptionFingerprint.java | package at.favre.lib.armadillo;
import java.security.SecureRandom;
/**
* A EncryptionFingerprint is a semi secret "key" which, during runtime, gathers entropy from e.g.
* the device, system or other parts are used to create a cryptographic key with which the data is encrypted.
* <p>
* A good {@link EncryptionFing... |
0 | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib/armadillo/EncryptionFingerprintFactory.java | package at.favre.lib.armadillo;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.content.pm.Signature;
import android.os.Build;
import android.provider.Settings;
import androidx.annotation.Nullable;
... |
0 | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib/armadillo/EncryptionProtocol.java | package at.favre.lib.armadillo;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import java.security.SecureRandom;
/**
* The definition of the whole encryption protocol. The protocol handles and orchestrates how keys
* are derived, when to encrypt and when to obfuscate, what to do on error... |
0 | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib/armadillo/EncryptionProtocolConfig.java | package at.favre.lib.armadillo;
import java.util.Objects;
/**
* An encryption protocol config encapsulates all configuration needed for encryption and decryption of
* content.
*
* @since 28.10.2018
*/
@SuppressWarnings("WeakerAccess")
public final class EncryptionProtocolConfig {
public final int protocolVe... |
0 | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib/armadillo/EncryptionProtocolException.java | package at.favre.lib.armadillo;
/**
* Exception thrown during {@link EncryptionProtocol} encrypt or decrpyt
*
* @author Patrick Favre-Bulle
*/
public class EncryptionProtocolException extends Exception {
public EncryptionProtocolException(String message) {
super(message);
}
public EncryptionP... |
0 | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib/armadillo/FastKeyStretcher.java | package at.favre.lib.armadillo;
import java.text.Normalizer;
import at.favre.lib.bytes.Bytes;
import at.favre.lib.crypto.HKDF;
/**
* This is a implementation for a key derivation function with disabled key stretching function.
* Using this will circumvent the brute force prevention of password hashing functions li... |
0 | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib/armadillo/GzipCompressor.java | package at.favre.lib.armadillo;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.util.zip.GZIPInputStream;
import java.util.zip.GZIPOutputStream;
import timber.log.Timber;
/**
* A compressor using Gzip algorithm provided by the JDK
*
* @author Patrick Favre-Bulle
* @since 06... |
0 | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib/armadillo/HkdfMessageDigest.java | package at.favre.lib.armadillo;
import java.text.Normalizer;
import java.util.Objects;
import at.favre.lib.bytes.Bytes;
import at.favre.lib.crypto.HKDF;
/**
* A hash backed by HKDF using Hmac Sha512
*
* @author Patrick Favre-Bulle
*/
final class HkdfMessageDigest implements StringMessageDigest {
private fin... |
0 | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib/armadillo/HkdfXorObfuscator.java | package at.favre.lib.armadillo;
import androidx.annotation.NonNull;
import java.nio.ByteBuffer;
import java.util.Objects;
import at.favre.lib.bytes.Bytes;
import at.favre.lib.crypto.HKDF;
/**
* A simple obfuscator using HKDF to derive keys for individual blocks and uses
* a simple version of CTR block mode. Uses ... |
0 | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib/armadillo/KeyStretchingFunction.java | package at.favre.lib.armadillo;
import androidx.annotation.Nullable;
/**
* In cryptography, key stretching techniques are used to make a possibly weak key, typically a password or
* passphrase, more secure against a brute-force attack by increasing the time it takes to test each possible key.
* <p>
* This functio... |
0 | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib/armadillo/NoObfuscator.java | package at.favre.lib.armadillo;
import androidx.annotation.NonNull;
/**
* A simple No-Op implementation for {@link DataObfuscator}. Use this for testing purpose.
*
* @author Patrick Favre-Bulle
*/
public final class NoObfuscator implements DataObfuscator {
@Override
public void obfuscate(@NonNull byte[] ... |
0 | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib/armadillo/OnSecurePreferenceChangeListener.java | package at.favre.lib.armadillo;
import android.content.SharedPreferences;
import androidx.annotation.NonNull;
/**
* Allow to register preference change listeners that receive a {@link DerivedKeyComparison} instance in order to make it possible compare the changed key against
* <b>actual</b> key constants (instead o... |
0 | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib/armadillo/PBKDF2KeyStretcher.java | package at.favre.lib.armadillo;
import android.os.StrictMode;
import androidx.annotation.Nullable;
import java.security.NoSuchAlgorithmException;
import java.security.Provider;
import java.security.spec.InvalidKeySpecException;
import javax.crypto.SecretKeyFactory;
import javax.crypto.spec.PBEKeySpec;
/**
* In cry... |
0 | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib/armadillo/RecoveryPolicy.java | package at.favre.lib.armadillo;
import androidx.annotation.NonNull;
/**
* Defines how the storage should behave on errors while decrypting.
* <p>
* For a simpler version check out {@link SimpleRecoveryPolicy}, this is for more advanced
* use cases.
*
* @author Patrick Favre-Bulle
*/
public interface RecoveryP... |
0 | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib/armadillo/SecureSharedPreferenceCryptoException.java | package at.favre.lib.armadillo;
/**
* @since 26.12.2017
*/
public class SecureSharedPreferenceCryptoException extends IllegalStateException {
public SecureSharedPreferenceCryptoException(String message, Throwable cause) {
super(message, cause);
}
}
|
0 | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib/armadillo/SecureSharedPreferences.java | package at.favre.lib.armadillo;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.StrictMode;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import java.security.SecureRandom;
import java.util.Arrays;
import ja... |
0 | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib/armadillo/SharedPreferenceChangeListenerWrapper.java | package at.favre.lib.armadillo;
import android.content.SharedPreferences;
import androidx.annotation.NonNull;
/**
* Implementation that will wrap a {@link OnSecurePreferenceChangeListener} to adapt to the standard {@link SharedPreferences.OnSharedPreferenceChangeListener}
* @since 0.9.0
*/
final class SharedPrefer... |
0 | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib/armadillo/SimpleRecoveryPolicy.java | package at.favre.lib.armadillo;
import androidx.annotation.NonNull;
/**
* Simple implementation of a {@link RecoveryPolicy} that supports removing data
* and throwing exceptions.
*
* @author Patrick Favre-Bulle
*/
public abstract class SimpleRecoveryPolicy implements RecoveryPolicy {
/**
* If the cont... |
0 | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib | java-sources/at/favre/lib/armadillo/1.0.0/at/favre/lib/armadillo/StringMessageDigest.java | package at.favre.lib.armadillo;
/**
* A hash function to convert a string and usage name to a string representation
* of a hash.
*
* @author Patrick Favre-Bulle
*/
public interface StringMessageDigest {
/**
* Derives given key given by the caller with given usage description to a hash
*
* @par... |
0 | java-sources/at/favre/lib/bcrypt/0.10.2/at/favre/lib/crypto | java-sources/at/favre/lib/bcrypt/0.10.2/at/favre/lib/crypto/bcrypt/BCrypt.java | package at.favre.lib.crypto.bcrypt;
import at.favre.lib.bytes.Bytes;
import at.favre.lib.bytes.BytesTransformer;
import at.favre.lib.bytes.BytesValidators;
import at.favre.lib.bytes.MutableBytes;
import java.nio.ByteBuffer;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.securit... |
0 | java-sources/at/favre/lib/bcrypt/0.10.2/at/favre/lib/crypto | java-sources/at/favre/lib/bcrypt/0.10.2/at/favre/lib/crypto/bcrypt/BCryptFormatter.java | package at.favre.lib.crypto.bcrypt;
import at.favre.lib.bytes.Bytes;
import java.nio.ByteBuffer;
import java.nio.charset.Charset;
import java.util.Locale;
/**
* Formats the out hash message of bcrypt. Usually this is the Modular Crypt Format.
* Example
* <pre>
* $2a$12$US00g/uMhoSBm.HiuieBjeMtoN69SN.GE25fCpl... |
0 | java-sources/at/favre/lib/bcrypt/0.10.2/at/favre/lib/crypto | java-sources/at/favre/lib/bcrypt/0.10.2/at/favre/lib/crypto/bcrypt/BCryptOpenBSDProtocol.java | // Copyright (c) 2006 Damien Miller <djm@mindrot.org>
//
// Permission to use, copy, modify, and distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notice appear in all copies.
//
// THE SOFTWARE IS PROVIDED "AS IS" AND THE ... |
0 | java-sources/at/favre/lib/bcrypt/0.10.2/at/favre/lib/crypto | java-sources/at/favre/lib/bcrypt/0.10.2/at/favre/lib/crypto/bcrypt/BCryptParser.java | package at.favre.lib.crypto.bcrypt;
import at.favre.lib.bytes.Bytes;
import java.nio.ByteBuffer;
import java.nio.charset.Charset;
import static at.favre.lib.crypto.bcrypt.BCrypt.SEPARATOR;
/**
* A simple parser which is able to parse Modular Crypt Format specifically for bcrypt.
*
* It will gather the parts of t... |
0 | java-sources/at/favre/lib/bcrypt/0.10.2/at/favre/lib/crypto | java-sources/at/favre/lib/bcrypt/0.10.2/at/favre/lib/crypto/bcrypt/IllegalBCryptFormatException.java | package at.favre.lib.crypto.bcrypt;
/**
* Exception thrown on parsing if an illegal format has been detected.
* <p>
* Heavily used in {@link BCryptParser}
*/
public class IllegalBCryptFormatException extends Exception {
public IllegalBCryptFormatException(String s) {
super(s);
}
@Override
... |
0 | java-sources/at/favre/lib/bcrypt/0.10.2/at/favre/lib/crypto | java-sources/at/favre/lib/bcrypt/0.10.2/at/favre/lib/crypto/bcrypt/LongPasswordStrategies.java | package at.favre.lib.crypto.bcrypt;
import java.util.Objects;
/**
* Factory for default {@link LongPasswordStrategy} implementatins
*/
@SuppressWarnings("WeakerAccess")
public final class LongPasswordStrategies {
private LongPasswordStrategies() {
}
/**
* See {@link at.favre.lib.crypto.bcrypt.Long... |
0 | java-sources/at/favre/lib/bcrypt/0.10.2/at/favre/lib/crypto | java-sources/at/favre/lib/bcrypt/0.10.2/at/favre/lib/crypto/bcrypt/LongPasswordStrategy.java | package at.favre.lib.crypto.bcrypt;
import at.favre.lib.bytes.Bytes;
import at.favre.lib.bytes.BytesTransformer;
/**
* Strategy if the password is longer than supported by Bcrypt itself (71 bytes + null terminator with $2a$)
*/
public interface LongPasswordStrategy {
/**
* Derives (hashes, shortens, etc) ... |
0 | java-sources/at/favre/lib/bcrypt/0.10.2/at/favre/lib/crypto | java-sources/at/favre/lib/bcrypt/0.10.2/at/favre/lib/crypto/bcrypt/Radix64Encoder.java | package at.favre.lib.crypto.bcrypt;
/**
* Encoder for the custom Base64 variant of BCrypt (called Radix64 here). It has the same rules as Base64 but uses a
* different mapping table than the various RFCs
* <p>
* According to Wikipedia:
*
* <blockquote>
* Unix stores password hashes computed with crypt in the /e... |
0 | java-sources/at/favre/lib/bkdf/0.6.0/at/favre/lib/crypto | java-sources/at/favre/lib/bkdf/0.6.0/at/favre/lib/crypto/bkdf/BKDF.java | package at.favre.lib.crypto.bkdf;
import java.security.SecureRandom;
/**
* Main entry point of the BKDF API
*/
@SuppressWarnings("WeakerAccess")
public final class BKDF {
private BKDF() {
}
/**
* Create a password hasher to use BKDF password hash scheme.
* Uses default version schema and {@l... |
0 | java-sources/at/favre/lib/bkdf/0.6.0/at/favre/lib/crypto | java-sources/at/favre/lib/bkdf/0.6.0/at/favre/lib/crypto/bkdf/CompoundHashData.java | package at.favre.lib.crypto.bkdf;
import at.favre.lib.bytes.Bytes;
import at.favre.lib.bytes.BytesValidators;
import java.nio.ByteBuffer;
import java.util.*;
/**
* A data format encapsulating possible multiple hash configs which were applied to given hash.
*/
@SuppressWarnings("WeakerAccess")
public final class Co... |
0 | java-sources/at/favre/lib/bkdf/0.6.0/at/favre/lib/crypto | java-sources/at/favre/lib/bkdf/0.6.0/at/favre/lib/crypto/bkdf/HashData.java | package at.favre.lib.crypto.bkdf;
import at.favre.lib.bytes.Bytes;
import at.favre.lib.bytes.BytesValidators;
import java.nio.ByteBuffer;
import java.util.Arrays;
import java.util.Objects;
/**
* Model containing all the parts required for the "BKDF Password Hash Message Format"
*/
@SuppressWarnings("WeakerAccess")... |
0 | java-sources/at/favre/lib/bkdf/0.6.0/at/favre/lib/crypto | java-sources/at/favre/lib/bkdf/0.6.0/at/favre/lib/crypto/bkdf/KeyDerivationFunction.java | package at.favre.lib.crypto.bkdf;
import at.favre.lib.bytes.Bytes;
import at.favre.lib.crypto.bcrypt.BCrypt;
import at.favre.lib.hkdf.HKDF;
import java.nio.charset.StandardCharsets;
import java.util.*;
/**
* Key Derivation protocol of BKDF. Used for derived high entropy secret keys from user passwords with a given ... |
0 | java-sources/at/favre/lib/bkdf/0.6.0/at/favre/lib/crypto | java-sources/at/favre/lib/bkdf/0.6.0/at/favre/lib/crypto/bkdf/PasswordHashUpgrader.java | package at.favre.lib.crypto.bkdf;
import at.favre.lib.bytes.Bytes;
import at.favre.lib.hkdf.HKDF;
import java.security.SecureRandom;
import java.util.ArrayList;
import java.util.List;
/**
* Component responsible for upgrading the strength of BKDF password hashes.
* <p>
* Unfortunately it is not easily possible to... |
0 | java-sources/at/favre/lib/bkdf/0.6.0/at/favre/lib/crypto | java-sources/at/favre/lib/bkdf/0.6.0/at/favre/lib/crypto/bkdf/PasswordHashVerifier.java | package at.favre.lib.crypto.bkdf;
import at.favre.lib.bytes.Bytes;
/**
* Class which can verify BKDF hash message format password hashes
*/
public interface PasswordHashVerifier {
/**
* Verify a given type 2 format message (encoded as base64) and given user password
*
* @param password ... |
0 | java-sources/at/favre/lib/bkdf/0.6.0/at/favre/lib/crypto | java-sources/at/favre/lib/bkdf/0.6.0/at/favre/lib/crypto/bkdf/PasswordHasher.java | package at.favre.lib.crypto.bkdf;
import at.favre.lib.bytes.Bytes;
import at.favre.lib.crypto.bcrypt.BCrypt;
import java.nio.charset.StandardCharsets;
import java.security.SecureRandom;
/**
* Implementation for the BKDF Password Hash protocol used for key stretching of weak user passwords and hash storage.
*/
publ... |
0 | java-sources/at/favre/lib/bkdf/0.6.0/at/favre/lib/crypto | java-sources/at/favre/lib/bkdf/0.6.0/at/favre/lib/crypto/bkdf/Version.java | package at.favre.lib.crypto.bkdf;
import at.favre.lib.bytes.Bytes;
import at.favre.lib.hkdf.HKDF;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
/**
* Encapsulates the information which defines a BKDF version, including code, HKDF version and bcrypt mode
*/
... |
0 | java-sources/at/favre/lib/bytes/1.6.1/at/favre/lib | java-sources/at/favre/lib/bytes/1.6.1/at/favre/lib/bytes/Base64.java | /*
* Copyright 2017 Patrick Favre-Bulle
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache Lice... |
0 | java-sources/at/favre/lib/bytes/1.6.1/at/favre/lib | java-sources/at/favre/lib/bytes/1.6.1/at/favre/lib/bytes/BaseEncoding.java | /*
* Copyright 2018 Patrick Favre-Bulle
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache Lice... |
0 | java-sources/at/favre/lib/bytes/1.6.1/at/favre/lib | java-sources/at/favre/lib/bytes/1.6.1/at/favre/lib/bytes/BinaryToTextEncoding.java | /*
* Copyright 2017 Patrick Favre-Bulle
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache Lice... |
0 | java-sources/at/favre/lib/bytes/1.6.1/at/favre/lib | java-sources/at/favre/lib/bytes/1.6.1/at/favre/lib/bytes/Bytes.java | /*
* Copyright 2017 Patrick Favre-Bulle
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache Lice... |
0 | java-sources/at/favre/lib/bytes/1.6.1/at/favre/lib | java-sources/at/favre/lib/bytes/1.6.1/at/favre/lib/bytes/BytesFactory.java | /*
* Copyright 2017 Patrick Favre-Bulle
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache Lice... |
0 | java-sources/at/favre/lib/bytes/1.6.1/at/favre/lib | java-sources/at/favre/lib/bytes/1.6.1/at/favre/lib/bytes/BytesTransformer.java | /*
* Copyright 2017 Patrick Favre-Bulle
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache Lice... |
0 | java-sources/at/favre/lib/bytes/1.6.1/at/favre/lib | java-sources/at/favre/lib/bytes/1.6.1/at/favre/lib/bytes/BytesTransformers.java | package at.favre.lib.bytes;
import javax.crypto.Mac;
import javax.crypto.spec.SecretKeySpec;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.security.SecureRandom;
import java.util.Arrays;
import java.util.Comparator;
import java.util.Objects;
import java.util.Random;
import java... |
0 | java-sources/at/favre/lib/bytes/1.6.1/at/favre/lib | java-sources/at/favre/lib/bytes/1.6.1/at/favre/lib/bytes/BytesValidator.java | /*
* Copyright 2017 Patrick Favre-Bulle
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache Lice... |
0 | java-sources/at/favre/lib/bytes/1.6.1/at/favre/lib | java-sources/at/favre/lib/bytes/1.6.1/at/favre/lib/bytes/BytesValidators.java | /*
* Copyright 2017 Patrick Favre-Bulle
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache Lice... |
0 | java-sources/at/favre/lib/bytes/1.6.1/at/favre/lib | java-sources/at/favre/lib/bytes/1.6.1/at/favre/lib/bytes/MutableBytes.java | /*
* Copyright 2017 Patrick Favre-Bulle
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache Lice... |
0 | java-sources/at/favre/lib/bytes/1.6.1/at/favre/lib | java-sources/at/favre/lib/bytes/1.6.1/at/favre/lib/bytes/ReadOnlyBytes.java | /*
* Copyright 2017 Patrick Favre-Bulle
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache Lice... |
0 | java-sources/at/favre/lib/bytes/1.6.1/at/favre/lib | java-sources/at/favre/lib/bytes/1.6.1/at/favre/lib/bytes/Util.java | /*
* Copyright 2017 Patrick Favre-Bulle
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache Lice... |
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/Dali.java | package at.favre.lib.dali;
import android.app.Activity;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.drawable.BitmapDrawable;
import android.util.Log;
import android.view.View;
import androidx.annotation.Nullable;
import androidx.appcompat.widget.Toolbar;
import androidx.dra... |
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/blur/BlurKernels.java | package at.favre.lib.dali.blur;
/**
* Blur kernels for convolve matrix algorithms
*
* @author pfavre
*/
public final class BlurKernels {
private BlurKernels() {
}
public static final float[] GAUSSIAN_5x5 = new float[]{
0.0030f, 0.0133f, 0.0219f, 0.0133f, 0.0030f,
0.0133f, 0.059... |
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/blur/EBlurAlgorithm.java | package at.favre.lib.dali.blur;
import androidx.renderscript.RenderScript;
import java.util.ArrayList;
import java.util.List;
import at.favre.lib.dali.blur.algorithms.RenderScriptGaussianBlur;
/**
* Enum of all supported algorithms
*
* @author pfavre
*/
public enum EBlurAlgorithm {
RS_GAUSS_FAST, RS_BOX_5x5... |
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/blur/IBlur.java | package at.favre.lib.dali.blur;
import android.graphics.Bitmap;
/**
* Interface for a blur algorithm
*/
public interface IBlur {
//threshold for live blurring
int MS_THRESHOLD_FOR_SMOOTH = 16;
/**
* Takes a bitmap and blurs it with the given blur radius. This will NOT copy the original
* but ... |
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/blur | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/blur/algorithms/BoxBlur.java | package at.favre.lib.dali.blur.algorithms;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import at.favre.lib.dali.blur.IBlur;
/**
* http://stackoverflow.com/questions/8218438
* by saarraz1
*/
public class BoxBlur implements IBlur {
@Override
public Bitmap b... |
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/blur | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/blur/algorithms/GaussianFastBlur.java | package at.favre.lib.dali.blur.algorithms;
import android.graphics.Bitmap;
import at.favre.lib.dali.blur.IBlur;
/**
* http://stackoverflow.com/a/13436737/774398
* by gordi
*/
public class GaussianFastBlur implements IBlur {
@Override
public Bitmap blur(int radius, Bitmap original) {
int w = origin... |
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/blur | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/blur/algorithms/IgnoreBlur.java | package at.favre.lib.dali.blur.algorithms;
import android.graphics.Bitmap;
import at.favre.lib.dali.blur.IBlur;
/**
* This is the default algorithm, that does nothing but returns
* the original bitmap
*/
public class IgnoreBlur implements IBlur {
@Override
public Bitmap blur(int radius, Bitmap original) {... |
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/blur | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/blur/algorithms/RenderScriptBox3x3Blur.java | package at.favre.lib.dali.blur.algorithms;
import android.graphics.Bitmap;
import androidx.renderscript.Allocation;
import androidx.renderscript.Element;
import androidx.renderscript.RenderScript;
import androidx.renderscript.ScriptIntrinsicConvolve3x3;
import at.favre.lib.dali.blur.BlurKernels;
import at.favre.lib.... |
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/blur | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/blur/algorithms/RenderScriptBox5x5Blur.java | package at.favre.lib.dali.blur.algorithms;
import android.graphics.Bitmap;
import androidx.renderscript.Allocation;
import androidx.renderscript.Element;
import androidx.renderscript.RenderScript;
import androidx.renderscript.ScriptIntrinsicConvolve5x5;
import at.favre.lib.dali.blur.BlurKernels;
import at.favre.lib.... |
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/blur | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/blur/algorithms/RenderScriptGaussian5x5Blur.java | package at.favre.lib.dali.blur.algorithms;
import android.graphics.Bitmap;
import androidx.renderscript.Allocation;
import androidx.renderscript.Element;
import androidx.renderscript.RenderScript;
import androidx.renderscript.ScriptIntrinsicConvolve5x5;
import at.favre.lib.dali.blur.BlurKernels;
import at.favre.lib.... |
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/blur | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/blur/algorithms/RenderScriptGaussianBlur.java | package at.favre.lib.dali.blur.algorithms;
import android.graphics.Bitmap;
import androidx.renderscript.Allocation;
import androidx.renderscript.Element;
import androidx.renderscript.RenderScript;
import androidx.renderscript.ScriptIntrinsicBlur;
import at.favre.lib.dali.blur.IBlur;
/**
* Simple example of ScriptI... |
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/blur | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/blur/algorithms/RenderScriptStackBlur.java | package at.favre.lib.dali.blur.algorithms;
import android.content.Context;
import android.graphics.Bitmap;
import androidx.renderscript.Allocation;
import androidx.renderscript.Element;
import androidx.renderscript.RenderScript;
import at.favre.lib.dali.ScriptC_stackblur;
import at.favre.lib.dali.blur.IBlur;
/**
*... |
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/blur | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/blur/algorithms/StackBlur.java | package at.favre.lib.dali.blur.algorithms;
import android.graphics.Bitmap;
import at.favre.lib.dali.blur.IBlur;
/**
* Stack BlurUtil v1.0 from
* http://www.quasimondo.com/StackBlurForCanvas/StackBlurDemo.html
* <p>
* Java Author: Mario Klingemann (mario at quasimondo.com)
* http://incubator.quasimondo.com
* cr... |
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder/ABuilder.java | package at.favre.lib.dali.builder;
import at.favre.lib.dali.blur.IBlur;
/**
* Created by PatrickF on 29.05.2014.
*/
public abstract class ABuilder {
public static class Data {
public int blurRadius = BuilderDefaults.BLUR_RADIUS;
public IBlur blurAlgorithm;
public ContextWrapper context... |
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder/BuilderDefaults.java | package at.favre.lib.dali.builder;
public final class BuilderDefaults {
public static final int BLUR_RADIUS = 16;
public static final int BLUR_RADIUS_MAX = 25; //this is the cap of ScriptIntrinsicBlur
public static final int BLUR_RADIUS_MIN = 1;
private BuilderDefaults() {
}
}
|
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder/ContextWrapper.java | package at.favre.lib.dali.builder;
import android.content.Context;
import android.content.res.Resources;
import androidx.renderscript.RenderScript;
/**
* Created by PatrickF on 26.05.2014.
*/
public class ContextWrapper {
private Context context;
private RenderScript renderScript;
private RenderScript.... |
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder/ExecutorManager.java | package at.favre.lib.dali.builder;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.concurrent.Callable;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.Future;
import java.util.concurrent.LinkedBlockingQueue;
import java.ut... |
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder/ImageReference.java | package at.favre.lib.dali.builder;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Point;
import android.view.View;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import at.favre.lib.dali.util.BuilderUt... |
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder/PerformanceProfiler.java | package at.favre.lib.dali.builder;
import android.util.Log;
import java.util.ArrayList;
import java.util.List;
import at.favre.lib.dali.util.BenchmarkUtil;
/**
* A simple Profiler that helps in measuring parts of code.
* <p>
* This will use nano seconds (if possible with SDK)
*/
public class PerformanceProfiler... |
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder/TwoLevelCache.java | package at.favre.lib.dali.builder;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.util.Log;
import androidx.collection.LruCache;
import com.jakewharton.disklrucache.DiskLruCache;
import java.io.BufferedOutputStream;
import java.io.File;
import j... |
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder/animation/BlurKeyFrame.java | package at.favre.lib.dali.builder.animation;
import android.graphics.Bitmap;
import at.favre.lib.dali.Dali;
/**
* Created by PatrickF on 29.05.2014.
*/
public class BlurKeyFrame {
private final int inSampleSize;
private final int blurRadius;
private final float brightness;
private final int duratio... |
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder/animation/BlurKeyFrameAnimationBuilder.java | package at.favre.lib.dali.builder.animation;
import android.animation.TimeInterpolator;
import android.view.animation.LinearInterpolator;
import at.favre.lib.dali.builder.BuilderDefaults;
import at.favre.lib.dali.util.BuilderUtil;
/**
* Created by PatrickF on 02.06.2014.
*/
public class BlurKeyFrameAnimationBuilde... |
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder/animation/BlurKeyFrameManager.java | package at.favre.lib.dali.builder.animation;
import android.content.Context;
import android.graphics.Bitmap;
import java.util.ArrayList;
import java.util.List;
import at.favre.lib.dali.Dali;
/**
* Created by PatrickF on 29.05.2014.
*/
public class BlurKeyFrameManager {
public static BlurKeyFrameManager creat... |
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder/animation/BlurKeyFrameTransitionAnimation.java | package at.favre.lib.dali.builder.animation;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.TransitionDrawable;
import android.os.Handler;
import android.os.Looper;
import andro... |
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder/animation/KeyFrameAnimation.java | package at.favre.lib.dali.builder.animation;
import android.graphics.Bitmap;
import java.util.List;
/**
* Created by PatrickF on 03.06.2014.
*/
public class KeyFrameAnimation {
private List<KeyFrame> keyFrameList;
public interface KeyFrame {
long getDurationMs();
Bitmap createBitmap();
... |
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder/blur/BlurBuilder.java | package at.favre.lib.dali.builder.blur;
import android.annotation.TargetApi;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Color;
import android.graphics.PorterDuff;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.ColorDrawable;
import ... |
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder/blur/BlurWorker.java | package at.favre.lib.dali.builder.blur;
import android.graphics.Bitmap;
import android.graphics.Point;
import android.os.Handler;
import android.os.Looper;
import android.view.View;
import java.util.UUID;
import java.util.concurrent.Callable;
import java.util.concurrent.Semaphore;
import java.util.concurrent.TimeUnit... |
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder/exception/BlurWorkerException.java | package at.favre.lib.dali.builder.exception;
/**
* Created by PatrickF on 31.05.2014.
*/
public class BlurWorkerException extends RuntimeException {
public BlurWorkerException() {
}
public BlurWorkerException(String detailMessage) {
super(detailMessage);
}
public BlurWorkerException(Str... |
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder/exception/LiveBlurWorkerException.java | package at.favre.lib.dali.builder.exception;
/**
* Created by PatrickF on 31.05.2014.
*/
public class LiveBlurWorkerException extends RuntimeException {
public LiveBlurWorkerException() {
}
public LiveBlurWorkerException(String detailMessage) {
super(detailMessage);
}
public LiveBlurWor... |
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder/live/LiveBlurBuilder.java | package at.favre.lib.dali.builder.live;
import android.graphics.Bitmap;
import android.os.Handler;
import android.os.Looper;
import android.view.View;
import java.util.List;
import at.favre.lib.dali.blur.EBlurAlgorithm;
import at.favre.lib.dali.builder.ABuilder;
import at.favre.lib.dali.builder.ContextWrapper;
impor... |
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder/live/LiveBlurWorker.java | package at.favre.lib.dali.builder.live;
import android.graphics.Bitmap;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android.os.Handler;
import android.os.Looper;
import android.util.Log;
import android.view.View;
import androidx.core.view.ViewCompat;
import java... |
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder/nav/DaliBlurDrawerToggle.java | package at.favre.lib.dali.builder.nav;
import android.app.Activity;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import androidx.appcompat.app.ActionBarDrawerToggle;
import androidx.appcompat.widget.Toolbar;
import androidx.core.view.GravityCompat;
import androidx.drawerla... |
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder/nav/NavigationDrawerListener.java | package at.favre.lib.dali.builder.nav;
import android.view.View;
/**
* Same as {@link androidx.appcompat.app.ActionBarDrawerToggle.DrawerToggle#onDrawerOpened(View)} and
* {@link androidx.appcompat.app.ActionBarDrawerToggle.DrawerToggle#onDrawerClosed(View)}
*/
public interface NavigationDrawerListener {
void ... |
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder/processor/BrightnessProcessor.java | package at.favre.lib.dali.builder.processor;
import android.graphics.Bitmap;
import androidx.renderscript.Allocation;
import androidx.renderscript.Element;
import androidx.renderscript.RenderScript;
import androidx.renderscript.ScriptIntrinsicConvolve3x3;
/**
* This will change the brightness of a bitmap. It utiliz... |
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder/processor/ColorFilterProcessor.java | package at.favre.lib.dali.builder.processor;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.ColorFilter;
import android.graphics.Paint;
import android.graphics.PorterDuff;
import android.graphics.PorterDuffColorFilter;
/**
* Created by PatrickF on 27.05.2014.
*/
public class... |
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder/processor/ContrastProcessor.java | package at.favre.lib.dali.builder.processor;
import android.graphics.Bitmap;
import androidx.renderscript.Allocation;
import androidx.renderscript.RenderScript;
import at.favre.lib.dali.ScriptC_contrast;
/**
* This will change the contrast of a bitmap.
* It uses a renderscript (contrast.rs)
* <p>
* contrast val... |
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder/processor/IBitmapProcessor.java | package at.favre.lib.dali.builder.processor;
import android.graphics.Bitmap;
/**
* Created by PatrickF on 27.05.2014.
*/
public interface IBitmapProcessor {
Bitmap manipulate(Bitmap original);
String getProcessorTag();
}
|
0 | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder | java-sources/at/favre/lib/dali/0.4.0/at/favre/lib/dali/builder/processor/ImageOverlayProcessor.java | package at.favre.lib.dali.builder.processor;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import androidx.renderscript.Allocation;
import androidx.renderscript.Element;
import androidx.renderscript.RenderScript;
import androidx.renderscript.ScriptIntrins... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.