code string | repo_name string | path string | language string | license string | size int64 |
|---|---|---|---|---|---|
#include <cutter.h>
#include <nfc/nfc.h>
#define NTESTS 10
#define MAX_DEVICE_COUNT 8
#define MAX_TARGET_COUNT 8
/*
* This is basically a stress-test to ensure we don't left a device in an
* inconsistent state after use.
*/
void test_access_storm(void);
void
test_access_storm(void)
{
int n = NTESTS;
nfc_conn... | 1060840728-lvgang | test/test_access_storm.c | C | lgpl | 1,447 |
#include <cutter.h>
#include <pthread.h>
#include <signal.h>
#include <unistd.h>
#include "nfc/nfc.h"
void test_dep_passive(void);
#define INITIATOR 0
#define TARGET 1
pthread_t threads[2];
nfc_context *context;
nfc_connstring connstrings[2];
nfc_device *devices[2];
intptr_t result[2];
static void
abort_test_by... | 1060840728-lvgang | test/test_dep_passive.c | C | lgpl | 12,735 |
#include <cutter.h>
#include <nfc/nfc.h>
#define MAX_DEVICE_COUNT 1
#define MAX_TARGET_COUNT 1
void test_register_endianness(void);
#include "chips/pn53x.h"
void
test_register_endianness(void)
{
nfc_connstring connstrings[MAX_DEVICE_COUNT];
int res = 0;
nfc_context *context;
nfc_init(&context);
size_t ... | 1060840728-lvgang | test/test_register_endianness.c | C | lgpl | 952 |
#include <cutter.h>
#include <nfc/nfc.h>
#include "chips/pn53x.h"
#define MAX_DEVICE_COUNT 1
#define MAX_TARGET_COUNT 1
void test_register_access(void);
void
test_register_access(void)
{
nfc_connstring connstrings[MAX_DEVICE_COUNT];
int res = 0;
nfc_context *context;
nfc_init(&context);
size_t device_co... | 1060840728-lvgang | test/test_register_access.c | C | lgpl | 1,605 |
# $Id$
AM_CPPFLAGS = $(CUTTER_CFLAGS) $(LIBNFC_CFLAGS)
LIBS = $(CUTTER_LIBS)
if WITH_CUTTER
TESTS = run-test.sh
TESTS_ENVIRONMENT = NO_MAKE=yes CUTTER="$(CUTTER)"
cutter_unit_test_libs = \
test_access_storm.la \
test_dep_active.la \
test_device_modes_as_dep.la \
test_dep_passive.la \
test_register_acc... | 1060840728-lvgang | test/Makefile.am | Makefile | lgpl | 1,405 |
#include <cutter.h>
#include <pthread.h>
#include <signal.h>
#include <unistd.h>
#include "nfc/nfc.h"
#include "../utils/nfc-utils.h"
void test_dep_states(void);
pthread_t threads[2];
nfc_context *context;
nfc_connstring connstrings[2];
nfc_device *first_device, *second_device;
intptr_t result[2];
static void
abort... | 1060840728-lvgang | test/test_device_modes_as_dep.c | C | lgpl | 7,522 |
#include <cutter.h>
#include <pthread.h>
#include <signal.h>
#include <unistd.h>
#include "nfc/nfc.h"
#include "../utils/nfc-utils.h"
void test_dep_active(void);
#define INITIATOR 0
#define TARGET 1
pthread_t threads[2];
nfc_context *context;
nfc_connstring connstrings[2];
nfc_device *devices[2];
intptr_t result... | 1060840728-lvgang | test/test_dep_active.c | C | lgpl | 6,508 |
#!/bin/sh
export BASE_DIR="`dirname $0`"
if test -z "$NO_MAKE"; then
make -C "$BASE_DIR/../" > /dev/null || exit 1
fi
if test -z "$CUTTER"; then
CUTTER="`make -s -C "$BASE_DIR" echo-cutter`"
fi
"$CUTTER" --keep-opening-modules -s "$BASE_DIR" "$@" "$BASE_DIR"
# ^^^^^^^^^^^^^^^^^^^^^^
# FIXME: Remove ... | 1060840728-lvgang | test/run-test.sh | Shell | lgpl | 509 |
#!/bin/bash
COMPILER="/Applications/Developer Tools/compiler.jar"
SOURCE=./src/jquery.autocomplete.js
TARGET=./src/jquery.autocomplete.min.js
echo "Minifying ${SOURCE} to ${TARGET} ... "
if `java -jar "${COMPILER}" "${SOURCE}" > "${TARGET}"`
then
echo "Minify succeeded."
else
echo "Minify failed."
rm "${... | 1051691978-clone1 | minify | Shell | mit | 331 |
$(document).ready(function () {
"use strict";
var $input1;
module("Setup jQuery, DOM and autocompleter");
test("Create INPUT tag", function() {
$input1 = $('<input type="text" id="input1">');
$('#qunit-fixture').append($input1);
$input1 = $("#input1");
equal($input1.at... | 1051691978-clone1 | test/tests.jquery.autocomplete.js | JavaScript | mit | 839 |
<!DOCTYPE html>
<html>
<head>
<title>QUnit for jquery-autocmplete</title>
<!-- jQuery -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<!-- QUnit -->
<link rel="stylesheet" href="http://code.jquery.com/qunit/git/qunit.css" type="text/c... | 1051691978-clone1 | test/index.html | HTML | mit | 1,006 |
.acInput {
width: 200px;
}
.acResults {
padding: 0px;
border: 1px solid WindowFrame;
background-color: Window;
overflow: hidden;
}
.acResults ul {
width: 100%;
list-style-position: outside;
list-style: none;
padding: 0;
margin: 0;
}
.acResults li {
margin: 0px;
padding: 2px 5px;
cursor: pointer;
display... | 1051691978-clone1 | src/jquery.autocomplete.css | CSS | mit | 538 |
/*!
* jQuery Autocompleter
* jquery.autocomplete.js
* http://code.google.com/p/jquery-autocomplete/
* Copyright 2011, Dylan Verheul
* Licensed under the MIT license
*/
(function($) {
"use strict";
/**
* Default settings for options
*/
var defaultOptions = {
inputClass: 'acInput',
... | 1051691978-clone1 | src/jquery.autocomplete.js | JavaScript | mit | 26,366 |
<?php
/*
* Load sample data
*/
include 'data.php';
/*
* Results array
*/
$results = array();
/*
* Autocomplete formatter
*/
function autocomplete_format($results) {
foreach ($results as $result) {
echo $result[0] . '|' . $result[1] . "\n";
}
}
/*
* Search for term if it is given
*/
if (isset... | 1051691978-clone1 | demo/search.php | PHP | mit | 828 |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>jQuery autocompleter</title>
<link rel="stylesheet" type="text/css" href="../src/jquery.autocomplete.css">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.mi... | 1051691978-clone1 | demo/index.html | HTML | mit | 3,632 |
<?php
$data = array(
"Great Bittern" => "Botaurus stellaris",
"Little Grebe" => "Tachybaptus ruficollis",
"Black-necked Grebe" => "Podiceps nigricollis",
"Little Bittern" => "Ixobrychus minutus",
"Black-crowned Night Heron" => "Nycticorax nycticorax",
"Purple Heron" => "Ardea purpurea",
"Wh... | 1051691978-clone1 | demo/data.php | PHP | mit | 26,402 |
package vcard.io;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.Pendi... | 00piknik00-vardio | src/vcard/io/VCardIO.java | Java | gpl3 | 9,483 |
package vcard.io;
import java.io.IOException;
/**
* A Base64 Encoder/Decoder.
*
* <p>
* This class is used to encode and decode data in Base64 format as described in RFC 1521.
*
* <p>
* This is "Open Source" software and released under the <a href="http://www.gnu.org/licenses/lgpl.html">GNU/LGPL</a> license.<br>
* It... | 00piknik00-vardio | src/vcard/io/Base64Coder.java | Java | gpl3 | 4,368 |
package vcard.io;
import android.app.Activity;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.os.Bundle;
import android.os.Handler;
import android.os.IBinder;
import android.view.View;
import android.view.Win... | 00piknik00-vardio | src/vcard/io/App.java | Java | gpl3 | 5,492 |
/*
* Funambol is a mobile platform developed by Funambol, Inc.
* Copyright (C) 2003 - 2007 Funambol, Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by
* the Free Software Foundation with the addit... | 00piknik00-vardio | src/vcard/io/Contact.java | Java | gpl3 | 47,253 |
/*
* Funambol is a mobile platform developed by Funambol, Inc.
* Copyright (C) 2003 - 2007 Funambol, Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by
* the Free Software Foundation with the addit... | 00piknik00-vardio | src/com/funambol/util/StringUtil.java | Java | gpl3 | 10,144 |
/*
* Funambol is a mobile platform developed by Funambol, Inc.
* Copyright (C) 2003 - 2007 Funambol, Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by
* the Free Software Foundation with the addit... | 00piknik00-vardio | src/com/funambol/util/MailDateFormatter.java | Java | gpl3 | 19,075 |
/*
* Funambol is a mobile platform developed by Funambol, Inc.
* Copyright (C) 2003 - 2007 Funambol, Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by
* the Free Software Foundation with the additio... | 00piknik00-vardio | src/com/funambol/util/QuotedPrintable.java | Java | gpl3 | 5,703 |
/*
* Funambol is a mobile platform developed by Funambol, Inc.
* Copyright (C) 2003 - 2007 Funambol, Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by
* the Free Software Foundation with the addit... | 00piknik00-vardio | src/com/funambol/util/Appender.java | Java | gpl3 | 2,342 |
/*
* Funambol is a mobile platform developed by Funambol, Inc.
* Copyright (C) 2003 - 2007 Funambol, Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by
* the Free Software Foundation with the addit... | 00piknik00-vardio | src/com/funambol/util/Log.java | Java | gpl3 | 10,123 |
/*
* Funambol is a mobile platform developed by Funambol, Inc.
* Copyright (C) 2003 - 2007 Funambol, Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by
* the Free Software Foundation with the additio... | 00piknik00-vardio | src/com/funambol/storage/DataAccessException.java | Java | gpl3 | 2,440 |
/*
* Funambol is a mobile platform developed by Funambol, Inc.
* Copyright (C) 2003 - 2007 Funambol, Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by
* the Free Software Foundation with the addit... | 00piknik00-vardio | src/com/funambol/storage/Serializable.java | Java | gpl3 | 2,415 |
package controlador;
import java.awt.AWTEvent;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import java.util.List;
import modelo.*;
import vista.VentanaProducto;
import vista.VentanaDetalleProductoTablaModel;
public class ControladorVentanaProducto implements ... | 1-1-cuarta-entrega | trunk/ProyectoVentaComidaRapida(NUEVO)/src/controlador/ControladorVentanaProducto.java | Java | asf20 | 6,796 |
package controlador;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.List;
import modelo.DetalleOrden;
import modelo.DetalleOrdenDAO;
import vista.VentanaConsultaProducto;
import vista.VentanaTablaModeloProducto;
public class ControladorDetalleOrden/* implements ActionList... | 1-1-cuarta-entrega | trunk/ProyectoVentaComidaRapida(NUEVO)/src/controlador/ControladorDetalleOrden.java | Java | asf20 | 1,911 |
package controlador;
import java.awt.AWTEvent;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import java.util.List;
import vista.VentanaCargaCompra;
import modelo.IngredienteDAO;
public class ControladorVentanaCompraIngredientes implements ActionListener {
pr... | 1-1-cuarta-entrega | trunk/ProyectoVentaComidaRapida(NUEVO)/src/controlador/ControladorVentanaCompraIngredientes.java | Java | asf20 | 2,045 |
package controlador;
import java.awt.AWTEvent;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import modelo.CategoriaDAO;
import modelo.Cliente;
import modelo.ClienteDAO;
import modelo.DetalleProducto;
import modelo.Ingrediente;
import modelo.IngredienteDAO;
import modelo.Producto;
import mo... | 1-1-cuarta-entrega | trunk/ProyectoVentaComidaRapida(NUEVO)/src/controlador/ControladorVentanaOrden.java | Java | asf20 | 7,496 |
package controlador;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.List;
import modelo.Ingrediente;
import modelo.IngredienteDAO;
import modelo.ProbarMetodosFabricaCreador;
import vista.VentanaIngredienteModeloTabla;
import vista.VentanaPrincipalMagnifico;
public class Con... | 1-1-cuarta-entrega | trunk/ProyectoVentaComidaRapida(NUEVO)/src/controlador/ControladorVentanaPrincipalMagnifico.java | Java | asf20 | 1,849 |
package controlador;
import java.awt.event.ActionListener;
import modelo.Categoria;
import modelo.CategoriaDAO;
import modelo.ProbarMetodosFabricaCreador;
import java.awt.event.ActionEvent;
import vista.VentanaCategoria;
public class ControladorCategoria implements ActionListener {
private VentanaCategoria venta... | 1-1-cuarta-entrega | trunk/ProyectoVentaComidaRapida(NUEVO)/src/controlador/ControladorCategoria.java | Java | asf20 | 2,561 |
package controlador;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.List;
import vista.VentanaConsulta;
import vista.VentanaIngredienteModeloTabla;
import modelo.Ingrediente;
import modelo.IngredienteDAO;
public class ControladorIngrediente implements ActionListener {
... | 1-1-cuarta-entrega | trunk/ProyectoVentaComidaRapida(NUEVO)/src/controlador/ControladorIngrediente.java | Java | asf20 | 1,299 |
import controlador.ControladorVentanaPrincipalMagnifico;
public class Principal {
/*
Ingregantes del Equipo #1 Seccion 01
Chaviel Jorge G. CI: 17.943.679
Saez Karol M. CI: 19.854.479
Cuauro Yurbely. CI: 19.679.478
*/
public static void main(String[] args) {
new ControladorVentanaPrincipalMagni... | 1-1-cuarta-entrega | trunk/ProyectoVentaComidaRapida(NUEVO)/src/Principal.java | Java | asf20 | 332 |
package vista;
import javax.swing.table.AbstractTableModel;
import modelo.DetalleOrden;
import modelo.Producto;
import java.util.ArrayList;
import java.util.List;
public class VentanaTablaOrdenProducto extends AbstractTableModel {
private static String[] titulos = {"Codigo Producto", "Descripcion", "Preci... | 1-1-cuarta-entrega | trunk/ProyectoVentaComidaRapida(NUEVO)/src/vista/VentanaTablaOrdenProducto.java | Java | asf20 | 1,928 |
package vista;
//import com.cloudgarden.layout.AnchorLayout;
//import java.awt.BorderLayout;
import java.awt.event.ActionListener;
import javax.swing.BorderFactory;
//import javax.swing.DefaultComboBoxModel;
//import javax.swing.GroupLayout;
import javax.swing.ImageIcon;
import javax.swing.JButton;
//import javax.swin... | 1-1-cuarta-entrega | trunk/ProyectoVentaComidaRapida(NUEVO)/src/vista/VentanaConsulta.java | Java | asf20 | 7,812 |
package vista;
import java.util.ArrayList;
import java.util.List;
import javax.swing.table.AbstractTableModel;
import modelo.DetalleOrden;
public class VentanaTablaModeloProducto extends AbstractTableModel{
private static String[] titulos = {"Código Producto","Descripción","Cantidad", "Monto"};
... | 1-1-cuarta-entrega | trunk/ProyectoVentaComidaRapida(NUEVO)/src/vista/VentanaTablaModeloProducto.java | Java | asf20 | 1,408 |
//modificado..
package vista;
import java.awt.BorderLayout;
import java.awt.event.ActionListener;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.util.List;
import javax.swing.BorderFactory;
import javax.swing.ComboBoxModel;
import javax.swing.DefaultComboBoxModel;
import javax.swing... | 1-1-cuarta-entrega | trunk/ProyectoVentaComidaRapida(NUEVO)/src/vista/VentanaProducto.java | Java | asf20 | 14,784 |
package vista;
import java.awt.event.ActionListener;
import java.util.List;
import javax.swing.BorderFactory;
import javax.swing.ComboBoxModel;
import javax.swing.DefaultComboBoxModel;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JLabel;
import javax.swing... | 1-1-cuarta-entrega | trunk/ProyectoVentaComidaRapida(NUEVO)/src/vista/VentanaCargaCompra.java | Java | asf20 | 7,278 |
package vista;
import java.util.ArrayList;
import java.util.List;
import javax.swing.table.AbstractTableModel;
import modelo.Ingrediente;
public class VentanaIngredienteModeloTabla extends AbstractTableModel{
private static String[] titulos = {"Código","Descripción", "Existencia"};
private... | 1-1-cuarta-entrega | trunk/ProyectoVentaComidaRapida(NUEVO)/src/vista/VentanaIngredienteModeloTabla.java | Java | asf20 | 1,411 |
package vista;
import java.util.ArrayList;
import java.util.List;
import javax.swing.table.AbstractTableModel;
import modelo.DetalleProducto;
public class VentanaDetalleProductoTablaModel extends AbstractTableModel {
private static String[] titulos = {"CodIngrediente","Ingrediente","Cantidad"};
pr... | 1-1-cuarta-entrega | trunk/ProyectoVentaComidaRapida(NUEVO)/src/vista/VentanaDetalleProductoTablaModel.java | Java | asf20 | 2,322 |
package vista;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.LinkedList;
import java.util.ListIterator;
import javax.swing.BorderFactory;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JS... | 1-1-cuarta-entrega | trunk/ProyectoVentaComidaRapida(NUEVO)/src/vista/VentanaConsultaProducto.java | Java | asf20 | 8,838 |
package vista;
import java.awt.event.ActionListener;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import javax.swing.BorderFactory;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JFormattedTextField;
import javax.swing.JPanel;
import javax.swing.JSeparator;
impor... | 1-1-cuarta-entrega | trunk/ProyectoVentaComidaRapida(NUEVO)/src/vista/VentanaPrincipalMagnifico.java | Java | asf20 | 14,472 |
package vista;
import java.awt.BorderLayout;
import java.awt.FlowLayout;
import java.awt.GridBagLayout;
import java.awt.GridLayout;
import java.awt.event.ActionListener;
import javax.swing.BorderFactory;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JComponent;
import javax.swing.JEdito... | 1-1-cuarta-entrega | trunk/ProyectoVentaComidaRapida(NUEVO)/src/vista/VentanaCategoria.java | Java | asf20 | 9,774 |
package vista;
import java.awt.event.ActionListener;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.util.List;
import javax.swing.BorderFactory;
import javax.swing.ComboBoxModel;
import javax.swing.DefaultComboBoxModel;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import... | 1-1-cuarta-entrega | trunk/ProyectoVentaComidaRapida(NUEVO)/src/vista/VentanaOrden.java | Java | asf20 | 25,489 |
package modelo;
//Entidad que asocia a producto con ingrediente
public class DetalleProducto {
private String codProducto, codIngrediente,descripcionIng;
float cantidadIng;
//Constructor con parametros
public DetalleProducto(String codProducto, String codIngrediente, String de... | 1-1-cuarta-entrega | trunk/ProyectoVentaComidaRapida(NUEVO)/src/modelo/DetalleProducto.java | Java | asf20 | 1,907 |
package modelo;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
public class ProductoDAO {
public ProductoDAO() {
super();
}
public void registrarProducto(Producto producto) {
String tiraSQL ... | 1-1-cuarta-entrega | trunk/ProyectoVentaComidaRapida(NUEVO)/src/modelo/ProductoDAO.java | Java | asf20 | 6,415 |
package modelo;
import java.sql.*;
public class Conexion {
// La descripcion del driver de la BD
private static String driver = "org.postgresql.Driver";
// La direccion URL de la BD
private static String url = "jdbc:postgresql://localhost:5432/";
// El nombre de la BD
private static ... | 1-1-cuarta-entrega | trunk/ProyectoVentaComidaRapida(NUEVO)/src/modelo/Conexion.java | Java | asf20 | 2,671 |
package modelo;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
public class OrdenDAO {
public OrdenDAO() {
super();
}
public void registrarOrden(Orden orden) {
String tiraSQL = "INSERT INTO o... | 1-1-cuarta-entrega | trunk/ProyectoVentaComidaRapida(NUEVO)/src/modelo/OrdenDAO.java | Java | asf20 | 685 |
package modelo;
import java.util.Vector;
public class Orden {
private String codOrden, cedulaCli, fechaOrd;
private float totalPagar;
//Vector de Producto para permitir el manejo de la disponibilidad del producto a ordenar.
Vector <Producto> producto = new Vector <Pr... | 1-1-cuarta-entrega | trunk/ProyectoVentaComidaRapida(NUEVO)/src/modelo/Orden.java | Java | asf20 | 1,694 |
package modelo;
import javax.swing.JOptionPane;
import vista.VentanaCategoria;
abstract class Creador {
VentanaCategoria ventanaCategoria = new VentanaCategoria();
public static Creador metodoFabrica(String tipo){
if(tipo.equals("Salir"))
return new Mensaje();
return null;
}
public String toString() {
... | 1-1-cuarta-entrega | trunk/ProyectoVentaComidaRapida(NUEVO)/src/modelo/Creador.java | Java | asf20 | 771 |
package modelo;
import java.util.Vector;
public class Producto {
private String codProducto, descripcionProd, codCategoria, fechaRegistro;
private float precio;
int cantidad;
/*Vector de ingrediente para llevar el control de la cantidad y
* descripción de ingredientes que co... | 1-1-cuarta-entrega | trunk/ProyectoVentaComidaRapida(NUEVO)/src/modelo/Producto.java | Java | asf20 | 2,761 |
package modelo;
import java.util.ArrayList;
import java.util.List;
import java.util.ListIterator;
import modelo.DetalleOrdenDAO;
//PATRON ITERATOR
public class Coleccion{
private DetalleOrdenDAO detOrdenDAO = new DetalleOrdenDAO();
List<DetalleOrden> milistamontos = new ArrayList<DetalleOrden>();
List<DetalleOrd... | 1-1-cuarta-entrega | trunk/ProyectoVentaComidaRapida(NUEVO)/src/modelo/Coleccion.java | Java | asf20 | 1,010 |
package modelo;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import vista.VentanaCategoria;
public class ProbarMetodosFabricaCreador implements ActionListener{
private VentanaCategoria ventanaCategoria;
public ProbarMetodosFabricaCreador() {
super();
ventanaCategoria = new VentanaC... | 1-1-cuarta-entrega | trunk/ProyectoVentaComidaRapida(NUEVO)/src/modelo/ProbarMetodosFabricaCreador.java | Java | asf20 | 583 |
package modelo;
public class Ingrediente {
private String codIngrediente, descripcionIng;
private float existencia;
//Faltaba el constructor con parametros
public Ingrediente(String codIngrediente, String descripcionIng,
float existencia) {
... | 1-1-cuarta-entrega | trunk/ProyectoVentaComidaRapida(NUEVO)/src/modelo/Ingrediente.java | Java | asf20 | 1,518 |
package modelo;
public class DetalleOrden {
private String codOrden, codProducto,descripcionProd;
int cantidadProd;
float monto;
public DetalleOrden() {
super();
}
public DetalleOrden(String codOrden,String codProducto,
... | 1-1-cuarta-entrega | trunk/ProyectoVentaComidaRapida(NUEVO)/src/modelo/DetalleOrden.java | Java | asf20 | 2,098 |
/*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | 09bicsekanjam-clone | tests/src/com/android/inputmethod/latin/SuggestTests.java | Java | asf20 | 5,920 |
/*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | 09bicsekanjam-clone | tests/src/com/android/inputmethod/latin/SuggestPerformanceTests.java | Java | asf20 | 4,654 |
/*
* Copyright (C) 2010 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 ... | 09bicsekanjam-clone | tests/src/com/android/inputmethod/latin/EventRingBufferTests.java | Java | asf20 | 4,141 |
/*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | 09bicsekanjam-clone | tests/src/com/android/inputmethod/latin/SuggestHelper.java | Java | asf20 | 10,798 |
/*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | 09bicsekanjam-clone | tests/src/com/android/inputmethod/latin/UserBigramTests.java | Java | asf20 | 3,884 |
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
# We only want this apk build for tests.
LOCAL_MODULE_TAGS := tests
LOCAL_CERTIFICATE := shared
LOCAL_JAVA_LIBRARIES := android.test.runner
# Include all test java files.
LOCAL_SRC_FILES := $(call all-java-files-under, src)
LOCAL_PACKAGE_NAME := LatinIMETests
LOCAL... | 09bicsekanjam-clone | tests/Android.mk | Makefile | asf20 | 379 |
# Copyright (C) 2007 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 applicable law ... | 09bicsekanjam-clone | CleanSpec.mk | Makefile | asf20 | 2,470 |
# Copyright (C) 2010 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | 09bicsekanjam-clone | Android.mk | Makefile | asf20 | 681 |
#!/bin/bash
getLangsForFiles () {
echo "en" # default language
for F in "$@"
do
find res/ -name "$F"
done \
| sed -n '
s/.*res.[a-z]*-\(..\)-r\(..\).*/\1_\2/p; # yy-rXX => yy_XX
s/.*res.[a-z]*-\(..\)\/.*/\1/p; # yy => yy
'
}
getLangsForDicts () {
ls ../Dicts \
| sed 's/.*-//;... | 09bicsekanjam-clone | java/GetLanguages.sh | Shell | asf20 | 889 |
package org.pocketworkstation.pckeyboard;
import android.content.Context;
import android.preference.EditTextPreference;
import android.util.AttributeSet;
public class AutoSummaryEditTextPreference extends EditTextPreference {
public AutoSummaryEditTextPreference(Context context) {
super(context);
}
... | 09bicsekanjam-clone | java/src/org/pocketworkstation/pckeyboard/AutoSummaryEditTextPreference.java | Java | asf20 | 708 |
package org.pocketworkstation.pckeyboard;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import android.view.inputmethod.InputMethodManager;
public class NotificationReceiver extends BroadcastReceiver {
static final String TAG = "PCKe... | 09bicsekanjam-clone | java/src/org/pocketworkstation/pckeyboard/NotificationReceiver.java | Java | asf20 | 856 |
/*
* Copyright (C) 2010 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 ... | 09bicsekanjam-clone | java/src/org/pocketworkstation/pckeyboard/MiniKeyboardKeyDetector.java | Java | asf20 | 2,159 |
/**
*
*/
package org.pocketworkstation.pckeyboard;
import android.content.Context;
import android.preference.ListPreference;
import android.util.AttributeSet;
import android.util.Log;
public class AutoSummaryListPreference extends ListPreference {
private static final String TAG = "HK/AutoSummaryListPreference"... | 09bicsekanjam-clone | java/src/org/pocketworkstation/pckeyboard/AutoSummaryListPreference.java | Java | asf20 | 1,411 |
/*
* Copyright (C) 2008-2009 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... | 09bicsekanjam-clone | java/src/org/pocketworkstation/pckeyboard/Keyboard.java | Java | asf20 | 53,837 |
/*
* Copyright (C) 2010 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 ... | 09bicsekanjam-clone | java/src/org/pocketworkstation/pckeyboard/ModifierKeyState.java | Java | asf20 | 1,228 |
/*
* Copyright (C) 2010 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 ... | 09bicsekanjam-clone | java/src/org/pocketworkstation/pckeyboard/ProximityKeyDetector.java | Java | asf20 | 3,229 |
/*
* 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 appli... | 09bicsekanjam-clone | java/src/org/pocketworkstation/pckeyboard/WordComposer.java | Java | asf20 | 6,622 |
/*
* Copyright (C) 2011 Darren Salt
*
* Licensed under the Apache License, Version 2.0 (the "Licence"); you may
* not use this file except in compliance with the Licence. You may obtain
* a copy of the Licence at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 09bicsekanjam-clone | java/src/org/pocketworkstation/pckeyboard/DeadAccentSequence.java | Java | asf20 | 30,433 |
/*
* Copyright (C) 2010 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 ... | 09bicsekanjam-clone | java/src/org/pocketworkstation/pckeyboard/SwipeTracker.java | Java | asf20 | 4,721 |
package org.pocketworkstation.pckeyboard;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
/**
* Variant of SeekBarPreference that stores values as string preferences.
*
* This is for compatibi... | 09bicsekanjam-clone | java/src/org/pocketworkstation/pckeyboard/SeekBarPreferenceString.java | Java | asf20 | 1,758 |
/*
* 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 appli... | 09bicsekanjam-clone | java/src/org/pocketworkstation/pckeyboard/Tutorial.java | Java | asf20 | 9,032 |
/*
* 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 appli... | 09bicsekanjam-clone | java/src/org/pocketworkstation/pckeyboard/Dictionary.java | Java | asf20 | 5,095 |
/*
* 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 applicab... | 09bicsekanjam-clone | java/src/org/pocketworkstation/pckeyboard/LatinKeyboardView.java | Java | asf20 | 27,100 |
/*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | 09bicsekanjam-clone | java/src/org/pocketworkstation/pckeyboard/Main.java | Java | asf20 | 3,648 |
/*
* Copyright (C) 2010 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 ... | 09bicsekanjam-clone | java/src/org/pocketworkstation/pckeyboard/AutoDictionary.java | Java | asf20 | 10,249 |
/*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 09bicsekanjam-clone | java/src/org/pocketworkstation/pckeyboard/LatinKeyboardBaseView.java | Java | asf20 | 73,824 |
package org.pocketworkstation.pckeyboard;
import java.util.Locale;
import android.content.Context;
import android.content.res.TypedArray;
import android.preference.DialogPreference;
import android.util.AttributeSet;
import android.view.View;
import android.widget.SeekBar;
import android.widget.TextView;
/**
* SeekB... | 09bicsekanjam-clone | java/src/org/pocketworkstation/pckeyboard/SeekBarPreference.java | Java | asf20 | 5,599 |
/*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 09bicsekanjam-clone | java/src/org/pocketworkstation/pckeyboard/SharedPreferencesCompat.java | Java | asf20 | 1,699 |
/*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 09bicsekanjam-clone | java/src/org/pocketworkstation/pckeyboard/LatinIMEUtil.java | Java | asf20 | 5,769 |
/*
* Copyright (C) 2010 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 ... | 09bicsekanjam-clone | java/src/org/pocketworkstation/pckeyboard/KeyDetector.java | Java | asf20 | 3,832 |
/*
* 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 applicab... | 09bicsekanjam-clone | java/src/org/pocketworkstation/pckeyboard/LatinKeyboard.java | Java | asf20 | 39,247 |
/*
* 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 applicab... | 09bicsekanjam-clone | java/src/org/pocketworkstation/pckeyboard/LatinIME.java | Java | asf20 | 146,087 |
/*
* Copyright (C) 2011 Darren Salt
*
* Licensed under the Apache License, Version 2.0 (the "Licence"); you may
* not use this file except in compliance with the Licence. You may obtain
* a copy of the Licence at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 09bicsekanjam-clone | java/src/org/pocketworkstation/pckeyboard/ComposeSequence.java | Java | asf20 | 27,394 |
/*
* Copyright (C) 2011 Darren Salt
*
* Licensed under the Apache License, Version 2.0 (the "Licence"); you may
* not use this file except in compliance with the Licence. You may obtain
* a copy of the Licence at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 09bicsekanjam-clone | java/src/org/pocketworkstation/pckeyboard/ComposeBase.java | Java | asf20 | 4,179 |
package org.pocketworkstation.pckeyboard;
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
import android.content.SharedPreferences;
import android.content.res.Resources;
import android.util.Log;
/**
* Global current settings for the keyboard.
*
* <p>
* Yes, globals are evil. But the per... | 09bicsekanjam-clone | java/src/org/pocketworkstation/pckeyboard/GlobalKeyboardSettings.java | Java | asf20 | 11,072 |
/*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 09bicsekanjam-clone | java/src/org/pocketworkstation/pckeyboard/LatinImeLogger.java | Java | asf20 | 1,907 |
/*
* 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 appli... | 09bicsekanjam-clone | java/src/org/pocketworkstation/pckeyboard/TextEntryState.java | Java | asf20 | 9,061 |
/*
* Copyright (C) 2010 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 ... | 09bicsekanjam-clone | java/src/org/pocketworkstation/pckeyboard/PointerTracker.java | Java | asf20 | 23,344 |
package org.pocketworkstation.pckeyboard;
import android.content.Context;
import android.util.AttributeSet;
public class VibratePreference extends SeekBarPreferenceString {
public VibratePreference(Context context, AttributeSet attrs) {
super(context, attrs);
}
@Override
public void onCha... | 09bicsekanjam-clone | java/src/org/pocketworkstation/pckeyboard/VibratePreference.java | Java | asf20 | 436 |
/*
* 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 applicab... | 09bicsekanjam-clone | java/src/org/pocketworkstation/pckeyboard/PrefScreenView.java | Java | asf20 | 2,050 |
/*
* Copyright (C) 2009 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... | 09bicsekanjam-clone | java/src/org/pocketworkstation/pckeyboard/ContactsDictionary.java | Java | asf20 | 5,606 |
/*
* Copyright (C) 2010 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 ... | 09bicsekanjam-clone | java/src/org/pocketworkstation/pckeyboard/LanguageSwitcher.java | Java | asf20 | 7,332 |
/*
* 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 applicab... | 09bicsekanjam-clone | java/src/org/pocketworkstation/pckeyboard/KeyboardSwitcher.java | Java | asf20 | 28,168 |