text stringlengths 2 1.04M | meta dict |
|---|---|
Documents: non-local means filter
=================================
**void nonLocalMeansFilter(Mat& src, Mat& dest, int templeteWindowSize, int searchWindowSize, double h, double sigma=-1.0, int method=FILTER_DEFAULT)**
* Mat& src: input image.
* Nat& dst: filtered image.
* int templeteWindowSize: templete window size.
* int searchWindowSize: serch window size.
* double h: dominator of weight.
* double sigma=-1.0, offset of weight. if sigma<0 then sigma = h.
* int method: switch for various implimentations (default is FILTER_DEFAULT).
The code is 10x faster than the opencv implimentation of non-local means filter ( fastNlMeansDenoising).
In addition, the code has higher denoising performance than the opencv.
Reference
---------
1. A. Buades, B. Coll, J.M. Morel “A non local algorithm for image denoising” IEEE Computer Vision and Pattern Recognition 2005, Vol 2, pp: 60-65, 2005.
2. J. Wang, Y. Guo, Y. Ying, Y. Liu, Q. Peng, “Fast Non-Local Algorithm for Image Denoising,” in Proc. IEEE International Conference on Image Processing 2006 (ICIP), pp. 1429 – 1432, Oct. 2006.
| {
"content_hash": "8ccb0b6fb287bc3f4891f076604b77d3",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 195,
"avg_line_length": 55.5,
"alnum_prop": 0.7099099099099099,
"repo_name": "norishigefukushima/OpenCP",
"id": "e141e019b5b5a4db14608c7d80d28aaad845f148",
"size": "1120",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "testOpenCP/nonlocalmeans/readme.md",
"mode": "33188",
"license": "bsd-3-clause",
"language": [
{
"name": "C",
"bytes": "149896"
},
{
"name": "C++",
"bytes": "11860353"
}
],
"symlink_target": ""
} |
var Report = require('../lib/fluentReports' ).Report;
var displayReport = require('./reportDisplayer');
// Thanks to AJ Paglia for the font we are using in our demo
// Aldo the Apache Font is FREE by AJ Paglia
// http://ajpaglia.com/
var primary_data = [
{no: 1, date: '08-17-2015', name: "John Doe", type: "Hardware", address_1: "address 1 road 2", address_2: "", city: "city", state: 'ok', zip: '00000', qty: 2, price: 2.21, amount: 4.42, description: "product 1", "product.product_type": 1},
{no: 1, date: '08-18-2015', name: "John Doe", type: "Hardware", address_1: "address 1 road 2", address_2: "", city: "city", state: 'ok', zip: '00000', qty: 1, price: 2.21, amount: 2.21, description: "product 1", "product.product_type": 1},
{no: 1, date: '08-19-2015', name: "John Doe", type: "Software", address_1: "address 1 road 2", address_2: "", city: "city", state: 'ok', zip: '00000', qty: 9, price: 4.21, amount: 37.89, description: "product 2", "product.product_type": 2}
];
function printreport() {
'use strict';
var detail = function(x, r, s){
x.band([
{data: r.description, width: 240},
{data: r.qty, width: 60, align: 3},
{data: r.price, width: 70, align: 3},
{data: r.amount, width: 90, align: 3},
{data: r.annual, width: 70, align: 3}
], {x: 30} );
};
var productTypeHeader = function(x, r){
x.fontBold();
x.band([
{data: r.type, width: 240,fontBold: true }
], {x: 20});
x.fontNormal();
};
var productTypeFooter = function(x, r){
x.fontBold();
x.band([
{data: r.type+' Total:', width: 130, align: 3},
{data: x.totals.amount, width: 90, align: 3}
], {x: 270});
x.fontNormal();
};
var proposalHeader = function(x, r) {
var fSize = 9;
x.print('Some address in Duncan, OK 73533', {x: 20, fontsize: fSize});
x.print("PROPOSAL", {x: 40, y: 70, fontSize: fSize+19, fontBold: true, font: "AldotheApache"});
x.print('THIS IS NOT AN INVOICE', {x: 40, y: 100, fontsize: fSize + 4, fontBold: true});
x.print('Questions? Please call us.', {x: 40, y: 150, fontsize: fSize});
x.band([{data: 'Proposal #:', width: 100}, {data: "12345", width: 100, align: "left", fontSize: 9}], {x: 400, y: 60});
x.band([{data: 'Date Prepared:', width: 100}, {data: r.date, width: 100, fontSize: 9}], {x: 400});
x.band([{data: 'Prepared By:', width: 100}, {data: "Jake Snow", width: 100, fontSize: 9}], {x: 400});
x.band([{data: 'Prepared For:', width: 100}], {x: 400});
x.fontSize(9);
if (r.name) {
x.band([{data: r.name, width: 150}], {x: 410});
}
if (r.address_1) {
x.band([{data: r.address_1, width: 150}], {x: 410});
}
if (r.address_2) {
x.band([{data: r.address_2, width: 150}], {x: 410});
}
if (r.city) {
x.band([{data: r.city + ", " + r.state + " " + r.zip, width: 150}], {x: 410});
}
x.fontSize(8);
x.print('This quote is good for 60 days from the date prepared. Product availability is subject to change without notice. Due to rapid changes in technology, ' +
'and to help us keep our prices competitive, we request that you appropriate an additional 5-10% of the hardware shown on the proposal to compensate ' +
'for possible price fluctuations between the date this proposal was prepared and the date you place your order. Once a proposal has been approved and ' +
'hardware ordered, returned goods are subject to a 15% restocking fee.', {x: 40, y: 175, width: 540});
x.newline();
x.print('Any travel fees quoted on this proposal may be reduced to reflect actual travel expenses.', {x: 40});
x.newline();
x.fontSize(11);
x.band([
{data: 'Description', width: 250},
{data: 'Qty', width: 60, align: 3},
{data: 'Price', width: 70, align: 3},
{data: 'Ext. Price', width: 90, align: 3},
{data: 'Annual', width: 70, align: 3}
], {x: 0}); // , font: "AldotheApache"});
x.bandLine(1);
};
var proposalFooter = function(x, r) {
x.fontSize(7.5);
x.print('To place an order for the goods and services provided by us, please either contact us to place your order or fax a copy ' +
'of your PO to 999-555-1212', {x: 40, width: 570});
x.print('Please call us if you have any other questions about how to order. Thank you for your business!', {x: 40, width: 570});
};
const reportName = __dirname + "/demo05.pdf";
const testing = {images: 1};
// To Keep fonts rendered identically on all test machines, we are setting the default
// Font to be "Arimo" which is close to the normal default "Helvetica" font.
var report = new Report(reportName, {font: "Arimo"}).data(primary_data);
report.registerFont("Arimo", {normal: __dirname+'/Fonts/Arimo-Regular.ttf', bold: __dirname+'/Fonts/Arimo-Bold.ttf', 'italic': __dirname+'/Fonts/Arimo-Italic.ttf'});
// Normally you would register a different font for each normal, bold, and italic; but for space size we are registering the same font for all three
report.registerFont("AldotheApache", {normal: __dirname+'/Fonts/AldotheApache.ttf', bold: __dirname+'/Fonts/AldotheApache.ttf', 'italic': __dirname+'/Fonts/AldotheApache.ttf'});
var r = report
.margins(20)
.pageheader(function(x){x.print('simple page header');})
.detail(detail);
report.groupBy( "no" )
.header( proposalHeader )
.footer( proposalFooter )
.groupBy( "product.product_type" )
.sum( "amount" )
.header( productTypeHeader )
.footer( productTypeFooter );
if (typeof process.env.TESTING === "undefined") { r.printStructure(); }
r.render(function(err, name) {
displayReport(err, name, testing);
});
}
printreport(); | {
"content_hash": "6c3e6f772f6d2980272ba473308baaf3",
"timestamp": "",
"source": "github",
"line_count": 142,
"max_line_length": 243,
"avg_line_length": 44.37323943661972,
"alnum_prop": 0.559117600380892,
"repo_name": "Nathanaela/fluentreports",
"id": "2e0929303374d79b4282a12d4a5082e29eeb3307",
"size": "6301",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "examples/demo05.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "JavaScript",
"bytes": "236676"
}
],
"symlink_target": ""
} |
const localStorageMock = (() => {
let store = {}
return {
getItem(key) {
return store[key]
},
setItem(key, value) {
store[key] = value.toString()
},
clear() {
store = {}
},
}
})()
Object.defineProperty(window, 'localStorage', { value: localStorageMock })
| {
"content_hash": "c2494b9c7d6ac815c6d539d31c50b7a3",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 74,
"avg_line_length": 20.2,
"alnum_prop": 0.5412541254125413,
"repo_name": "WhileTruu/peers-against-humanity-frontend",
"id": "534d5675bd10187f2fad000f34bf4bed4ca52360",
"size": "303",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "scripts/testSetup/localStorageMock.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "11143"
},
{
"name": "HTML",
"bytes": "1232"
},
{
"name": "JavaScript",
"bytes": "196384"
}
],
"symlink_target": ""
} |
package io.nem.apps.util;
import java.io.Serializable;
/**
* The Class NemNetworkResponse.
*/
public class NemNetworkResponse implements Serializable {
/**
* The serial version UID.
*/
private static final long serialVersionUID = 1L;
/**
* Flag that indicates whether this response is an error or not.
*/
private boolean error;
/**
* The JSON response from the targeted platform server.
*/
private String response;
/**
* Gets the {@link #error}.
*
* @return the {@link #error}.
*/
public boolean isError() {
return error;
}
/**
* Sets the {@link #error}.
*
* @param error
* the {@link #error} to set.
*/
public void setError(boolean error) {
this.error = error;
}
/**
* Gets the {@link #response}.
*
* @return the {@link #response}.
*/
public String getResponse() {
return response;
}
/**
* Sets the {@link #response}.
*
* @param response
* the {@link #response} to set.
*/
public void setResponse(String response) {
this.response = response;
}
/*
* (non-Javadoc)
*
* @see java.lang.Object#hashCode()
*/
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + (error ? 1231 : 1237);
result = prime * result
+ ((response == null) ? 0 : response.hashCode());
return result;
}
/*
* (non-Javadoc)
*
* @see java.lang.Object#equals(java.lang.Object)
*/
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
NemNetworkResponse other = (NemNetworkResponse) obj;
if (error != other.error)
return false;
if (response == null) {
if (other.response != null)
return false;
} else if (!response.equals(other.response))
return false;
return true;
}
/*
* (non-Javadoc)
*
* @see java.lang.Object#toString()
*/
@Override
public String toString() {
return "BotMillNetworkResponse [error=" + error + ", response="
+ response + "]";
}
}
| {
"content_hash": "ae333afb9d56db69686f83eff6f22df3",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 65,
"avg_line_length": 17.991304347826087,
"alnum_prop": 0.610923151280812,
"repo_name": "NEMPH/nem-apps-lib",
"id": "5d3c140c85483fd82825565d5ddfcfdc010d6b4c",
"size": "2069",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/main/java/io/nem/apps/util/NemNetworkResponse.java",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Java",
"bytes": "202239"
}
],
"symlink_target": ""
} |
/**
*
* Emerald (kbi/elude @2012-2015)
*
*/
#include "shared.h"
#include "gfx/gfx_rgbe.h"
#include "gfx/gfx_image.h"
#include "system/system_assertions.h"
#include "system/system_file_enumerator.h"
#include "system/system_file_serializer.h"
#include "system/system_file_unpacker.h"
#include "system/system_hashed_ansi_string.h"
#include "system/system_log.h"
/* Private definitions */
/** TODO */
__forceinline void _convert_rgbe_to_float(float* dst_ptr,
unsigned char* rgbe)
{
if (rgbe[3])
{
float f = (float) ldexp(1.0, (int) (rgbe[3]) - 136);
dst_ptr[0] = rgbe[0] * f;
dst_ptr[1] = rgbe[1] * f;
dst_ptr[2] = rgbe[2] * f;
}
else
{
dst_ptr[0] = 0;
dst_ptr[1] = 0;
dst_ptr[2] = 0;
}
}
/** TODO */
PRIVATE bool _gfx_rgbe_load_data_rle(float* dst_ptr,
char* src_ptr,
int width,
int height)
{
bool result = true;
unsigned char rgbe[4] = {0};
char* scanline_buffer_ptr = new (std::nothrow) char[4 * width];
char* traveller_ptr = NULL;
char* traveller_end_ptr = NULL;
if (scanline_buffer_ptr == NULL)
{
ASSERT_ALWAYS_SYNC(false,
"Could not allocate space for scanline buffer");
result = false;
goto end;
}
/* If width is outside supported range, call non-RLE loader */
if (width < 8 ||
width > 0x7FFF)
{
ASSERT_ALWAYS_SYNC(false,
"Non-RLE Radiance files not supported");
result = false;
goto end;
}
while (height > 0)
{
memcpy(rgbe,
src_ptr,
sizeof(rgbe) );
src_ptr += sizeof(rgbe);
if (rgbe[0] != 2 ||
rgbe[1] != 2 ||
rgbe[2] & 0x80)
{
ASSERT_ALWAYS_SYNC(false,
"Non-RLE Radiance files not supported");
result = false;
goto end;
}
if ( ((((int)rgbe[2]) << 8) | rgbe[3]) != width)
{
ASSERT_ALWAYS_SYNC(false,
"Invalid scanline width");
result = false;
goto end;
}
/* Read four channels into the buffer */
traveller_ptr = scanline_buffer_ptr;
for (int i = 0;
i < 4;
++i)
{
traveller_end_ptr = scanline_buffer_ptr + (i + 1) * width;
while (traveller_ptr < traveller_end_ptr)
{
unsigned char mode = src_ptr[0];
unsigned char value = src_ptr[1];
src_ptr += 2;
if (mode > 128) /* run */
{
unsigned char count = mode - 128;
if (count == 0 ||
count > int(traveller_end_ptr - traveller_ptr) )
{
ASSERT_ALWAYS_SYNC(false,
"Invalid scanline data");
result = false;
goto end;
}
while (count-- > 0)
{
*traveller_ptr++ = value;
}
}
else /* non-run */
{
unsigned char count = mode;
if (count == 0 ||
count > int(traveller_end_ptr - traveller_ptr) )
{
ASSERT_ALWAYS_SYNC(false,
"Invalid scanline data");
result = false;
goto end;
}
*traveller_ptr++ = value;
if (--count > 0)
{
memcpy(traveller_ptr,
src_ptr,
count);
traveller_ptr += count;
src_ptr += count;
}
}
} /* while (traveller_ptr < traveller_end_ptr)*/
} /* for (int i = 0; i < 4; ++i) */
/* Convert scanline data to floats */
for (int i = 0;
i < width;
++i)
{
rgbe[0] = scanline_buffer_ptr[i];
rgbe[1] = scanline_buffer_ptr[i + 1 * width];
rgbe[2] = scanline_buffer_ptr[i + 2 * width];
rgbe[3] = scanline_buffer_ptr[i + 3 * width];
_convert_rgbe_to_float(dst_ptr,
rgbe);
dst_ptr += 3;
}
height--;
}
end:
if (scanline_buffer_ptr != NULL)
{
delete [] scanline_buffer_ptr;
}
return result;
}
/** TODO */
PRIVATE gfx_image _gfx_rgbe_shared_load_handler(system_hashed_ansi_string name,
const char* in_data_ptr)
{
/* Open file handle */
char* data_buffer = NULL;
uint32_t data_buffer_size = 0;
unsigned char* data_ptr = NULL;
char* data_ptr_traveller = NULL;
fpos_t file_size;
int height = 0;
const char* magic_header = "#?RADIANCE";
gfx_image result = NULL;
int width = 0;
/* Input data pointer should not be NULL at this point */
if (in_data_ptr == NULL)
{
LOG_FATAL("Input data pointer is NULL - cannot proceed with loading");
goto end_with_dealloc;
}
/* Check header */
if (memcmp(magic_header,
in_data_ptr,
strlen(magic_header) ) != 0)
{
ASSERT_ALWAYS_SYNC(false,
"Input data is not of RGBE format!");
goto end_with_dealloc;
}
else
{
in_data_ptr += strlen(magic_header) + 1;
}
/* Parse header */
data_ptr_traveller = (char*) in_data_ptr;
while (true)
{
if (*data_ptr_traveller == 0 ||
*data_ptr_traveller == '\n')
{
data_ptr_traveller++;
break;
}
if (memcmp(data_ptr_traveller,
"FORMAT=",
strlen("FORMAT=") ) == 0)
{
data_ptr_traveller += strlen("FORMAT=");
/* RGBE is only supported */
if (memcmp(data_ptr_traveller,
"32-bit_rle_rgbe",
strlen("32-bit_rle_rgbe") ) != 0)
{
ASSERT_ALWAYS_SYNC(false,
"Only RLE RGBE format is supported");
goto end_with_dealloc;
}
else
{
data_ptr_traveller += strlen("32-bit_rle_rgbe") + 1; /* + 1 as the format is going to be ended with a newline */
}
}
else
{
/* Ignore any other commands and just look for command end */
while (*data_ptr_traveller != '\n')
{
data_ptr_traveller++;
}
data_ptr_traveller++;
}
}
/* Following is the resolution string. For simplicity, we just og with the usual bottom-up storage. */
if (memcmp(data_ptr_traveller,
"-Y ",
strlen("-Y ") ) != 0)
{
ASSERT_ALWAYS_SYNC(false,
"Input data is not bottom-up!");
goto end_with_dealloc;
}
else
{
data_ptr_traveller += strlen("-Y ");
}
if (sscanf(data_ptr_traveller,
"%d",
&height) != 1)
{
ASSERT_ALWAYS_SYNC(false,
"Couldn't read input height");
goto end_with_dealloc;
}
while (*data_ptr_traveller != ' ' )
{
data_ptr_traveller++;
}
data_ptr_traveller++;
if (memcmp(data_ptr_traveller,
"+X ",
strlen("+X ") ) != 0)
{
ASSERT_ALWAYS_SYNC(false,
"Input data is not left-to-right");
goto end_with_dealloc;
}
else
{
data_ptr_traveller += strlen("+X ");
}
if (sscanf(data_ptr_traveller,
"%d",
&width) != 1)
{
ASSERT_ALWAYS_SYNC(false,
"Couldn't read input width");
goto end_with_dealloc;
}
while (*data_ptr_traveller != '\n')
{
data_ptr_traveller++;
}
data_ptr_traveller++; /* New-line */
/* Data starts at this point */
data_buffer_size = sizeof(float) * 3 * width * height;
data_buffer = new (std::nothrow) char[data_buffer_size];
if (data_buffer == NULL)
{
ASSERT_ALWAYS_SYNC(false,
"Could not allocate %d bytes for data buffer",
data_buffer_size);
goto end_with_dealloc;
}
if (!_gfx_rgbe_load_data_rle((float*) data_buffer,
data_ptr_traveller,
width,
height) )
{
ASSERT_ALWAYS_SYNC(false,
"Error loading RLE data.");
goto end_with_dealloc;
}
/* Create the result object */
result = gfx_image_create(name);
ASSERT_DEBUG_SYNC(result != NULL,
"gfx_image_create() call failed");
if (result == NULL)
{
goto end_with_dealloc;
}
gfx_image_add_mipmap(result,
width,
height,
1,
GL_RGB32F,
false,
(unsigned char*) data_buffer,
data_buffer_size,
false);
return result;
end_with_dealloc:
if (data_buffer != NULL)
{
delete [] data_buffer;
data_buffer = NULL;
}
return result;
}
/** Please see header for specification */
PUBLIC EMERALD_API gfx_image gfx_rgbe_load_from_file(system_hashed_ansi_string file_name,
system_file_unpacker file_unpacker)
{
gfx_image result = NULL;
ASSERT_DEBUG_SYNC(file_name != NULL,
"Cannot use NULL file name.");
if (file_name != NULL)
{
/* Instantiate a serializer for the file */
system_file_serializer serializer = NULL;
bool should_release_serializer = false;
if (file_unpacker == NULL)
{
serializer = system_file_serializer_create_for_reading(file_name,
false); /* async_read */
should_release_serializer = true;
}
else
{
unsigned int file_index = -1;
bool file_found = false;
file_found = system_file_enumerator_is_file_present_in_system_file_unpacker(file_unpacker,
file_name,
true, /* use_exact_match */
&file_index);
ASSERT_DEBUG_SYNC(file_found,
"File [%s] not found in provided file_unpacker instance.",
system_hashed_ansi_string_get_buffer(file_name) );
system_file_unpacker_get_file_property(file_unpacker,
file_index,
SYSTEM_FILE_UNPACKER_FILE_PROPERTY_FILE_SERIALIZER,
&serializer);
should_release_serializer = false; /* serializer is owned by file_unpacker parent */
}
/* ..and cache its contents */
char* data_ptr = NULL;
unsigned int file_size = 0;
system_file_serializer_get_property(serializer,
SYSTEM_FILE_SERIALIZER_PROPERTY_SIZE,
&file_size);
ASSERT_DEBUG_SYNC(file_size != 0,
"File size is 0");
data_ptr = new (std::nothrow) char[ (unsigned int) file_size];
ASSERT_ALWAYS_SYNC(data_ptr != NULL,
"Could not allocate memory buffer for file [%s]",
system_hashed_ansi_string_get_buffer(file_name) );
if (data_ptr == NULL)
{
LOG_FATAL("Could not allocate memory buffer for file [%s]",
system_hashed_ansi_string_get_buffer(file_name) );
goto end;
}
else
{
if (!system_file_serializer_read(serializer,
file_size,
data_ptr) )
{
LOG_FATAL("Could not fill memory buffer with file [%s]'s contents.",
system_hashed_ansi_string_get_buffer(file_name) );
goto end;
}
if (should_release_serializer)
{
system_file_serializer_release(serializer);
}
serializer = NULL;
/* Store the pointer in in_data_ptr so that we can refer to the same pointer in following shared parts of the code */
result = _gfx_rgbe_shared_load_handler(file_name,
data_ptr);
/* Release the data buffer */
delete [] data_ptr;
data_ptr = NULL;
}
}
end:
return result;
}
/** Please see header for specification */
PUBLIC EMERALD_API gfx_image gfx_rgbe_load_from_memory(system_hashed_ansi_string name,
const char* data_ptr)
{
return _gfx_rgbe_shared_load_handler(name, data_ptr);
} | {
"content_hash": "6cf5ffcccb503fbefc25fb7dae443793",
"timestamp": "",
"source": "github",
"line_count": 499,
"max_line_length": 129,
"avg_line_length": 28.993987975951903,
"alnum_prop": 0.422449543820846,
"repo_name": "grahamsellers/Emerald",
"id": "febcf5939258b93dd11e566bdcba8e17160914cb",
"size": "14468",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "Emerald/src/gfx/gfx_rgbe.cc",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Assembly",
"bytes": "8314"
},
{
"name": "Batchfile",
"bytes": "3816"
},
{
"name": "C",
"bytes": "5390834"
},
{
"name": "C++",
"bytes": "11552521"
},
{
"name": "CMake",
"bytes": "79926"
},
{
"name": "DIGITAL Command Language",
"bytes": "9957"
},
{
"name": "Groff",
"bytes": "218860"
},
{
"name": "HTML",
"bytes": "9177"
},
{
"name": "Makefile",
"bytes": "4404"
},
{
"name": "Module Management System",
"bytes": "14415"
},
{
"name": "Objective-C",
"bytes": "2613"
},
{
"name": "Python",
"bytes": "183962"
},
{
"name": "SAS",
"bytes": "13756"
},
{
"name": "Shell",
"bytes": "700637"
},
{
"name": "Smalltalk",
"bytes": "1353"
}
],
"symlink_target": ""
} |
neutron router-create ext-rtr
sleep 5
neutron router-interface-add ext-rtr vx-subnet0
neutron router-interface-add ext-rtr vx-subnet1
| {
"content_hash": "22426296f909b770dfb3e3baf25ec865",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 47,
"avg_line_length": 27,
"alnum_prop": 0.8222222222222222,
"repo_name": "shague/odl_tools",
"id": "fd423497b3fc4db866fa65b480daf258cab3a3e2",
"size": "148",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "os_addrtr.sh",
"mode": "33261",
"license": "mit",
"language": [
{
"name": "Python",
"bytes": "25314"
},
{
"name": "Shell",
"bytes": "23210"
}
],
"symlink_target": ""
} |
package com.evolveum.midpoint.repo.sql.data.common;
import com.evolveum.midpoint.prism.PrismContext;
import com.evolveum.midpoint.repo.sql.data.common.embedded.RPolyString;
import com.evolveum.midpoint.repo.sql.util.DtoTranslationException;
import com.evolveum.midpoint.repo.sql.util.IdGeneratorResult;
import com.evolveum.midpoint.repo.sql.util.MidPointJoinedPersister;
import com.evolveum.midpoint.repo.sql.util.RUtil;
import com.evolveum.midpoint.schema.GetOperationOptions;
import com.evolveum.midpoint.schema.SelectorOptions;
import com.evolveum.midpoint.xml.ns._public.common.common_3.NodeType;
import org.hibernate.annotations.ForeignKey;
import org.hibernate.annotations.Persister;
import javax.persistence.*;
import java.util.Collection;
/**
* @author lazyman
*/
@Entity
@ForeignKey(name = "fk_node")
@Table(uniqueConstraints = @UniqueConstraint(name = "uc_node_name", columnNames = {"name_norm"}))
@Persister(impl = MidPointJoinedPersister.class)
public class RNode extends RObject<NodeType> {
private RPolyString name;
private String nodeIdentifier;
public String getNodeIdentifier() {
return nodeIdentifier;
}
@Embedded
public RPolyString getName() {
return name;
}
public void setName(RPolyString name) {
this.name = name;
}
public void setNodeIdentifier(String nodeIdentifier) {
this.nodeIdentifier = nodeIdentifier;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
if (!super.equals(o)) return false;
RNode rNode = (RNode) o;
if (name != null ? !name.equals(rNode.name) : rNode.name != null) return false;
if (nodeIdentifier != null ? !nodeIdentifier.equals(rNode.nodeIdentifier) : rNode.nodeIdentifier != null)
return false;
return true;
}
@Override
public int hashCode() {
int result = super.hashCode();
result = 31 * result + (name != null ? name.hashCode() : 0);
result = 31 * result + (nodeIdentifier != null ? nodeIdentifier.hashCode() : 0);
return result;
}
public static void copyFromJAXB(NodeType jaxb, RNode repo, PrismContext prismContext,
IdGeneratorResult generatorResult) throws DtoTranslationException {
RObject.copyFromJAXB(jaxb, repo, prismContext, generatorResult);
repo.setName(RPolyString.copyFromJAXB(jaxb.getName()));
repo.setNodeIdentifier(jaxb.getNodeIdentifier());
}
@Override
public NodeType toJAXB(PrismContext prismContext, Collection<SelectorOptions<GetOperationOptions>> options)
throws DtoTranslationException {
NodeType object = new NodeType();
RUtil.revive(object, prismContext);
RNode.copyToJAXB(this, object, prismContext, options);
return object;
}
}
| {
"content_hash": "1d92e0e6ec890369750a525209fc7b95",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 113,
"avg_line_length": 32.23076923076923,
"alnum_prop": 0.6938288441868394,
"repo_name": "PetrGasparik/midpoint",
"id": "82dd4a7f258efa4158af99bcd242b86b89a6b1a4",
"size": "3533",
"binary": false,
"copies": "1",
"ref": "refs/heads/CAS-auth",
"path": "repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RNode.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Batchfile",
"bytes": "321145"
},
{
"name": "CSS",
"bytes": "234702"
},
{
"name": "HTML",
"bytes": "651627"
},
{
"name": "Java",
"bytes": "24107826"
},
{
"name": "JavaScript",
"bytes": "17224"
},
{
"name": "PLSQL",
"bytes": "2171"
},
{
"name": "PLpgSQL",
"bytes": "8169"
},
{
"name": "Shell",
"bytes": "390442"
}
],
"symlink_target": ""
} |
<?php
if (!file_exists(__DIR__.'/src')) {
exit(0);
}
return (new PhpCsFixer\Config())
->setRules([
'@PHP71Migration' => true,
'@PHPUnit75Migration:risky' => true,
'@Symfony' => true,
'@Symfony:risky' => true,
'protected_to_private' => false,
'native_constant_invocation' => ['strict' => false],
'nullable_type_declaration_for_default_null_value' => ['use_nullable_type_declaration' => false],
])
->setRiskyAllowed(true)
->setFinder(
(new PhpCsFixer\Finder())
->in(__DIR__.'/src')
->append([__FILE__])
->notPath('#/Fixtures/#')
->exclude([
// directories containing files with content that is autogenerated by `var_export`, which breaks CS in output code
// fixture templates
'Symfony/Bundle/FrameworkBundle/Tests/Templating/Helper/Resources/Custom',
// resource templates
'Symfony/Bundle/FrameworkBundle/Resources/views/Form',
// explicit trigger_error tests
'Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/',
])
// Support for older PHPunit version
->notPath('Symfony/Bridge/PhpUnit/SymfonyTestsListener.php')
->notPath('#Symfony/Bridge/PhpUnit/.*Mock\.php#')
->notPath('#Symfony/Bridge/PhpUnit/.*Legacy#')
// file content autogenerated by `var_export`
->notPath('Symfony/Component/Translation/Tests/fixtures/resources.php')
// test template
->notPath('Symfony/Bundle/FrameworkBundle/Tests/Templating/Helper/Resources/Custom/_name_entry_label.html.php')
// explicit trigger_error tests
->notPath('Symfony/Component/Debug/Tests/DebugClassLoaderTest.php')
->notPath('Symfony/Component/ErrorHandler/Tests/DebugClassLoaderTest.php')
)
->setCacheFile('.php-cs-fixer.cache')
;
| {
"content_hash": "11f3b3cacaf43f8702557c38ea15918d",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 130,
"avg_line_length": 43.91111111111111,
"alnum_prop": 0.5931174089068826,
"repo_name": "zerkms/symfony",
"id": "3e8de34c124cb35f4065cc162662c47c52026286",
"size": "1976",
"binary": false,
"copies": "1",
"ref": "refs/heads/4.4",
"path": ".php-cs-fixer.dist.php",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "48219"
},
{
"name": "HTML",
"bytes": "16735"
},
{
"name": "Hack",
"bytes": "48"
},
{
"name": "JavaScript",
"bytes": "28639"
},
{
"name": "PHP",
"bytes": "20620388"
},
{
"name": "Shell",
"bytes": "3136"
},
{
"name": "Twig",
"bytes": "390641"
}
],
"symlink_target": ""
} |
import axios from 'axios';
/**
* Set the a value inside localStorage
* @export
* @param {String} key - key to store value with in localStorage
* @param {String} value - item to store inside localStorage
* @returns {Promise} returns a promise and resolves it with the stored value
*/
export function setLocalstorage(key, value) {
let storedValue;
return new Promise((resolve) => {
window.localStorage.setItem(key, value);
storedValue = window.localStorage.getItem(key);
if (storedValue) {
resolve(storedValue);
}
});
}
/**
* set a default header in axios
* @export
* @param {String} header - header name to set
* @param {String} value - value to set header as
* @returns {Void} does not have a return value
*/
export function setDefaultHeader(header, value) {
axios.defaults.headers.common.Authorization = value;
}
/**
* clear or remove one or all items from localStorage
* @export
* @param {String} key - item to remove in localStorage
* @returns {Void} does not have a return value
*/
export function clearStorage(key) {
if (!key) {
window.localStorage.clear();
} else {
window.localStorage.removeItem(key);
}
}
| {
"content_hash": "fbd632b6f74fcdae328766b935ec1a7f",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 77,
"avg_line_length": 26.177777777777777,
"alnum_prop": 0.6910016977928692,
"repo_name": "andela-iamao/react-raise",
"id": "601acad4fc28d4830dd4bcaa68fbea5bf177f983",
"size": "1178",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "test/lib/example/src/utils/helper.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "160"
},
{
"name": "JavaScript",
"bytes": "39797"
}
],
"symlink_target": ""
} |
<?php
return [
'_type' => 'Gantry\\Component\\Content\\Block\\HtmlBlock',
'_version' => 1,
'id' => '58f652b75c4530.45722793',
'content' => '<div class="g-content g-particle">
<div class="g-social ">
<a target="_blank" href="http://www.twitter.com/rockettheme" title="" aria-label="">
<span class="fa fa-twitter fa-fw"></span> <span class="g-social-text"></span> </a>
<a target="_blank" href="http://www.facebook.com/RocketTheme" title="" aria-label="">
<span class="fa fa-facebook fa-fw"></span> <span class="g-social-text"></span> </a>
<a target="_blank" href="https://plus.google.com/+rockettheme" title="" aria-label="">
<span class="fa fa-google-plus fa-fw"></span> <span class="g-social-text"></span> </a>
</div>
</div>'
];
| {
"content_hash": "690ce4817dd2785484c7606912043f3a",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 128,
"avg_line_length": 58.588235294117645,
"alnum_prop": 0.4748995983935743,
"repo_name": "gigantlabmaster/lundbergsab",
"id": "f63e97eda8bfa85863afe5f48ddf44cebbcaaf9c",
"size": "996",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "cache/gantry5/g5_helium/html/4d68a6936b9f9bbeb14964efc49bb77a.php",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "ApacheConf",
"bytes": "3034"
},
{
"name": "CSS",
"bytes": "887345"
},
{
"name": "HTML",
"bytes": "551127"
},
{
"name": "JavaScript",
"bytes": "436512"
},
{
"name": "Logos",
"bytes": "816"
},
{
"name": "Nginx",
"bytes": "1443"
},
{
"name": "PHP",
"bytes": "1958606"
},
{
"name": "Shell",
"bytes": "643"
}
],
"symlink_target": ""
} |
package com.planet_ink.coffee_mud.MOBS;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import com.planet_ink.coffee_mud.Behaviors.interfaces.*;
import com.planet_ink.coffee_mud.CharClasses.interfaces.*;
import com.planet_ink.coffee_mud.Commands.interfaces.*;
import com.planet_ink.coffee_mud.Common.interfaces.*;
import com.planet_ink.coffee_mud.Exits.interfaces.*;
import com.planet_ink.coffee_mud.Items.interfaces.*;
import com.planet_ink.coffee_mud.Libraries.interfaces.*;
import com.planet_ink.coffee_mud.Locales.interfaces.*;
import com.planet_ink.coffee_mud.MOBS.interfaces.*;
import com.planet_ink.coffee_mud.Races.interfaces.*;
import java.util.*;
public class DrowWarrior extends DrowElf
{
@Override
public String ID()
{
return "DrowWarrior";
}
public int fightDown=2;
public int statCheck=3;
public static final int CAST_DARKNESS = 1;
public static final int FIGHTER_SKILL = 128;
public static final int CHECK_STATUS = 129;
private int magicResistance = 50;
public DrowWarrior()
{
super();
darkDown = 4;
basePhyStats().setLevel(CMLib.dice().roll(4,6,1));
magicResistance = 50 + basePhyStats().level() * 2;
// ===== set the basics
username="a Drow male";
setDescription("a Drow warrior");
setDisplayText("A Drow warrior considers you carefully.");
equipDrow();
baseState.setHitPoints(CMLib.dice().roll(basePhyStats().level(),20,basePhyStats().level()));
setMoney(CMLib.dice().roll(4,10,0) * 25);
basePhyStats.setWeight(70 + CMLib.dice().roll(3,6,2));
baseCharStats.setStat(CharStats.STAT_GENDER,'M');
setWimpHitPoint(1);
baseCharStats().setStat(CharStats.STAT_STRENGTH,12 + CMLib.dice().roll(1,6,0));
baseCharStats().setStat(CharStats.STAT_INTELLIGENCE,14 + CMLib.dice().roll(1,6,0));
baseCharStats().setStat(CharStats.STAT_WISDOM,13 + CMLib.dice().roll(1,6,0));
baseCharStats().setStat(CharStats.STAT_DEXTERITY,15 + CMLib.dice().roll(1,6,0));
baseCharStats().setStat(CharStats.STAT_CONSTITUTION,12 + CMLib.dice().roll(1,6,0));
baseCharStats().setStat(CharStats.STAT_CHARISMA,13 + CMLib.dice().roll(1,6,0));
baseCharStats().setCurrentClass(CMClass.getCharClass("Fighter"));
baseCharStats().setMyRace(CMClass.getRace("Elf"));
baseCharStats().getMyRace().startRacing(this,false);
addNaturalAbilities();
recoverMaxState();
resetToMaxState();
recoverPhyStats();
recoverCharStats();
}
public void equipDrow()
{
final Armor chainMail = CMClass.getArmor("DrowChainMailArmor");
if(chainMail!=null)
{
chainMail.wearAt(Wearable.WORN_TORSO);
this.addItem(chainMail);
}
Weapon mainWeapon = null;
Weapon secondWeapon = null;
final int weaponry = CMLib.dice().roll(1,4,0);
switch(weaponry)
{
case 1:
mainWeapon = CMClass.getWeapon("DrowSword");
secondWeapon = CMClass.getWeapon("DrowSword");
basePhyStats().setSpeed(2.0);
break;
case 2:
mainWeapon = CMClass.getWeapon("DrowSword");
basePhyStats().setSpeed(1.0);
break;
case 3:
mainWeapon = CMClass.getWeapon("DrowSword");
secondWeapon = CMClass.getWeapon("DrowDagger");
basePhyStats().setSpeed(2.0);
break;
case 4:
mainWeapon = CMClass.getWeapon("Scimitar");
secondWeapon = CMClass.getWeapon("Scimitar");
basePhyStats().setSpeed(2.0);
break;
default:
mainWeapon = CMClass.getWeapon("DrowSword");
secondWeapon = CMClass.getWeapon("DrowSword");
basePhyStats().setSpeed(2.0);
break;
}
if(mainWeapon!=null)
{
mainWeapon.wearAt(Wearable.WORN_WIELD);
this.addItem(mainWeapon);
if(secondWeapon!=null)
{
secondWeapon.wearAt(Wearable.WORN_HELD);
this.addItem(secondWeapon);
}
}
}
public void addNaturalAbilities()
{
final Ability dark=CMClass.getAbility("Spell_Darkness");
if(dark==null)
return;
dark.setProficiency(100);
dark.setSavable(false);
this.addAbility(dark);
final Ability p1 =CMClass.getAbility("Prayer_ProtGood");
p1.setProficiency(CMLib.dice().roll(5, 10, 50));
p1.setSavable(false);
this.addAbility(p1);
final Ability p2 =CMClass.getAbility("Prayer_CauseLight");
p2.setProficiency(CMLib.dice().roll(5, 10, 50));
p2.setSavable(false);
this.addAbility(p2);
final Ability p3 =CMClass.getAbility("Prayer_CauseSerious");
p3.setProficiency(CMLib.dice().roll(5, 10, 50));
p3.setSavable(false);
this.addAbility(p3);
final Ability p4 =CMClass.getAbility("Prayer_Curse");
p4.setProficiency(CMLib.dice().roll(5, 10, 50));
p4.setSavable(false);
this.addAbility(p4);
final Ability p5 =CMClass.getAbility("Prayer_Paralyze");
p5.setProficiency(CMLib.dice().roll(5, 10, 50));
p5.setSavable(false);
this.addAbility(p5);
final Ability p6 =CMClass.getAbility("Prayer_DispelGood");
p6.setProficiency(CMLib.dice().roll(5, 10, 50));
p6.setSavable(false);
this.addAbility(p6);
final Ability p7 =CMClass.getAbility("Prayer_Plague");
p7.setProficiency(CMLib.dice().roll(5, 10, 50));
p7.setSavable(false);
this.addAbility(p7);
final Ability p8 =CMClass.getAbility("Prayer_CauseCritical");
p8.setProficiency(CMLib.dice().roll(5, 10, 50));
p8.setSavable(false);
this.addAbility(p8);
final Ability p9 =CMClass.getAbility("Prayer_Blindness");
p9.setProficiency(CMLib.dice().roll(5, 10, 50));
p9.setSavable(false);
this.addAbility(p9);
final Ability p10 =CMClass.getAbility("Prayer_BladeBarrier");
p10.setProficiency(CMLib.dice().roll(5, 10, 50));
p10.setSavable(false);
this.addAbility(p10);
final Ability p11 =CMClass.getAbility("Prayer_Hellfire");
p11.setProficiency(CMLib.dice().roll(5, 10, 50));
p11.setSavable(false);
this.addAbility(p11);
final Ability p12 =CMClass.getAbility("Prayer_UnholyWord");
p12.setProficiency(CMLib.dice().roll(5, 10, 50));
p12.setSavable(false);
this.addAbility(p12);
final Ability p13 =CMClass.getAbility("Prayer_Deathfinger");
p13.setProficiency(CMLib.dice().roll(5, 10, 50));
p13.setSavable(false);
this.addAbility(p13);
final Ability p14 =CMClass.getAbility("Prayer_Harm");
p14.setProficiency(CMLib.dice().roll(5, 10, 50));
p14.setSavable(false);
this.addAbility(p14);
}
@Override
public boolean okMessage(final Environmental myHost, final CMMsg msg)
{
final boolean retval = super.okMessage(myHost,msg);
if((msg.amITarget(this))
&&(CMath.bset(msg.targetMajor(),CMMsg.MASK_MALICIOUS))
&&(msg.targetMinor()==CMMsg.TYP_CAST_SPELL))
{
if(CMLib.dice().rollPercentage() <= magicResistance)
{
msg.source().tell(L("The drow warrior resisted your spell!"));
return false;
}
}
return retval;
}
@Override
public boolean tick(Tickable ticking, int tickID)
{
if((!amDead())&&(tickID==Tickable.TICKID_MOB))
{
if (isInCombat())
{
if((--fightDown)<=0)
{
fightDown=2;
useSkill();
}
if((--statCheck)<=0)
{
statCheck=3;
checkStatus();
}
if((--darkDown)<=0)
{
darkDown=4;
castDarkness();
}
}
}
return super.tick(ticking,tickID);
}
public boolean checkStatus()
{
if(CMLib.flags().isSitting(this))
phyStats().setDisposition(CMath.unsetb(phyStats().disposition(),PhyStats.IS_SITTING|PhyStats.IS_CUSTOM));
this.location().show(this, null, CMMsg.MSG_NOISYMOVEMENT, L("<S-NAME> stand(s) up, ready for more combat."));
return true;
}
public boolean useSkill()
{
Ability prayer = null;
if(CMLib.dice().rollPercentage() < 70)
{
int tries=10;
prayer = fetchRandomAbility();
while(((--tries)>0)&&((prayer==null)||(this.basePhyStats().level() < CMLib.ableMapper().lowestQualifyingLevel(prayer.ID()))))
prayer = fetchRandomAbility();
}
else
prayer = CMClass.getAbility("Prayer_CureSerious");
if(prayer!=null)
return prayer.invoke(this,null,false,0);
return false;
}
@Override
protected boolean castDarkness()
{
if(this.location()==null)
return true;
if(CMLib.flags().isInDark(this.location()))
return true;
Ability dark=CMClass.getAbility("Spell_Darkness");
dark.setSavable(false);
dark.setProficiency(100);
if(this.fetchAbility(dark.ID())==null)
this.addAbility(dark);
else
dark=this.fetchAbility(dark.ID());
if(dark!=null)
dark.invoke(this,null,false,0);
return true;
}
}
| {
"content_hash": "d283367149a0e2c66d7cfdf6d61f8b68",
"timestamp": "",
"source": "github",
"line_count": 313,
"max_line_length": 128,
"avg_line_length": 27.89776357827476,
"alnum_prop": 0.6725836005497022,
"repo_name": "oriontribunal/CoffeeMud",
"id": "9bb3f0118365166ee1f44d998a04d8edbc72f523",
"size": "9334",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "com/planet_ink/coffee_mud/MOBS/DrowWarrior.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Batchfile",
"bytes": "5847"
},
{
"name": "CSS",
"bytes": "2026"
},
{
"name": "HTML",
"bytes": "9745179"
},
{
"name": "Java",
"bytes": "28345031"
},
{
"name": "JavaScript",
"bytes": "43536"
},
{
"name": "Makefile",
"bytes": "23191"
},
{
"name": "Shell",
"bytes": "8587"
}
],
"symlink_target": ""
} |
import argparse
import logging
from contextlib import contextmanager, closing
from modshogun import (LibSVMFile, GaussianKernel, MulticlassLibSVM,
SerializableHdf5File, LinearKernel)
from utils import get_features_and_labels, track_execution
LOGGER = logging.getLogger(__file__)
KERNELS = {
'linear': lambda feats, width: LinearKernel(feats, feats),
'gaussian': lambda feats, width: GaussianKernel(feats, feats, width),
}
def parse_arguments():
parser = argparse.ArgumentParser(description="Train a multiclass SVM \
stored in libsvm format")
parser.add_argument('--dataset', required=True, type=str,
help='Path to training dataset in LibSVM format.')
parser.add_argument('--capacity', default=1.0, type=float,
help='SVM capacity parameter')
parser.add_argument('--width', default=2.1, type=float,
help='Width of the Gaussian Kernel to approximate')
parser.add_argument('--epsilon', default=0.01, type=float,
help='SVMOcas epsilon parameter')
parser.add_argument('--kernel', type=str, default='linear',
choices=['linear', 'gaussian'],
help='Optionally specify a kernel type. \
Only Linear or Gaussian')
parser.add_argument('--output', required=True, type=str,
help='Destination path for the output serialized \
classifier')
return parser.parse_args()
def main(dataset, output, epsilon, capacity, width, kernel_type):
LOGGER.info("SVM Multiclass classifier")
LOGGER.info("Epsilon: %s" % epsilon)
LOGGER.info("Capacity: %s" % capacity)
LOGGER.info("Gaussian width: %s" % width)
# Get features
feats, labels = get_features_and_labels(LibSVMFile(dataset))
# Create kernel
try:
kernel = KERNELS[kernel_type](feats, width)
except KeyError:
LOGGER.error("Kernel %s not available. try Gaussian or Linear" % kernel_type)
# Initialize and train Multiclass SVM
svm = MulticlassLibSVM(capacity, kernel, labels)
svm.set_epsilon(epsilon)
with track_execution():
svm.train()
# Serialize to file
writable_file = SerializableHdf5File(output, 'w')
with closing(writable_file):
svm.save_serializable(writable_file)
LOGGER.info("Serialized classifier saved in: '%s'" % output)
if __name__ == '__main__':
args = parse_arguments()
main(args.dataset, args.output, args.epsilon, args.capacity, args.width, args.kernel)
| {
"content_hash": "535da3f7a4d6b0febca45a4fbce6e077",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 86,
"avg_line_length": 34.46268656716418,
"alnum_prop": 0.7232568211346904,
"repo_name": "Saurabh7/shogun",
"id": "5dfb1fa4c41f8405eae7fe05d5a4cf66159cb0c0",
"size": "3977",
"binary": false,
"copies": "21",
"ref": "refs/heads/master",
"path": "applications/classification/train_multiclass_svm.py",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "C",
"bytes": "104870"
},
{
"name": "C++",
"bytes": "11435353"
},
{
"name": "CMake",
"bytes": "213091"
},
{
"name": "Lua",
"bytes": "1204"
},
{
"name": "M",
"bytes": "10020"
},
{
"name": "Makefile",
"bytes": "452"
},
{
"name": "Matlab",
"bytes": "66047"
},
{
"name": "Perl",
"bytes": "31939"
},
{
"name": "Perl6",
"bytes": "15714"
},
{
"name": "Protocol Buffer",
"bytes": "1476"
},
{
"name": "Python",
"bytes": "431160"
},
{
"name": "R",
"bytes": "53362"
},
{
"name": "Ruby",
"bytes": "59"
},
{
"name": "Shell",
"bytes": "17074"
}
],
"symlink_target": ""
} |
<?xml version="1.0" encoding="UTF-8"?>
<!--
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 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 writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.camel</groupId>
<artifactId>components</artifactId>
<version>2.22.0-SNAPSHOT</version>
</parent>
<artifactId>camel-testcontainers-spring</artifactId>
<packaging>jar</packaging>
<name>Camel :: Testcontainers :: Spring</name>
<description>Camel unit testing with Spring and testcontainers</description>
<properties>
<!-- use by camel-catalog -->
<firstVersion>2.22.0</firstVersion>
<label>testing,java,docker</label>
<camel.osgi.export.pkg>org.apache.camel.test.testcontainers.spring.*</camel.osgi.export.pkg>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-test-spring</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-testcontainers</artifactId>
</dependency>
<!-- optional dependencies for running tests -->
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>${assertj-version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<profiles>
<profile>
<id>jdk9+-build</id>
<activation>
<jdk>[9,)</jdk>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>--add-modules java.xml.bind --add-opens java.base/java.lang=ALL-UNNAMED</argLine>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<!-- activate integration test if the docker socket file is accessible -->
<profile>
<id>testcontainers-spring-integration-tests-docker-file</id>
<activation>
<file>
<exists>/var/run/docker.sock</exists>
</file>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<visibleassertions.silence>true</visibleassertions.silence>
</systemPropertyVariables>
</configuration>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<!-- activate integration test if the DOCKER_HOST env var is set -->
<profile>
<id>testcontainers-spring-integration-tests-docker-env</id>
<activation>
<property>
<name>env.DOCKER_HOST</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<visibleassertions.silence>true</visibleassertions.silence>
</systemPropertyVariables>
</configuration>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
| {
"content_hash": "6a34b0cebebd7a7aa02f455c5fe297a8",
"timestamp": "",
"source": "github",
"line_count": 157,
"max_line_length": 201,
"avg_line_length": 38.6687898089172,
"alnum_prop": 0.5116125844177236,
"repo_name": "akhettar/camel",
"id": "fd71ae8c05a273fa181102af225ddc95803a622f",
"size": "6071",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "components/camel-testcontainers-spring/pom.xml",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Apex",
"bytes": "6519"
},
{
"name": "Batchfile",
"bytes": "1518"
},
{
"name": "CSS",
"bytes": "30373"
},
{
"name": "Elm",
"bytes": "10852"
},
{
"name": "FreeMarker",
"bytes": "11410"
},
{
"name": "Groovy",
"bytes": "44851"
},
{
"name": "HTML",
"bytes": "197111"
},
{
"name": "Java",
"bytes": "73154283"
},
{
"name": "JavaScript",
"bytes": "90399"
},
{
"name": "Makefile",
"bytes": "513"
},
{
"name": "Python",
"bytes": "36"
},
{
"name": "Ruby",
"bytes": "4802"
},
{
"name": "Scala",
"bytes": "323982"
},
{
"name": "Shell",
"bytes": "17107"
},
{
"name": "Tcl",
"bytes": "4974"
},
{
"name": "Thrift",
"bytes": "6979"
},
{
"name": "XQuery",
"bytes": "546"
},
{
"name": "XSLT",
"bytes": "285105"
}
],
"symlink_target": ""
} |
/*
* scorescontroller.c
*
* Created on: Oct 14, 2012
* Author: caneraltinbasak
*/
#include "scorescontroller.h"
#include <stdbool.h>
void scoresControllerCallback(void* userData, SC_Error_t completionStatus);
SC_ScoresController_h scores_controller = NULL;
FREObject initScoresController(FREContext ctx, void* functionData, uint32_t argc, FREObject argv[])
{
SC_Client_CreateScoresController (client, &scores_controller, scoresControllerCallback, NULL);
return NULL;
}
FREObject setMode(FREContext ctx, void* functionData, uint32_t argc, FREObject argv[])
{
int aMode = 0;
FREGetObjectAsInt32(argv[0],&aMode);
SC_ScoresController_SetMode(scores_controller, aMode);
return NULL;
}
FREObject getMode(FREContext ctx, void* functionData, uint32_t argc, FREObject argv[])
{
FREObject returnObject;
FRENewObjectFromInt32(SC_ScoresController_GetMode(scores_controller), &returnObject);
return returnObject;
}
FREObject setSearchList(FREContext ctx, void* functionData, uint32_t argc, FREObject argv[])
{
int aSearchList;
FREGetObjectAsInt32(argv[0],&aSearchList);
switch(aSearchList)
{
case 0:
#if defined(BB10)
SC_ScoresController_SetSearchList(scores_controller, SC_SCORES_SEARCH_LIST_ALL);
#else
SC_ScoresController_SetSearchList(scores_controller, SC_SCORE_SEARCH_LIST_GLOBAL);
#endif
break;
case 1:
#if defined(BB10)
SC_ScoresController_SetSearchList(scores_controller, SC_SCORES_SEARCH_LIST_24H);
#else
SC_ScoresController_SetSearchList(scores_controller, SC_SCORE_SEARCH_LIST_24H);
#endif
break;
case 2:
#if defined(BB10)
SC_ScoresController_SetSearchList(scores_controller, SC_SCORES_SEARCH_LIST_USER_COUNTRY);
#else
SC_ScoresController_SetSearchList(scores_controller, SC_SCORE_SEARCH_LIST_USER_COUNTRY);
#endif
break;
default:
fprintf(stderr, "Invalid searchlist value: %d\n", aSearchList);
break;
}
return NULL;
}
FREObject getSearchList(FREContext ctx, void* functionData, uint32_t argc, FREObject argv[])
{
FREObject returnObject;
//FRENewObjectFromInt32(SC_ScoresController_GetSearchList(scores_controller), &returnObject);
//TODO: Implement this
return returnObject;
}
FREObject getScores(FREContext ctx, void* functionData, uint32_t argc, FREObject argv[])
{
SC_ScoreList_h score_list;
SC_Score_h aScore;
FREObject returnObject;
int i,j;
unsigned int contextArrayLength = 0;
FREGetArrayLength(argv[0],&contextArrayLength);
score_list = SC_ScoresController_GetScores(scores_controller);
// arrayArgs has the Array arguments.
#if defined(BB10)
unsigned int scoreListSize = SC_ScoreList_GetCount(score_list);
#else
unsigned int scoreListSize = SC_ScoreList_GetScoresCount(score_list);
#endif
FREObject* arrayArgs = (FREObject*)malloc(sizeof(FREObject)*scoreListSize);
for(i = 0 ; i < scoreListSize ; i++)
{
#if defined(BB10)
aScore = SC_ScoreList_GetAt(score_list,i);
#else
aScore = SC_ScoreList_GetScore(score_list,i);
#endif
FREObject* argV=(FREObject*)malloc(sizeof(FREObject)*6);
FRENewObjectFromInt32(SC_Score_GetMode(aScore), &argV[0]);
FRENewObjectFromInt32(SC_Score_GetLevel(aScore), &argV[1]);
FRENewObjectFromDouble(SC_Score_GetResult(aScore), &argV[2]);
FRENewObjectFromDouble(SC_Score_GetMinorResult(aScore), &argV[3]);
// Create the 5th argument(User)
SC_User_h aUser = SC_Score_GetUser(aScore);
SC_String_h scLogin = SC_User_GetLogin(aUser);
SC_String_h scEmail = SC_User_GetEmail(aUser);
const char * login = "";
const char * email = "";
if(scLogin != NULL)
login= SC_String_GetData(scLogin);
if(scEmail != NULL)
email = SC_String_GetData(scEmail);
FREObject* userArgV=(FREObject*)malloc(sizeof(FREObject)*2);
FRENewObjectFromUTF8(strlen(login)+1,(const uint8_t*)login, &userArgV[0]);
FRENewObjectFromUTF8(strlen(email)+1,(const uint8_t*)email, &userArgV[1]);
fprintf(stderr, "username: %s\n", login);
FRENewObject((const uint8_t*)"com.wallwizz.scoreloop.User",2,userArgV,&argV[4],NULL);
// Create the 6th argument(Context)
FREObject* contextArray = (FREObject*)malloc(sizeof(FREObject)*contextArrayLength);
for(j = 0; j < contextArrayLength; j++)
{
FREObject context;
FREObject freContextKey;
const char * aKey = "test";
SC_String_h scValue = NULL;
const char* aValue = NULL;
unsigned int length;
FREGetArrayElementAt(argv[0], j, &freContextKey);
if(FREGetObjectAsUTF8(freContextKey,&length,(const uint8_t**)&aKey) != FRE_OK)
fprintf(stderr, "FREGetArrayElementAt Error\n");
fprintf(stderr, "retrieved aKey: %s\n", aKey);
SC_Context_h aContext = SC_Score_GetContext(aScore);
SC_Context_Get(aContext, aKey, &scValue);
if(scValue != NULL)
{
aValue= SC_String_GetData(scValue);
}else{
fprintf(stderr, "scValue NULL\n");
aValue = "not found";
}
fprintf(stderr, "retrieved aValue: %s\n", aValue);
FREObject* contextArgv=(FREObject*)malloc(sizeof(FREObject)*2);
FRENewObjectFromUTF8(strlen(aKey)+1,(const uint8_t*)aKey, &contextArgv[0]);
FRENewObjectFromUTF8(strlen(aValue)+1,(const uint8_t*)aValue, &contextArgv[1]);
FRENewObject((const uint8_t*)"com.wallwizz.scoreloop.Context",2,contextArgv,&contextArray[j],NULL);
free(contextArgv);
}
FRENewObject((const uint8_t*)"Array",contextArrayLength,contextArray,&argV[5],NULL);
FRENewObject((const uint8_t*)"com.wallwizz.scoreloop.Score",6,argV,&arrayArgs[i],NULL);
free(contextArray);
}
FRENewObject((const uint8_t*)"Array",scoreListSize,arrayArgs,&returnObject,NULL);
free(arrayArgs);
return returnObject;
}
FREObject loadNextRange(FREContext ctx, void* functionData, uint32_t argc, FREObject argv[])
{
SC_ScoresController_LoadNextRange(scores_controller);
return NULL;
}
FREObject loadPreviousRange(FREContext ctx, void* functionData, uint32_t argc, FREObject argv[])
{
SC_ScoresController_LoadPreviousRange(scores_controller);
}
FREObject hasNextRange(FREContext ctx, void* functionData, uint32_t argc, FREObject argv[])
{
FREObject returnObject;
FRENewObjectFromBool(SC_ScoresController_HasNextRange(scores_controller),&returnObject);
return returnObject;
}
FREObject hasPreviousRange(FREContext ctx, void* functionData, uint32_t argc, FREObject argv[])
{
FREObject returnObject;
FRENewObjectFromBool(SC_ScoresController_HasPreviousRange(scores_controller),&returnObject);
return returnObject;
}
FREObject getRange(FREContext ctx, void* functionData, uint32_t argc, FREObject argv[])
{
FREObject returnObject;
FREObject* argV=(FREObject*)malloc(sizeof(FREObject)*2);
#if defined(BB10)
SC_Range_t aRange = SC_ScoresController_GetRange(scores_controller);
FRENewObjectFromInt32(SC_Score_GetMode(aRange.offset), &argV[0]);
FRENewObjectFromInt32(SC_Score_GetLevel(aRange.length), &argV[1]);
#else
argV[0] = SC_ScoresController_GetRangeOffset(scores_controller);
argV[1] = SC_ScoresController_GetRangeLength(scores_controller);
#endif
FRENewObject("com.wallwizz.scoreloop.Range",2,argV,&returnObject,NULL);
return returnObject;
}
FREObject loadScores(FREContext ctx, void* functionData, uint32_t argc, FREObject argv[])
{
FREObject start=0,length=0;
int aStart=0,aLength=0;
FREGetObjectProperty(argv[0],(const uint8_t*)"start",start,NULL);
FREGetObjectProperty(argv[0],(const uint8_t*)"length",length,NULL);
FREGetObjectAsInt32(start,&aStart);
FREGetObjectAsInt32(length,&aLength);
#if defined(BB10)
SC_Range_t aRange = {aStart,aLength};
SC_ScoresController_LoadScores(scores_controller,aRange); // TODO: This is different in bb10, there is a range object
#else
SC_ScoresController_LoadRange(scores_controller,aStart,aLength);
#endif
return NULL;
}
FREObject loadScoresAtRank(FREContext ctx, void* functionData, uint32_t argc, FREObject argv[])
{
int aRank,aLength;
FREGetObjectAsInt32(argv[0],&aRank);
FREGetObjectAsInt32(argv[1],&aLength);
#if defined(BB10)
SC_ScoresController_LoadScoresAtRank(scores_controller,aRank,aLength);
#else
SC_ScoresController_LoadRangeAtRank(scores_controller,aRank,aLength);
#endif
return NULL;
}
FREObject loadScoresAroundUser(FREContext ctx, void* functionData, uint32_t argc, FREObject argv[])
{
SC_Session_h session= SC_Client_GetSession(client);
SC_User_h aUser = SC_Session_GetUser(session);
int aRange;
FREGetObjectAsInt32(argv[0],&aRange);
#if defined(BB10)
SC_ScoresController_LoadScoresAroundUser(scores_controller,aUser,aRange);
#else
SC_ScoresController_LoadRangeForUser(scores_controller,aUser,aRange);
#endif
return NULL;
}
FREObject loadScoresAroundScore(FREContext ctx, void* functionData, uint32_t argc, FREObject argv[])
{
return NULL;
}
//Step 6
//To be written by the developer
void scoresControllerCallback(void* userData, SC_Error_t completionStatus) {
switch(completionStatus){
case SC_OK:
FREDispatchStatusEventAsync(context, (const uint8_t *)"scorescontroller", (const uint8_t *)"SC_OK");
break;
case SC_HTTP_SERVER_ERROR:
FREDispatchStatusEventAsync(context, (const uint8_t *)"scorescontroller", (const uint8_t *)"SC_HTTP_SERVER_ERROR");
break;
case SC_INVALID_RANGE:
FREDispatchStatusEventAsync(context, (const uint8_t *)"scorescontroller", (const uint8_t *)"SC_INVALID_RANGE");
break;
case SC_INVALID_SERVER_RESPONSE:
FREDispatchStatusEventAsync(context, (const uint8_t *)"scorescontroller", (const uint8_t *)"SC_INVALID_SERVER_RESPONSE");
break;
case SC_HANDSHAKE_FAILED:
FREDispatchStatusEventAsync(context, (const uint8_t *)"scorescontroller", (const uint8_t *)"SC_HANDSHAKE_FAILED");
break;
case SC_REQUEST_FAILED:
FREDispatchStatusEventAsync(context, (const uint8_t *)"scorescontroller", (const uint8_t *)"SC_REQUEST_FAILED");
break;
case SC_REQUEST_CANCELLED:
FREDispatchStatusEventAsync(context, (const uint8_t *)"scorescontroller", (const uint8_t *)"SC_REQUEST_CANCELLED");
break;
case SC_TOO_MANY_REQUETS_QUEUED:
FREDispatchStatusEventAsync(context, (const uint8_t *)"scorescontroller", (const uint8_t *)"SC_TOO_MANY_REQUETS_QUEUED");
break;
case SC_INVALID_GAME_ID:
FREDispatchStatusEventAsync(context, (const uint8_t *)"scorescontroller", (const uint8_t *)"SC_INVALID_GAME_ID");
break;
default:
FREDispatchStatusEventAsync(context, (const uint8_t *)"scorescontroller", (const uint8_t *)"SC_UNKNOWN_ERROR");
break;
}
}
| {
"content_hash": "27db4c5e6961d998113f975ac32dc58f",
"timestamp": "",
"source": "github",
"line_count": 285,
"max_line_length": 123,
"avg_line_length": 36.44210526315789,
"alnum_prop": 0.7415751973810899,
"repo_name": "caneraltinbasak/Community-APIs-for-AIR",
"id": "17c6f7d9c1f31785be4c0f5abb86fe6e74a587fb",
"size": "10966",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "BlackBerry10/Scoreloop/Native/src/scorescontroller.c",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "ActionScript",
"bytes": "101998"
},
{
"name": "C",
"bytes": "92363"
},
{
"name": "C++",
"bytes": "1148"
},
{
"name": "CSS",
"bytes": "16911"
},
{
"name": "JavaScript",
"bytes": "46301"
},
{
"name": "Shell",
"bytes": "2449"
},
{
"name": "XSLT",
"bytes": "732085"
}
],
"symlink_target": ""
} |
package com.riversoft.weixin.qy.shake;
import com.riversoft.weixin.common.WxClient;
import com.riversoft.weixin.common.util.JsonMapper;
import com.riversoft.weixin.qy.QyWxClientFactory;
import com.riversoft.weixin.qy.base.CorpSetting;
import com.riversoft.weixin.qy.base.WxEndpoint;
import com.riversoft.weixin.qy.shake.bean.Shake;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.Serializable;
/**
* Created by exizhai on 9/25/2015.
*/
public class Shakes {
private static Logger logger = LoggerFactory.getLogger(Shakes.class);
private WxClient wxClient;
public static Shakes defaultShakes() {
return with(CorpSetting.defaultSettings());
}
public static Shakes with(CorpSetting corpSetting) {
Shakes shakes = new Shakes();
shakes.setWxClient(QyWxClientFactory.getInstance().with(corpSetting));
return shakes;
}
public void setWxClient(WxClient wxClient) {
this.wxClient = wxClient;
}
/**
* 获取设备及用户信息
* @param ticket
* @return
*/
public Shake get(String ticket) {
String url = WxEndpoint.get("url.shake.get");
String body = String.format("{\"ticket\":\"%s\"}", ticket);
logger.debug("get shake info: {}", body);
String content = wxClient.post(url, body);
ShakeWrapper shakeWrapper = JsonMapper.nonEmptyMapper().fromJson(content, ShakeWrapper.class);
return shakeWrapper.getData();
}
public static class ShakeWrapper implements Serializable {
private Shake data;
public Shake getData() {
return data;
}
public void setData(Shake data) {
this.data = data;
}
}
}
| {
"content_hash": "59c45c27e6531f9ffd5c133d7ce679e4",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 102,
"avg_line_length": 28.333333333333332,
"alnum_prop": 0.6442577030812325,
"repo_name": "borball/weixin-sdk",
"id": "7c204a4141b39671047dd48e09d6ead03c02c9f8",
"size": "1803",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "weixin-qydev/src/main/java/com/riversoft/weixin/qy/shake/Shakes.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "HTML",
"bytes": "2700"
},
{
"name": "Java",
"bytes": "708660"
}
],
"symlink_target": ""
} |
package com.github.timtebeek.rst;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest
public class MyAppTest {
@Autowired
private ConfigurableApplicationContext context;
@Test
public void test() {
assertTrue(context.isActive());
}
}
| {
"content_hash": "8498dbacfca5a8847ceb6f181bf9a960",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 66,
"avg_line_length": 26.727272727272727,
"alnum_prop": 0.8248299319727891,
"repo_name": "timtebeek/resource-server-testing",
"id": "9ab7954af1acea6be1c5ba3e516ffb0820516222",
"size": "588",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/test/java/com/github/timtebeek/rst/MyAppTest.java",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Java",
"bytes": "16965"
}
],
"symlink_target": ""
} |
using gagvr = Google.Ads.GoogleAds.V11.Resources;
using gax = Google.Api.Gax;
using sys = System;
namespace Google.Ads.GoogleAds.V11.Resources
{
/// <summary>Resource name for the <c>BiddingStrategy</c> resource.</summary>
public sealed partial class BiddingStrategyName : gax::IResourceName, sys::IEquatable<BiddingStrategyName>
{
/// <summary>The possible contents of <see cref="BiddingStrategyName"/>.</summary>
public enum ResourceNameType
{
/// <summary>An unparsed resource name.</summary>
Unparsed = 0,
/// <summary>
/// A resource name with pattern <c>customers/{customer_id}/biddingStrategies/{bidding_strategy_id}</c>.
/// </summary>
CustomerBiddingStrategy = 1,
}
private static gax::PathTemplate s_customerBiddingStrategy = new gax::PathTemplate("customers/{customer_id}/biddingStrategies/{bidding_strategy_id}");
/// <summary>Creates a <see cref="BiddingStrategyName"/> containing an unparsed resource name.</summary>
/// <param name="unparsedResourceName">The unparsed resource name. Must not be <c>null</c>.</param>
/// <returns>
/// A new instance of <see cref="BiddingStrategyName"/> containing the provided
/// <paramref name="unparsedResourceName"/>.
/// </returns>
public static BiddingStrategyName FromUnparsed(gax::UnparsedResourceName unparsedResourceName) =>
new BiddingStrategyName(ResourceNameType.Unparsed, gax::GaxPreconditions.CheckNotNull(unparsedResourceName, nameof(unparsedResourceName)));
/// <summary>
/// Creates a <see cref="BiddingStrategyName"/> with the pattern
/// <c>customers/{customer_id}/biddingStrategies/{bidding_strategy_id}</c>.
/// </summary>
/// <param name="customerId">The <c>Customer</c> ID. Must not be <c>null</c> or empty.</param>
/// <param name="biddingStrategyId">The <c>BiddingStrategy</c> ID. Must not be <c>null</c> or empty.</param>
/// <returns>A new instance of <see cref="BiddingStrategyName"/> constructed from the provided ids.</returns>
public static BiddingStrategyName FromCustomerBiddingStrategy(string customerId, string biddingStrategyId) =>
new BiddingStrategyName(ResourceNameType.CustomerBiddingStrategy, customerId: gax::GaxPreconditions.CheckNotNullOrEmpty(customerId, nameof(customerId)), biddingStrategyId: gax::GaxPreconditions.CheckNotNullOrEmpty(biddingStrategyId, nameof(biddingStrategyId)));
/// <summary>
/// Formats the IDs into the string representation of this <see cref="BiddingStrategyName"/> with pattern
/// <c>customers/{customer_id}/biddingStrategies/{bidding_strategy_id}</c>.
/// </summary>
/// <param name="customerId">The <c>Customer</c> ID. Must not be <c>null</c> or empty.</param>
/// <param name="biddingStrategyId">The <c>BiddingStrategy</c> ID. Must not be <c>null</c> or empty.</param>
/// <returns>
/// The string representation of this <see cref="BiddingStrategyName"/> with pattern
/// <c>customers/{customer_id}/biddingStrategies/{bidding_strategy_id}</c>.
/// </returns>
public static string Format(string customerId, string biddingStrategyId) =>
FormatCustomerBiddingStrategy(customerId, biddingStrategyId);
/// <summary>
/// Formats the IDs into the string representation of this <see cref="BiddingStrategyName"/> with pattern
/// <c>customers/{customer_id}/biddingStrategies/{bidding_strategy_id}</c>.
/// </summary>
/// <param name="customerId">The <c>Customer</c> ID. Must not be <c>null</c> or empty.</param>
/// <param name="biddingStrategyId">The <c>BiddingStrategy</c> ID. Must not be <c>null</c> or empty.</param>
/// <returns>
/// The string representation of this <see cref="BiddingStrategyName"/> with pattern
/// <c>customers/{customer_id}/biddingStrategies/{bidding_strategy_id}</c>.
/// </returns>
public static string FormatCustomerBiddingStrategy(string customerId, string biddingStrategyId) =>
s_customerBiddingStrategy.Expand(gax::GaxPreconditions.CheckNotNullOrEmpty(customerId, nameof(customerId)), gax::GaxPreconditions.CheckNotNullOrEmpty(biddingStrategyId, nameof(biddingStrategyId)));
/// <summary>
/// Parses the given resource name string into a new <see cref="BiddingStrategyName"/> instance.
/// </summary>
/// <remarks>
/// To parse successfully, the resource name must be formatted as one of the following:
/// <list type="bullet">
/// <item>
/// <description><c>customers/{customer_id}/biddingStrategies/{bidding_strategy_id}</c></description>
/// </item>
/// </list>
/// </remarks>
/// <param name="biddingStrategyName">The resource name in string form. Must not be <c>null</c>.</param>
/// <returns>The parsed <see cref="BiddingStrategyName"/> if successful.</returns>
public static BiddingStrategyName Parse(string biddingStrategyName) => Parse(biddingStrategyName, false);
/// <summary>
/// Parses the given resource name string into a new <see cref="BiddingStrategyName"/> instance; optionally
/// allowing an unparseable resource name.
/// </summary>
/// <remarks>
/// To parse successfully, the resource name must be formatted as one of the following:
/// <list type="bullet">
/// <item>
/// <description><c>customers/{customer_id}/biddingStrategies/{bidding_strategy_id}</c></description>
/// </item>
/// </list>
/// Or may be in any format if <paramref name="allowUnparsed"/> is <c>true</c>.
/// </remarks>
/// <param name="biddingStrategyName">The resource name in string form. Must not be <c>null</c>.</param>
/// <param name="allowUnparsed">
/// If <c>true</c> will successfully store an unparseable resource name into the <see cref="UnparsedResource"/>
/// property; otherwise will throw an <see cref="sys::ArgumentException"/> if an unparseable resource name is
/// specified.
/// </param>
/// <returns>The parsed <see cref="BiddingStrategyName"/> if successful.</returns>
public static BiddingStrategyName Parse(string biddingStrategyName, bool allowUnparsed) =>
TryParse(biddingStrategyName, allowUnparsed, out BiddingStrategyName result) ? result : throw new sys::ArgumentException("The given resource-name matches no pattern.");
/// <summary>
/// Tries to parse the given resource name string into a new <see cref="BiddingStrategyName"/> instance.
/// </summary>
/// <remarks>
/// To parse successfully, the resource name must be formatted as one of the following:
/// <list type="bullet">
/// <item>
/// <description><c>customers/{customer_id}/biddingStrategies/{bidding_strategy_id}</c></description>
/// </item>
/// </list>
/// </remarks>
/// <param name="biddingStrategyName">The resource name in string form. Must not be <c>null</c>.</param>
/// <param name="result">
/// When this method returns, the parsed <see cref="BiddingStrategyName"/>, or <c>null</c> if parsing failed.
/// </param>
/// <returns><c>true</c> if the name was parsed successfully; <c>false</c> otherwise.</returns>
public static bool TryParse(string biddingStrategyName, out BiddingStrategyName result) =>
TryParse(biddingStrategyName, false, out result);
/// <summary>
/// Tries to parse the given resource name string into a new <see cref="BiddingStrategyName"/> instance;
/// optionally allowing an unparseable resource name.
/// </summary>
/// <remarks>
/// To parse successfully, the resource name must be formatted as one of the following:
/// <list type="bullet">
/// <item>
/// <description><c>customers/{customer_id}/biddingStrategies/{bidding_strategy_id}</c></description>
/// </item>
/// </list>
/// Or may be in any format if <paramref name="allowUnparsed"/> is <c>true</c>.
/// </remarks>
/// <param name="biddingStrategyName">The resource name in string form. Must not be <c>null</c>.</param>
/// <param name="allowUnparsed">
/// If <c>true</c> will successfully store an unparseable resource name into the <see cref="UnparsedResource"/>
/// property; otherwise will throw an <see cref="sys::ArgumentException"/> if an unparseable resource name is
/// specified.
/// </param>
/// <param name="result">
/// When this method returns, the parsed <see cref="BiddingStrategyName"/>, or <c>null</c> if parsing failed.
/// </param>
/// <returns><c>true</c> if the name was parsed successfully; <c>false</c> otherwise.</returns>
public static bool TryParse(string biddingStrategyName, bool allowUnparsed, out BiddingStrategyName result)
{
gax::GaxPreconditions.CheckNotNull(biddingStrategyName, nameof(biddingStrategyName));
gax::TemplatedResourceName resourceName;
if (s_customerBiddingStrategy.TryParseName(biddingStrategyName, out resourceName))
{
result = FromCustomerBiddingStrategy(resourceName[0], resourceName[1]);
return true;
}
if (allowUnparsed)
{
if (gax::UnparsedResourceName.TryParse(biddingStrategyName, out gax::UnparsedResourceName unparsedResourceName))
{
result = FromUnparsed(unparsedResourceName);
return true;
}
}
result = null;
return false;
}
private BiddingStrategyName(ResourceNameType type, gax::UnparsedResourceName unparsedResourceName = null, string biddingStrategyId = null, string customerId = null)
{
Type = type;
UnparsedResource = unparsedResourceName;
BiddingStrategyId = biddingStrategyId;
CustomerId = customerId;
}
/// <summary>
/// Constructs a new instance of a <see cref="BiddingStrategyName"/> class from the component parts of pattern
/// <c>customers/{customer_id}/biddingStrategies/{bidding_strategy_id}</c>
/// </summary>
/// <param name="customerId">The <c>Customer</c> ID. Must not be <c>null</c> or empty.</param>
/// <param name="biddingStrategyId">The <c>BiddingStrategy</c> ID. Must not be <c>null</c> or empty.</param>
public BiddingStrategyName(string customerId, string biddingStrategyId) : this(ResourceNameType.CustomerBiddingStrategy, customerId: gax::GaxPreconditions.CheckNotNullOrEmpty(customerId, nameof(customerId)), biddingStrategyId: gax::GaxPreconditions.CheckNotNullOrEmpty(biddingStrategyId, nameof(biddingStrategyId)))
{
}
/// <summary>The <see cref="ResourceNameType"/> of the contained resource name.</summary>
public ResourceNameType Type { get; }
/// <summary>
/// The contained <see cref="gax::UnparsedResourceName"/>. Only non-<c>null</c> if this instance contains an
/// unparsed resource name.
/// </summary>
public gax::UnparsedResourceName UnparsedResource { get; }
/// <summary>
/// The <c>BiddingStrategy</c> ID. Will not be <c>null</c>, unless this instance contains an unparsed resource
/// name.
/// </summary>
public string BiddingStrategyId { get; }
/// <summary>
/// The <c>Customer</c> ID. Will not be <c>null</c>, unless this instance contains an unparsed resource name.
/// </summary>
public string CustomerId { get; }
/// <summary>Whether this instance contains a resource name with a known pattern.</summary>
public bool IsKnownPattern => Type != ResourceNameType.Unparsed;
/// <summary>The string representation of the resource name.</summary>
/// <returns>The string representation of the resource name.</returns>
public override string ToString()
{
switch (Type)
{
case ResourceNameType.Unparsed: return UnparsedResource.ToString();
case ResourceNameType.CustomerBiddingStrategy: return s_customerBiddingStrategy.Expand(CustomerId, BiddingStrategyId);
default: throw new sys::InvalidOperationException("Unrecognized resource-type.");
}
}
/// <summary>Returns a hash code for this resource name.</summary>
public override int GetHashCode() => ToString().GetHashCode();
/// <inheritdoc/>
public override bool Equals(object obj) => Equals(obj as BiddingStrategyName);
/// <inheritdoc/>
public bool Equals(BiddingStrategyName other) => ToString() == other?.ToString();
/// <inheritdoc/>
public static bool operator ==(BiddingStrategyName a, BiddingStrategyName b) => ReferenceEquals(a, b) || (a?.Equals(b) ?? false);
/// <inheritdoc/>
public static bool operator !=(BiddingStrategyName a, BiddingStrategyName b) => !(a == b);
}
public partial class BiddingStrategy
{
/// <summary>
/// <see cref="gagvr::BiddingStrategyName"/>-typed view over the <see cref="ResourceName"/> resource name
/// property.
/// </summary>
internal gagvr::BiddingStrategyName ResourceNameAsBiddingStrategyName
{
get => string.IsNullOrEmpty(ResourceName) ? null : gagvr::BiddingStrategyName.Parse(ResourceName, allowUnparsed: true);
set => ResourceName = value?.ToString() ?? "";
}
/// <summary>
/// <see cref="gagvr::BiddingStrategyName"/>-typed view over the <see cref="Name"/> resource name property.
/// </summary>
internal gagvr::BiddingStrategyName BiddingStrategyName
{
get => string.IsNullOrEmpty(Name) ? null : gagvr::BiddingStrategyName.Parse(Name, allowUnparsed: true);
set => Name = value?.ToString() ?? "";
}
}
}
| {
"content_hash": "17a0630d8c18f598762cced2774d8789",
"timestamp": "",
"source": "github",
"line_count": 260,
"max_line_length": 323,
"avg_line_length": 55.31923076923077,
"alnum_prop": 0.6388792324271709,
"repo_name": "googleads/google-ads-dotnet",
"id": "039fddecbbd19cebb633773b5e5bba43bb9a8339",
"size": "15036",
"binary": false,
"copies": "1",
"ref": "refs/heads/main",
"path": "Google.Ads.GoogleAds/src/V11/BiddingStrategyResourceNames.g.cs",
"mode": "33261",
"license": "apache-2.0",
"language": [
{
"name": "ASP.NET",
"bytes": "1468"
},
{
"name": "C#",
"bytes": "97173437"
},
{
"name": "CSS",
"bytes": "705"
},
{
"name": "HTML",
"bytes": "5996"
},
{
"name": "JavaScript",
"bytes": "1543"
},
{
"name": "Shell",
"bytes": "20116"
}
],
"symlink_target": ""
} |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("RasterInspector")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Esri")]
[assembly: AssemblyProduct("RasterInspector")]
[assembly: AssemblyCopyright("Copyright © Esri 2017")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("b20227cc-705a-450b-9e92-2da9ee07f33d")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
| {
"content_hash": "c4949589de5c279576aefcec52a605da",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 84,
"avg_line_length": 38.13513513513514,
"alnum_prop": 0.7476966690290574,
"repo_name": "SoJourned/arcgis-pro-sdk-community-samples-1",
"id": "02535148f77a6415c28ba01059ac6e8a635b17ad",
"size": "1995",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "Raster/RasterInspector/Properties/AssemblyInfo.cs",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "C#",
"bytes": "4040148"
},
{
"name": "HTML",
"bytes": "330608"
},
{
"name": "Python",
"bytes": "2934"
},
{
"name": "Visual Basic",
"bytes": "37873"
},
{
"name": "XSLT",
"bytes": "11612"
}
],
"symlink_target": ""
} |
package com.accela.TestCases.reflectionSupport;
import com.accela.ReflectionSupport.FieldExtractor;
import java.lang.reflect.*;
import java.util.*;
import junit.framework.TestCase;
public class TestingObjectCleaner extends TestCase
{
private ObjectCleanerForTest oc;
@Override
protected void setUp() throws Exception
{
super.setUp();
oc = new ObjectCleanerForTest();
ClassAB.cleanSet();
}
@Override
protected void tearDown() throws Exception
{
super.tearDown();
oc = null;
ClassAB.cleanSet();
}
public void testObjectCleaner()
{
for (int i = 0; i < 3; i++)
{
oc.cleanCount=0;
innerTestObjectCleaner();
}
}
private void innerTestObjectCleaner()
{
// ================================
ClassAB.cleanSet();
ClassAB ab = new ClassAB();
ClassAB.addToSet(ab);
List<Object> result = oc.cleanObject(ab);
//System.out.println("checking return list valid");
assert (checkReturnListValid(result));
//System.out.println("check static and final fields");
int idx = 0;
for (Object element : result)
{
//System.out.println("checking idx: " + idx);
assert (element != null);
if (element.getClass() == ClassA.class)
{
assert (((ClassA) element).checkStaticAndFinalFields());
}
idx++;
}
List<Object> creationList = ClassAB.getAddedObjects();
//System.out.println(creationList.size());
//System.out.println(result.size());
assert (creationList.size() == result.size());
assert (oc.cleanCount == result.size());
assert (oc.cleanCount == creationList.size());
//System.out.println("checking lists equal");
idx = 0;
for (Object element : result)
{
//System.out.println("checking idx: " + idx);
boolean find = false;
for (Object finder : creationList)
{
if (finder == element)
{
find = true;
break;
}
}
assert (find);
idx++;
}
idx = 0;
for (Object element : creationList)
{
//System.out.println("checking idx: " + idx);
boolean find = false;
for (Object finder : result)
{
if (finder == element)
{
find = true;
break;
}
}
assert (find);
idx++;
}
}
private static boolean checkReturnListValid(List<Object> list)
{
if (null == list)
{
return false;
}
if (list.size() < 1)
{
return false;
}
int outerIdx = 0;
for (Object outer : list)
{
//System.out.println("checkingRet idx: " + outerIdx);
if (null == outer)
{
return false;
}
int innerIdx = 0;
for (Object inner : list)
{
if (innerIdx >= outerIdx)
{
break;
}
if (inner == outer)
{
return false;
}
innerIdx++;
}
if (!checkFields(outer))
{
return false;
}
outerIdx++;
}
return true;
}
private static boolean checkFields(Object object)
{
assert (object != null);
if (object.getClass().isArray())
{
Class<?> componentType = object.getClass().getComponentType();
assert (componentType != null);
if (!componentType.isPrimitive())
{
for (Object element : (Object[]) object)
{
if (element != null)
{
return false;
}
}
}
} else if (object.getClass().isEnum())
{
// do nothing
} else
{
if (object instanceof Collection)
{
if (((Collection<?>) object).size() != 0)
{
return false;
}
} else if (object instanceof Map)
{
if (((Map<?, ?>) object).size() != 0)
{
return false;
}
} else
{
FieldExtractor fieldExtractor = FieldExtractor
.getFieldExtractor();
List<Field[]> fieldList = fieldExtractor
.getSortedFieldsList(object.getClass());
for (Field[] fields : fieldList)
{
for (Field f : fields)
{
if (Modifier.isStatic(f.getModifiers()))
{
continue;
}
if (Modifier.isFinal(f.getModifiers()))
{
continue;
}
Class<?> fieldType = f.getType();
f.setAccessible(true);
if (fieldType.isPrimitive())
{
continue;
}
try
{
Object fieldVal = f.get(object);
if (fieldVal != null)
{
return false;
}
} catch (IllegalArgumentException ex)
{
ex.printStackTrace();
return false;
} catch (IllegalAccessException ex)
{
ex.printStackTrace();
return false;
}
}
}
FieldExtractor.disposeFieldExtractor(fieldExtractor);
}
}
return true;
}
/*public static void main(String[] args)
{
ClassE classE=new ClassE();
ClassF classF=new ClassF();
classE.setClassF(classF);
classF.setClassE(classE);
ObjectCleanerForTest oc=new ObjectCleanerForTest();
oc.cleanObject(classE);
System.out.println(oc.cleanCount);
}*/
}
| {
"content_hash": "892e3a1cc30092d3422344c45762312f",
"timestamp": "",
"source": "github",
"line_count": 267,
"max_line_length": 65,
"avg_line_length": 18.786516853932586,
"alnum_prop": 0.5590111642743222,
"repo_name": "accelazh/EngineV2",
"id": "2c1d0a735b75a0b5924b1134e65c5b152973b462",
"size": "5016",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "EngineV2_Branch/src/com/accela/TestCases/reflectionSupport/TestingObjectCleaner.java",
"mode": "33261",
"license": "mit",
"language": [
{
"name": "Java",
"bytes": "863162"
}
],
"symlink_target": ""
} |
package comparisons
import (
"github.com/zxh0/jvm.go/instructions/base"
"github.com/zxh0/jvm.go/rtda"
)
func NewIfEQ() *IfCmp { return &IfCmp{cmpFn: eq} }
func NewIfNE() *IfCmp { return &IfCmp{cmpFn: ne} }
func NewIfLT() *IfCmp { return &IfCmp{cmpFn: lt} }
func NewIfLE() *IfCmp { return &IfCmp{cmpFn: le} }
func NewIfGT() *IfCmp { return &IfCmp{cmpFn: gt} }
func NewIfGE() *IfCmp { return &IfCmp{cmpFn: ge} }
func NewIfICmpEQ() *IfCmp { return &IfCmp{cmpFn: ieq} }
func NewIfICmpNE() *IfCmp { return &IfCmp{cmpFn: ine} }
func NewIfICmpLT() *IfCmp { return &IfCmp{cmpFn: ilt} }
func NewIfICmpLE() *IfCmp { return &IfCmp{cmpFn: ile} }
func NewIfICmpGT() *IfCmp { return &IfCmp{cmpFn: igt} }
func NewIfICmpGE() *IfCmp { return &IfCmp{cmpFn: ige} }
func NewIfACmpEQ() *IfCmp { return &IfCmp{cmpFn: aeq} }
func NewIfACmpNE() *IfCmp { return &IfCmp{cmpFn: ane} }
// extended, put here for convenience
func NewIfNull() *IfCmp { return &IfCmp{cmpFn: null} }
func NewIfNonNull() *IfCmp { return &IfCmp{cmpFn: nonNull} }
func eq(frame *rtda.Frame) bool { return frame.PopInt() == 0 }
func ne(frame *rtda.Frame) bool { return frame.PopInt() != 0 }
func lt(frame *rtda.Frame) bool { return frame.PopInt() < 0 }
func le(frame *rtda.Frame) bool { return frame.PopInt() <= 0 }
func gt(frame *rtda.Frame) bool { return frame.PopInt() > 0 }
func ge(frame *rtda.Frame) bool { return frame.PopInt() >= 0 }
func ieq(frame *rtda.Frame) bool { return frame.PopInt() == frame.PopInt() }
func ine(frame *rtda.Frame) bool { return frame.PopInt() != frame.PopInt() }
func ilt(frame *rtda.Frame) bool { return frame.PopInt() > frame.PopInt() }
func ile(frame *rtda.Frame) bool { return frame.PopInt() >= frame.PopInt() }
func igt(frame *rtda.Frame) bool { return frame.PopInt() < frame.PopInt() }
func ige(frame *rtda.Frame) bool { return frame.PopInt() <= frame.PopInt() }
func aeq(frame *rtda.Frame) bool { return frame.PopRef() == frame.PopRef() }
func ane(frame *rtda.Frame) bool { return frame.PopRef() != frame.PopRef() }
func null(frame *rtda.Frame) bool { return frame.PopRef() == nil }
func nonNull(frame *rtda.Frame) bool { return frame.PopRef() != nil }
// Branch if int or reference comparison succeeds
type IfCmp struct {
base.BranchInstruction
cmpFn func(frame *rtda.Frame) bool
}
func (instr *IfCmp) Execute(frame *rtda.Frame) {
if instr.cmpFn(frame) {
base.Branch(frame, instr.Offset)
}
}
| {
"content_hash": "421db2b2cd242ad439bba25393d25e47",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 76,
"avg_line_length": 42.14035087719298,
"alnum_prop": 0.6906744379683597,
"repo_name": "zxh0/jvm.go",
"id": "20ec7c903e80693a2879f4dcecad461faef2e0cf",
"size": "2402",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "instructions/comparisons/if.go",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Go",
"bytes": "377005"
},
{
"name": "Java",
"bytes": "91487"
},
{
"name": "Shell",
"bytes": "440"
}
],
"symlink_target": ""
} |
{-# LANGUAGE NamedFieldPuns #-}
-- | This script runs all Harlan benchmarks. It is based on a Haskell
-- benchmarking framework called HSBencher. Its main advantage is
-- that it supports uploading of benchmark timings to a Google Fusion
-- Table.
-- Requires hsbencher >= 0.2
import Control.Monad
import Data.Maybe
import qualified Data.ByteString.Char8 as B
import System.Directory
import System.FilePath
import System.Exit
import System.Environment (getArgs)
import System.Process
import GHC.Conc (getNumProcessors)
import System.IO.Unsafe (unsafePerformIO)
import Debug.Trace
import Data.Monoid
import HSBencher
import HSBencher.Backend.Fusion (defaultFusionPlugin)
import HSBencher.Backend.Dribble (defaultDribblePlugin)
import HSBencher.Types
import HSBencher.Internal.Logging (log)
import HSBencher.Internal.MeasureProcess
import HSBencher.Internal.Utils (runLogged, defaultTimeout)
import Prelude hiding (log)
--------------------------------------------------------------------------------
main :: IO ()
main = defaultMainModifyConfig myconf
all_benchmarks :: [Benchmark DefaultParamMeaning]
all_benchmarks =
[ (mkBenchmark "Reduce/Makefile" [elems] defaultCfgSpc)
{ progname = Just "thrust-reduce" }
| elems <- [ show (2^n) | n <- [8..25] ] -- 256 to 32M
] ++
[ (mkBenchmark "Scan/Makefile" [elems] defaultCfgSpc)
{ progname = Just "thrust-scan" }
| elems <- [ show (2^n) | n <- [8..25] ] -- 256 to 32M
] ++
[ (mkBenchmark "Sort/Makefile" [elems] defaultCfgSpc)
{ progname = Just "thrust-sort" }
| elems <- [ show (2^n) | n <- [8..25] ]] -- 256 to 32M
-- | Default configuration space over which to vary settings:
-- This is a combination of And/Or boolean operations, with the ability
defaultCfgSpc = And []
-- | Here we have the option of changing the HSBencher config
myconf :: Config -> Config
myconf conf =
conf
{ benchlist = all_benchmarks
, plugIns = [ SomePlugin defaultFusionPlugin,
SomePlugin defaultDribblePlugin ]
, harvesters =
customTagHarvesterInt "ELEMENTS_PROCESSED" `mappend`
customTagHarvesterDouble "TRANSFER_TO_DEVICE" `mappend`
customTagHarvesterInt "BYTES_TO_DEVICE" `mappend`
customTagHarvesterInt "BYTES_FROM_DEVICE" `mappend`
harvesters conf
}
| {
"content_hash": "9acb599fb57f1473bad921ddfc2e1782",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 80,
"avg_line_length": 32.29577464788732,
"alnum_prop": 0.6960313999127781,
"repo_name": "svenssonjoel/ThrustBenchmarks",
"id": "7962e3ddd2b49014d6fc596db8dcd65a83ec64fa",
"size": "2315",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "run_benchmarks.hs",
"mode": "33188",
"license": "bsd-3-clause",
"language": [
{
"name": "Cuda",
"bytes": "4824"
},
{
"name": "Haskell",
"bytes": "2315"
},
{
"name": "Makefile",
"bytes": "323"
},
{
"name": "Shell",
"bytes": "1536"
}
],
"symlink_target": ""
} |






[](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F201-front-door-standard-premium-rule-set%2Fazuredeploy.json) [](http://armviz.io/#/?load=https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F201-front-door-standard-premium-rule-set%2Fazuredeploy.json)
[](http://armviz.io/#/?load=https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F201-front-door-standard-premium-rule-set%2Fazuredeploy.json)
This template deploys a Front Door Standard/Premium (Preview) with a rule set.
## Sample overview and deployed resources
This sample template creates a Front Door profile with a rule set. To keep the sample simple, Front Door is configured to direct traffic to an Azure Storage static website configured as an origin, but this could be [any origin supported by Front Door](https://docs.microsoft.com/azure/frontdoor/standard-premium/concept-origin).
The rule set is configured to identify any incoming requests that go to a path beginning with `/secure/`, and to redirect these requests to `https://microsoft.com` using an HTTP 307 temporary redirect. You can easily replace this rule with your own by reviewing the documentation about [rule set match conditions](https://docs.microsoft.com/azure/frontdoor/standard-premium/concept-rule-set-match-conditions) and [actions](https://docs.microsoft.com/azure/frontdoor/standard-premium/concept-rule-set-actions).
The following resources are deployed as part of the solution:
### Prerequisites
- Azure Storage with a static website, which acts as a simulated origin in this sample.
### Front Door Standard/Premium (Preview)
- Front Door profile, endpoint, origin group, origin, and route to direct traffic to the Azure Storage static website.
- Note that you can use either the standard or premium Front Door SKU for this sample. By default, the standard SKU is used.
- Front Door rule set with a single rule and the following configuration:
- Match condition:
- _If: request path begins with `secure/` (transform to lowercase)_
- Action:
- _Then: URL redirect (HTTP 307) to `https://microsoft.com`_
## Deployment steps
You can click the "deploy to Azure" button at the beginning of this document or follow the instructions for command line deployment using the scripts in the root of this repo.
## Usage
### Connect
Once you have deployed the Azure Resource Manager template, wait a few minutes before you attempt to access your Front Door endpoint to allow time for Front Door to propagate the settings throughout its network.
You can then access the Front Door endpoint. The hostname is emitted as an output from the deployment - the output is named `frontDoorEndpointHostName`. If you access the base hostname you should see a page saying _Welcome_. If you see a different error page, wait a few minutes and try again.
To test the rule set, try appending `/secure/123` to the URL. You should get redirected to the Microsoft website.
## Notes
- Front Door Standard/Premium is currently in preview.
- Front Door Standard/Premium is not currently available in the US Government regions.
| {
"content_hash": "5117fcc216fe25619676540a525f2743",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 687,
"avg_line_length": 87.64150943396227,
"alnum_prop": 0.7913885898815931,
"repo_name": "slapointe/azure-quickstart-templates",
"id": "354f14ab3282532d110a0802260b7fa7a5c112c1",
"size": "4700",
"binary": false,
"copies": "3",
"ref": "refs/heads/master",
"path": "201-front-door-standard-premium-rule-set/README.md",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Batchfile",
"bytes": "1561"
},
{
"name": "CSS",
"bytes": "11452"
},
{
"name": "Groovy",
"bytes": "394"
},
{
"name": "HTML",
"bytes": "2259"
},
{
"name": "JavaScript",
"bytes": "35720"
},
{
"name": "PHP",
"bytes": "645"
},
{
"name": "Perl",
"bytes": "19078"
},
{
"name": "PowerShell",
"bytes": "552285"
},
{
"name": "Python",
"bytes": "256107"
},
{
"name": "Shell",
"bytes": "992161"
},
{
"name": "XSLT",
"bytes": "4424"
}
],
"symlink_target": ""
} |
package io.github.droidkaigi.confsched.api;
import android.support.annotation.NonNull;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import java.util.List;
import javax.inject.Inject;
import javax.inject.Singleton;
import io.github.droidkaigi.confsched.model.Contributor;
import io.github.droidkaigi.confsched.model.Session;
import io.github.droidkaigi.confsched.model.SessionFeedback;
import io.github.droidkaigi.confsched.util.LocaleUtil;
import okhttp3.OkHttpClient;
import retrofit2.Response;
import retrofit2.Retrofit;
import retrofit2.adapter.rxjava.RxJavaCallAdapterFactory;
import retrofit2.converter.gson.GsonConverterFactory;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Path;
import rx.Observable;
@Singleton
public class DroidKaigiClient {
private static final String SESSIONS_API_ROUTES = "/konifar/droidkaigi2016/master/app/src/main/res/raw/";
private final DroidKaigiService service;
private final GoogleFormService googleFormService;
private final GithubService githubService;
@Inject
public DroidKaigiClient(OkHttpClient client) {
Retrofit feedburnerRetrofit = new Retrofit.Builder()
.client(client)
.baseUrl("https://raw.githubusercontent.com")
.addCallAdapterFactory(RxJavaCallAdapterFactory.create())
.addConverterFactory(GsonConverterFactory.create(createGson()))
.build();
service = feedburnerRetrofit.create(DroidKaigiService.class);
Retrofit googleFormRetrofit = new Retrofit.Builder()
.client(client)
.baseUrl("https://docs.google.com/forms/d/")
.addCallAdapterFactory(RxJavaCallAdapterFactory.create())
.addConverterFactory(GsonConverterFactory.create(createGson()))
.build();
googleFormService = googleFormRetrofit.create(GoogleFormService.class);
Retrofit githubRetrofit = new Retrofit.Builder()
.client(client)
.baseUrl("https://api.github.com")
.addCallAdapterFactory(RxJavaCallAdapterFactory.create())
.addConverterFactory(GsonConverterFactory.create(createGson()))
.build();
githubService = githubRetrofit.create(GithubService.class);
}
public static Gson createGson() {
return new GsonBuilder().setDateFormat("yyyy-MM-dd HH:mm:ss").create();
}
public Observable<List<Session>> getSessions(@NonNull String languageId) {
switch (languageId) {
case LocaleUtil.LANG_JA_ID:
return service.getSessionsJa();
case LocaleUtil.LANG_AR_ID:
return service.getSessionsAr();
case LocaleUtil.LANG_KO_ID:
return service.getSessionsKo();
case LocaleUtil.LANG_EN_ID:
return service.getSessionsEn();
default:
return service.getSessionsEn();
}
}
public Observable<Response<Void>> submitSessionFeedback(SessionFeedback f) {
return googleFormService.submitSessionFeedback(f.sessionId, f.sessionName, f.relevancy, f.asExpected, f.difficulty, f.knowledgeable, f.comment);
}
public Observable<List<Contributor>> getContributors() {
return githubService.getContributors("konifar", "droidkaigi2016");
}
public interface DroidKaigiService {
@GET(SESSIONS_API_ROUTES + "sessions_ja.json")
Observable<List<Session>> getSessionsJa();
@GET(SESSIONS_API_ROUTES + "sessions_en.json")
Observable<List<Session>> getSessionsEn();
@GET(SESSIONS_API_ROUTES + "sessions_ko.json")
Observable<List<Session>> getSessionsKo();
@GET(SESSIONS_API_ROUTES + "sessions_ar.json")
Observable<List<Session>> getSessionsAr();
}
public interface GoogleFormService {
@POST("1PrHh5PXH1NkBbDe7eFfOuu311X4LlyKF95TBYFFy6nw/formResponse")
@FormUrlEncoded
Observable<Response<Void>> submitSessionFeedback(
@Field("entry.36792886") int id,
@Field("entry.288043897") String name,
@Field("entry.1914381797") int relevancy,
@Field("entry.907172560") int asExpected,
@Field("entry.1839418272") int difficulty,
@Field("entry.675295234") int knowledgeable,
@Field("entry.1455307059") String comment
);
}
public interface GithubService {
@GET("/repos/{owner}/{repo}/contributors?per_page=100")
Observable<List<Contributor>> getContributors(@Path("owner") String owner, @Path("repo") String repo);
}
}
| {
"content_hash": "2b9dcba154175becd6d8bc0f212f3548",
"timestamp": "",
"source": "github",
"line_count": 126,
"max_line_length": 152,
"avg_line_length": 37.95238095238095,
"alnum_prop": 0.6741948975324132,
"repo_name": "shaunkawano/droidkaigi2016",
"id": "e9d3b2d097d872ccf293bc044ea4e34d680739c6",
"size": "4782",
"binary": false,
"copies": "5",
"ref": "refs/heads/master",
"path": "app/src/main/java/io/github/droidkaigi/confsched/api/DroidKaigiClient.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Java",
"bytes": "252112"
},
{
"name": "Shell",
"bytes": "572"
}
],
"symlink_target": ""
} |
package com.tribbloids.spookystuff.integration.join
import com.tribbloids.spookystuff.actions.Wget
import com.tribbloids.spookystuff.extractors.Col
/**
* Created by peng on 25/10/15.
*/
class InnerWgetJoinIT extends InnerVisitJoinIT {
override lazy val driverFactories = Seq(
null
)
override def getPage(uri: Col[String]) = Wget(uri)
}
| {
"content_hash": "49c4acd1097102049a9987a462ac0541",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 52,
"avg_line_length": 22.125,
"alnum_prop": 0.7570621468926554,
"repo_name": "tribbloid/spookystuff",
"id": "828b8cf07b21761633f4a599ec611de3d489d13f",
"size": "354",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "parent/integration/src/test/scala/com/tribbloids/spookystuff/integration/join/InnerWgetJoinIT.scala",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "HTML",
"bytes": "247067"
},
{
"name": "Java",
"bytes": "41120"
},
{
"name": "JavaScript",
"bytes": "154949"
},
{
"name": "Kotlin",
"bytes": "19326"
},
{
"name": "Python",
"bytes": "38856"
},
{
"name": "Scala",
"bytes": "1456793"
},
{
"name": "Shell",
"bytes": "5579"
}
],
"symlink_target": ""
} |
The MIT License (MIT)
Copyright (c) 2015 Elsewise LLC
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. | {
"content_hash": "26c6de619f8c1624b6daa7791cbc1c72",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 78,
"avg_line_length": 51.333333333333336,
"alnum_prop": 0.8042671614100185,
"repo_name": "mattblair/pdx-trees-django",
"id": "6c9fe988b61d20c4282a3b0cff18dde59580312d",
"size": "1147",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "README.md",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "162775"
},
{
"name": "HTML",
"bytes": "19273"
},
{
"name": "Python",
"bytes": "75257"
}
],
"symlink_target": ""
} |
To add a training session to the front page, fork this repository and create a
file in the [_posts](_posts/) subdirectory.
The file must be named `yyyy-mm-dd-abc.md`, where `yyyy-mm-dd` is the starting
date of the training, and `abc` is some slug for the name of the training.
For example, a training titled "Fast Track to Scala", starting on July 3,
2013, would be stored in a file named `2013-07-03-fast-track-to-scala.md`.
The content of the file describes data about the training, which will be used by
a generator and a template engine to render the training in HTML. Here is an
example that you can copy-and-paste.
```
---
title: Fast Track to Scala
description: Get up to speed in Scala in no time
link-out: http://typesafe.com/how/training/fasttracktoscala
where: London
when: 3 July 2013
trainers: Trond Bjerkestrand
organizer: Typesafe
---
```
And a small description of each field, in case it is not already obvious:
* `title`: short title of the training
* `description`: a longer description of the training. It does not appear on
the front page per se, but could be useful some day
* `link-out`: URL of the training website
* `where`: location of the training session
* `when`: date of the training, in the format shown above, i.e., dd Month yyyy
* `trainers`: name of the trainer(s)
* `organizer`: organizer of the training
When you are done, send us a pull request!
| {
"content_hash": "1a6a1d677bf6d21b7385570933e9ad2c",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 80,
"avg_line_length": 38.027027027027025,
"alnum_prop": 0.7377398720682303,
"repo_name": "jeantil/scala-lang",
"id": "527567d56f67d41467c01500808ee4df8b58da53",
"size": "1426",
"binary": false,
"copies": "5",
"ref": "refs/heads/master",
"path": "training/README.md",
"mode": "33188",
"license": "bsd-3-clause",
"language": [
{
"name": "CSS",
"bytes": "62011"
},
{
"name": "HTML",
"bytes": "45844"
},
{
"name": "JavaScript",
"bytes": "18162"
},
{
"name": "PHP",
"bytes": "289"
},
{
"name": "Ruby",
"bytes": "2477"
}
],
"symlink_target": ""
} |
/**
* SeqFeatData_het_type0.java
*
* This file was auto-generated from WSDL
* by the Apache Axis2 version: 1.6.2 Built on : Apr 17, 2012 (05:34:40 IST)
*/
package gov.nih.nlm.ncbi.www.soap.eutils.efetch_gene;
/**
* SeqFeatData_het_type0 bean class
*/
@SuppressWarnings({"unchecked","unused"})
public class SeqFeatData_het_type0
implements org.apache.axis2.databinding.ADBBean{
/* This type was generated from the piece of schema that had
name = SeqFeatData_het_type0
Namespace URI = http://www.ncbi.nlm.nih.gov/soap/eutils/efetch_gene
Namespace Prefix = ns1
*/
/**
* field for Heterogen
*/
protected java.lang.String localHeterogen ;
/**
* Auto generated getter method
* @return java.lang.String
*/
public java.lang.String getHeterogen(){
return localHeterogen;
}
/**
* Auto generated setter method
* @param param Heterogen
*/
public void setHeterogen(java.lang.String param){
this.localHeterogen=param;
}
/**
*
* @param parentQName
* @param factory
* @return org.apache.axiom.om.OMElement
*/
public org.apache.axiom.om.OMElement getOMElement (
final javax.xml.namespace.QName parentQName,
final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{
org.apache.axiom.om.OMDataSource dataSource =
new org.apache.axis2.databinding.ADBDataSource(this,parentQName);
return factory.createOMElement(dataSource,parentQName);
}
public void serialize(final javax.xml.namespace.QName parentQName,
javax.xml.stream.XMLStreamWriter xmlWriter)
throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{
serialize(parentQName,xmlWriter,false);
}
public void serialize(final javax.xml.namespace.QName parentQName,
javax.xml.stream.XMLStreamWriter xmlWriter,
boolean serializeType)
throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{
java.lang.String prefix = null;
java.lang.String namespace = null;
prefix = parentQName.getPrefix();
namespace = parentQName.getNamespaceURI();
writeStartElement(prefix, namespace, parentQName.getLocalPart(), xmlWriter);
if (serializeType){
java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://www.ncbi.nlm.nih.gov/soap/eutils/efetch_gene");
if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){
writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type",
namespacePrefix+":SeqFeatData_het_type0",
xmlWriter);
} else {
writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type",
"SeqFeatData_het_type0",
xmlWriter);
}
}
namespace = "http://www.ncbi.nlm.nih.gov/soap/eutils/efetch_gene";
writeStartElement(null, namespace, "Heterogen", xmlWriter);
if (localHeterogen==null){
// write the nil attribute
throw new org.apache.axis2.databinding.ADBException("Heterogen cannot be null!!");
}else{
xmlWriter.writeCharacters(localHeterogen);
}
xmlWriter.writeEndElement();
xmlWriter.writeEndElement();
}
private static java.lang.String generatePrefix(java.lang.String namespace) {
if(namespace.equals("http://www.ncbi.nlm.nih.gov/soap/eutils/efetch_gene")){
return "ns1";
}
return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
}
/**
* Utility method to write an element start tag.
*/
private void writeStartElement(java.lang.String prefix, java.lang.String namespace, java.lang.String localPart,
javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException {
java.lang.String writerPrefix = xmlWriter.getPrefix(namespace);
if (writerPrefix != null) {
xmlWriter.writeStartElement(namespace, localPart);
} else {
if (namespace.length() == 0) {
prefix = "";
} else if (prefix == null) {
prefix = generatePrefix(namespace);
}
xmlWriter.writeStartElement(prefix, localPart, namespace);
xmlWriter.writeNamespace(prefix, namespace);
xmlWriter.setPrefix(prefix, namespace);
}
}
/**
* Util method to write an attribute with the ns prefix
*/
private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,
java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{
if (xmlWriter.getPrefix(namespace) == null) {
xmlWriter.writeNamespace(prefix, namespace);
xmlWriter.setPrefix(prefix, namespace);
}
xmlWriter.writeAttribute(namespace,attName,attValue);
}
/**
* Util method to write an attribute without the ns prefix
*/
private void writeAttribute(java.lang.String namespace,java.lang.String attName,
java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{
if (namespace.equals("")) {
xmlWriter.writeAttribute(attName,attValue);
} else {
registerPrefix(xmlWriter, namespace);
xmlWriter.writeAttribute(namespace,attName,attValue);
}
}
/**
* Util method to write an attribute without the ns prefix
*/
private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName,
javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException {
java.lang.String attributeNamespace = qname.getNamespaceURI();
java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace);
if (attributePrefix == null) {
attributePrefix = registerPrefix(xmlWriter, attributeNamespace);
}
java.lang.String attributeValue;
if (attributePrefix.trim().length() > 0) {
attributeValue = attributePrefix + ":" + qname.getLocalPart();
} else {
attributeValue = qname.getLocalPart();
}
if (namespace.equals("")) {
xmlWriter.writeAttribute(attName, attributeValue);
} else {
registerPrefix(xmlWriter, namespace);
xmlWriter.writeAttribute(namespace, attName, attributeValue);
}
}
/**
* method to handle Qnames
*/
private void writeQName(javax.xml.namespace.QName qname,
javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException {
java.lang.String namespaceURI = qname.getNamespaceURI();
if (namespaceURI != null) {
java.lang.String prefix = xmlWriter.getPrefix(namespaceURI);
if (prefix == null) {
prefix = generatePrefix(namespaceURI);
xmlWriter.writeNamespace(prefix, namespaceURI);
xmlWriter.setPrefix(prefix,namespaceURI);
}
if (prefix.trim().length() > 0){
xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname));
} else {
// i.e this is the default namespace
xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname));
}
} else {
xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname));
}
}
private void writeQNames(javax.xml.namespace.QName[] qnames,
javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException {
if (qnames != null) {
// we have to store this data until last moment since it is not possible to write any
// namespace data after writing the charactor data
java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer();
java.lang.String namespaceURI = null;
java.lang.String prefix = null;
for (int i = 0; i < qnames.length; i++) {
if (i > 0) {
stringToWrite.append(" ");
}
namespaceURI = qnames[i].getNamespaceURI();
if (namespaceURI != null) {
prefix = xmlWriter.getPrefix(namespaceURI);
if ((prefix == null) || (prefix.length() == 0)) {
prefix = generatePrefix(namespaceURI);
xmlWriter.writeNamespace(prefix, namespaceURI);
xmlWriter.setPrefix(prefix,namespaceURI);
}
if (prefix.trim().length() > 0){
stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i]));
} else {
stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i]));
}
} else {
stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i]));
}
}
xmlWriter.writeCharacters(stringToWrite.toString());
}
}
/**
* Register a namespace prefix
*/
private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException {
java.lang.String prefix = xmlWriter.getPrefix(namespace);
if (prefix == null) {
prefix = generatePrefix(namespace);
javax.xml.namespace.NamespaceContext nsContext = xmlWriter.getNamespaceContext();
while (true) {
java.lang.String uri = nsContext.getNamespaceURI(prefix);
if (uri == null || uri.length() == 0) {
break;
}
prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
}
xmlWriter.writeNamespace(prefix, namespace);
xmlWriter.setPrefix(prefix, namespace);
}
return prefix;
}
/**
* databinding method to get an XML representation of this object
*
*/
public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName)
throws org.apache.axis2.databinding.ADBException{
java.util.ArrayList elementList = new java.util.ArrayList();
java.util.ArrayList attribList = new java.util.ArrayList();
elementList.add(new javax.xml.namespace.QName("http://www.ncbi.nlm.nih.gov/soap/eutils/efetch_gene",
"Heterogen"));
if (localHeterogen != null){
elementList.add(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localHeterogen));
} else {
throw new org.apache.axis2.databinding.ADBException("Heterogen cannot be null!!");
}
return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(qName, elementList.toArray(), attribList.toArray());
}
/**
* Factory class that keeps the parse method
*/
public static class Factory{
/**
* static method to create the object
* Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable
* If this object is not an element, it is a complex type and the reader is at the event just after the outer start element
* Postcondition: If this object is an element, the reader is positioned at its end element
* If this object is a complex type, the reader is positioned at the end element of its outer element
*/
public static SeqFeatData_het_type0 parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{
SeqFeatData_het_type0 object =
new SeqFeatData_het_type0();
int event;
java.lang.String nillableValue = null;
java.lang.String prefix ="";
java.lang.String namespaceuri ="";
try {
while (!reader.isStartElement() && !reader.isEndElement())
reader.next();
if (reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","type")!=null){
java.lang.String fullTypeName = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance",
"type");
if (fullTypeName!=null){
java.lang.String nsPrefix = null;
if (fullTypeName.indexOf(":") > -1){
nsPrefix = fullTypeName.substring(0,fullTypeName.indexOf(":"));
}
nsPrefix = nsPrefix==null?"":nsPrefix;
java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(":")+1);
if (!"SeqFeatData_het_type0".equals(type)){
//find namespace for the prefix
java.lang.String nsUri = reader.getNamespaceContext().getNamespaceURI(nsPrefix);
return (SeqFeatData_het_type0)gov.nih.nlm.ncbi.www.soap.eutils.efetch_gene.ExtensionMapper.getTypeObject(
nsUri,type,reader);
}
}
}
// Note all attributes that were handled. Used to differ normal attributes
// from anyAttributes.
java.util.Vector handledAttributes = new java.util.Vector();
reader.next();
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.ncbi.nlm.nih.gov/soap/eutils/efetch_gene","Heterogen").equals(reader.getName())){
nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","nil");
if ("true".equals(nillableValue) || "1".equals(nillableValue)){
throw new org.apache.axis2.databinding.ADBException("The element: "+"Heterogen" +" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setHeterogen(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content));
reader.next();
} // End of if for expected property start element
else{
// A start element we are not expecting indicates an invalid parameter was passed
throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName());
}
while (!reader.isStartElement() && !reader.isEndElement())
reader.next();
if (reader.isStartElement())
// A start element we are not expecting indicates a trailing invalid property
throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName());
} catch (javax.xml.stream.XMLStreamException e) {
throw new java.lang.Exception(e);
}
return object;
}
}//end of factory class
}
| {
"content_hash": "247e7f3e690862cebca4eb0fa2145823",
"timestamp": "",
"source": "github",
"line_count": 451,
"max_line_length": 190,
"avg_line_length": 44.50332594235033,
"alnum_prop": 0.4814907079866474,
"repo_name": "milot-mirdita/GeMuDB",
"id": "d72481ec55dacf987d71e9e7295f1eaa7478cad5",
"size": "20071",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "Vendor/NCBI eutils/src/gov/nih/nlm/ncbi/www/soap/eutils/efetch_gene/SeqFeatData_het_type0.java",
"mode": "33188",
"license": "bsd-2-clause",
"language": [
{
"name": "CSS",
"bytes": "123127"
},
{
"name": "Java",
"bytes": "38136748"
},
{
"name": "JavaScript",
"bytes": "39759"
},
{
"name": "Perl",
"bytes": "534"
},
{
"name": "Shell",
"bytes": "22348"
}
],
"symlink_target": ""
} |
'use strict';
var _ = require('underscore');
var mapper = require('../mapper');
var logger = require('../logger');
var DICTIONARY = {
'admin_id': 'id',
'admin_user_name': 'username',
'admin_email': 'email',
'admin_first_name': 'firstName',
'admin_middle_name': 'middleName',
'admin_last_name': 'lastName',
'admin_telephone': 'telephone',
'admin_is_root': 'isRoot'
};
//var WHITELIST = [];
var executor = null;
module.exports.init = function(realExecutor) {
executor = realExecutor;
return module.exports;
};
module.exports.getAll = function(callback) {
executor.execute(function(err, connection) {
if(err) {
callback(err);
} else {
var sql = 'SELECT admin_info.* ' +
'FROM admin_info ' +
'WHERE admin_account_status = 1';
connection.query(sql, function(err, admins) {
logger.logQuery('admin_getAll:', this.sql);
callback(err, mapper.mapCollection(admins, DICTIONARY));
});
}
});
};
module.exports.get = function(id, callback) {
executor.execute(function(err, connection) {
if(err) {
callback(err);
} else {
var sql = 'SELECT admin_info.* ' +
'FROM admin_info ' +
'WHERE admin_id = ? AND admin_account_status = 1';
connection.query(sql, [id], function(err, admins) {
logger.logQuery('admin_get:', this.sql);
var admin = mapper.map(admins[0], DICTIONARY);
if(admins.length > 0) {
admin.isAdmin = !_.isEmpty(admin); // For hasAuth Checks
}
callback(err, admin);
});
}
});
};
module.exports.create = function(admin, callback) {
executor.execute(function(err, connection) {
if(err) {
callback(err);
} else {
var sql = 'INSERT INTO admin_info ' +
'(admin_user_name, admin_password, admin_email, admin_first_name, admin_middle_name, admin_last_name, ' +
'admin_telephone, admin_is_root, admin_account_status) ' +
'VALUES (LCASE(?), SHA1(?), LCASE(?), ?, ?, ?, ?, ?, TRUE)';
var params = [admin.username, admin.password, admin.email, admin.firstName,
admin.middleName, admin.lastName, admin.telephone, admin.isRoot];
connection.query(sql, params, function(err, insertStatus) {
logger.logQuery('admin_create:', this.sql);
if(err) {
callback(err);
} else {
admin.id = insertStatus.insertId;
callback(null, admin);
}
});
}
});
};
module.exports.update = function(admin, callback) {
executor.execute(function(err, connection) {
if(err) {
callback(err);
} else {
var sql, params;
if(admin.password) {
sql = 'UPDATE admin_info ' +
'SET admin_password = SHA1(?), admin_email = LCASE(?), admin_first_name = ?, ' +
'admin_middle_name = ?, admin_last_name = ?, admin_telephone = ?, admin_is_root = ? ' +
'WHERE admin_id = ?';
params = [admin.password, admin.email, admin.firstName, admin.middleName,
admin.lastName, admin.telephone, admin.isRoot, admin.id];
} else {
sql = 'UPDATE admin_info ' +
'SET admin_email = LCASE(?), admin_first_name = ?, ' +
'admin_middle_name = ?, admin_last_name = ?, admin_telephone = ?, admin_is_root = ? ' +
'WHERE admin_id = ?';
params = [admin.email, admin.firstName, admin.middleName,
admin.lastName, admin.telephone, admin.isRoot, admin.id];
}
connection.query(sql, params, function(err) {
logger.logQuery('admin_update:', this.sql);
callback(err, admin);
});
}
});
};
module.exports.remove = function(id, callback) {
executor.execute(function(err, connection) {
if(err) {
callback(err);
} else {
var sql = 'UPDATE admin_info ' +
'SET admin_account_status = 0 ' +
'WHERE admin_id = ?';
connection.query(sql, [id], function(err) {
logger.logQuery('admin_remove', this.sql);
callback(err, id);
});
}
});
};
module.exports.authenticate = function(username, password, callback) {
executor.execute(function(err, connection) {
if(err) {
callback(err);
} else {
var sql = 'SELECT admin_id, admin_user_name, admin_is_root ' +
'FROM admin_info ' +
'WHERE admin_user_name = LCASE(?) AND admin_password = SHA1(?) AND admin_account_status = 1';
connection.query(sql, [username, password], function(err, admins) {
logger.logQuery('admin_authenticate:', this.sql);
var admin = mapper.map(admins[0], DICTIONARY);
if(admins.length > 0) {
admin.isAdmin = !_.isEmpty(admin); // For hasAuth Checks
}
callback(err, admin);
});
}
});
};
module.exports.isAdmin = function(admin) {
return admin.hasOwnProperty('isAdmin') && admin.isAdmin;
};
| {
"content_hash": "246577e9030193a9691a588b1f916d5e",
"timestamp": "",
"source": "github",
"line_count": 153,
"max_line_length": 115,
"avg_line_length": 31.9281045751634,
"alnum_prop": 0.58014329580348,
"repo_name": "vjames19/eMarket",
"id": "3036702f74c6864e1f4dee56fdee87ee89a0359d",
"size": "4885",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "app/models/admin.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "4017"
},
{
"name": "Java",
"bytes": "825"
},
{
"name": "JavaScript",
"bytes": "409902"
}
],
"symlink_target": ""
} |
package org.apache.phoenix.schema;
import static org.apache.phoenix.exception.SQLExceptionCode.CANNOT_ALTER_PROPERTY;
import static org.apache.phoenix.exception.SQLExceptionCode.COLUMN_FAMILY_NOT_ALLOWED_FOR_TTL;
import static org.apache.phoenix.exception.SQLExceptionCode.COLUMN_FAMILY_NOT_ALLOWED_TABLE_PROPERTY;
import static org.apache.phoenix.exception.SQLExceptionCode.DEFAULT_COLUMN_FAMILY_ONLY_ON_CREATE_TABLE;
import static org.apache.phoenix.exception.SQLExceptionCode.SALT_ONLY_ON_CREATE_TABLE;
import static org.apache.phoenix.exception.SQLExceptionCode.VIEW_WITH_PROPERTIES;
import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.DEFAULT_COLUMN_FAMILY_NAME;
import java.sql.SQLException;
import java.util.Map;
import org.apache.hadoop.hbase.HColumnDescriptor;
import org.apache.phoenix.exception.SQLExceptionCode;
import org.apache.phoenix.exception.SQLExceptionInfo;
import org.apache.phoenix.jdbc.PhoenixDatabaseMetaData;
import org.apache.phoenix.schema.PTable.ImmutableStorageScheme;
import org.apache.phoenix.util.SchemaUtil;
public enum TableProperty {
@Deprecated // use the IMMUTABLE keyword while creating the table
IMMUTABLE_ROWS(PhoenixDatabaseMetaData.IMMUTABLE_ROWS, true, true, false) {
@Override
public Object getPTableValue(PTable table) {
return table.isImmutableRows();
}
},
MULTI_TENANT(PhoenixDatabaseMetaData.MULTI_TENANT, true, false, false) {
@Override
public Object getPTableValue(PTable table) {
return table.isMultiTenant();
}
},
DISABLE_WAL(PhoenixDatabaseMetaData.DISABLE_WAL, true, false, false) {
@Override
public Object getPTableValue(PTable table) {
return table.isWALDisabled();
}
},
SALT_BUCKETS(PhoenixDatabaseMetaData.SALT_BUCKETS, COLUMN_FAMILY_NOT_ALLOWED_TABLE_PROPERTY, false, SALT_ONLY_ON_CREATE_TABLE, false, false) {
@Override
public Object getPTableValue(PTable table) {
return table.getBucketNum();
}
},
DEFAULT_COLUMN_FAMILY(DEFAULT_COLUMN_FAMILY_NAME, COLUMN_FAMILY_NOT_ALLOWED_TABLE_PROPERTY, false, DEFAULT_COLUMN_FAMILY_ONLY_ON_CREATE_TABLE, false, false) {
@Override
public Object getPTableValue(PTable table) {
return table.getDefaultFamilyName();
}
},
TTL(HColumnDescriptor.TTL, COLUMN_FAMILY_NOT_ALLOWED_FOR_TTL, true, CANNOT_ALTER_PROPERTY, false, false) {
@Override
public Object getPTableValue(PTable table) {
return null;
}
},
STORE_NULLS(PhoenixDatabaseMetaData.STORE_NULLS, COLUMN_FAMILY_NOT_ALLOWED_TABLE_PROPERTY, true, false, false) {
@Override
public Object getPTableValue(PTable table) {
return table.getStoreNulls();
}
},
TRANSACTIONAL(PhoenixDatabaseMetaData.TRANSACTIONAL, COLUMN_FAMILY_NOT_ALLOWED_TABLE_PROPERTY, true, false, false) {
@Override
public Object getPTableValue(PTable table) {
return table.isTransactional();
}
},
UPDATE_CACHE_FREQUENCY(PhoenixDatabaseMetaData.UPDATE_CACHE_FREQUENCY, true, true, true) {
@Override
public Object getValue(Object value) {
if (value instanceof String) {
String strValue = (String) value;
if ("ALWAYS".equalsIgnoreCase(strValue)) {
return 0L;
} else if ("NEVER".equalsIgnoreCase(strValue)) {
return Long.MAX_VALUE;
}
} else {
return value == null ? null : ((Number) value).longValue();
}
return value;
}
@Override
public Object getPTableValue(PTable table) {
return table.getUpdateCacheFrequency();
}
},
AUTO_PARTITION_SEQ(PhoenixDatabaseMetaData.AUTO_PARTITION_SEQ, COLUMN_FAMILY_NOT_ALLOWED_TABLE_PROPERTY, false, false, false) {
@Override
public Object getValue(Object value) {
return value == null ? null : SchemaUtil.normalizeIdentifier(value.toString());
}
@Override
public Object getPTableValue(PTable table) {
return table.getAutoPartitionSeqName();
}
},
APPEND_ONLY_SCHEMA(PhoenixDatabaseMetaData.APPEND_ONLY_SCHEMA, COLUMN_FAMILY_NOT_ALLOWED_TABLE_PROPERTY, true, true, false) {
@Override
public Object getPTableValue(PTable table) {
return table.isAppendOnlySchema();
}
},
GUIDE_POSTS_WIDTH(PhoenixDatabaseMetaData.GUIDE_POSTS_WIDTH, true, false, false) {
@Override
public Object getValue(Object value) {
return value == null ? null : ((Number) value).longValue();
}
@Override
public Object getPTableValue(PTable table) {
return null;
}
},
COLUMN_ENCODED_BYTES(PhoenixDatabaseMetaData.ENCODING_SCHEME, COLUMN_FAMILY_NOT_ALLOWED_TABLE_PROPERTY, false, false, false) {
@Override
public Object getValue(Object value) {
if (value instanceof String) {
String strValue = (String) value;
if ("NONE".equalsIgnoreCase(strValue)) {
return (byte)0;
}
} else {
return value == null ? null : ((Number) value).byteValue();
}
return value;
}
@Override
public Object getPTableValue(PTable table) {
return table.getEncodingScheme();
}
},
IMMUTABLE_STORAGE_SCHEME(PhoenixDatabaseMetaData.IMMUTABLE_STORAGE_SCHEME, COLUMN_FAMILY_NOT_ALLOWED_TABLE_PROPERTY, true, false, false) {
@Override
public ImmutableStorageScheme getValue(Object value) {
if (value == null) {
return null;
} else if (value instanceof String) {
String strValue = (String) value;
return ImmutableStorageScheme.valueOf(strValue.toUpperCase());
} else {
throw new IllegalArgumentException("Immutable storage scheme table property must be a string");
}
}
@Override
public Object getPTableValue(PTable table) {
return table.getImmutableStorageScheme();
}
},
USE_STATS_FOR_PARALLELIZATION(PhoenixDatabaseMetaData.USE_STATS_FOR_PARALLELIZATION, true, true, true) {
@Override
public Object getValue(Object value) {
if (value == null) {
return null;
} else if (value instanceof Boolean) {
return value;
} else {
throw new IllegalArgumentException("Use stats for parallelization property can only be either true or false");
}
}
@Override
public Object getPTableValue(PTable table) {
return table.useStatsForParallelization();
}
}
;
private final String propertyName;
private final SQLExceptionCode colFamSpecifiedException;
private final boolean isMutable; // whether or not a property can be changed through statements like ALTER TABLE.
private final SQLExceptionCode mutatingImmutablePropException;
private final boolean isValidOnView;
private final boolean isMutableOnView;
private TableProperty(String propertyName, boolean isMutable, boolean isValidOnView, boolean isMutableOnView) {
this(propertyName, COLUMN_FAMILY_NOT_ALLOWED_TABLE_PROPERTY, isMutable, CANNOT_ALTER_PROPERTY, isValidOnView, isMutableOnView);
}
private TableProperty(String propertyName, SQLExceptionCode colFamilySpecifiedException, boolean isMutable, boolean isValidOnView, boolean isMutableOnView) {
this(propertyName, colFamilySpecifiedException, isMutable, CANNOT_ALTER_PROPERTY, isValidOnView, isMutableOnView);
}
private TableProperty(String propertyName, boolean isMutable, boolean isValidOnView, boolean isMutableOnView, SQLExceptionCode isMutatingException) {
this(propertyName, COLUMN_FAMILY_NOT_ALLOWED_TABLE_PROPERTY, isMutable, isMutatingException, isValidOnView, isMutableOnView);
}
private TableProperty(String propertyName, SQLExceptionCode colFamSpecifiedException, boolean isMutable, SQLExceptionCode mutatingException, boolean isValidOnView, boolean isMutableOnView) {
this.propertyName = propertyName;
this.colFamSpecifiedException = colFamSpecifiedException;
this.isMutable = isMutable;
this.mutatingImmutablePropException = mutatingException;
this.isValidOnView = isValidOnView;
this.isMutableOnView = isMutableOnView;
}
public static boolean isPhoenixTableProperty(String property) {
try {
TableProperty.valueOf(property);
} catch (IllegalArgumentException e) {
return false;
}
return true;
}
public Object getValue(Object value) {
return value;
}
public Object getValue(Map<String, Object> props) {
return getValue(props.get(this.toString()));
}
// isQualified is true if column family name is specified in property name
public void validate(boolean isMutating, boolean isQualified, PTableType tableType) throws SQLException {
checkForColumnFamily(isQualified);
checkIfApplicableForView(tableType);
checkForMutability(isMutating,tableType);
}
private void checkForColumnFamily(boolean isQualified) throws SQLException {
if (isQualified) {
throw new SQLExceptionInfo.Builder(colFamSpecifiedException).setMessage(". Property: " + propertyName).build().buildException();
}
}
private void checkForMutability(boolean isMutating, PTableType tableType) throws SQLException {
if (isMutating && !isMutable) {
throw new SQLExceptionInfo.Builder(mutatingImmutablePropException).setMessage(". Property: " + propertyName).build().buildException();
}
if (isMutating && tableType == PTableType.VIEW && !isMutableOnView) {
throw new SQLExceptionInfo.Builder(SQLExceptionCode.CANNOT_ALTER_TABLE_PROPERTY_ON_VIEW).setMessage(". Property: " + propertyName).build().buildException();
}
}
private void checkIfApplicableForView(PTableType tableType)
throws SQLException {
if (tableType == PTableType.VIEW && !isValidOnView) {
throw new SQLExceptionInfo.Builder(
VIEW_WITH_PROPERTIES).setMessage("Property: " + propertyName).build().buildException();
}
}
public String getPropertyName() {
return propertyName;
}
public boolean isValidOnView() {
return isValidOnView;
}
public boolean isMutable() {
return isMutable;
}
public boolean isMutableOnView() {
return isMutableOnView;
}
abstract public Object getPTableValue(PTable table);
}
| {
"content_hash": "c583aac37d23cc352559dba127133d12",
"timestamp": "",
"source": "github",
"line_count": 287,
"max_line_length": 191,
"avg_line_length": 36.961672473867594,
"alnum_prop": 0.6907993966817496,
"repo_name": "jfernandosf/phoenix",
"id": "c500b2e8532414af787a568f55517733786ef170",
"size": "11409",
"binary": false,
"copies": "3",
"ref": "refs/heads/master",
"path": "phoenix-core/src/main/java/org/apache/phoenix/schema/TableProperty.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "GAP",
"bytes": "47077"
},
{
"name": "HTML",
"bytes": "18969"
},
{
"name": "Java",
"bytes": "13652583"
},
{
"name": "JavaScript",
"bytes": "217433"
},
{
"name": "Protocol Buffer",
"bytes": "16373"
},
{
"name": "Python",
"bytes": "84014"
},
{
"name": "Scala",
"bytes": "61548"
},
{
"name": "Shell",
"bytes": "63397"
}
],
"symlink_target": ""
} |
<?php
/**
* The main template file for display fullscreen vimeo video
*
* @package WordPress
*/
$portfolio_video_id = get_post_meta($post->ID, 'portfolio_video_id', true);
//important to apply dynamic header & footer style
global $pp_homepage_style;
$pp_homepage_style = 'fullscreen_video';
get_header();
?>
<div id="youtube_bg">
<iframe src="//www.youtube.com/embed/<?php echo esc_attr($portfolio_video_id); ?>?autoplay=1&hd=1&rel=0&showinfo=0&wmode=opaque" frameborder="0" allowfullscreen></iframe>
</div>
<?php
get_footer();
?> | {
"content_hash": "938fefebdd62b37363a580769a8e3401",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 171,
"avg_line_length": 23.52173913043478,
"alnum_prop": 0.6950092421441775,
"repo_name": "rsantellan/wordpress-ecommerce",
"id": "92f15bf92c0e8b853fdaa2845a6b3cf9cd137c6e",
"size": "541",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "wp-content/themes/photome/single-portfolio-youtube.php",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "ApacheConf",
"bytes": "584"
},
{
"name": "CSS",
"bytes": "3423354"
},
{
"name": "HTML",
"bytes": "137796"
},
{
"name": "JavaScript",
"bytes": "5887694"
},
{
"name": "PHP",
"bytes": "25008111"
},
{
"name": "Smarty",
"bytes": "33"
}
],
"symlink_target": ""
} |
package net.npg.abattle.client.view.screens;
import net.npg.abattle.client.view.screens.Icons;
import net.npg.abattle.client.view.screens.Screens;
import net.npg.abattle.client.view.screens.WinLooseScreen;
@SuppressWarnings("all")
public class LooseScreen extends WinLooseScreen {
@Override
public void create() {
this.create(Icons.Loose);
}
@Override
public Screens getType() {
return Screens.Loose;
}
}
| {
"content_hash": "21aa1a442af2d5f63b056ded792bcd30",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 58,
"avg_line_length": 24.88888888888889,
"alnum_prop": 0.7209821428571429,
"repo_name": "CymricNPG/abattle",
"id": "293c1f2d1e0548cc4fd07ff6982489deb0b0daae",
"size": "448",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "ABattle.Client/xtend-gen/net/npg/abattle/client/view/screens/LooseScreen.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "HTML",
"bytes": "8021"
},
{
"name": "Java",
"bytes": "924001"
},
{
"name": "Xtend",
"bytes": "262124"
}
],
"symlink_target": ""
} |
/*Program to download the mails from mail servers and then to store
them in tdb store using rdf model*/
//import all the classes needed
/* The MIT License (MIT)
Copyright (c) IIIT-DELHI
authors:
HEMANT JAIN "hjcooljohny75@gmail.com"
ANIRUDH NAIN
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*
*/
import java.io.*;
import java.util.*;
import javax.mail.*;
import javax.mail.Flags.Flag;
import javax.mail.internet.*;
import com.sun.mail.imap.IMAPFolder;
import com.sun.mail.imap.IMAPMessage;
import static com.hp.hpl.jena.query.ReadWrite.READ ;
import static com.hp.hpl.jena.query.ReadWrite.WRITE ;
import com.hp.hpl.jena.query.ReadWrite ;
import com.hp.hpl.jena.query.Dataset ;
import com.hp.hpl.jena.query.Query ;
import com.hp.hpl.jena.query.QueryExecution ;
import com.hp.hpl.jena.query.QueryExecutionFactory ;
import com.hp.hpl.jena.query.QueryFactory ;
import com.hp.hpl.jena.query.QuerySolution ;
import com.hp.hpl.jena.query.ResultSet ;
import com.hp.hpl.jena.tdb.TDBFactory ;
import email.*; // import this to add properties as entities of email
import com.hp.hpl.jena.rdf.model.Model;
import com.hp.hpl.jena.rdf.model.*;
import com.hp.hpl.jena.vocabulary.*;
import com.hp.hpl.jena.datatypes.RDFDatatype;
import com.hp.hpl.jena.datatypes.xsd.XSDDatatype;
import com.hp.hpl.jena.rdf.model.Literal;
import com.hp.hpl.jena.rdf.model.Model;
import com.hp.hpl.jena.rdf.model.ModelFactory;
import com.hp.hpl.jena.rdf.model.Property;
import com.hp.hpl.jena.rdf.model.Resource;
import com.hp.hpl.jena.rdf.model.ResourceFactory;
public class test3 {
//method to get contents of multipart email
private static String getText(Part p) throws MessagingException, IOException {
if (p.isMimeType("multipart/alternative")) {
// prefer html text over plain text
Multipart mp = (Multipart)p.getContent();
String text = null;
for (int i = 0; i < mp.getCount(); i++) {
Part bp = mp.getBodyPart(i);
if (bp.isMimeType("text/plain")) {
if (text == null)
text = getText(bp);
continue;
} else if (bp.isMimeType("text/html")) {
String s = getText(bp);
if (s != null)
return s;
} else {
return getText(bp);
}
}
return text;
} else if (p.isMimeType("multipart/*")) {
Multipart mp = (Multipart)p.getContent();
for (int i = 0; i < mp.getCount(); i++) {
String s = getText(mp.getBodyPart(i));
if (s != null)
return s;
}
}
else
{ return p.getContent().toString();}
return null;
}
public static void main(String[] arg) throws MessagingException, IOException {
String[] credentials=new String[3];int k=0;
for (String s: arg) {
System.out.println(s);
System.out.println("hsdfsdf");
credentials[k]=s;k++;
if(k==3)
break;
}
IMAPFolder folder = null;
Store store = null;
String subjec = "nosubject";
Flag flag = null;
String dat="x",encod="x",senderaddr="x",receiveraddr="x",cont="x";
//Directory where the tdb files will be stored
File EMAILADDRESS = new File("new folder");
long lastuid=0;
long lastvalidity=606896160;
// if the directory does not exist, create it
if (!EMAILADDRESS.exists()) {
System.out.println("creating directory: " + EMAILADDRESS);
boolean result = EMAILADDRESS.mkdir();
if(result) {
System.out.println("DIR created");
}
}
String directory = "EMAILADDRESS" ;
//create the dataset for the tdb store
Dataset ds = TDBFactory.createDataset(directory) ;
//create default rdf model
Model model = ds.getDefaultModel() ;
//write to the tdb dataset
ds.begin(ReadWrite.WRITE);
try
{ //connecting to the server to download the emails
Properties props = System.getProperties();
props.setProperty("mail.store.protocol", "imaps");
Session session = Session.getDefaultInstance(props, null);
store = session.getStore("imaps");
store.connect("imap.gmail.com",credentials[0], credentials[1]);
//folder = (IMAPFolder) store.getFolder("[Gmail]/Spam"); // This doesn't work for other email account
//to select the paticular types of mails
String foldername=credentials[2];
folder = (IMAPFolder) store.getFolder(foldername);// This works for both email account
/* Others GMail folders :
* [Gmail]/All Mail This folder contains all of your Gmail messages.
* [Gmail]/Drafts Your drafts.
* [Gmail]/Sent Mail Messages you sent to other people.
* [Gmail]/Spam Messages marked as spam.
* [Gmail]/Starred Starred messages.
* [Gmail]/Trash Messages deleted from Gmail.
*/
UIDFolder uf = (UIDFolder)folder;
if(!folder.isOpen())
folder.open(Folder.READ_WRITE);
Message[] messages = folder.getMessages();
long n=uf.getUIDValidity();
System.out.println("UIDvalidity:"+n);
int bool=0;
String line;
String liner[]=new String[2];;
BufferedReader bfr;
//bfr=new BufferedReader(new InputStreamReader(System.in));
String fileName="read.txt";
String content=String.valueOf(n)+"\n"+messages.length;
File file=new File(fileName);
if(!file.exists()){
file.createNewFile();
}
try{
bfr=new BufferedReader(new FileReader(file));
while((line=bfr.readLine())!=null){
liner[bool]=line;
bool++;
}
while((line=bfr.readLine())!=null){
System.out.println(line);
}
FileWriter fw=new FileWriter(file,false);
BufferedWriter bw = new BufferedWriter(fw);
bw.write(content);
bw.close();
bfr.close();
//fw.close();
}catch(FileNotFoundException fex){
fex.printStackTrace();
}
if(liner[0]==null)
liner[0]="0";
if(liner[1]==null)
liner[1]="0";
lastvalidity=(long)Long.parseLong(liner[0]);
lastuid=(long)Long.parseLong(liner[1]);
//System.out.println("hi") ;
//System.out.println(lastvalidity);
//System.out.println(lastuid );
if(n==lastvalidity||lastvalidity==0)
{}
else
{System.out.println("database inconsistent");
return;}
System.out.println("No of Messages : " + folder.getMessageCount());
System.out.println("No of Unread Messages : " + folder.getUnreadMessageCount());
//System.out.println(messages.length);
//Displaying the info. of the messages
for (int i=(int)lastuid; i < messages.length;i++)
{
//System.out.println(i);
subjec="nosubject" ;dat="x";encod="x";senderaddr="x";receiveraddr="x";cont="x";
MimeMessage msg = (MimeMessage) messages[i];
IMAPMessage msg2 = (IMAPMessage) messages[i];
//creating rdf model of the message
/*typecating of these email entities to strings so
that they can be placed as arguments in addProperty
function*/
//checking for null values to prevent errors
//System.out.println("hi");
String bcc="",cc="";
if(msg.getRecipients(Message.RecipientType.CC)!=null)
{ int j=0;
//System.out.println(j);
while(j < msg.getRecipients(Message.RecipientType.CC).length)
{cc =cc.concat(msg.getRecipients(Message.RecipientType.CC)[j].toString());
cc =cc.concat(",");
j++;
//System.out.println(j);
}
}else
{ cc="novalue";
}
//System.out.println(cc);
if(msg.getRecipients(Message.RecipientType.BCC)!=null)
{ int j=0;
//System.out.println(j);
while(j < msg.getRecipients(Message.RecipientType.BCC).length)
{bcc =bcc.concat(msg.getRecipients(Message.RecipientType.BCC)[j].toString());
bcc =bcc.concat(",");
j++;
//System.out.println(j);
}
}else
{ bcc="novalue";
}
//System.out.println(bcc);
int msgsize=msg.getSize();
String msize=String.valueOf(msgsize);
//System.out.println(msgsize );
String replyto = msg2.getInReplyTo();
//System.out.println(replyto);
String replyname;
if(replyto==null)
replyto="no value";
if(replyto.indexOf("<")!=-1)
{int z=replyto.indexOf("<");
String[] parts = replyto.split("<");
replyname=parts[0];
String[] part = parts[1].split(">");
replyto=part[0];
}
else
{replyname="unknown";
}
System.out.println(replyname);
System.out.println(replyto);
if(replyto==null)
replyto="no reply";
String filename="";
String contentType = msg.getContentType();
//for attachement name
int no=0;
if (contentType.contains("multipart"))
{
// this message may contain attachment
Multipart multiPart = (Multipart) msg.getContent();
for (int l = 0; l < multiPart.getCount(); l++)
{
MimeBodyPart part = (MimeBodyPart) multiPart.getBodyPart(l);
if (Part.ATTACHMENT.equalsIgnoreCase(part.getDisposition()))
{ no++;
filename=filename.concat(part.getFileName());
filename=filename.concat(",");
}
}if(filename==""||filename==null)
{
filename="no attachment";
}
}
else
{
filename="no attachment";
} String nos=String.valueOf(no);
//System.out.println(filename);
long ui = uf.getUID(msg);
String uid=String.valueOf(ui);
//Attachment att = new Attachment( msg );
//String filename = att.getFilename();
// System.out.println(filename);
cont=getText(msg);
if(cont==null)
cont="no value";
//System.out.println(cont);
if(msg.getFrom()!=null)
senderaddr=msg.getFrom().toString();
if(senderaddr==null)
senderaddr="no value";
String sendername;
if(senderaddr.indexOf("<")!=-1)
{int z=senderaddr.indexOf("<");
String[] parts = senderaddr.split("<");
sendername=parts[0];
String[] part = parts[1].split(">");
senderaddr=part[0];
}
else
{sendername="unknown";
}
System.out.println(sendername);
System.out.println(senderaddr);
//System.out.println(senderaddr);
//System.out.println(msg.getAllRecipients()[0].toString());
if(msg.getAllRecipients()==null||msg.getAllRecipients()[0].toString()=="")
receiveraddr="no value";
else
receiveraddr=msg.getAllRecipients()[0].toString();
System.out.println(receiveraddr);
String receivername;
if(receiveraddr.indexOf("<")!=-1)
{int z=receiveraddr.indexOf("<");
String[] parts = receiveraddr.split("<");
receivername=parts[0];
String[] part = parts[1].split(">");
receiveraddr=part[0];
}
else
{receivername="unknown";
}
System.out.println(receiveraddr);
System.out.println(receivername);
dat=msg.getReceivedDate().toString();
if(dat==null)
dat="no value";
System.out.println(dat);
String day,month,dateno,time,timezone,year,mon="00",timezoneno="",finaldatetime;
String[] parts = dat.split(" ");
day=parts[0];
month=parts[1];
dateno=parts[2];
time=parts[3];
timezone=parts[4];
year=parts[5];
System.out.println(month);
System.out.println(timezone);
if("Jan".equals(month))
{mon="01";}
if("Feb".equals(month))
{mon="02";}
if("Mar".equals(month))
{mon="03";}
if("Apr".equals(month))
{mon="04";}
if("May".equals(month))
{mon="05";}
if("Jun".equals(month))
{mon="06";}
if("Jul".equals(month))
{mon="07";}
if("Aug".equals(month))
{mon="08";}
if("Sep".equals(month))
{mon="09";}
if("Oct".equals(month))
{mon="10";}
if("Nov".equals(month))
{mon="11";}
if("Dec".equals(month))
{mon="12";}
if("IST".equals(timezone))
timezoneno="+05:30";
finaldatetime=year+"-"+mon+"-"+dateno+"T"+time+timezoneno;
System.out.println(finaldatetime);
encod =msg.getEncoding();
if(encod==null)
encod="8bit";
if(msg.getSubject()==null||msg.getSubject()=="")
subjec="no value";
else
subjec=msg.getSubject();
try{
bfr=new BufferedReader(new FileReader(file));
FileWriter fw=new FileWriter(file,false);
BufferedWriter bw = new BufferedWriter(fw);
bw.write(String.valueOf(n)+"\n"+i);
bw.close();
bfr.close();
//fw.close();
}catch(FileNotFoundException fex){
fex.printStackTrace();
}Literal lo = model.createTypedLiteral(finaldatetime, XSDDatatype.XSDdateTime );
//System.out.println(subjec);
Resource mail= model.createResource(msg.getMessageID())
.addProperty(EMAILRDF.MSGID, msg.getMessageID())
.addProperty(EMAILRDF.SUBJECT, subjec)
.addProperty(EMAILRDF.TO,receiveraddr)
.addProperty(EMAILRDF.FROM,senderaddr)
.addProperty(EMAILRDF.REC_NAME,receivername)
.addProperty(EMAILRDF.SEND_NAME,sendername)
.addProperty(EMAILRDF.ENCODING,encod)
.addProperty(EMAILRDF.CONTENT,cont)
//.addProperty(EMAILRDF.DATE,dat)
.addProperty(EMAILRDF.FOLDER_NAME,foldername)
.addProperty(EMAILRDF.UID,uid)
.addProperty(EMAILRDF.IN_REPLYTO,replyto)
.addProperty(EMAILRDF.IN_REPLYTONAME,replyname)
.addProperty(EMAILRDF.CC,cc)
.addProperty(EMAILRDF.BCC,bcc)
.addLiteral(EMAILRDF.MAIL_SIZE,msgsize)
.addProperty(EMAILRDF.ATTACHEMENT_NAME,filename)
.addProperty(EMAILRDF.ATTACHEMENT_NO,nos)
.addProperty(EMAILRDF.CONTENT_TYPE,msg.getContentType());
model.add (mail,EMAILRDF.DATE, lo);
}
// list the statements in the graph
StmtIterator iter = model.listStatements();
int j=0;
// print out the predicate, subject and object of each statement
while (iter.hasNext()) {
System.out.println("*****************************************************************************");
System.out.println("MESSAGE " + (j + 1) + ":");
j=j+1;
Statement stmt = iter.nextStatement(); // get next statement
Resource subject = stmt.getSubject(); // get the subject
Property predicate = stmt.getPredicate(); // get the predicate
RDFNode object = stmt.getObject(); // get the object
//System.out.print(subject.toString());
System.out.print(" "+ predicate.toString() + " ");
if (object instanceof Resource) {
System.out.print(object.toString());
} else {
// object is a literal
System.out.print(" \"" + object.toString() + "\"");
}
System.out.println(" .");
}
//System.out.println(msg.getMessageNumber());
//Object String;
//System.out.println(folder.getUID(msg)
//subject = msg.getSubject();
//System.out.println("Subject: " + subject);
//System.out.println("From: " + msg.getFrom()[0]);
//System.out.println("To: "+msg.getAllRecipients()[0]);
//System.out.println("Date: "+msg.getReceivedDate());
//System.out.println("Size: "+msg.getSize());
//System.out.println("Id: "+msg.getMessageID());
//System.out.println(msg.getFlags());
//System.out.println("Body: \n"+ msg.getContent());
//System.out.println(msg.getContentType());
}
finally
{ //closing the connection
if (folder != null && folder.isOpen()) { folder.close(true); }
if (store != null) { store.close(); }
}
//closing the dataset
ds.commit();
ds.end();
}
}
| {
"content_hash": "590ba5735436fbc141868ba65162492d",
"timestamp": "",
"source": "github",
"line_count": 511,
"max_line_length": 111,
"avg_line_length": 37.833659491193735,
"alnum_prop": 0.5350437076501319,
"repo_name": "COOLHEMANTJAIN/MAILDETECTIVE",
"id": "64d9d542a67cd8990b65c4f01c12ed431ba3d4db",
"size": "19333",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "test3.java",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "232283"
},
{
"name": "Java",
"bytes": "126160"
},
{
"name": "JavaScript",
"bytes": "44142"
}
],
"symlink_target": ""
} |
<?php defined('BASEPATH') or exit('No direct script access allowed');
$lang['streams:choice.name'] = 'Selecciones';
$lang['streams:choice.instructions'] = "Put each choice on one line. If you want a separate value for each choice, you can separate them by a colon (:). Ex: <pre>PyroCMS\npyro : PyroCMS</pre>";
$lang['streams:choice.choice_data'] = 'Data de Selección';
$lang['streams:choice.choice_type'] = 'Tipo de Selección';
$lang['streams:choice.dropdown'] = 'Desplegable';
$lang['streams:choice.radio_buttons'] = 'Botones Radio';
$lang['streams:choice.checkboxes'] = 'Casilla de Verificación';
$lang['streams:choice.min_choices'] = 'Minimum Number of Selections'; #translate
$lang['streams:choice.max_choices'] = 'Maximum Number of Selections'; #translate
$lang['streams:choice.checkboxes_only'] = 'Only available for checkboxes.'; #translate
$lang['streams:choice.must_select_num'] = 'You must select {val} items from the %s list.'; #translate
$lang['streams:choice.must_at_least'] = 'You must select at least {val} items from the %s list.'; #translate
$lang['streams:choice.must_max_num'] = 'You can only select {val} items from the %s list.'; #translate
$lang['streams:choice.multiselect'] = 'Multiselect Type.'; #translate | {
"content_hash": "01dd7754f5ae16bc54959ddb9bab0a37",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 195,
"avg_line_length": 79.9375,
"alnum_prop": 0.6982017200938233,
"repo_name": "sanayaCorp/bpkad",
"id": "4071858fe95dff3fd2b0c4e42f4cc7d6c9f13a84",
"size": "1282",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "system/cms/modules/streams_core/field_types/choice/language/spanish/choice_lang.php",
"mode": "33261",
"license": "apache-2.0",
"language": [
{
"name": "CSS",
"bytes": "515490"
},
{
"name": "HTML",
"bytes": "51982"
},
{
"name": "JavaScript",
"bytes": "855711"
},
{
"name": "PHP",
"bytes": "7983254"
}
],
"symlink_target": ""
} |
package org.eu.eark.etl.webscraping;
import org.joda.time.DateTime;
import org.joda.time.format.DateTimeFormatter;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
/**
* convenience wrapper for jsoup library
*/
public class SiteElement {
private Elements elements;
public SiteElement(Document document, String cssSelector) {
elements = document.select(cssSelector);
}
public String text() {
if (getElements().isEmpty()) return null;
return getElements().get(0).text();
}
public String ownText() {
if (getElements().isEmpty()) return null;
return getElements().get(0).ownText();
}
public String attr(String key) {
if (getElements().isEmpty()) return null;
return getElements().get(0).attr(key);
}
public String categoryText() {
if (getElements().isEmpty()) return null;
String category = "";
for (Element element : getElements()) {
if (!category.isEmpty()) category += " > ";
category += element.text();
}
return category;
}
public DateTime textAsDateTime(DateTimeFormatter dateTimeFormatter) {
if (getElements().isEmpty()) return null;
String dateTimeString = getElements().get(0).text();
DateTime dateTime = null;
try {
dateTime = dateTimeFormatter.parseDateTime(dateTimeString);
} catch (IllegalArgumentException e) {
System.err.println("Problem while parsing DateTime: " + dateTimeString);
}
return dateTime;
}
public Elements getElements() {
return elements;
}
}
| {
"content_hash": "0903e670f3b2bb756cf1d9d67a59dfec",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 75,
"avg_line_length": 24.59016393442623,
"alnum_prop": 0.712,
"repo_name": "eark-project/dm-etl",
"id": "7f02e094dad277edaef8a364c0edb8078a1eb128",
"size": "1500",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/main/java/org/eu/eark/etl/webscraping/SiteElement.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "CSS",
"bytes": "1017"
},
{
"name": "HTML",
"bytes": "2605"
},
{
"name": "Java",
"bytes": "25003"
},
{
"name": "JavaScript",
"bytes": "4228"
},
{
"name": "Shell",
"bytes": "8019"
}
],
"symlink_target": ""
} |
<!--
@license Apache-2.0
Copyright (c) 2018 The Stdlib Authors.
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 writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title></title>
<style>
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
</style>
<style>
body {
box-sizing: border-box;
width: 100%;
padding: 40px;
}
#console {
width: 100%;
}
</style>
</head>
<body>
<p id="status">Running...</p>
<br>
<div id="console"></div>
<script type="text/javascript">
(function() {
'use strict';
// VARIABLES //
var methods = [
'log',
'error',
'warn',
'dir',
'debug',
'info',
'trace'
];
// MAIN //
/**
* Main.
*
* @private
*/
function main() {
var console;
var str;
var el;
var i;
// FIXME: IE9 has a non-standard `console.log` object (http://stackoverflow.com/questions/5538972/console-log-apply-not-working-in-ie9)
console = window.console || {};
for ( i = 0; i < methods.length; i++ ) {
console[ methods[ i ] ] = write;
}
el = document.querySelector( '#console' );
str = el.innerHTML;
/**
* Writes content to a DOM element. Note that this assumes a single argument and no substitution strings.
*
* @private
* @param {string} message - message
*/
function write( message ) {
str += '<p>'+message+'</p>';
el.innerHTML = str;
}
}
main();
})();
</script>
<script type="text/javascript" src="/docs/api/latest/@stdlib/constants/float64/glaisher-kinkelin/test_bundle.js"></script>
</body>
</html>
| {
"content_hash": "f0c52c57445f24fc64c765c85b46501c",
"timestamp": "",
"source": "github",
"line_count": 150,
"max_line_length": 139,
"avg_line_length": 22.36,
"alnum_prop": 0.6237328562909958,
"repo_name": "stdlib-js/www",
"id": "fc58bd00a4308df79ca2f648ac49c290fbdeb322",
"size": "3354",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "public/docs/api/latest/@stdlib/constants/float64/glaisher-kinkelin/test.html",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "CSS",
"bytes": "190538"
},
{
"name": "HTML",
"bytes": "158086013"
},
{
"name": "Io",
"bytes": "14873"
},
{
"name": "JavaScript",
"bytes": "5395746994"
},
{
"name": "Makefile",
"bytes": "40479"
},
{
"name": "Shell",
"bytes": "9744"
}
],
"symlink_target": ""
} |
<?php
/**
* Not Equal Validator
*
* @author Alexander Miertsch kontakt@codeliner.ws
* @package Cl
* @subpackage Validator
* @version 1.0
*/
namespace Cl\Validator;
use Zend\Validator\AbstractValidator,
Zend\Validator\StringLength;
class NotEqual extends AbstractValidator {
const IS_EQUAL = 'is_equal';
const CHECK = 'check_value';
protected $check = '';
public function __construct($options = null) {
if (is_array($options) && array_key_exists('check_value', $options)) {
$this->check = $options['check_value'];
}
parent::__construct($options);
}
/**
*
* @param mixed $checkValue
*/
public function setCheck ($checkValue) {
$this->check = $checkValue;
}
/**
* Validation failure message template definitions
*
* @var array
*/
protected $_messageTemplates = array(
self::IS_EQUAL => 'The value must not be "%value%"',
);
protected $_messageVariables = array(
'name' => 'name'
);
public function isValid ($value) {
if ($this->check === $value) {
$this->error(self::IS_EQUAL, (string)$value);
return false;
}
return true;
}
}
| {
"content_hash": "4c089927ce35428905e487a7f99986f6",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 78,
"avg_line_length": 21.766666666666666,
"alnum_prop": 0.5451761102603369,
"repo_name": "codeliner/ginger-ims",
"id": "54dc56fc8a746355bdafe810eb6626923146a159",
"size": "1306",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "module/Cl/Validator/NotEqual.php",
"mode": "33261",
"license": "bsd-3-clause",
"language": [
{
"name": "CSS",
"bytes": "84729"
},
{
"name": "JavaScript",
"bytes": "265425"
},
{
"name": "PHP",
"bytes": "523207"
},
{
"name": "Shell",
"bytes": "809"
}
],
"symlink_target": ""
} |
package connectors.qc.notifier.restclient.model;
public interface ConnectionConstants {
String DEFAULT_TD_PROPERTY_FILE = "qc.connection.properties";
String DEFAULT_TD_URL = "http://alm:8080/qcbin/";
String DEFAULT_TD_BASEPATH = "Root/";
String PROPERTY_TD_URL = "td.url";
String PROPERTY_TD_DOMAIN = "td.domain";
String PROPERTY_TD_PROJECT = "td.project";
String PROPERTY_TD_BASEPATH = "td.basepath";
String PROPERTY_TD_USER = "td.user";
String PROPERTY_TD_PASSWORD = "td.password";
String PROPERTY_CUSTOM_OS = "td.custom.os";
}
| {
"content_hash": "8fc56055a9fd063684f023c47fa6d484",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 62,
"avg_line_length": 34.125,
"alnum_prop": 0.7289377289377289,
"repo_name": "kristux81/QcNotifier",
"id": "564133804e48cd9991abde12caa3a4728c57b94b",
"size": "546",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "restclient/src/main/java/connectors/qc/notifier/restclient/model/ConnectionConstants.java",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Batchfile",
"bytes": "1869"
},
{
"name": "Java",
"bytes": "151783"
},
{
"name": "Shell",
"bytes": "1645"
}
],
"symlink_target": ""
} |
package com.qiaodan.filter;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public class LogFilter implements Filter {
private Log log = LogFactory.getLog(this.getClass());
private String filterName;
@Override
public void destroy() {
log.info("close filter"+filterName);
}
@Override
public void doFilter(ServletRequest arg0, ServletResponse arg1, FilterChain arg2)
throws IOException, ServletException {
HttpServletRequest request = (HttpServletRequest) arg0;
HttpServletResponse response = (HttpServletResponse) arg1;
long startTime = System.currentTimeMillis();
String requestURI =request.getRequestURI();
requestURI = request.getQueryString()==null?request.getRequestURI():(requestURI+"?"+request.getQueryString());
arg2.doFilter(request, response);
long endTime = System.currentTimeMillis();
log.info(request.getRemoteAddr()+" access to The "+requestURI+" last times: "+(endTime-startTime)+" ms.");
}
@Override
public void init(FilterConfig arg0) throws ServletException {
// TODO Auto-generated method stub
filterName = arg0.getFilterName();
log.info("start filter:"+filterName);
}
}
| {
"content_hash": "433b9d774b675f4ae14b20232c6fbdf3",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 112,
"avg_line_length": 30.836734693877553,
"alnum_prop": 0.7789543348775645,
"repo_name": "Jordan150513/JavaDemos",
"id": "daa448eacf71a75a7daf8eba315607da1428d0cb",
"size": "1511",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/com/qiaodan/filter/LogFilter.java",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "HTML",
"bytes": "6332"
},
{
"name": "Java",
"bytes": "320921"
}
],
"symlink_target": ""
} |
#include "config.h"
#include "WebKitVersion.h"
/**
* webkit_get_major_version:
*
* Returns the major version number of the WebKit library.
* (e.g. in WebKit version 1.8.3 this is 1.)
*
* This function is in the library, so it represents the WebKit library
* your code is running against. Contrast with the #WEBKIT_MAJOR_VERSION
* macro, which represents the major version of the WebKit headers you
* have included when compiling your code.
*
* Returns: the major version number of the WebKit library
*/
guint webkit_get_major_version(void)
{
return WEBKIT_MAJOR_VERSION;
}
/**
* webkit_get_minor_version:
*
* Returns the minor version number of the WebKit library.
* (e.g. in WebKit version 1.8.3 this is 8.)
*
* This function is in the library, so it represents the WebKit library
* your code is running against. Contrast with the #WEBKIT_MINOR_VERSION
* macro, which represents the minor version of the WebKit headers you
* have included when compiling your code.
*
* Returns: the minor version number of the WebKit library
*/
guint webkit_get_minor_version(void)
{
return WEBKIT_MINOR_VERSION;
}
/**
* webkit_get_micro_version:
*
* Returns the micro version number of the WebKit library.
* (e.g. in WebKit version 1.8.3 this is 3.)
*
* This function is in the library, so it represents the WebKit library
* your code is running against. Contrast with the #WEBKIT_MICRO_VERSION
* macro, which represents the micro version of the WebKit headers you
* have included when compiling your code.
*
* Returns: the micro version number of the WebKit library
*/
guint webkit_get_micro_version(void)
{
return WEBKIT_MICRO_VERSION;
}
| {
"content_hash": "f6c4ba2a8ecebc67f3bb752ffa552b31",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 72,
"avg_line_length": 28.93103448275862,
"alnum_prop": 0.7288438617401669,
"repo_name": "leighpauls/k2cro4",
"id": "4ef62e3722adf6a58f8cf6e7a882bd577d37000c",
"size": "2493",
"binary": false,
"copies": "3",
"ref": "refs/heads/master",
"path": "third_party/WebKit/Source/WebKit2/UIProcess/API/gtk/WebKitVersion.cpp",
"mode": "33188",
"license": "bsd-3-clause",
"language": [
{
"name": "ASP",
"bytes": "3062"
},
{
"name": "AppleScript",
"bytes": "25392"
},
{
"name": "Arduino",
"bytes": "464"
},
{
"name": "Assembly",
"bytes": "68131038"
},
{
"name": "C",
"bytes": "242794338"
},
{
"name": "C#",
"bytes": "11024"
},
{
"name": "C++",
"bytes": "353525184"
},
{
"name": "Common Lisp",
"bytes": "3721"
},
{
"name": "D",
"bytes": "1931"
},
{
"name": "Emacs Lisp",
"bytes": "1639"
},
{
"name": "F#",
"bytes": "4992"
},
{
"name": "FORTRAN",
"bytes": "10404"
},
{
"name": "Java",
"bytes": "3845159"
},
{
"name": "JavaScript",
"bytes": "39146656"
},
{
"name": "Lua",
"bytes": "13768"
},
{
"name": "Matlab",
"bytes": "22373"
},
{
"name": "Objective-C",
"bytes": "21887598"
},
{
"name": "PHP",
"bytes": "2344144"
},
{
"name": "Perl",
"bytes": "49033099"
},
{
"name": "Prolog",
"bytes": "2926122"
},
{
"name": "Python",
"bytes": "39863959"
},
{
"name": "R",
"bytes": "262"
},
{
"name": "Racket",
"bytes": "359"
},
{
"name": "Ruby",
"bytes": "304063"
},
{
"name": "Scheme",
"bytes": "14853"
},
{
"name": "Shell",
"bytes": "9195117"
},
{
"name": "Tcl",
"bytes": "1919771"
},
{
"name": "Verilog",
"bytes": "3092"
},
{
"name": "Visual Basic",
"bytes": "1430"
},
{
"name": "eC",
"bytes": "5079"
}
],
"symlink_target": ""
} |
<idea-plugin xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="/META-INF/CompletionExtensionPoints.xml"/>
<xi:include href="/META-INF/RefactoringExtensionPoints.xml"/>
<xi:include href="/META-INF/RefactoringLangExtensionPoints.xml"/>
<xi:include href="/META-INF/FormatterExtensionPoints.xml"/>
<xi:include href="/META-INF/EditorExtensionPoints.xml"/>
<extensionPoints>
<extensionPoint name="highlightingPassFactory" interface="com.intellij.codeHighlighting.TextEditorHighlightingPassFactoryRegistrar" dynamic="true"/>
<!--configurables?-->
<extensionPoint name="errorOptionsProvider" beanClass="com.intellij.profile.codeInspection.ui.ErrorOptionsProviderEP" dynamic="true">
<with attribute="instance" implements="com.intellij.profile.codeInspection.ui.ErrorOptionsProvider"/>
</extensionPoint>
<extensionPoint name="codeFoldingOptionsProvider" beanClass="com.intellij.application.options.editor.CodeFoldingOptionsProviderEP" dynamic="true">
<with attribute="instance" implements="com.intellij.application.options.editor.CodeFoldingOptionsProvider"/>
</extensionPoint>
<extensionPoint name="codeStyleSettingsProvider" interface="com.intellij.psi.codeStyle.CodeStyleSettingsProvider" dynamic="true"/>
<extensionPoint name="generalCodeStyleOptionsProvider" beanClass="com.intellij.application.options.GeneralCodeStyleOptionsProviderEP" dynamic="true">
<with attribute="instance" implements="com.intellij.application.options.GeneralCodeStyleOptionsProvider"/>
</extensionPoint>
<extensionPoint dynamic="true" name="autoImportOptionsProvider" beanClass="com.intellij.application.options.editor.AutoImportOptionsProviderEP" area="IDEA_PROJECT">
<with attribute="instance" implements="com.intellij.application.options.editor.AutoImportOptionsProvider"/>
</extensionPoint>
<extensionPoint dynamic="true" name="editorOptionsProvider" beanClass="com.intellij.application.options.editor.EditorOptionsProviderEP">
<with attribute="instance" implements="com.intellij.application.options.editor.EditorOptionsProvider"/>
</extensionPoint>
<extensionPoint dynamic="true" name="editorAppearanceConfigurable" beanClass="com.intellij.application.options.editor.EditorAppearanceConfigurableEP">
<with attribute="instance" implements="com.intellij.openapi.options.UnnamedConfigurable"/>
</extensionPoint>
<extensionPoint dynamic="true" name="codeCompletionConfigurable" beanClass="com.intellij.application.options.CodeCompletionConfigurableEP">
<with attribute="instance" implements="com.intellij.openapi.options.UnnamedConfigurable" />
</extensionPoint>
<extensionPoint dynamic="true" name="editorTabsConfigurable" beanClass="com.intellij.application.options.editor.EditorTabsConfigurableEP">
<with attribute="instance" implements="com.intellij.openapi.options.UnnamedConfigurable" />
</extensionPoint>
<extensionPoint dynamic="true" name="editorSmartKeysConfigurable" beanClass="com.intellij.application.options.editor.EditorSmartKeysConfigurableEP">
<with attribute="instance" implements="com.intellij.openapi.options.UnnamedConfigurable"/>
</extensionPoint>
<extensionPoint name="indexPatternProvider" interface="com.intellij.psi.search.IndexPatternProvider"/>
<extensionPoint name="refGraphAnnotator" interface="com.intellij.codeInspection.reference.RefGraphAnnotator" dynamic="true"/>
<!-- Code Insight -->
<extensionPoint name="highlightVisitor" interface="com.intellij.codeInsight.daemon.impl.HighlightVisitor" area="IDEA_PROJECT" dynamic="true"/>
<extensionPoint name="errorQuickFixProvider" interface="com.intellij.codeInsight.daemon.impl.analysis.ErrorQuickFixProvider" dynamic="true"/>
<extensionPoint name="pathReferenceProvider" interface="com.intellij.openapi.paths.PathReferenceProvider" dynamic="true"/>
<extensionPoint name="anchorReferenceProvider" interface="com.intellij.openapi.paths.PathReferenceProvider" dynamic="true"/>
<extensionPoint name="dynamicContextProvider" interface="com.intellij.openapi.paths.DynamicContextProvider" dynamic="true"/>
<extensionPoint name="codeInsight.unresolvedReferenceQuickFixProvider" interface="com.intellij.codeInsight.quickfix.UnresolvedReferenceQuickFixProvider" dynamic="true"/>
<extensionPoint name="intentionMenuContributor" interface="com.intellij.codeInsight.daemon.impl.IntentionMenuContributor" dynamic="true"/>
<extensionPoint name="braceMatcher" beanClass="com.intellij.openapi.fileTypes.FileTypeExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.codeInsight.highlighting.BraceMatcher"/>
</extensionPoint>
<extensionPoint name="daemon.highlightInfoFilter" interface="com.intellij.codeInsight.daemon.impl.HighlightInfoFilter" dynamic="true"/>
<extensionPoint name="daemon.tooltipActionProvider" interface="com.intellij.codeInsight.daemon.impl.tooltips.TooltipActionProvider" dynamic="true"/>
<extensionPoint name="daemon.intentionActionFilter" interface="com.intellij.codeInsight.daemon.impl.IntentionActionFilter" dynamic="true"/>
<extensionPoint name="daemon.externalAnnotatorsFilter" interface="com.intellij.lang.ExternalAnnotatorsFilter" dynamic="true"/>
<extensionPoint name="daemon.changeLocalityDetector" interface="com.intellij.codeInsight.daemon.ChangeLocalityDetector" dynamic="true"/>
<extensionPoint name="daemon.indentsPassFilter" interface="com.intellij.codeInsight.daemon.impl.IndentsPassFilter" dynamic="true"/>
<extensionPoint name="daemon.statusItemMerger" interface="com.intellij.codeInsight.daemon.impl.StatusItemMerger" dynamic="true"/>
<extensionPoint name="implicitUsageProvider" interface="com.intellij.codeInsight.daemon.ImplicitUsageProvider" dynamic="true"/>
<!-- com.intellij.psi.PsiElement -->
<extensionPoint name="cantBeStatic" interface="com.intellij.openapi.util.Condition" dynamic="true"/>
<extensionPoint name="concatenationAwareInjector" interface="com.intellij.lang.injection.ConcatenationAwareInjector" area="IDEA_PROJECT" dynamic="true"/>
<extensionPoint name="referenceInjector" interface="com.intellij.psi.injection.ReferenceInjector" dynamic="true"/>
<extensionPoint name="annotator" beanClass="com.intellij.lang.LanguageExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.lang.annotation.Annotator"/>
</extensionPoint>
<extensionPoint name="externalAnnotator" beanClass="com.intellij.lang.LanguageExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.lang.annotation.ExternalAnnotator"/>
</extensionPoint>
<extensionPoint name="lang.syntaxHighlighter" beanClass="com.intellij.lang.LanguageExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.openapi.fileTypes.SyntaxHighlighter"/>
</extensionPoint>
<extensionPoint name="lang.findUsagesProvider" beanClass="com.intellij.lang.LanguageExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.lang.findUsages.FindUsagesProvider"/>
</extensionPoint>
<extensionPoint name="lang.braceMatcher" beanClass="com.intellij.lang.LanguageExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.lang.PairedBraceMatcher"/>
</extensionPoint>
<extensionPoint name="lang.foldingBuilder" beanClass="com.intellij.lang.LanguageExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.lang.folding.FoldingBuilder"/>
</extensionPoint>
<extensionPoint name="customFoldingProvider" interface="com.intellij.lang.folding.CustomFoldingProvider" dynamic="true"/>
<extensionPoint name="lang.psiStructureViewFactory" beanClass="com.intellij.lang.LanguageExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.lang.PsiStructureViewFactory"/>
</extensionPoint>
<extensionPoint name="lang.psiElementExternalizer" beanClass="com.intellij.lang.LanguageExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.lang.PsiElementExternalizer"/>
</extensionPoint>
<extensionPoint name="lang.structureViewExtension" interface="com.intellij.ide.structureView.StructureViewExtension" dynamic="true"/>
<extensionPoint name="lang.surroundDescriptor" beanClass="com.intellij.lang.LanguageExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.lang.surroundWith.SurroundDescriptor"/>
</extensionPoint>
<extensionPoint name="lang.unwrapDescriptor" beanClass="com.intellij.lang.LanguageExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.codeInsight.unwrap.UnwrapDescriptor"/>
</extensionPoint>
<extensionPoint name="fileType.fileViewProviderFactory" beanClass="com.intellij.openapi.fileTypes.FileTypeExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.psi.FileViewProviderFactory"/>
</extensionPoint>
<extensionPoint name="multiLangCommenter" interface="com.intellij.psi.templateLanguages.MultipleLangCommentProvider" dynamic="true"/>
<extensionPoint name="cacheBuilder" beanClass="com.intellij.lang.cacheBuilder.CacheBuilderEP" dynamic="true">
<with attribute="wordsScannerClass" implements="com.intellij.lang.cacheBuilder.WordsScanner"/>
</extensionPoint>
<extensionPoint name="searcher" beanClass="com.intellij.openapi.util.ClassExtensionPoint" dynamic="true">
<with attribute="forClass" implements="com.intellij.model.search.SearchParameters"/>
<with attribute="implementationClass" implements="com.intellij.model.search.Searcher"/>
</extensionPoint>
<extensionPoint name="lang.codeReferenceSearcher" dynamic="true" interface="com.intellij.model.search.CodeReferenceSearcher"/>
<extensionPoint name="definitionsScopedSearch" interface="com.intellij.util.QueryExecutor" dynamic="true"/>
<extensionPoint name="indexPatternSearch" interface="com.intellij.util.QueryExecutor" dynamic="true"/>
<extensionPoint name="searchScopesProvider" interface="com.intellij.psi.search.SearchScopeProvider" dynamic="true"/>
<extensionPoint name="outOfSourcesChecker" interface="com.intellij.openapi.projectRoots.OutOfSourcesChecker" dynamic="true"/>
<extensionPoint name="gotoActionAliasMatcher" interface="com.intellij.ide.util.gotoByName.GotoActionAliasMatcher" dynamic="true"/>
<extensionPoint name="gotoClassContributor" interface="com.intellij.navigation.ChooseByNameContributor" dynamic="true"/>
<extensionPoint name="gotoSymbolContributor" interface="com.intellij.navigation.ChooseByNameContributor" dynamic="true"/>
<extensionPoint name="gotoPrimeSymbolContributor" interface="com.intellij.navigation.ChooseByNameContributor" dynamic="true"/>
<extensionPoint name="gotoFileContributor" interface="com.intellij.navigation.ChooseByNameContributor" dynamic="true"/>
<extensionPoint name="gotoRelatedProvider" interface="com.intellij.navigation.GotoRelatedProvider" dynamic="true"/>
<extensionPoint name="anonymousElementProvider" interface="com.intellij.navigation.AnonymousElementProvider" dynamic="true"/>
<extensionPoint name="searchEverywhereContributor" interface="com.intellij.ide.actions.searcheverywhere.SearchEverywhereContributorFactory" dynamic="true"/>
<extensionPoint name="searchEverywhereResultsEqualityProvider" interface="com.intellij.ide.actions.searcheverywhere.SEResultsEqualityProvider" dynamic="true"/>
<extensionPoint name="searchEverywhereMlService" interface="com.intellij.ide.actions.searcheverywhere.SearchEverywhereMlService" dynamic="true"/>
<extensionPoint name="runAnything.executionProvider" interface="com.intellij.ide.actions.runAnything.activity.RunAnythingProvider" dynamic="true"/>
<extensionPoint name="runAnything.commandHandler" interface="com.intellij.ide.actions.runAnything.handlers.RunAnythingCommandHandler" dynamic="true"/>
<extensionPoint name="runAnything.helpGroup" interface="com.intellij.ide.actions.runAnything.groups.RunAnythingHelpGroup" dynamic="true"/>
<extensionPoint name="runAnything.commandCustomizer" interface="com.intellij.ide.actions.runAnything.commands.RunAnythingCommandCustomizer" dynamic="true"/>
<extensionPoint name="roots.watchedRootsProvider" interface="com.intellij.openapi.roots.WatchedRootsProvider" dynamic="true"/>
<extensionPoint name="librarySettingsProvider" interface="com.intellij.openapi.roots.ui.configuration.LibrarySettingsProvider" dynamic="true"/>
<extensionPoint name="elementSignatureProvider" interface="com.intellij.codeInsight.folding.impl.ElementSignatureProvider" dynamic="true"/>
<extensionPoint name="declarationRangeHandler" beanClass="com.intellij.util.MixinEP" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.codeInsight.hint.DeclarationRangeHandler"/>
</extensionPoint>
<extensionPoint name="highlightUsagesHandlerFactory" interface="com.intellij.codeInsight.highlighting.HighlightUsagesHandlerFactory" dynamic="true"/>
<extensionPoint name="heavyBracesHighlighter" interface="com.intellij.codeInsight.highlighting.HeavyBraceHighlighter"/>
<extensionPoint name="codeBlockSupportHandler" beanClass="com.intellij.lang.LanguageExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.codeInsight.highlighting.CodeBlockSupportHandler"/>
</extensionPoint>
<extensionPoint name="usageTargetProvider" interface="com.intellij.usages.UsageTargetProvider" dynamic="true"/>
<extensionPoint name="usageToPsiElementProvider" interface="com.intellij.usages.UsageToPsiElementProvider" dynamic="true"/>
<extensionPoint name="customScopesProvider" interface="com.intellij.psi.search.scope.packageSet.CustomScopesProvider" area="IDEA_PROJECT" dynamic="true"/>
<extensionPoint name="customScopesFilter" interface="com.intellij.psi.search.scope.packageSet.CustomScopesFilter" dynamic="true"/>
<extensionPoint name="scopeDescriptorProvider" interface="com.intellij.ide.util.scopeChooser.ScopeDescriptorProvider" dynamic="true"/>
<extensionPoint name="patternDialectProvider" interface="com.intellij.packageDependencies.ui.PatternDialectProvider"/>
<extensionPoint name="inspectionProfileActionProvider" interface="com.intellij.profile.codeInspection.ui.InspectionProfileActionProvider" dynamic="true"/>
<extensionPoint name="emptyInspectionTreeActionProvider" interface="com.intellij.profile.codeInspection.ui.EmptyInspectionTreeActionProvider" dynamic="true"/>
<extensionPoint name="inspectionResultsExportActionProvider" interface="com.intellij.codeInspection.ui.actions.InspectionResultsExportActionProvider" dynamic="true"/>
<extensionPoint name="liveTemplateSubstitutor" interface="com.intellij.codeInsight.template.TemplateSubstitutor" dynamic="true"/>
<extensionPoint name="customLiveTemplate" interface="com.intellij.codeInsight.template.CustomLiveTemplate" dynamic="true"/>
<extensionPoint name="fileTemplateGroup" interface="com.intellij.ide.fileTemplates.FileTemplateGroupDescriptorFactory" dynamic="true"/>
<extensionPoint name="colorProvider" interface="com.intellij.openapi.editor.ElementColorProvider" dynamic="true"/>
<extensionPoint name="createFromTemplateHandler" interface="com.intellij.ide.fileTemplates.CreateFromTemplateHandler" dynamic="true"/>
<extensionPoint name="defaultTemplatePropertiesProvider" interface="com.intellij.ide.fileTemplates.DefaultTemplatePropertiesProvider" dynamic="true"/>
<extensionPoint name="internalFileTemplate" beanClass="com.intellij.ide.fileTemplates.InternalTemplateBean" dynamic="true"/>
<extensionPoint name="saveFileAsTemplateHandler" interface="com.intellij.ide.actions.SaveFileAsTemplateHandler" dynamic="true"/>
<extensionPoint name="bookmarkProvider" interface="com.intellij.ide.bookmark.BookmarkProvider" area="IDEA_PROJECT" dynamic="true"/>
<extensionPoint name="bookmarksListProvider" interface="com.intellij.ide.bookmark.BookmarksListProvider" area="IDEA_PROJECT" dynamic="true"/>
<extensionPoint name="favoriteNodeProvider" interface="com.intellij.ide.favoritesTreeView.FavoriteNodeProvider" area="IDEA_PROJECT" dynamic="true"/>
<extensionPoint name="favoritesListProvider" interface="com.intellij.ide.favoritesTreeView.FavoritesListProvider" area="IDEA_PROJECT" dynamic="true"/>
<!-- File-Based Index-->
<extensionPoint name="include.provider" interface="com.intellij.psi.impl.include.FileIncludeProvider" dynamic="true"/>
<extensionPoint name="globalIndexFilter" interface="com.intellij.util.indexing.GlobalIndexFilter" dynamic="true"/>
<extensionPoint name="indexableFilesFilter" interface="com.intellij.util.indexing.IndexableFilesFilter"/>
<extensionPoint name="indexableEntityProvider" interface="com.intellij.util.indexing.roots.IndexableEntityProvider" dynamic="true"/>
<extensionPoint name="indexableIteratorBuilderHandler" interface="com.intellij.util.indexing.roots.builders.IndexableIteratorBuilderHandler" dynamic="true"/>
<extensionPoint name="indexableEntityInducedChangesProvider" interface="com.intellij.util.indexing.roots.IndexableEntityInducedChangesProvider" dynamic="true"/>
<extensionPoint name="symbolNavigation" dynamic="true" beanClass="com.intellij.openapi.util.ClassExtensionPoint">
<with attribute="forClass" implements="com.intellij.model.Symbol"/>
<with attribute="implementationClass" implements="com.intellij.navigation.SymbolNavigationProvider"/>
</extensionPoint>
<extensionPoint name="symbolDeclarationPresentationProvider" dynamic="true"
beanClass="com.intellij.openapi.util.ClassExtensionPoint">
<with attribute="forClass" implements="com.intellij.model.psi.PsiSymbolDeclaration"/>
<with attribute="implementationClass"
implements="com.intellij.model.presentation.SymbolDeclarationPresentationProvider"/>
</extensionPoint>
<extensionPoint name="elementDescriptionProvider" interface="com.intellij.psi.ElementDescriptionProvider" dynamic="true"/>
<extensionPoint name="structureViewBuilder" beanClass="com.intellij.openapi.extensions.KeyedFactoryEPBean" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.ide.structureView.StructureViewBuilder"/>
</extensionPoint>
<extensionPoint name="macro" interface="com.intellij.ide.macro.Macro" dynamic="true"/>
<extensionPoint name="macroFilter" interface="com.intellij.ide.macro.MacroFilter" dynamic="true"/>
<extensionPoint name="printOption" interface="com.intellij.codeEditor.printing.PrintOption" dynamic="true"/>
<extensionPoint name="printHandler" interface="com.intellij.ide.actions.PrintActionHandler" dynamic="true"/>
<extensionPoint name="indexPatternBuilder" interface="com.intellij.psi.impl.search.IndexPatternBuilder" dynamic="true"/>
<extensionPoint name="commentTokenSetProvider" beanClass="com.intellij.lang.LanguageExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.psi.impl.cache.CommentTokenSetProvider"/>
</extensionPoint>
<extensionPoint name="configurationType" interface="com.intellij.execution.configurations.ConfigurationType" dynamic="true"/>
<extensionPoint name="runConfigurationTemplateProvider" interface="com.intellij.execution.impl.RunConfigurationTemplateProvider" area="IDEA_PROJECT" dynamic="true"/>
<extensionPoint name="runConfigurationsSettings" interface="com.intellij.execution.configurations.RunConfigurationsSettings" area="IDEA_PROJECT"/>
<extensionPoint name="programRunner" interface="com.intellij.execution.runners.ProgramRunner" dynamic="true"/>
<extensionPoint name="projectTaskRunner" interface="com.intellij.task.ProjectTaskRunner" dynamic="true"/>
<extensionPoint name="executor" interface="com.intellij.execution.Executor" dynamic="true"/>
<extensionPoint name="runToolbarProcess" interface="com.intellij.execution.runToolbar.RunToolbarProcess" dynamic="true"/>
<extensionPoint name="executionTargetProvider" interface="com.intellij.execution.ExecutionTargetProvider" dynamic="true"/>
<extensionPoint name="stepsBeforeRunProvider" interface="com.intellij.execution.BeforeRunTaskProvider" area="IDEA_PROJECT" dynamic="true"/>
<extensionPoint name="runConfigurationBeforeRunProviderDelegate" interface="com.intellij.execution.impl.RunConfigurationBeforeRunProviderDelegate" dynamic="true"/>
<extensionPoint name="runConfigurationTargetEnvironmentAdjuster" interface="com.intellij.execution.target.RunConfigurationTargetEnvironmentAdjuster" dynamic="true"/>
<extensionPoint name="executionTargetType"
interface="com.intellij.execution.target.TargetEnvironmentType" dynamic="true"/>
<extensionPoint name="executionTargetLanguageRuntimeType"
interface="com.intellij.execution.target.LanguageRuntimeType" dynamic="true"/>
<extensionPoint name="consoleFilterProvider" interface="com.intellij.execution.filters.ConsoleFilterProvider" dynamic="true"/>
<extensionPoint name="consoleInputFilterProvider" interface="com.intellij.execution.filters.ConsoleInputFilterProvider" dynamic="true"/>
<extensionPoint name="consoleActionsPostProcessor" interface="com.intellij.execution.actions.ConsoleActionsPostProcessor" dynamic="true"/>
<extensionPoint name="console.folding" interface="com.intellij.execution.ConsoleFolding" dynamic="true"/>
<extensionPoint name="configurationProducer" interface="com.intellij.execution.junit.RuntimeConfigurationProducer" dynamic="true"/>
<extensionPoint name="runConfigurationProducer" interface="com.intellij.execution.actions.RunConfigurationProducer" dynamic="true"/>
<extensionPoint name="multipleRunLocationsProvider" interface="com.intellij.execution.actions.MultipleRunLocationsProvider" dynamic="true"/>
<extensionPoint name="runLineMarkerContributor" beanClass="com.intellij.lang.LanguageExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.execution.lineMarker.RunLineMarkerContributor"/>
</extensionPoint>
<extensionPoint name="runDashboardCustomizer" interface="com.intellij.execution.dashboard.RunDashboardCustomizer" dynamic="true"/>
<extensionPoint name="runDashboardDefaultTypesProvider" interface="com.intellij.execution.dashboard.RunDashboardDefaultTypesProvider" dynamic="true"/>
<extensionPoint name="runDashboardGroupingRule" interface="com.intellij.execution.dashboard.RunDashboardGroupingRule" dynamic="true"/>
<extensionPoint name="serviceViewContributor" interface="com.intellij.execution.services.ServiceViewContributor" dynamic="true"/>
<extensionPoint name="hectorComponentProvider" interface="com.intellij.openapi.editor.HectorComponentPanelsProvider" area="IDEA_PROJECT" dynamic="true"/>
<extensionPoint name="findInProjectExtension" interface="com.intellij.find.impl.FindInProjectExtension" dynamic="true" />
<extensionPoint name="psi.referenceProvider" beanClass="com.intellij.psi.PsiReferenceProviderBean">
<with attribute="providerClass" implements="com.intellij.psi.PsiReferenceProvider"/>
</extensionPoint>
<extensionPoint name="patterns.patternClass" beanClass="com.intellij.patterns.compiler.PatternClassBean" dynamic="true">
<with attribute="className" implements="java.lang.Object"/>
</extensionPoint>
<extensionPoint name="psi.declarationProvider" dynamic="true" interface="com.intellij.model.psi.PsiSymbolDeclarationProvider"/>
<extensionPoint name="statistician" beanClass="com.intellij.util.KeyedLazyInstanceEP" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.psi.statistics.Statistician"/>
</extensionPoint>
<extensionPoint name="highlightRangeExtension" interface="com.intellij.codeInsight.daemon.impl.HighlightRangeExtension" dynamic="true"/>
<extensionPoint name="silentChangeVetoer" interface="com.intellij.codeInsight.daemon.impl.SilentChangeVetoer" dynamic="true" />
<extensionPoint name="sdkType" interface="com.intellij.openapi.projectRoots.SdkType" dynamic="true"/>
<extensionPoint name="sdkFinder" interface="com.intellij.openapi.roots.impl.SdkFinder" dynamic="true"/>
<extensionPoint name="projectSdkSetupValidator" interface="com.intellij.codeInsight.daemon.ProjectSdkSetupValidator" dynamic="true"/>
<extensionPoint name="library.presentationProvider" interface="com.intellij.openapi.roots.libraries.LibraryPresentationProvider" dynamic="true"/>
<extensionPoint name="library.type" interface="com.intellij.openapi.roots.libraries.LibraryType" dynamic="true"/>
<extensionPoint name="lang.implementationTextSelectioner" beanClass="com.intellij.lang.LanguageExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.codeInsight.hint.ImplementationTextSelectioner"/>
</extensionPoint>
<extensionPoint name="lang.implementationTextProcessor" beanClass="com.intellij.lang.LanguageExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.codeInsight.hint.ImplementationTextProcessor"/>
</extensionPoint>
<extensionPoint name="typeDeclarationProvider" interface="com.intellij.codeInsight.navigation.actions.TypeDeclarationProvider" dynamic="true"/>
<extensionPoint name="gotoTargetRendererProvider" interface="com.intellij.codeInsight.navigation.GotoTargetRendererProvider" dynamic="true"/>
<extensionPoint name="gotoTargetPresentationProvider" dynamic="true"
interface="com.intellij.codeInsight.navigation.GotoTargetPresentationProvider"/>
<extensionPoint name="navbar" interface="com.intellij.ide.navigationToolbar.NavBarModelExtension" dynamic="true"/>
<extensionPoint name="navbarLeftSide" interface="com.intellij.ide.navigationToolbar.NavBarLeftSideExtension" dynamic="true"/>
<extensionPoint name="navbar.item.provider" interface="com.intellij.ide.navbar.NavBarItemProvider" dynamic="true"/>
<extensionPoint name="lang.symbolSearchTarget" dynamic="true" beanClass="com.intellij.openapi.util.ClassExtensionPoint">
<with attribute="forClass" implements="com.intellij.model.Symbol"/>
<with attribute="implementationClass" implements="com.intellij.find.usages.symbol.SymbolSearchTargetFactory"/>
</extensionPoint>
<extensionPoint name="findUsagesHandlerFactory" area="IDEA_PROJECT" interface="com.intellij.find.findUsages.FindUsagesHandlerFactory" dynamic="true"/>
<extensionPoint name="customUsageSearcher" interface="com.intellij.find.findUsages.CustomUsageSearcher" dynamic="true"/>
<extensionPoint name="readWriteAccessDetector" interface="com.intellij.codeInsight.highlighting.ReadWriteAccessDetector" dynamic="true"/>
<extensionPoint name="scopeParserExtension" interface="com.intellij.psi.search.scope.packageSet.PackageSetParserExtension" dynamic="true"/>
<extensionPoint name="referenceProviderType" beanClass="com.intellij.util.KeyedLazyInstanceEP" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.psi.PsiReferenceProvider"/>
</extensionPoint>
<extensionPoint dynamic="true" name="colorSettingsPage" interface="com.intellij.openapi.options.colors.ColorSettingsPage"/>
<extensionPoint dynamic="true" name="colorAndFontPanelFactory" interface="com.intellij.application.options.colors.ColorAndFontPanelFactory"/>
<extensionPoint dynamic="true" name="colorAndFontDescriptorProvider" interface="com.intellij.openapi.options.colors.ColorAndFontDescriptorsProvider"/>
<extensionPoint name="codeInsight.parameterInfo.controller.provider"
interface="com.intellij.codeInsight.hint.ParameterInfoControllerProvider"
dynamic="true"/>
<extensionPoint name="codeInsight.parameterInfo" beanClass="com.intellij.lang.LanguageExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.lang.parameterInfo.ParameterInfoHandler"/>
</extensionPoint>
<extensionPoint name="codeInsight.parameterInfo.listener" interface="com.intellij.codeInsight.hint.ParameterInfoListener" dynamic="true"/>
<extensionPoint name="focusModeProvider" beanClass="com.intellij.lang.LanguageExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.codeInsight.daemon.impl.focusMode.FocusModeProvider"/>
</extensionPoint>
<extensionPoint name="codeInsight.parameterNameHints" beanClass="com.intellij.lang.LanguageExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.codeInsight.hints.InlayParameterHintsProvider"/>
</extensionPoint>
<extensionPoint name="codeInsight.parameterNameHintsSuppressor" dynamic="true" interface="com.intellij.codeInsight.hints.ParameterNameHintsSuppressor"/>
<extensionPoint name="codeInsight.inlayProvider" beanClass="com.intellij.codeInsight.hints.InlayHintsProviderExtensionBean" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.codeInsight.hints.InlayHintsProvider"/>
</extensionPoint>
<extensionPoint qualifiedName="com.intellij.codeInsight.inlayProviderFactory"
interface="com.intellij.codeInsight.hints.InlayHintsProviderFactory"
dynamic="true"/>
<extensionPoint qualifiedName="com.intellij.codeInsight.codeVisionProvider"
interface="com.intellij.codeInsight.codeVision.CodeVisionProvider"
dynamic="true" />
<extensionPoint qualifiedName="com.intellij.codeInsight.codeVisionProviderFactory"
interface="com.intellij.codeInsight.codeVision.CodeVisionProviderFactory"
dynamic="true" />
<extensionPoint qualifiedName="com.intellij.codeInsight.daemonBoundCodeVisionProvider"
interface="com.intellij.codeInsight.hints.codeVision.DaemonBoundCodeVisionProvider"
dynamic="true" />
<extensionPoint name="codeVisionPainterProvider" beanClass="com.intellij.openapi.util.ClassExtensionPoint">
<with attribute="implementationClass" implements="com.intellij.codeInsight.codeVision.ui.renderers.painters.ICodeVisionEntryBasePainter"/>
</extensionPoint>
<extensionPoint name="codeInsight.codeVisionSettingsPreviewLanguage"
beanClass="com.intellij.codeInsight.codeVision.settings.CodeVisionSettingsPreviewLanguage"
dynamic="true"/>
<extensionPoint name="codeInsight.typeInfo" beanClass="com.intellij.lang.LanguageExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.lang.ExpressionTypeProvider"/>
</extensionPoint>
<extensionPoint name="referenceImporter" interface="com.intellij.codeInsight.daemon.ReferenceImporter" dynamic="true"/>
<extensionPoint name="modelScopeItemPresenter" interface="com.intellij.analysis.dialog.ModelScopeItemPresenter" />
<extensionPoint name="usageFeaturesProvider" interface="com.intellij.usages.similarity.features.UsageSimilarityFeaturesProvider" dynamic="true"/>
<extensionPoint name="usageFilteringRuleProvider" interface="com.intellij.usages.rules.UsageFilteringRuleProvider" dynamic="true"/>
<extensionPoint name="importFilteringRule" interface="com.intellij.usages.rules.ImportFilteringRule" dynamic="true"/>
<extensionPoint name="usageGroupingRuleProvider" interface="com.intellij.usages.rules.UsageGroupingRuleProvider" dynamic="true"/>
<extensionPoint name="usageTypeProvider" interface="com.intellij.usages.impl.rules.UsageTypeProvider" dynamic="true"/>
<extensionPoint name="fileStructureGroupRuleProvider" interface="com.intellij.usages.impl.FileStructureGroupRuleProvider" dynamic="true"/>
<extensionPoint name="usageContextPanelProvider" interface="com.intellij.usages.UsageContextPanel$Provider" area="IDEA_PROJECT" dynamic="true"/>
<extensionPoint name="usageViewFactory" interface="com.intellij.usages.impl.UsageViewFactory" dynamic="true"/>
<extensionPoint name="usageViewElementsListener" interface="com.intellij.usages.impl.UsageViewElementsListener" dynamic="true"/>
<extensionPoint name="treeStructureProvider" interface="com.intellij.ide.projectView.TreeStructureProvider" area="IDEA_PROJECT" dynamic="true"/>
<extensionPoint name="defaultLiveTemplatesProvider" interface="com.intellij.codeInsight.template.impl.DefaultLiveTemplatesProvider"/>
<extensionPoint name="defaultLiveTemplates" beanClass="com.intellij.codeInsight.template.impl.DefaultLiveTemplateEP" dynamic="true"/>
<extensionPoint name="codeInsight.implementMethod" beanClass="com.intellij.lang.LanguageExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.lang.LanguageCodeInsightActionHandler"/>
</extensionPoint>
<extensionPoint name="codeInsight.overrideMethod" beanClass="com.intellij.lang.LanguageExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.lang.LanguageCodeInsightActionHandler"/>
</extensionPoint>
<extensionPoint name="codeInsight.delegateMethods" beanClass="com.intellij.lang.LanguageExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.lang.LanguageCodeInsightActionHandler"/>
</extensionPoint>
<extensionPoint name="codeInsight.gotoSuper" beanClass="com.intellij.lang.LanguageExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.codeInsight.CodeInsightActionHandler"/>
</extensionPoint>
<extensionPoint name="codeInsight.lineMarkerProvider" beanClass="com.intellij.lang.LanguageExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.codeInsight.daemon.LineMarkerProvider"/>
</extensionPoint>
<extensionPoint name="codeInsight.surroundWithRangeAdjuster" interface="com.intellij.codeInsight.generation.surroundWith.SurroundWithRangeAdjuster" dynamic="true"/>
<extensionPoint name="createFromTemplateActionReplacer" interface="com.intellij.ide.fileTemplates.CreateFromTemplateActionReplacer" dynamic="true"/>
<extensionPoint name="filetype.stubBuilder" beanClass="com.intellij.openapi.fileTypes.FileTypeExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.psi.stubs.BinaryFileStubBuilder"/>
</extensionPoint>
<extensionPoint name="moduleType" beanClass="com.intellij.openapi.module.ModuleTypeEP" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.openapi.module.ModuleType"/>
</extensionPoint>
<extensionPoint name="moduleBuilder" beanClass="com.intellij.ide.util.projectWizard.ModuleBuilderFactory" dynamic="true">
<with attribute="builderClass" implements="com.intellij.ide.util.projectWizard.ModuleBuilder"/>
</extensionPoint>
<extensionPoint name="moduleNameGenerator" interface="com.intellij.ide.util.projectWizard.ModuleNameGenerator" dynamic="true"/>
<extensionPoint name="projectTemplateParameterFactory" interface="com.intellij.ide.util.projectWizard.ProjectTemplateParameterFactory" dynamic="true"/>
<extensionPoint name="projectTemplateFileProcessor" interface="com.intellij.ide.util.projectWizard.ProjectTemplateFileProcessor" dynamic="true"/>
<extensionPoint name="facetType" interface="com.intellij.facet.FacetType" dynamic="true"/>
<extensionPoint name="projectFacetListener" beanClass="com.intellij.facet.impl.ProjectFacetListenerEP" dynamic="true">
<with attribute="implementation" implements="com.intellij.facet.ProjectFacetListener"/>
</extensionPoint>
<extensionPoint name="facet.toolWindow" beanClass="com.intellij.facet.ui.FacetDependentToolWindow" dynamic="true">
<with attribute="factoryClass" implements="com.intellij.openapi.wm.ToolWindowFactory"/>
</extensionPoint>
<extensionPoint name="framework.detector" interface="com.intellij.framework.detection.FrameworkDetector" dynamic="true"/>
<extensionPoint name="methodNavigationOffsetProvider" interface="com.intellij.codeInsight.navigation.MethodNavigationOffsetProvider" dynamic="true"/>
<extensionPoint name="filePasteProvider" interface="com.intellij.ide.PasteProvider" dynamic="true"/>
<extensionPoint name="testFinder" interface="com.intellij.testIntegration.TestFinder" dynamic="true"/>
<extensionPoint name="testSrcLocator" interface="com.intellij.testIntegration.TestLocationProvider" dynamic="true"/>
<extensionPoint name="testCreator" beanClass="com.intellij.lang.LanguageExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.testIntegration.TestCreator"/>
</extensionPoint>
<extensionPoint name="moduleConfigurationEditorProvider" interface="com.intellij.openapi.roots.ui.configuration.ModuleConfigurationEditorProvider"
area="IDEA_MODULE" dynamic="true"/>
<extensionPoint name="callHierarchyProvider" beanClass="com.intellij.lang.LanguageExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.ide.hierarchy.HierarchyProvider"/>
</extensionPoint>
<extensionPoint name="methodHierarchyProvider" beanClass="com.intellij.lang.LanguageExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.ide.hierarchy.HierarchyProvider"/>
</extensionPoint>
<extensionPoint name="typeHierarchyProvider" beanClass="com.intellij.lang.LanguageExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.ide.hierarchy.HierarchyProvider"/>
</extensionPoint>
<extensionPoint name="optionsApplicabilityFilter" interface="com.intellij.application.options.OptionsApplicabilityFilter" dynamic="true"/>
<extensionPoint name="metaDataContributor" interface="com.intellij.psi.meta.MetaDataContributor" dynamic="true"/>
<extensionPoint name="lang.documentationFixer" beanClass="com.intellij.lang.LanguageExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.codeInsight.documentation.DocCommentFixer"/>
</extensionPoint>
<extensionPoint name="lang.documentationToolWindowManager" beanClass="com.intellij.lang.LanguageExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.codeInsight.documentation.DocToolWindowManager"/>
</extensionPoint>
<extensionPoint name="templateCompletionProcessor" interface="com.intellij.codeInsight.template.macro.TemplateCompletionProcessor" dynamic="true"/>
<extensionPoint name="targetElementUtilExtender" interface="com.intellij.codeInsight.TargetElementUtilExtender" dynamic="true"/>
<extensionPoint name="targetElementEvaluator" beanClass="com.intellij.lang.LanguageExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.codeInsight.TargetElementEvaluator"/>
</extensionPoint>
<extensionPoint name="idIndexer" beanClass="com.intellij.openapi.fileTypes.FileTypeExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.psi.impl.cache.impl.id.IdIndexer"/>
</extensionPoint>
<extensionPoint name="todoIndexer" beanClass="com.intellij.openapi.fileTypes.FileTypeExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.util.indexing.DataIndexer"/>
</extensionPoint>
<extensionPoint name="todoExtraPlaces" interface="com.intellij.psi.impl.cache.impl.todo.TodoIndexers$ExtraPlaceChecker" dynamic="true"/>
<extensionPoint name="problemFileHighlightFilter" interface="com.intellij.openapi.util.Condition" area="IDEA_PROJECT" dynamic="true"/>
<extensionPoint name="problemHighlightFilter" interface="com.intellij.codeInsight.daemon.ProblemHighlightFilter" dynamic="true"/>
<extensionPoint name="problemsViewPanelProvider" interface="com.intellij.analysis.problemsView.toolWindow.ProblemsViewPanelProvider" area="IDEA_PROJECT" dynamic="true"/>
<extensionPoint name="uiDebuggerExtension" interface="com.intellij.ui.debugger.UiDebuggerExtension"/>
<extensionPoint name="sdkDownload" interface="com.intellij.openapi.roots.ui.configuration.projectRoot.SdkDownload" dynamic="true"/>
<extensionPoint name="projectViewPane" interface="com.intellij.ide.projectView.impl.AbstractProjectViewPane" area="IDEA_PROJECT" dynamic="true"/>
<extensionPoint name="projectViewPaneSelectionHelper" interface="com.intellij.ide.projectView.impl.ProjectViewPaneSelectionHelper" dynamic="true"/>
<extensionPoint name="projectViewNodeDecorator" interface="com.intellij.ide.projectView.ProjectViewNodeDecorator" area="IDEA_PROJECT" dynamic="true"/>
<extensionPoint name="projectView.externalLibraries.workspaceModelNodesProvider"
interface="com.intellij.ide.projectView.impl.nodes.ExternalLibrariesWorkspaceModelNodesProvider"
dynamic="true"/>
<extensionPoint name="elementPreviewProvider" interface="com.intellij.codeInsight.preview.ElementPreviewProvider" dynamic="true"/>
<extensionPoint name="previewHintProvider" interface="com.intellij.codeInsight.preview.PreviewHintProvider" dynamic="true"/>
<extensionPoint name="testActionProvider" interface="com.intellij.execution.testframework.ToggleModelActionProvider" dynamic="true"/>
<extensionPoint name="diffPreviewProvider" interface="com.intellij.openapi.diff.impl.settings.DiffPreviewProvider"/>
<extensionPoint name="semContributor" beanClass="com.intellij.semantic.SemContributorEP" dynamic="true">
<with attribute="implementation" implements="com.intellij.semantic.SemContributor"/>
</extensionPoint>
<extensionPoint name="typeName" beanClass="com.intellij.ide.TypeNameEP" dynamic="true">
<with attribute="className" implements="java.lang.Object"/>
</extensionPoint>
<extensionPoint name="typeIcon" beanClass="com.intellij.ide.TypeIconEP" dynamic="true">
<with attribute="className" implements="java.lang.Object"/>
</extensionPoint>
<extensionPoint name="presentationProvider" beanClass="com.intellij.openapi.util.ClassExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.ide.presentation.PresentationProvider"/>
</extensionPoint>
<extensionPoint name="analyzeStacktraceFilter" interface="com.intellij.execution.filters.Filter" area="IDEA_PROJECT" dynamic="true"/>
<extensionPoint name="stacktrace.fold" beanClass="com.intellij.execution.console.CustomizableConsoleFoldingBean" dynamic="true"/>
<extensionPoint name="stacktrace.fold.line.modifier" interface="com.intellij.execution.console.ConsoleLineModifier" dynamic="true"/>
<extensionPoint name="aliasingPsiTargetMapper" interface="com.intellij.psi.targets.AliasingPsiTargetMapper" dynamic="true"/>
<extensionPoint name="project.converterProvider" interface="com.intellij.conversion.ConverterProvider" dynamic="true"/>
<extensionPoint name="treeGenerator" interface="com.intellij.psi.impl.source.tree.TreeGenerator" dynamic="true"/>
<extensionPoint name="moduleRendererFactory" interface="com.intellij.ide.util.ModuleRendererFactory" dynamic="true"/>
<extensionPoint name="module.workingDirectoryProvider" interface="com.intellij.openapi.module.WorkingDirectoryProvider" dynamic="true"/>
<extensionPoint name="projectStructure.sourceRootEditHandler" interface="com.intellij.openapi.roots.ui.configuration.ModuleSourceRootEditHandler" dynamic="true"/>
<extensionPoint name="toolsProvider" interface="com.intellij.tools.ToolsProvider" dynamic="true"/>
<extensionPoint name="toolsCustomizer" interface="com.intellij.tools.ToolsCustomizer" dynamic="true"/>
<extensionPoint name="defaultHighlightingSettingProvider" interface="com.intellij.codeInsight.daemon.impl.analysis.DefaultHighlightingSettingProvider" dynamic="true"/>
<extensionPoint name="goto.nonProjectScopeDisabler" beanClass="com.intellij.ide.actions.NonProjectScopeDisablerEP" dynamic="true"/>
<extensionPoint name="searchEverywhereClassifier" interface="com.intellij.ide.actions.SearchEverywhereClassifier" dynamic="true"/>
<extensionPoint name="gotoFileCustomizer" interface="com.intellij.ide.util.gotoByName.GotoFileCustomizer" dynamic="true"/>
<extensionPoint name="scratch.rootType" interface="com.intellij.ide.scratch.RootType" dynamic="true"/>
<extensionPoint name="scratch.creationHelper" beanClass="com.intellij.lang.LanguageExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.ide.scratch.ScratchFileCreationHelper"/>
</extensionPoint>
<extensionPoint name="packageDependencies.visitor" beanClass="com.intellij.lang.LanguageExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.packageDependencies.DependencyVisitorFactory"/>
</extensionPoint>
<extensionPoint name="lang.sliceProvider" beanClass="com.intellij.lang.LanguageExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.slicer.SliceLanguageSupportProvider"/>
</extensionPoint>
<extensionPoint name="intentionsOrderProvider" beanClass="com.intellij.lang.LanguageExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.codeInsight.intention.impl.IntentionsOrderProvider"/>
</extensionPoint>
<extensionPoint name="projectViewNestingRulesProvider" interface="com.intellij.ide.projectView.ProjectViewNestingRulesProvider" dynamic="true"/>
<extensionPoint name="longLineInspectionPolicy" interface="com.intellij.codeInspection.longLine.LongLineInspectionPolicy" dynamic="true"/>
<extensionPoint name="breadcrumbsInfoProvider" interface="com.intellij.ui.breadcrumbs.BreadcrumbsProvider" dynamic="true"/>
<extensionPoint name="consoleHistoryModelProvider" interface="com.intellij.execution.console.ConsoleHistoryModelProvider" dynamic="true"/>
<extensionPoint name="filetype.prebuiltStubsProvider" beanClass="com.intellij.openapi.fileTypes.FileTypeExtensionPoint" dynamic="true">
<with attribute="implementationClass" implements="com.intellij.psi.stubs.PrebuiltStubsProvider"/>
</extensionPoint>
<extensionPoint name="runningApplicationUpdaterProvider" interface="com.intellij.execution.update.RunningApplicationUpdaterProvider" dynamic="true"/>
<extensionPoint name="retypeFileAssistant" interface="com.intellij.internal.retype.RetypeFileAssistant" dynamic="true"/>
<extensionPoint name="trafficLightRendererContributor" interface="com.intellij.codeInsight.daemon.impl.TrafficLightRendererContributor" dynamic="true"/>
<extensionPoint name="implementationViewSessionFactory" interface="com.intellij.codeInsight.hint.ImplementationViewSessionFactory" dynamic="true"/>
<extensionPoint name="implementationViewDocumentFactory" interface="com.intellij.codeInsight.hint.ImplementationViewDocumentFactory" dynamic="true"/>
<extensionPoint name="highlightInfoPostFilter" interface="com.intellij.codeInsight.daemon.impl.HighlightInfoPostFilter" area="IDEA_PROJECT" dynamic="true"/>
<extensionPoint name="commandLineInspectionProjectConfigurator" interface="com.intellij.ide.CommandLineInspectionProjectConfigurator" dynamic="true"/>
<extensionPoint name="fileTypeStatisticProvider" interface="com.intellij.internal.statistic.fileTypes.FileTypeStatisticProvider" dynamic="true"/>
<extensionPoint name="lang.directNavigationProvider" dynamic="true" interface="com.intellij.navigation.DirectNavigationProvider"/>
<extensionPoint name="lang.symbolTypeProvider" dynamic="true" interface="com.intellij.codeInsight.navigation.SymbolTypeProvider"/>
<extensionPoint name="readerModeProvider" dynamic="true" interface="com.intellij.codeInsight.actions.ReaderModeProvider"/>
<extensionPoint name="readerModeMatcher" dynamic="true" interface="com.intellij.codeInsight.actions.ReaderModeMatcher"/>
<extensionPoint name="lang.documentationLinkHandler" dynamic="true"
interface="com.intellij.lang.documentation.DocumentationLinkHandler"/>
<extensionPoint name="lang.documentation" dynamic="true"
interface="com.intellij.lang.documentation.DocumentationTargetProvider"/>
<extensionPoint name="lang.symbolDocumentation" dynamic="true"
interface="com.intellij.lang.documentation.symbol.SymbolDocumentationTargetProvider"/>
<extensionPoint name="lang.psiDocumentation" dynamic="true"
interface="com.intellij.lang.documentation.psi.PsiDocumentationTargetProvider"/>
<extensionPoint qualifiedName="com.intellij.properties.files.provider"
interface="com.intellij.properties.provider.PropertiesProvider" dynamic="true"/>
<extensionPoint qualifiedName="com.intellij.codeInsight.daemon.impl.injectedLanguageHighlightingRangeReducer"
interface="com.intellij.codeInsight.daemon.impl.InjectedLanguageHighlightingRangeReducer"/>
<extensionPoint qualifiedName="com.intellij.codeInsight.daemon.impl.injectedLanguageHighlightingFilesFilterProvider"
interface="com.intellij.codeInsight.daemon.impl.InjectedLanguageHighlightingFilesFilterProvider"/>
</extensionPoints>
</idea-plugin> | {
"content_hash": "19a7b41b806463b8d7931988bcc18e76",
"timestamp": "",
"source": "github",
"line_count": 630,
"max_line_length": 173,
"avg_line_length": 79.24285714285715,
"alnum_prop": 0.7962462191775334,
"repo_name": "GunoH/intellij-community",
"id": "29c5bade28465636af52b554c032f62e1b7b75b4",
"size": "49923",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "platform/platform-resources/src/META-INF/LangExtensionPoints.xml",
"mode": "33188",
"license": "apache-2.0",
"language": [],
"symlink_target": ""
} |
@interface SPSlideTabViewControllerDemoTests : XCTestCase
@end
@implementation SPSlideTabViewControllerDemoTests
- (void)setUp {
[super setUp];
// Put setup code here. This method is called before the invocation of each test method in the class.
}
- (void)tearDown {
// Put teardown code here. This method is called after the invocation of each test method in the class.
[super tearDown];
}
- (void)testExample {
// This is an example of a functional test case.
// Use XCTAssert and related functions to verify your tests produce the correct results.
}
- (void)testPerformanceExample {
// This is an example of a performance test case.
[self measureBlock:^{
// Put the code you want to measure the time of here.
}];
}
@end
| {
"content_hash": "00a1f03dad6e55692330d9d4da152c1b",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 107,
"avg_line_length": 26.689655172413794,
"alnum_prop": 0.710594315245478,
"repo_name": "aokizen/SPSlideTabBarController",
"id": "a862b91a5dd6ce1314766e86de280375580aa97a",
"size": "978",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "SPSlideTabBarControllerDemo/SPSlideTabBarControllerDemoTests/SPSlideTabBarControllerDemoTests.m",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Objective-C",
"bytes": "64741"
},
{
"name": "Ruby",
"bytes": "6309"
}
],
"symlink_target": ""
} |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/vision/v1p1beta1/geometry.proto
package com.google.cloud.vision.v1p1beta1;
/**
* <pre>
* A 3D position in the image, used primarily for Face detection landmarks.
* A valid Position must have both x and y coordinates.
* The position coordinates are in the same scale as the original image.
* </pre>
*
* Protobuf type {@code google.cloud.vision.v1p1beta1.Position}
*/
public final class Position extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:google.cloud.vision.v1p1beta1.Position)
PositionOrBuilder {
private static final long serialVersionUID = 0L;
// Use Position.newBuilder() to construct.
private Position(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private Position() {
x_ = 0F;
y_ = 0F;
z_ = 0F;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Position(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 13: {
x_ = input.readFloat();
break;
}
case 21: {
y_ = input.readFloat();
break;
}
case 29: {
z_ = input.readFloat();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.cloud.vision.v1p1beta1.GeometryProto.internal_static_google_cloud_vision_v1p1beta1_Position_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.cloud.vision.v1p1beta1.GeometryProto.internal_static_google_cloud_vision_v1p1beta1_Position_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.vision.v1p1beta1.Position.class, com.google.cloud.vision.v1p1beta1.Position.Builder.class);
}
public static final int X_FIELD_NUMBER = 1;
private float x_;
/**
* <pre>
* X coordinate.
* </pre>
*
* <code>float x = 1;</code>
*/
public float getX() {
return x_;
}
public static final int Y_FIELD_NUMBER = 2;
private float y_;
/**
* <pre>
* Y coordinate.
* </pre>
*
* <code>float y = 2;</code>
*/
public float getY() {
return y_;
}
public static final int Z_FIELD_NUMBER = 3;
private float z_;
/**
* <pre>
* Z coordinate (or depth).
* </pre>
*
* <code>float z = 3;</code>
*/
public float getZ() {
return z_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (x_ != 0F) {
output.writeFloat(1, x_);
}
if (y_ != 0F) {
output.writeFloat(2, y_);
}
if (z_ != 0F) {
output.writeFloat(3, z_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (x_ != 0F) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(1, x_);
}
if (y_ != 0F) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(2, y_);
}
if (z_ != 0F) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(3, z_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.google.cloud.vision.v1p1beta1.Position)) {
return super.equals(obj);
}
com.google.cloud.vision.v1p1beta1.Position other = (com.google.cloud.vision.v1p1beta1.Position) obj;
boolean result = true;
result = result && (
java.lang.Float.floatToIntBits(getX())
== java.lang.Float.floatToIntBits(
other.getX()));
result = result && (
java.lang.Float.floatToIntBits(getY())
== java.lang.Float.floatToIntBits(
other.getY()));
result = result && (
java.lang.Float.floatToIntBits(getZ())
== java.lang.Float.floatToIntBits(
other.getZ()));
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + X_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getX());
hash = (37 * hash) + Y_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getY());
hash = (37 * hash) + Z_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getZ());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.cloud.vision.v1p1beta1.Position parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.cloud.vision.v1p1beta1.Position parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.cloud.vision.v1p1beta1.Position parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.cloud.vision.v1p1beta1.Position parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.cloud.vision.v1p1beta1.Position parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.cloud.vision.v1p1beta1.Position parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.cloud.vision.v1p1beta1.Position parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.cloud.vision.v1p1beta1.Position parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.cloud.vision.v1p1beta1.Position parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.cloud.vision.v1p1beta1.Position parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.cloud.vision.v1p1beta1.Position parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.cloud.vision.v1p1beta1.Position parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.google.cloud.vision.v1p1beta1.Position prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* <pre>
* A 3D position in the image, used primarily for Face detection landmarks.
* A valid Position must have both x and y coordinates.
* The position coordinates are in the same scale as the original image.
* </pre>
*
* Protobuf type {@code google.cloud.vision.v1p1beta1.Position}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:google.cloud.vision.v1p1beta1.Position)
com.google.cloud.vision.v1p1beta1.PositionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.cloud.vision.v1p1beta1.GeometryProto.internal_static_google_cloud_vision_v1p1beta1_Position_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.cloud.vision.v1p1beta1.GeometryProto.internal_static_google_cloud_vision_v1p1beta1_Position_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.vision.v1p1beta1.Position.class, com.google.cloud.vision.v1p1beta1.Position.Builder.class);
}
// Construct using com.google.cloud.vision.v1p1beta1.Position.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
x_ = 0F;
y_ = 0F;
z_ = 0F;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.cloud.vision.v1p1beta1.GeometryProto.internal_static_google_cloud_vision_v1p1beta1_Position_descriptor;
}
public com.google.cloud.vision.v1p1beta1.Position getDefaultInstanceForType() {
return com.google.cloud.vision.v1p1beta1.Position.getDefaultInstance();
}
public com.google.cloud.vision.v1p1beta1.Position build() {
com.google.cloud.vision.v1p1beta1.Position result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.google.cloud.vision.v1p1beta1.Position buildPartial() {
com.google.cloud.vision.v1p1beta1.Position result = new com.google.cloud.vision.v1p1beta1.Position(this);
result.x_ = x_;
result.y_ = y_;
result.z_ = z_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.cloud.vision.v1p1beta1.Position) {
return mergeFrom((com.google.cloud.vision.v1p1beta1.Position)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.cloud.vision.v1p1beta1.Position other) {
if (other == com.google.cloud.vision.v1p1beta1.Position.getDefaultInstance()) return this;
if (other.getX() != 0F) {
setX(other.getX());
}
if (other.getY() != 0F) {
setY(other.getY());
}
if (other.getZ() != 0F) {
setZ(other.getZ());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.cloud.vision.v1p1beta1.Position parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.google.cloud.vision.v1p1beta1.Position) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private float x_ ;
/**
* <pre>
* X coordinate.
* </pre>
*
* <code>float x = 1;</code>
*/
public float getX() {
return x_;
}
/**
* <pre>
* X coordinate.
* </pre>
*
* <code>float x = 1;</code>
*/
public Builder setX(float value) {
x_ = value;
onChanged();
return this;
}
/**
* <pre>
* X coordinate.
* </pre>
*
* <code>float x = 1;</code>
*/
public Builder clearX() {
x_ = 0F;
onChanged();
return this;
}
private float y_ ;
/**
* <pre>
* Y coordinate.
* </pre>
*
* <code>float y = 2;</code>
*/
public float getY() {
return y_;
}
/**
* <pre>
* Y coordinate.
* </pre>
*
* <code>float y = 2;</code>
*/
public Builder setY(float value) {
y_ = value;
onChanged();
return this;
}
/**
* <pre>
* Y coordinate.
* </pre>
*
* <code>float y = 2;</code>
*/
public Builder clearY() {
y_ = 0F;
onChanged();
return this;
}
private float z_ ;
/**
* <pre>
* Z coordinate (or depth).
* </pre>
*
* <code>float z = 3;</code>
*/
public float getZ() {
return z_;
}
/**
* <pre>
* Z coordinate (or depth).
* </pre>
*
* <code>float z = 3;</code>
*/
public Builder setZ(float value) {
z_ = value;
onChanged();
return this;
}
/**
* <pre>
* Z coordinate (or depth).
* </pre>
*
* <code>float z = 3;</code>
*/
public Builder clearZ() {
z_ = 0F;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:google.cloud.vision.v1p1beta1.Position)
}
// @@protoc_insertion_point(class_scope:google.cloud.vision.v1p1beta1.Position)
private static final com.google.cloud.vision.v1p1beta1.Position DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.cloud.vision.v1p1beta1.Position();
}
public static com.google.cloud.vision.v1p1beta1.Position getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<Position>
PARSER = new com.google.protobuf.AbstractParser<Position>() {
public Position parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Position(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<Position> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<Position> getParserForType() {
return PARSER;
}
public com.google.cloud.vision.v1p1beta1.Position getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
| {
"content_hash": "c72f7dc7e9462ab30ff52438581b5857",
"timestamp": "",
"source": "github",
"line_count": 632,
"max_line_length": 134,
"avg_line_length": 30.009493670886076,
"alnum_prop": 0.6514288727196035,
"repo_name": "pongad/api-client-staging",
"id": "84aa8007a64fac7cc8615e15f3396ba622ca783f",
"size": "18966",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "generated/java/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/Position.java",
"mode": "33188",
"license": "bsd-3-clause",
"language": [
{
"name": "Java",
"bytes": "10561078"
},
{
"name": "JavaScript",
"bytes": "890945"
},
{
"name": "PHP",
"bytes": "9761909"
},
{
"name": "Python",
"bytes": "1395608"
},
{
"name": "Shell",
"bytes": "592"
}
],
"symlink_target": ""
} |
namespace Stripe.Treasury
{
using System.Collections.Generic;
using Newtonsoft.Json;
public class FinancialAccountFeaturesOutboundPaymentsUsDomesticWire : StripeEntity<FinancialAccountFeaturesOutboundPaymentsUsDomesticWire>
{
/// <summary>
/// Whether the FinancialAccount should have the Feature.
/// </summary>
[JsonProperty("requested")]
public bool Requested { get; set; }
/// <summary>
/// Whether the Feature is operational.
/// One of: <c>active</c>, <c>pending</c>, or <c>restricted</c>.
/// </summary>
[JsonProperty("status")]
public string Status { get; set; }
/// <summary>
/// Additional details; includes at least one entry when the status is not <c>active</c>.
/// </summary>
[JsonProperty("status_details")]
public List<FinancialAccountFeaturesOutboundPaymentsUsDomesticWireStatusDetail> StatusDetails { get; set; }
}
}
| {
"content_hash": "9348e4ce9d1398658c9e1d5f47d16a55",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 142,
"avg_line_length": 36.51851851851852,
"alnum_prop": 0.6389452332657201,
"repo_name": "stripe/stripe-dotnet",
"id": "28e5b50774075aabb0acb1d63c539f5d9644008b",
"size": "1026",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/Stripe.net/Entities/Treasury/FinancialAccountFeatures/FinancialAccountFeaturesOutboundPaymentsUsDomesticWire.cs",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "C#",
"bytes": "4098084"
},
{
"name": "Makefile",
"bytes": "261"
}
],
"symlink_target": ""
} |
using System.Data.Entity;
namespace Claims.Db
{
public class IdentityDbInit : NullDatabaseInitializer<AppIdentityDbContext>
{
}
}
| {
"content_hash": "087b631cc170d4289d8d1ed8980c3b1e",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 79,
"avg_line_length": 18.125,
"alnum_prop": 0.7310344827586207,
"repo_name": "7ohnn1/MVC_Security_Authorisation",
"id": "6e59c52530046f357d279234de79c3acf78de80d",
"size": "147",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "Core/Claims.Db/IdentityDbInit.cs",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "ASP",
"bytes": "101"
},
{
"name": "C#",
"bytes": "44486"
},
{
"name": "CSS",
"bytes": "316"
},
{
"name": "JavaScript",
"bytes": "214014"
}
],
"symlink_target": ""
} |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package android.support.v7.mediarouter;
public final class R {
public static final class anim {
public static int abc_fade_in=0x7f040000;
public static int abc_fade_out=0x7f040001;
public static int abc_grow_fade_in_from_bottom=0x7f040002;
public static int abc_popup_enter=0x7f040003;
public static int abc_popup_exit=0x7f040004;
public static int abc_shrink_fade_out_from_bottom=0x7f040005;
public static int abc_slide_in_bottom=0x7f040006;
public static int abc_slide_in_top=0x7f040007;
public static int abc_slide_out_bottom=0x7f040008;
public static int abc_slide_out_top=0x7f040009;
public static int design_bottom_sheet_slide_in=0x7f04000a;
public static int design_bottom_sheet_slide_out=0x7f04000b;
public static int design_fab_in=0x7f04000c;
public static int design_fab_out=0x7f04000d;
public static int design_snackbar_in=0x7f04000e;
public static int design_snackbar_out=0x7f04000f;
}
public static final class attr {
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int MediaRouteControllerWindowBackground=0x7f010004;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionBarDivider=0x7f010061;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionBarItemBackground=0x7f010062;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionBarPopupTheme=0x7f01005b;
/** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>May be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>wrap_content</code></td><td>0</td><td></td></tr>
</table>
*/
public static int actionBarSize=0x7f010060;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionBarSplitStyle=0x7f01005d;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionBarStyle=0x7f01005c;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionBarTabBarStyle=0x7f010057;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionBarTabStyle=0x7f010056;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionBarTabTextStyle=0x7f010058;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionBarTheme=0x7f01005e;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionBarWidgetTheme=0x7f01005f;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionButtonStyle=0x7f01007b;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionDropDownStyle=0x7f010077;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionLayout=0x7f0100c9;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionMenuTextAppearance=0x7f010063;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
*/
public static int actionMenuTextColor=0x7f010064;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModeBackground=0x7f010067;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModeCloseButtonStyle=0x7f010066;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModeCloseDrawable=0x7f010069;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModeCopyDrawable=0x7f01006b;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModeCutDrawable=0x7f01006a;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModeFindDrawable=0x7f01006f;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModePasteDrawable=0x7f01006c;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModePopupWindowStyle=0x7f010071;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModeSelectAllDrawable=0x7f01006d;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModeShareDrawable=0x7f01006e;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModeSplitBackground=0x7f010068;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModeStyle=0x7f010065;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModeWebSearchDrawable=0x7f010070;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionOverflowButtonStyle=0x7f010059;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionOverflowMenuStyle=0x7f01005a;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int actionProviderClass=0x7f0100cb;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int actionViewClass=0x7f0100ca;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int activityChooserViewStyle=0x7f010083;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int alertDialogButtonGroupStyle=0x7f0100a6;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int alertDialogCenterButtons=0x7f0100a7;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int alertDialogStyle=0x7f0100a5;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int alertDialogTheme=0x7f0100a8;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int allowStacking=0x7f0100ba;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int arrowHeadLength=0x7f0100c1;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int arrowShaftLength=0x7f0100c2;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int autoCompleteTextViewStyle=0x7f0100ad;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int background=0x7f010032;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
*/
public static int backgroundSplit=0x7f010034;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
*/
public static int backgroundStacked=0x7f010033;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int backgroundTint=0x7f0100f5;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>src_over</code></td><td>3</td><td></td></tr>
<tr><td><code>src_in</code></td><td>5</td><td></td></tr>
<tr><td><code>src_atop</code></td><td>9</td><td></td></tr>
<tr><td><code>multiply</code></td><td>14</td><td></td></tr>
<tr><td><code>screen</code></td><td>15</td><td></td></tr>
</table>
*/
public static int backgroundTintMode=0x7f0100f6;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int barLength=0x7f0100c3;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int behavior_hideable=0x7f0100fb;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int behavior_overlapTop=0x7f010121;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int behavior_peekHeight=0x7f0100fa;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int borderWidth=0x7f010117;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int borderlessButtonStyle=0x7f010080;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int bottomSheetDialogTheme=0x7f010111;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int bottomSheetStyle=0x7f010112;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int buttonBarButtonStyle=0x7f01007d;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int buttonBarNegativeButtonStyle=0x7f0100ab;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int buttonBarNeutralButtonStyle=0x7f0100ac;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int buttonBarPositiveButtonStyle=0x7f0100aa;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int buttonBarStyle=0x7f01007c;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int buttonPanelSideLayout=0x7f010045;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int buttonStyle=0x7f0100ae;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int buttonStyleSmall=0x7f0100af;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int buttonTint=0x7f0100bb;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>src_over</code></td><td>3</td><td></td></tr>
<tr><td><code>src_in</code></td><td>5</td><td></td></tr>
<tr><td><code>src_atop</code></td><td>9</td><td></td></tr>
<tr><td><code>multiply</code></td><td>14</td><td></td></tr>
<tr><td><code>screen</code></td><td>15</td><td></td></tr>
</table>
*/
public static int buttonTintMode=0x7f0100bc;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int cardBackgroundColor=0x7f01001b;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int cardCornerRadius=0x7f01001c;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int cardElevation=0x7f01001d;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int cardMaxElevation=0x7f01001e;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int cardPreventCornerOverlap=0x7f010020;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int cardUseCompatPadding=0x7f01001f;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int checkboxStyle=0x7f0100b0;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int checkedTextViewStyle=0x7f0100b1;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int closeIcon=0x7f0100d3;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int closeItemLayout=0x7f010042;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int collapseContentDescription=0x7f0100ec;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int collapseIcon=0x7f0100eb;
/** <p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>top</code></td><td>0x30</td><td></td></tr>
<tr><td><code>bottom</code></td><td>0x50</td><td></td></tr>
<tr><td><code>left</code></td><td>0x03</td><td></td></tr>
<tr><td><code>right</code></td><td>0x05</td><td></td></tr>
<tr><td><code>center_vertical</code></td><td>0x10</td><td></td></tr>
<tr><td><code>fill_vertical</code></td><td>0x70</td><td></td></tr>
<tr><td><code>center_horizontal</code></td><td>0x01</td><td></td></tr>
<tr><td><code>center</code></td><td>0x11</td><td></td></tr>
<tr><td><code>start</code></td><td>0x00800003</td><td></td></tr>
<tr><td><code>end</code></td><td>0x00800005</td><td></td></tr>
</table>
*/
public static int collapsedTitleGravity=0x7f010108;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int collapsedTitleTextAppearance=0x7f010104;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int color=0x7f0100bd;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int colorAccent=0x7f01009e;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int colorButtonNormal=0x7f0100a2;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int colorControlActivated=0x7f0100a0;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int colorControlHighlight=0x7f0100a1;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int colorControlNormal=0x7f01009f;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int colorPrimary=0x7f01009c;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int colorPrimaryDark=0x7f01009d;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int colorSwitchThumbNormal=0x7f0100a3;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int commitIcon=0x7f0100d8;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int contentInsetEnd=0x7f01003d;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int contentInsetLeft=0x7f01003e;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int contentInsetRight=0x7f01003f;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int contentInsetStart=0x7f01003c;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int contentPadding=0x7f010021;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int contentPaddingBottom=0x7f010025;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int contentPaddingLeft=0x7f010022;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int contentPaddingRight=0x7f010023;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int contentPaddingTop=0x7f010024;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int contentScrim=0x7f010105;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int controlBackground=0x7f0100a4;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int counterEnabled=0x7f010137;
/** <p>Must be an integer value, such as "<code>100</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int counterMaxLength=0x7f010138;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int counterOverflowTextAppearance=0x7f01013a;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int counterTextAppearance=0x7f010139;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int customNavigationLayout=0x7f010035;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int defaultQueryHint=0x7f0100d2;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int dialogPreferredPadding=0x7f010075;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int dialogTheme=0x7f010074;
/** <p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>none</code></td><td>0</td><td></td></tr>
<tr><td><code>useLogo</code></td><td>0x1</td><td></td></tr>
<tr><td><code>showHome</code></td><td>0x2</td><td></td></tr>
<tr><td><code>homeAsUp</code></td><td>0x4</td><td></td></tr>
<tr><td><code>showTitle</code></td><td>0x8</td><td></td></tr>
<tr><td><code>showCustom</code></td><td>0x10</td><td></td></tr>
<tr><td><code>disableHome</code></td><td>0x20</td><td></td></tr>
</table>
*/
public static int displayOptions=0x7f01002b;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int divider=0x7f010031;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int dividerHorizontal=0x7f010082;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int dividerPadding=0x7f0100c7;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int dividerVertical=0x7f010081;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int drawableSize=0x7f0100bf;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int drawerArrowStyle=0x7f010026;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int dropDownListViewStyle=0x7f010094;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int dropdownListPreferredItemHeight=0x7f010078;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int editTextBackground=0x7f010089;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
*/
public static int editTextColor=0x7f010088;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int editTextStyle=0x7f0100b2;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int elevation=0x7f010040;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int errorEnabled=0x7f010135;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int errorTextAppearance=0x7f010136;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int expandActivityOverflowButtonDrawable=0x7f010044;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int expanded=0x7f0100f7;
/** <p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>top</code></td><td>0x30</td><td></td></tr>
<tr><td><code>bottom</code></td><td>0x50</td><td></td></tr>
<tr><td><code>left</code></td><td>0x03</td><td></td></tr>
<tr><td><code>right</code></td><td>0x05</td><td></td></tr>
<tr><td><code>center_vertical</code></td><td>0x10</td><td></td></tr>
<tr><td><code>fill_vertical</code></td><td>0x70</td><td></td></tr>
<tr><td><code>center_horizontal</code></td><td>0x01</td><td></td></tr>
<tr><td><code>center</code></td><td>0x11</td><td></td></tr>
<tr><td><code>start</code></td><td>0x00800003</td><td></td></tr>
<tr><td><code>end</code></td><td>0x00800005</td><td></td></tr>
</table>
*/
public static int expandedTitleGravity=0x7f010109;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int expandedTitleMargin=0x7f0100fe;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int expandedTitleMarginBottom=0x7f010102;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int expandedTitleMarginEnd=0x7f010101;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int expandedTitleMarginStart=0x7f0100ff;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int expandedTitleMarginTop=0x7f010100;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int expandedTitleTextAppearance=0x7f010103;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int externalRouteEnabledDrawable=0x7f01001a;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>normal</code></td><td>0</td><td></td></tr>
<tr><td><code>mini</code></td><td>1</td><td></td></tr>
</table>
*/
public static int fabSize=0x7f010115;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int foregroundInsidePadding=0x7f010119;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int gapBetweenBars=0x7f0100c0;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int goIcon=0x7f0100d4;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int headerLayout=0x7f01011f;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int height=0x7f010027;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int hideOnContentScroll=0x7f01003b;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int hintAnimationEnabled=0x7f01013b;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int hintEnabled=0x7f010134;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int hintTextAppearance=0x7f010133;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int homeAsUpIndicator=0x7f01007a;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int homeLayout=0x7f010036;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int icon=0x7f01002f;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int iconifiedByDefault=0x7f0100d0;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int imageButtonStyle=0x7f01008a;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int indeterminateProgressStyle=0x7f010038;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int initialActivityCount=0x7f010043;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
*/
public static int insetForeground=0x7f010120;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int isLightTheme=0x7f010028;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int itemBackground=0x7f01011d;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int itemIconTint=0x7f01011b;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int itemPadding=0x7f01003a;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int itemTextAppearance=0x7f01011e;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int itemTextColor=0x7f01011c;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int keylines=0x7f01010b;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int layout=0x7f0100cf;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int layoutManager=0x7f010000;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int layout_anchor=0x7f01010e;
/** <p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>top</code></td><td>0x30</td><td></td></tr>
<tr><td><code>bottom</code></td><td>0x50</td><td></td></tr>
<tr><td><code>left</code></td><td>0x03</td><td></td></tr>
<tr><td><code>right</code></td><td>0x05</td><td></td></tr>
<tr><td><code>center_vertical</code></td><td>0x10</td><td></td></tr>
<tr><td><code>fill_vertical</code></td><td>0x70</td><td></td></tr>
<tr><td><code>center_horizontal</code></td><td>0x01</td><td></td></tr>
<tr><td><code>fill_horizontal</code></td><td>0x07</td><td></td></tr>
<tr><td><code>center</code></td><td>0x11</td><td></td></tr>
<tr><td><code>fill</code></td><td>0x77</td><td></td></tr>
<tr><td><code>clip_vertical</code></td><td>0x80</td><td></td></tr>
<tr><td><code>clip_horizontal</code></td><td>0x08</td><td></td></tr>
<tr><td><code>start</code></td><td>0x00800003</td><td></td></tr>
<tr><td><code>end</code></td><td>0x00800005</td><td></td></tr>
</table>
*/
public static int layout_anchorGravity=0x7f010110;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int layout_behavior=0x7f01010d;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>none</code></td><td>0</td><td></td></tr>
<tr><td><code>pin</code></td><td>1</td><td></td></tr>
<tr><td><code>parallax</code></td><td>2</td><td></td></tr>
</table>
*/
public static int layout_collapseMode=0x7f0100fc;
/** <p>Must be a floating point value, such as "<code>1.2</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int layout_collapseParallaxMultiplier=0x7f0100fd;
/** <p>Must be an integer value, such as "<code>100</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int layout_keyline=0x7f01010f;
/** <p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>scroll</code></td><td>0x1</td><td></td></tr>
<tr><td><code>exitUntilCollapsed</code></td><td>0x2</td><td></td></tr>
<tr><td><code>enterAlways</code></td><td>0x4</td><td></td></tr>
<tr><td><code>enterAlwaysCollapsed</code></td><td>0x8</td><td></td></tr>
<tr><td><code>snap</code></td><td>0x10</td><td></td></tr>
</table>
*/
public static int layout_scrollFlags=0x7f0100f8;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int layout_scrollInterpolator=0x7f0100f9;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int listChoiceBackgroundIndicator=0x7f01009b;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int listDividerAlertDialog=0x7f010076;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int listItemLayout=0x7f010049;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int listLayout=0x7f010046;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int listPopupWindowStyle=0x7f010095;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int listPreferredItemHeight=0x7f01008f;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int listPreferredItemHeightLarge=0x7f010091;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int listPreferredItemHeightSmall=0x7f010090;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int listPreferredItemPaddingLeft=0x7f010092;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int listPreferredItemPaddingRight=0x7f010093;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int logo=0x7f010030;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int logoDescription=0x7f0100ef;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int maxActionInlineWidth=0x7f010122;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int maxButtonHeight=0x7f0100ea;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int measureWithLargestChild=0x7f0100c5;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int mediaRouteAudioTrackDrawable=0x7f010005;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int mediaRouteBluetoothIconDrawable=0x7f010006;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int mediaRouteButtonStyle=0x7f010007;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int mediaRouteCastDrawable=0x7f010008;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int mediaRouteChooserPrimaryTextStyle=0x7f010009;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int mediaRouteChooserSecondaryTextStyle=0x7f01000a;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int mediaRouteCloseDrawable=0x7f01000b;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int mediaRouteCollapseGroupDrawable=0x7f01000c;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int mediaRouteConnectingDrawable=0x7f01000d;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int mediaRouteControllerPrimaryTextStyle=0x7f01000e;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int mediaRouteControllerSecondaryTextStyle=0x7f01000f;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int mediaRouteControllerTitleTextStyle=0x7f010010;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int mediaRouteDefaultIconDrawable=0x7f010011;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int mediaRouteExpandGroupDrawable=0x7f010012;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int mediaRouteOffDrawable=0x7f010013;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int mediaRouteOnDrawable=0x7f010014;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int mediaRoutePauseDrawable=0x7f010015;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int mediaRoutePlayDrawable=0x7f010016;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int mediaRouteSpeakerGroupIconDrawable=0x7f010017;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int mediaRouteSpeakerIconDrawable=0x7f010018;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int mediaRouteTvIconDrawable=0x7f010019;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int menu=0x7f01011a;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int multiChoiceItemLayout=0x7f010047;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int navigationContentDescription=0x7f0100ee;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int navigationIcon=0x7f0100ed;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>normal</code></td><td>0</td><td></td></tr>
<tr><td><code>listMode</code></td><td>1</td><td></td></tr>
<tr><td><code>tabMode</code></td><td>2</td><td></td></tr>
</table>
*/
public static int navigationMode=0x7f01002a;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int overlapAnchor=0x7f0100cd;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int paddingEnd=0x7f0100f3;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int paddingStart=0x7f0100f2;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int panelBackground=0x7f010098;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int panelMenuListTheme=0x7f01009a;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int panelMenuListWidth=0x7f010099;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int popupMenuStyle=0x7f010086;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int popupTheme=0x7f010041;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int popupWindowStyle=0x7f010087;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int preserveIconSpacing=0x7f0100cc;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int pressedTranslationZ=0x7f010116;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int progressBarPadding=0x7f010039;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int progressBarStyle=0x7f010037;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int queryBackground=0x7f0100da;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int queryHint=0x7f0100d1;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int radioButtonStyle=0x7f0100b3;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int ratingBarStyle=0x7f0100b4;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int ratingBarStyleIndicator=0x7f0100b5;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int ratingBarStyleSmall=0x7f0100b6;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int reverseLayout=0x7f010002;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int rippleColor=0x7f010114;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int searchHintIcon=0x7f0100d6;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int searchIcon=0x7f0100d5;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int searchViewStyle=0x7f01008e;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int seekBarStyle=0x7f0100b7;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int selectableItemBackground=0x7f01007e;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int selectableItemBackgroundBorderless=0x7f01007f;
/** <p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>never</code></td><td>0</td><td></td></tr>
<tr><td><code>ifRoom</code></td><td>1</td><td></td></tr>
<tr><td><code>always</code></td><td>2</td><td></td></tr>
<tr><td><code>withText</code></td><td>4</td><td></td></tr>
<tr><td><code>collapseActionView</code></td><td>8</td><td></td></tr>
</table>
*/
public static int showAsAction=0x7f0100c8;
/** <p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>none</code></td><td>0</td><td></td></tr>
<tr><td><code>beginning</code></td><td>1</td><td></td></tr>
<tr><td><code>middle</code></td><td>2</td><td></td></tr>
<tr><td><code>end</code></td><td>4</td><td></td></tr>
</table>
*/
public static int showDividers=0x7f0100c6;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int showText=0x7f0100e2;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int singleChoiceItemLayout=0x7f010048;
/** <p>Must be an integer value, such as "<code>100</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int spanCount=0x7f010001;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int spinBars=0x7f0100be;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int spinnerDropDownItemStyle=0x7f010079;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int spinnerStyle=0x7f0100b8;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int splitTrack=0x7f0100e1;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int srcCompat=0x7f01004a;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int stackFromEnd=0x7f010003;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int state_above_anchor=0x7f0100ce;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int statusBarBackground=0x7f01010c;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int statusBarScrim=0x7f010106;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int submitBackground=0x7f0100db;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int subtitle=0x7f01002c;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int subtitleTextAppearance=0x7f0100e4;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int subtitleTextColor=0x7f0100f1;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int subtitleTextStyle=0x7f01002e;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int suggestionRowLayout=0x7f0100d9;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int switchMinWidth=0x7f0100df;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int switchPadding=0x7f0100e0;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int switchStyle=0x7f0100b9;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int switchTextAppearance=0x7f0100de;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int tabBackground=0x7f010126;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int tabContentStart=0x7f010125;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>fill</code></td><td>0</td><td></td></tr>
<tr><td><code>center</code></td><td>1</td><td></td></tr>
</table>
*/
public static int tabGravity=0x7f010128;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int tabIndicatorColor=0x7f010123;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int tabIndicatorHeight=0x7f010124;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int tabMaxWidth=0x7f01012a;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int tabMinWidth=0x7f010129;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>scrollable</code></td><td>0</td><td></td></tr>
<tr><td><code>fixed</code></td><td>1</td><td></td></tr>
</table>
*/
public static int tabMode=0x7f010127;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int tabPadding=0x7f010132;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int tabPaddingBottom=0x7f010131;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int tabPaddingEnd=0x7f010130;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int tabPaddingStart=0x7f01012e;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int tabPaddingTop=0x7f01012f;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int tabSelectedTextColor=0x7f01012d;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int tabTextAppearance=0x7f01012b;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int tabTextColor=0x7f01012c;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a boolean value, either "<code>true</code>" or "<code>false</code>".
*/
public static int textAllCaps=0x7f01004b;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int textAppearanceLargePopupMenu=0x7f010072;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int textAppearanceListItem=0x7f010096;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int textAppearanceListItemSmall=0x7f010097;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int textAppearanceSearchResultSubtitle=0x7f01008c;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int textAppearanceSearchResultTitle=0x7f01008b;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int textAppearanceSmallPopupMenu=0x7f010073;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
*/
public static int textColorAlertDialogListItem=0x7f0100a9;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int textColorError=0x7f010113;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
*/
public static int textColorSearchUrl=0x7f01008d;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int theme=0x7f0100f4;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int thickness=0x7f0100c4;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int thumbTextPadding=0x7f0100dd;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int title=0x7f010029;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int titleEnabled=0x7f01010a;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int titleMarginBottom=0x7f0100e9;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int titleMarginEnd=0x7f0100e7;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int titleMarginStart=0x7f0100e6;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int titleMarginTop=0x7f0100e8;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int titleMargins=0x7f0100e5;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int titleTextAppearance=0x7f0100e3;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int titleTextColor=0x7f0100f0;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int titleTextStyle=0x7f01002d;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int toolbarId=0x7f010107;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int toolbarNavigationButtonStyle=0x7f010085;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int toolbarStyle=0x7f010084;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int track=0x7f0100dc;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int useCompatPadding=0x7f010118;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int voiceIcon=0x7f0100d7;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int windowActionBar=0x7f01004c;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int windowActionBarOverlay=0x7f01004e;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int windowActionModeOverlay=0x7f01004f;
/** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int windowFixedHeightMajor=0x7f010053;
/** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int windowFixedHeightMinor=0x7f010051;
/** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int windowFixedWidthMajor=0x7f010050;
/** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int windowFixedWidthMinor=0x7f010052;
/** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int windowMinWidthMajor=0x7f010054;
/** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int windowMinWidthMinor=0x7f010055;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int windowNoTitle=0x7f01004d;
}
public static final class bool {
public static int abc_action_bar_embed_tabs=0x7f0c0003;
public static int abc_action_bar_embed_tabs_pre_jb=0x7f0c0001;
public static int abc_action_bar_expanded_action_views_exclusive=0x7f0c0004;
public static int abc_allow_stacked_button_bar=0x7f0c0000;
public static int abc_config_actionMenuItemAllCaps=0x7f0c0005;
public static int abc_config_allowActionMenuItemTextWithIcon=0x7f0c0002;
public static int abc_config_closeDialogWhenTouchOutside=0x7f0c0006;
public static int abc_config_showMenuShortcutsWhenKeyboardPresent=0x7f0c0007;
}
public static final class color {
public static int abc_background_cache_hint_selector_material_dark=0x7f0b004c;
public static int abc_background_cache_hint_selector_material_light=0x7f0b004d;
public static int abc_color_highlight_material=0x7f0b004e;
public static int abc_input_method_navigation_guard=0x7f0b0004;
public static int abc_primary_text_disable_only_material_dark=0x7f0b004f;
public static int abc_primary_text_disable_only_material_light=0x7f0b0050;
public static int abc_primary_text_material_dark=0x7f0b0051;
public static int abc_primary_text_material_light=0x7f0b0052;
public static int abc_search_url_text=0x7f0b0053;
public static int abc_search_url_text_normal=0x7f0b0005;
public static int abc_search_url_text_pressed=0x7f0b0006;
public static int abc_search_url_text_selected=0x7f0b0007;
public static int abc_secondary_text_material_dark=0x7f0b0054;
public static int abc_secondary_text_material_light=0x7f0b0055;
public static int accent=0x7f0b004a;
public static int accent_material_dark=0x7f0b0008;
public static int accent_material_light=0x7f0b0009;
public static int background_floating_material_dark=0x7f0b000a;
public static int background_floating_material_light=0x7f0b000b;
public static int background_material_dark=0x7f0b000c;
public static int background_material_light=0x7f0b000d;
public static int bright_foreground_disabled_material_dark=0x7f0b000e;
public static int bright_foreground_disabled_material_light=0x7f0b000f;
public static int bright_foreground_inverse_material_dark=0x7f0b0010;
public static int bright_foreground_inverse_material_light=0x7f0b0011;
public static int bright_foreground_material_dark=0x7f0b0012;
public static int bright_foreground_material_light=0x7f0b0013;
public static int button_material_dark=0x7f0b0014;
public static int button_material_light=0x7f0b0015;
public static int cardview_dark_background=0x7f0b0000;
public static int cardview_light_background=0x7f0b0001;
public static int cardview_shadow_end_color=0x7f0b0002;
public static int cardview_shadow_start_color=0x7f0b0003;
public static int design_fab_shadow_end_color=0x7f0b003e;
public static int design_fab_shadow_mid_color=0x7f0b003f;
public static int design_fab_shadow_start_color=0x7f0b0040;
public static int design_fab_stroke_end_inner_color=0x7f0b0041;
public static int design_fab_stroke_end_outer_color=0x7f0b0042;
public static int design_fab_stroke_top_inner_color=0x7f0b0043;
public static int design_fab_stroke_top_outer_color=0x7f0b0044;
public static int design_snackbar_background_color=0x7f0b0045;
public static int design_textinput_error_color_dark=0x7f0b0046;
public static int design_textinput_error_color_light=0x7f0b0047;
public static int dim_foreground_disabled_material_dark=0x7f0b0016;
public static int dim_foreground_disabled_material_light=0x7f0b0017;
public static int dim_foreground_material_dark=0x7f0b0018;
public static int dim_foreground_material_light=0x7f0b0019;
public static int foreground_material_dark=0x7f0b001a;
public static int foreground_material_light=0x7f0b001b;
public static int highlighted_text_material_dark=0x7f0b001c;
public static int highlighted_text_material_light=0x7f0b001d;
public static int hint_foreground_material_dark=0x7f0b001e;
public static int hint_foreground_material_light=0x7f0b001f;
public static int material_blue_grey_800=0x7f0b0020;
public static int material_blue_grey_900=0x7f0b0021;
public static int material_blue_grey_950=0x7f0b0022;
public static int material_deep_teal_200=0x7f0b0023;
public static int material_deep_teal_500=0x7f0b0024;
public static int material_grey_100=0x7f0b0025;
public static int material_grey_300=0x7f0b0026;
public static int material_grey_50=0x7f0b0027;
public static int material_grey_600=0x7f0b0028;
public static int material_grey_800=0x7f0b0029;
public static int material_grey_850=0x7f0b002a;
public static int material_grey_900=0x7f0b002b;
public static int primary=0x7f0b0048;
public static int primaryDark=0x7f0b0049;
public static int primary_dark_material_dark=0x7f0b002c;
public static int primary_dark_material_light=0x7f0b002d;
public static int primary_material_dark=0x7f0b002e;
public static int primary_material_light=0x7f0b002f;
public static int primary_text_default_material_dark=0x7f0b0030;
public static int primary_text_default_material_light=0x7f0b0031;
public static int primary_text_disabled_material_dark=0x7f0b0032;
public static int primary_text_disabled_material_light=0x7f0b0033;
public static int ripple_material_dark=0x7f0b0034;
public static int ripple_material_light=0x7f0b0035;
public static int secondary_text_default_material_dark=0x7f0b0036;
public static int secondary_text_default_material_light=0x7f0b0037;
public static int secondary_text_disabled_material_dark=0x7f0b0038;
public static int secondary_text_disabled_material_light=0x7f0b0039;
public static int switch_thumb_disabled_material_dark=0x7f0b003a;
public static int switch_thumb_disabled_material_light=0x7f0b003b;
public static int switch_thumb_material_dark=0x7f0b0056;
public static int switch_thumb_material_light=0x7f0b0057;
public static int switch_thumb_normal_material_dark=0x7f0b003c;
public static int switch_thumb_normal_material_light=0x7f0b003d;
public static int window_background=0x7f0b004b;
}
public static final class dimen {
public static int abc_action_bar_content_inset_material=0x7f060019;
public static int abc_action_bar_default_height_material=0x7f06000d;
public static int abc_action_bar_default_padding_end_material=0x7f06001a;
public static int abc_action_bar_default_padding_start_material=0x7f06001b;
public static int abc_action_bar_icon_vertical_padding_material=0x7f06001d;
public static int abc_action_bar_overflow_padding_end_material=0x7f06001e;
public static int abc_action_bar_overflow_padding_start_material=0x7f06001f;
public static int abc_action_bar_progress_bar_size=0x7f06000e;
public static int abc_action_bar_stacked_max_height=0x7f060020;
public static int abc_action_bar_stacked_tab_max_width=0x7f060021;
public static int abc_action_bar_subtitle_bottom_margin_material=0x7f060022;
public static int abc_action_bar_subtitle_top_margin_material=0x7f060023;
public static int abc_action_button_min_height_material=0x7f060024;
public static int abc_action_button_min_width_material=0x7f060025;
public static int abc_action_button_min_width_overflow_material=0x7f060026;
public static int abc_alert_dialog_button_bar_height=0x7f06000c;
public static int abc_button_inset_horizontal_material=0x7f060027;
public static int abc_button_inset_vertical_material=0x7f060028;
public static int abc_button_padding_horizontal_material=0x7f060029;
public static int abc_button_padding_vertical_material=0x7f06002a;
public static int abc_config_prefDialogWidth=0x7f060011;
public static int abc_control_corner_material=0x7f06002b;
public static int abc_control_inset_material=0x7f06002c;
public static int abc_control_padding_material=0x7f06002d;
public static int abc_dialog_fixed_height_major=0x7f060012;
public static int abc_dialog_fixed_height_minor=0x7f060013;
public static int abc_dialog_fixed_width_major=0x7f060014;
public static int abc_dialog_fixed_width_minor=0x7f060015;
public static int abc_dialog_list_padding_vertical_material=0x7f06002e;
public static int abc_dialog_min_width_major=0x7f060016;
public static int abc_dialog_min_width_minor=0x7f060017;
public static int abc_dialog_padding_material=0x7f06002f;
public static int abc_dialog_padding_top_material=0x7f060030;
public static int abc_disabled_alpha_material_dark=0x7f060031;
public static int abc_disabled_alpha_material_light=0x7f060032;
public static int abc_dropdownitem_icon_width=0x7f060033;
public static int abc_dropdownitem_text_padding_left=0x7f060034;
public static int abc_dropdownitem_text_padding_right=0x7f060035;
public static int abc_edit_text_inset_bottom_material=0x7f060036;
public static int abc_edit_text_inset_horizontal_material=0x7f060037;
public static int abc_edit_text_inset_top_material=0x7f060038;
public static int abc_floating_window_z=0x7f060039;
public static int abc_list_item_padding_horizontal_material=0x7f06003a;
public static int abc_panel_menu_list_width=0x7f06003b;
public static int abc_search_view_preferred_width=0x7f06003c;
public static int abc_search_view_text_min_width=0x7f060018;
public static int abc_seekbar_track_background_height_material=0x7f06003d;
public static int abc_seekbar_track_progress_height_material=0x7f06003e;
public static int abc_select_dialog_padding_start_material=0x7f06003f;
public static int abc_switch_padding=0x7f06001c;
public static int abc_text_size_body_1_material=0x7f060040;
public static int abc_text_size_body_2_material=0x7f060041;
public static int abc_text_size_button_material=0x7f060042;
public static int abc_text_size_caption_material=0x7f060043;
public static int abc_text_size_display_1_material=0x7f060044;
public static int abc_text_size_display_2_material=0x7f060045;
public static int abc_text_size_display_3_material=0x7f060046;
public static int abc_text_size_display_4_material=0x7f060047;
public static int abc_text_size_headline_material=0x7f060048;
public static int abc_text_size_large_material=0x7f060049;
public static int abc_text_size_medium_material=0x7f06004a;
public static int abc_text_size_menu_material=0x7f06004b;
public static int abc_text_size_small_material=0x7f06004c;
public static int abc_text_size_subhead_material=0x7f06004d;
public static int abc_text_size_subtitle_material_toolbar=0x7f06000f;
public static int abc_text_size_title_material=0x7f06004e;
public static int abc_text_size_title_material_toolbar=0x7f060010;
public static int cardview_compat_inset_shadow=0x7f060009;
public static int cardview_default_elevation=0x7f06000a;
public static int cardview_default_radius=0x7f06000b;
public static int design_appbar_elevation=0x7f06005f;
public static int design_bottom_sheet_modal_elevation=0x7f060060;
public static int design_bottom_sheet_modal_peek_height=0x7f060061;
public static int design_fab_border_width=0x7f060062;
public static int design_fab_elevation=0x7f060063;
public static int design_fab_image_size=0x7f060064;
public static int design_fab_size_mini=0x7f060065;
public static int design_fab_size_normal=0x7f060066;
public static int design_fab_translation_z_pressed=0x7f060067;
public static int design_navigation_elevation=0x7f060068;
public static int design_navigation_icon_padding=0x7f060069;
public static int design_navigation_icon_size=0x7f06006a;
public static int design_navigation_max_width=0x7f060057;
public static int design_navigation_padding_bottom=0x7f06006b;
public static int design_navigation_separator_vertical_padding=0x7f06006c;
public static int design_snackbar_action_inline_max_width=0x7f060058;
public static int design_snackbar_background_corner_radius=0x7f060059;
public static int design_snackbar_elevation=0x7f06006d;
public static int design_snackbar_extra_spacing_horizontal=0x7f06005a;
public static int design_snackbar_max_width=0x7f06005b;
public static int design_snackbar_min_width=0x7f06005c;
public static int design_snackbar_padding_horizontal=0x7f06006e;
public static int design_snackbar_padding_vertical=0x7f06006f;
public static int design_snackbar_padding_vertical_2lines=0x7f06005d;
public static int design_snackbar_text_size=0x7f060070;
public static int design_tab_max_width=0x7f060071;
public static int design_tab_scrollable_min_width=0x7f06005e;
public static int design_tab_text_size=0x7f060072;
public static int design_tab_text_size_2line=0x7f060073;
public static int disabled_alpha_material_dark=0x7f06004f;
public static int disabled_alpha_material_light=0x7f060050;
public static int highlight_alpha_material_colored=0x7f060051;
public static int highlight_alpha_material_dark=0x7f060052;
public static int highlight_alpha_material_light=0x7f060053;
public static int item_touch_helper_max_drag_scroll_per_frame=0x7f060000;
public static int item_touch_helper_swipe_escape_max_velocity=0x7f060001;
public static int item_touch_helper_swipe_escape_velocity=0x7f060002;
public static int mr_controller_volume_group_list_item_height=0x7f060003;
public static int mr_controller_volume_group_list_item_icon_size=0x7f060004;
public static int mr_controller_volume_group_list_max_height=0x7f060005;
public static int mr_controller_volume_group_list_padding_top=0x7f060008;
public static int mr_dialog_fixed_width_major=0x7f060006;
public static int mr_dialog_fixed_width_minor=0x7f060007;
public static int notification_large_icon_height=0x7f060054;
public static int notification_large_icon_width=0x7f060055;
public static int notification_subtext_size=0x7f060056;
}
public static final class drawable {
public static int abc_ab_share_pack_mtrl_alpha=0x7f020000;
public static int abc_action_bar_item_background_material=0x7f020001;
public static int abc_btn_borderless_material=0x7f020002;
public static int abc_btn_check_material=0x7f020003;
public static int abc_btn_check_to_on_mtrl_000=0x7f020004;
public static int abc_btn_check_to_on_mtrl_015=0x7f020005;
public static int abc_btn_colored_material=0x7f020006;
public static int abc_btn_default_mtrl_shape=0x7f020007;
public static int abc_btn_radio_material=0x7f020008;
public static int abc_btn_radio_to_on_mtrl_000=0x7f020009;
public static int abc_btn_radio_to_on_mtrl_015=0x7f02000a;
public static int abc_btn_rating_star_off_mtrl_alpha=0x7f02000b;
public static int abc_btn_rating_star_on_mtrl_alpha=0x7f02000c;
public static int abc_btn_switch_to_on_mtrl_00001=0x7f02000d;
public static int abc_btn_switch_to_on_mtrl_00012=0x7f02000e;
public static int abc_cab_background_internal_bg=0x7f02000f;
public static int abc_cab_background_top_material=0x7f020010;
public static int abc_cab_background_top_mtrl_alpha=0x7f020011;
public static int abc_control_background_material=0x7f020012;
public static int abc_dialog_material_background_dark=0x7f020013;
public static int abc_dialog_material_background_light=0x7f020014;
public static int abc_edit_text_material=0x7f020015;
public static int abc_ic_ab_back_mtrl_am_alpha=0x7f020016;
public static int abc_ic_clear_mtrl_alpha=0x7f020017;
public static int abc_ic_commit_search_api_mtrl_alpha=0x7f020018;
public static int abc_ic_go_search_api_mtrl_alpha=0x7f020019;
public static int abc_ic_menu_copy_mtrl_am_alpha=0x7f02001a;
public static int abc_ic_menu_cut_mtrl_alpha=0x7f02001b;
public static int abc_ic_menu_moreoverflow_mtrl_alpha=0x7f02001c;
public static int abc_ic_menu_paste_mtrl_am_alpha=0x7f02001d;
public static int abc_ic_menu_selectall_mtrl_alpha=0x7f02001e;
public static int abc_ic_menu_share_mtrl_alpha=0x7f02001f;
public static int abc_ic_search_api_mtrl_alpha=0x7f020020;
public static int abc_ic_star_black_16dp=0x7f020021;
public static int abc_ic_star_black_36dp=0x7f020022;
public static int abc_ic_star_half_black_16dp=0x7f020023;
public static int abc_ic_star_half_black_36dp=0x7f020024;
public static int abc_ic_voice_search_api_mtrl_alpha=0x7f020025;
public static int abc_item_background_holo_dark=0x7f020026;
public static int abc_item_background_holo_light=0x7f020027;
public static int abc_list_divider_mtrl_alpha=0x7f020028;
public static int abc_list_focused_holo=0x7f020029;
public static int abc_list_longpressed_holo=0x7f02002a;
public static int abc_list_pressed_holo_dark=0x7f02002b;
public static int abc_list_pressed_holo_light=0x7f02002c;
public static int abc_list_selector_background_transition_holo_dark=0x7f02002d;
public static int abc_list_selector_background_transition_holo_light=0x7f02002e;
public static int abc_list_selector_disabled_holo_dark=0x7f02002f;
public static int abc_list_selector_disabled_holo_light=0x7f020030;
public static int abc_list_selector_holo_dark=0x7f020031;
public static int abc_list_selector_holo_light=0x7f020032;
public static int abc_menu_hardkey_panel_mtrl_mult=0x7f020033;
public static int abc_popup_background_mtrl_mult=0x7f020034;
public static int abc_ratingbar_full_material=0x7f020035;
public static int abc_ratingbar_indicator_material=0x7f020036;
public static int abc_ratingbar_small_material=0x7f020037;
public static int abc_scrubber_control_off_mtrl_alpha=0x7f020038;
public static int abc_scrubber_control_to_pressed_mtrl_000=0x7f020039;
public static int abc_scrubber_control_to_pressed_mtrl_005=0x7f02003a;
public static int abc_scrubber_primary_mtrl_alpha=0x7f02003b;
public static int abc_scrubber_track_mtrl_alpha=0x7f02003c;
public static int abc_seekbar_thumb_material=0x7f02003d;
public static int abc_seekbar_track_material=0x7f02003e;
public static int abc_spinner_mtrl_am_alpha=0x7f02003f;
public static int abc_spinner_textfield_background_material=0x7f020040;
public static int abc_switch_thumb_material=0x7f020041;
public static int abc_switch_track_mtrl_alpha=0x7f020042;
public static int abc_tab_indicator_material=0x7f020043;
public static int abc_tab_indicator_mtrl_alpha=0x7f020044;
public static int abc_text_cursor_material=0x7f020045;
public static int abc_textfield_activated_mtrl_alpha=0x7f020046;
public static int abc_textfield_default_mtrl_alpha=0x7f020047;
public static int abc_textfield_search_activated_mtrl_alpha=0x7f020048;
public static int abc_textfield_search_default_mtrl_alpha=0x7f020049;
public static int abc_textfield_search_material=0x7f02004a;
public static int design_fab_background=0x7f02004b;
public static int design_snackbar_background=0x7f02004c;
public static int ic_audiotrack=0x7f02004d;
public static int ic_audiotrack_light=0x7f02004e;
public static int ic_bluetooth_grey=0x7f02004f;
public static int ic_bluetooth_white=0x7f020050;
public static int ic_cast_dark=0x7f020051;
public static int ic_cast_disabled_light=0x7f020052;
public static int ic_cast_grey=0x7f020053;
public static int ic_cast_light=0x7f020054;
public static int ic_cast_off_light=0x7f020055;
public static int ic_cast_on_0_light=0x7f020056;
public static int ic_cast_on_1_light=0x7f020057;
public static int ic_cast_on_2_light=0x7f020058;
public static int ic_cast_on_light=0x7f020059;
public static int ic_cast_white=0x7f02005a;
public static int ic_close_dark=0x7f02005b;
public static int ic_close_light=0x7f02005c;
public static int ic_collapse=0x7f02005d;
public static int ic_collapse_00000=0x7f02005e;
public static int ic_collapse_00001=0x7f02005f;
public static int ic_collapse_00002=0x7f020060;
public static int ic_collapse_00003=0x7f020061;
public static int ic_collapse_00004=0x7f020062;
public static int ic_collapse_00005=0x7f020063;
public static int ic_collapse_00006=0x7f020064;
public static int ic_collapse_00007=0x7f020065;
public static int ic_collapse_00008=0x7f020066;
public static int ic_collapse_00009=0x7f020067;
public static int ic_collapse_00010=0x7f020068;
public static int ic_collapse_00011=0x7f020069;
public static int ic_collapse_00012=0x7f02006a;
public static int ic_collapse_00013=0x7f02006b;
public static int ic_collapse_00014=0x7f02006c;
public static int ic_collapse_00015=0x7f02006d;
public static int ic_expand=0x7f02006e;
public static int ic_expand_00000=0x7f02006f;
public static int ic_expand_00001=0x7f020070;
public static int ic_expand_00002=0x7f020071;
public static int ic_expand_00003=0x7f020072;
public static int ic_expand_00004=0x7f020073;
public static int ic_expand_00005=0x7f020074;
public static int ic_expand_00006=0x7f020075;
public static int ic_expand_00007=0x7f020076;
public static int ic_expand_00008=0x7f020077;
public static int ic_expand_00009=0x7f020078;
public static int ic_expand_00010=0x7f020079;
public static int ic_expand_00011=0x7f02007a;
public static int ic_expand_00012=0x7f02007b;
public static int ic_expand_00013=0x7f02007c;
public static int ic_expand_00014=0x7f02007d;
public static int ic_expand_00015=0x7f02007e;
public static int ic_media_pause=0x7f02007f;
public static int ic_media_play=0x7f020080;
public static int ic_media_route_disabled_mono_dark=0x7f020081;
public static int ic_media_route_off_mono_dark=0x7f020082;
public static int ic_media_route_on_0_mono_dark=0x7f020083;
public static int ic_media_route_on_1_mono_dark=0x7f020084;
public static int ic_media_route_on_2_mono_dark=0x7f020085;
public static int ic_media_route_on_mono_dark=0x7f020086;
public static int ic_pause_dark=0x7f020087;
public static int ic_pause_light=0x7f020088;
public static int ic_play_dark=0x7f020089;
public static int ic_play_light=0x7f02008a;
public static int ic_speaker_dark=0x7f02008b;
public static int ic_speaker_group_dark=0x7f02008c;
public static int ic_speaker_group_light=0x7f02008d;
public static int ic_speaker_light=0x7f02008e;
public static int ic_tv_dark=0x7f02008f;
public static int ic_tv_light=0x7f020090;
public static int icon=0x7f020091;
public static int mr_dialog_material_background_dark=0x7f020092;
public static int mr_dialog_material_background_light=0x7f020093;
public static int mr_ic_audiotrack_light=0x7f020094;
public static int mr_ic_cast_dark=0x7f020095;
public static int mr_ic_cast_light=0x7f020096;
public static int mr_ic_close_dark=0x7f020097;
public static int mr_ic_close_light=0x7f020098;
public static int mr_ic_media_route_connecting_mono_dark=0x7f020099;
public static int mr_ic_media_route_connecting_mono_light=0x7f02009a;
public static int mr_ic_media_route_mono_dark=0x7f02009b;
public static int mr_ic_media_route_mono_light=0x7f02009c;
public static int mr_ic_pause_dark=0x7f02009d;
public static int mr_ic_pause_light=0x7f02009e;
public static int mr_ic_play_dark=0x7f02009f;
public static int mr_ic_play_light=0x7f0200a0;
public static int notification_template_icon_bg=0x7f0200a1;
}
public static final class id {
public static int action0=0x7f07008b;
public static int action_bar=0x7f07005a;
public static int action_bar_activity_content=0x7f070001;
public static int action_bar_container=0x7f070059;
public static int action_bar_root=0x7f070055;
public static int action_bar_spinner=0x7f070002;
public static int action_bar_subtitle=0x7f07003b;
public static int action_bar_title=0x7f07003a;
public static int action_context_bar=0x7f07005b;
public static int action_divider=0x7f07008f;
public static int action_menu_divider=0x7f070003;
public static int action_menu_presenter=0x7f070004;
public static int action_mode_bar=0x7f070057;
public static int action_mode_bar_stub=0x7f070056;
public static int action_mode_close_button=0x7f07003c;
public static int activity_chooser_view_content=0x7f07003d;
public static int alertTitle=0x7f070049;
public static int always=0x7f07001e;
public static int beginning=0x7f07001b;
public static int bottom=0x7f07002a;
public static int buttonPanel=0x7f070044;
public static int cancel_action=0x7f07008c;
public static int center=0x7f07002b;
public static int center_horizontal=0x7f07002c;
public static int center_vertical=0x7f07002d;
public static int checkbox=0x7f070052;
public static int chronometer=0x7f070092;
public static int clip_horizontal=0x7f070033;
public static int clip_vertical=0x7f070034;
public static int collapseActionView=0x7f07001f;
public static int contentPanel=0x7f07004a;
public static int custom=0x7f070050;
public static int customPanel=0x7f07004f;
public static int decor_content_parent=0x7f070058;
public static int default_activity_button=0x7f070040;
public static int design_bottom_sheet=0x7f07006a;
public static int design_menu_item_action_area=0x7f070071;
public static int design_menu_item_action_area_stub=0x7f070070;
public static int design_menu_item_text=0x7f07006f;
public static int design_navigation_view=0x7f07006e;
public static int disableHome=0x7f07000e;
public static int edit_query=0x7f07005c;
public static int end=0x7f07001c;
public static int end_padder=0x7f070097;
public static int enterAlways=0x7f070023;
public static int enterAlwaysCollapsed=0x7f070024;
public static int exitUntilCollapsed=0x7f070025;
public static int expand_activities_button=0x7f07003e;
public static int expanded_menu=0x7f070051;
public static int fill=0x7f070035;
public static int fill_horizontal=0x7f070036;
public static int fill_vertical=0x7f07002e;
public static int fixed=0x7f070038;
public static int home=0x7f070005;
public static int homeAsUp=0x7f07000f;
public static int icon=0x7f070042;
public static int ifRoom=0x7f070020;
public static int image=0x7f07003f;
public static int info=0x7f070096;
public static int item_touch_helper_previous_elevation=0x7f070000;
public static int left=0x7f07002f;
public static int line1=0x7f070090;
public static int line3=0x7f070094;
public static int listMode=0x7f07000b;
public static int list_item=0x7f070041;
public static int media_actions=0x7f07008e;
public static int middle=0x7f07001d;
public static int mini=0x7f070037;
public static int mr_art=0x7f07007d;
public static int mr_chooser_list=0x7f070072;
public static int mr_chooser_route_desc=0x7f070075;
public static int mr_chooser_route_icon=0x7f070073;
public static int mr_chooser_route_name=0x7f070074;
public static int mr_close=0x7f07007a;
public static int mr_control_divider=0x7f070080;
public static int mr_control_play_pause=0x7f070086;
public static int mr_control_subtitle=0x7f070089;
public static int mr_control_title=0x7f070088;
public static int mr_control_title_container=0x7f070087;
public static int mr_custom_control=0x7f07007b;
public static int mr_default_control=0x7f07007c;
public static int mr_dialog_area=0x7f070077;
public static int mr_expandable_area=0x7f070076;
public static int mr_group_expand_collapse=0x7f07008a;
public static int mr_media_main_control=0x7f07007e;
public static int mr_name=0x7f070079;
public static int mr_playback_control=0x7f07007f;
public static int mr_title_bar=0x7f070078;
public static int mr_volume_control=0x7f070081;
public static int mr_volume_group_list=0x7f070082;
public static int mr_volume_item_icon=0x7f070084;
public static int mr_volume_slider=0x7f070085;
public static int multiply=0x7f070016;
public static int navigation_header_container=0x7f07006d;
public static int never=0x7f070021;
public static int none=0x7f070010;
public static int normal=0x7f07000c;
public static int parallax=0x7f070028;
public static int parentPanel=0x7f070046;
public static int pin=0x7f070029;
public static int progress_circular=0x7f070006;
public static int progress_horizontal=0x7f070007;
public static int radio=0x7f070054;
public static int right=0x7f070030;
public static int screen=0x7f070017;
public static int scroll=0x7f070026;
public static int scrollIndicatorDown=0x7f07004e;
public static int scrollIndicatorUp=0x7f07004b;
public static int scrollView=0x7f07004c;
public static int scrollable=0x7f070039;
public static int search_badge=0x7f07005e;
public static int search_bar=0x7f07005d;
public static int search_button=0x7f07005f;
public static int search_close_btn=0x7f070064;
public static int search_edit_frame=0x7f070060;
public static int search_go_btn=0x7f070066;
public static int search_mag_icon=0x7f070061;
public static int search_plate=0x7f070062;
public static int search_src_text=0x7f070063;
public static int search_voice_btn=0x7f070067;
public static int select_dialog_listview=0x7f070068;
public static int shortcut=0x7f070053;
public static int showCustom=0x7f070011;
public static int showHome=0x7f070012;
public static int showTitle=0x7f070013;
public static int snackbar_action=0x7f07006c;
public static int snackbar_text=0x7f07006b;
public static int snap=0x7f070027;
public static int spacer=0x7f070045;
public static int split_action_bar=0x7f070008;
public static int src_atop=0x7f070018;
public static int src_in=0x7f070019;
public static int src_over=0x7f07001a;
public static int start=0x7f070031;
public static int status_bar_latest_event_content=0x7f07008d;
public static int submit_area=0x7f070065;
public static int tabMode=0x7f07000d;
public static int text=0x7f070095;
public static int text2=0x7f070093;
public static int textSpacerNoButtons=0x7f07004d;
public static int time=0x7f070091;
public static int title=0x7f070043;
public static int title_template=0x7f070048;
public static int top=0x7f070032;
public static int topPanel=0x7f070047;
public static int touch_outside=0x7f070069;
public static int up=0x7f070009;
public static int useLogo=0x7f070014;
public static int view_offset_helper=0x7f07000a;
public static int volume_item_container=0x7f070083;
public static int withText=0x7f070022;
public static int wrap_content=0x7f070015;
}
public static final class integer {
public static int abc_config_activityDefaultDur=0x7f090004;
public static int abc_config_activityShortDur=0x7f090005;
public static int abc_max_action_buttons=0x7f090003;
public static int bottom_sheet_slide_duration=0x7f090009;
public static int cancel_button_image_alpha=0x7f090006;
public static int design_snackbar_text_max_lines=0x7f090008;
public static int mr_controller_volume_group_list_animation_duration_ms=0x7f090000;
public static int mr_controller_volume_group_list_fade_in_duration_ms=0x7f090001;
public static int mr_controller_volume_group_list_fade_out_duration_ms=0x7f090002;
public static int status_bar_notification_info_maxnum=0x7f090007;
}
public static final class interpolator {
public static int mr_fast_out_slow_in=0x7f050000;
public static int mr_linear_out_slow_in=0x7f050001;
}
public static final class layout {
public static int abc_action_bar_title_item=0x7f030000;
public static int abc_action_bar_up_container=0x7f030001;
public static int abc_action_bar_view_list_nav_layout=0x7f030002;
public static int abc_action_menu_item_layout=0x7f030003;
public static int abc_action_menu_layout=0x7f030004;
public static int abc_action_mode_bar=0x7f030005;
public static int abc_action_mode_close_item_material=0x7f030006;
public static int abc_activity_chooser_view=0x7f030007;
public static int abc_activity_chooser_view_list_item=0x7f030008;
public static int abc_alert_dialog_button_bar_material=0x7f030009;
public static int abc_alert_dialog_material=0x7f03000a;
public static int abc_dialog_title_material=0x7f03000b;
public static int abc_expanded_menu_layout=0x7f03000c;
public static int abc_list_menu_item_checkbox=0x7f03000d;
public static int abc_list_menu_item_icon=0x7f03000e;
public static int abc_list_menu_item_layout=0x7f03000f;
public static int abc_list_menu_item_radio=0x7f030010;
public static int abc_popup_menu_item_layout=0x7f030011;
public static int abc_screen_content_include=0x7f030012;
public static int abc_screen_simple=0x7f030013;
public static int abc_screen_simple_overlay_action_mode=0x7f030014;
public static int abc_screen_toolbar=0x7f030015;
public static int abc_search_dropdown_item_icons_2line=0x7f030016;
public static int abc_search_view=0x7f030017;
public static int abc_select_dialog_material=0x7f030018;
public static int design_bottom_sheet_dialog=0x7f030019;
public static int design_layout_snackbar=0x7f03001a;
public static int design_layout_snackbar_include=0x7f03001b;
public static int design_layout_tab_icon=0x7f03001c;
public static int design_layout_tab_text=0x7f03001d;
public static int design_menu_item_action_area=0x7f03001e;
public static int design_navigation_item=0x7f03001f;
public static int design_navigation_item_header=0x7f030020;
public static int design_navigation_item_separator=0x7f030021;
public static int design_navigation_item_subheader=0x7f030022;
public static int design_navigation_menu=0x7f030023;
public static int design_navigation_menu_item=0x7f030024;
public static int mr_chooser_dialog=0x7f030025;
public static int mr_chooser_list_item=0x7f030026;
public static int mr_controller_material_dialog_b=0x7f030027;
public static int mr_controller_volume_item=0x7f030028;
public static int mr_playback_control=0x7f030029;
public static int mr_volume_control=0x7f03002a;
public static int notification_media_action=0x7f03002b;
public static int notification_media_cancel_action=0x7f03002c;
public static int notification_template_big_media=0x7f03002d;
public static int notification_template_big_media_narrow=0x7f03002e;
public static int notification_template_lines=0x7f03002f;
public static int notification_template_media=0x7f030030;
public static int notification_template_part_chronometer=0x7f030031;
public static int notification_template_part_time=0x7f030032;
public static int select_dialog_item_material=0x7f030033;
public static int select_dialog_multichoice_material=0x7f030034;
public static int select_dialog_singlechoice_material=0x7f030035;
public static int support_simple_spinner_dropdown_item=0x7f030036;
}
public static final class string {
public static int abc_action_bar_home_description=0x7f08000f;
public static int abc_action_bar_home_description_format=0x7f080010;
public static int abc_action_bar_home_subtitle_description_format=0x7f080011;
public static int abc_action_bar_up_description=0x7f080012;
public static int abc_action_menu_overflow_description=0x7f080013;
public static int abc_action_mode_done=0x7f080014;
public static int abc_activity_chooser_view_see_all=0x7f080015;
public static int abc_activitychooserview_choose_application=0x7f080016;
public static int abc_capital_off=0x7f080017;
public static int abc_capital_on=0x7f080018;
public static int abc_search_hint=0x7f080019;
public static int abc_searchview_description_clear=0x7f08001a;
public static int abc_searchview_description_query=0x7f08001b;
public static int abc_searchview_description_search=0x7f08001c;
public static int abc_searchview_description_submit=0x7f08001d;
public static int abc_searchview_description_voice=0x7f08001e;
public static int abc_shareactionprovider_share_with=0x7f08001f;
public static int abc_shareactionprovider_share_with_application=0x7f080020;
public static int abc_toolbar_collapse_description=0x7f080021;
public static int appbar_scrolling_view_behavior=0x7f080023;
public static int bottom_sheet_behavior=0x7f080024;
public static int character_counter_pattern=0x7f080025;
public static int mr_button_content_description=0x7f080000;
public static int mr_chooser_searching=0x7f080001;
public static int mr_chooser_title=0x7f080002;
public static int mr_controller_casting_screen=0x7f080003;
public static int mr_controller_close_description=0x7f080004;
public static int mr_controller_collapse_group=0x7f080005;
public static int mr_controller_disconnect=0x7f080006;
public static int mr_controller_expand_group=0x7f080007;
public static int mr_controller_no_info_available=0x7f080008;
public static int mr_controller_no_media_selected=0x7f080009;
public static int mr_controller_pause=0x7f08000a;
public static int mr_controller_play=0x7f08000b;
public static int mr_controller_stop=0x7f08000c;
public static int mr_system_route_name=0x7f08000d;
public static int mr_user_route_category_name=0x7f08000e;
public static int status_bar_notification_info_overflow=0x7f080022;
}
public static final class style {
public static int AlertDialog_AppCompat=0x7f0a00a1;
public static int AlertDialog_AppCompat_Light=0x7f0a00a2;
public static int Animation_AppCompat_Dialog=0x7f0a00a3;
public static int Animation_AppCompat_DropDownUp=0x7f0a00a4;
public static int Animation_Design_BottomSheetDialog=0x7f0a015a;
public static int Base_AlertDialog_AppCompat=0x7f0a00a5;
public static int Base_AlertDialog_AppCompat_Light=0x7f0a00a6;
public static int Base_Animation_AppCompat_Dialog=0x7f0a00a7;
public static int Base_Animation_AppCompat_DropDownUp=0x7f0a00a8;
public static int Base_CardView=0x7f0a0018;
public static int Base_DialogWindowTitle_AppCompat=0x7f0a00a9;
public static int Base_DialogWindowTitleBackground_AppCompat=0x7f0a00aa;
public static int Base_TextAppearance_AppCompat=0x7f0a0051;
public static int Base_TextAppearance_AppCompat_Body1=0x7f0a0052;
public static int Base_TextAppearance_AppCompat_Body2=0x7f0a0053;
public static int Base_TextAppearance_AppCompat_Button=0x7f0a003b;
public static int Base_TextAppearance_AppCompat_Caption=0x7f0a0054;
public static int Base_TextAppearance_AppCompat_Display1=0x7f0a0055;
public static int Base_TextAppearance_AppCompat_Display2=0x7f0a0056;
public static int Base_TextAppearance_AppCompat_Display3=0x7f0a0057;
public static int Base_TextAppearance_AppCompat_Display4=0x7f0a0058;
public static int Base_TextAppearance_AppCompat_Headline=0x7f0a0059;
public static int Base_TextAppearance_AppCompat_Inverse=0x7f0a0026;
public static int Base_TextAppearance_AppCompat_Large=0x7f0a005a;
public static int Base_TextAppearance_AppCompat_Large_Inverse=0x7f0a0027;
public static int Base_TextAppearance_AppCompat_Light_Widget_PopupMenu_Large=0x7f0a005b;
public static int Base_TextAppearance_AppCompat_Light_Widget_PopupMenu_Small=0x7f0a005c;
public static int Base_TextAppearance_AppCompat_Medium=0x7f0a005d;
public static int Base_TextAppearance_AppCompat_Medium_Inverse=0x7f0a0028;
public static int Base_TextAppearance_AppCompat_Menu=0x7f0a005e;
public static int Base_TextAppearance_AppCompat_SearchResult=0x7f0a00ab;
public static int Base_TextAppearance_AppCompat_SearchResult_Subtitle=0x7f0a005f;
public static int Base_TextAppearance_AppCompat_SearchResult_Title=0x7f0a0060;
public static int Base_TextAppearance_AppCompat_Small=0x7f0a0061;
public static int Base_TextAppearance_AppCompat_Small_Inverse=0x7f0a0029;
public static int Base_TextAppearance_AppCompat_Subhead=0x7f0a0062;
public static int Base_TextAppearance_AppCompat_Subhead_Inverse=0x7f0a002a;
public static int Base_TextAppearance_AppCompat_Title=0x7f0a0063;
public static int Base_TextAppearance_AppCompat_Title_Inverse=0x7f0a002b;
public static int Base_TextAppearance_AppCompat_Widget_ActionBar_Menu=0x7f0a009a;
public static int Base_TextAppearance_AppCompat_Widget_ActionBar_Subtitle=0x7f0a0064;
public static int Base_TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse=0x7f0a0065;
public static int Base_TextAppearance_AppCompat_Widget_ActionBar_Title=0x7f0a0066;
public static int Base_TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse=0x7f0a0067;
public static int Base_TextAppearance_AppCompat_Widget_ActionMode_Subtitle=0x7f0a0068;
public static int Base_TextAppearance_AppCompat_Widget_ActionMode_Title=0x7f0a0069;
public static int Base_TextAppearance_AppCompat_Widget_Button=0x7f0a006a;
public static int Base_TextAppearance_AppCompat_Widget_Button_Inverse=0x7f0a009b;
public static int Base_TextAppearance_AppCompat_Widget_DropDownItem=0x7f0a00ac;
public static int Base_TextAppearance_AppCompat_Widget_PopupMenu_Large=0x7f0a006b;
public static int Base_TextAppearance_AppCompat_Widget_PopupMenu_Small=0x7f0a006c;
public static int Base_TextAppearance_AppCompat_Widget_Switch=0x7f0a006d;
public static int Base_TextAppearance_AppCompat_Widget_TextView_SpinnerItem=0x7f0a006e;
public static int Base_TextAppearance_Widget_AppCompat_ExpandedMenu_Item=0x7f0a00ad;
public static int Base_TextAppearance_Widget_AppCompat_Toolbar_Subtitle=0x7f0a006f;
public static int Base_TextAppearance_Widget_AppCompat_Toolbar_Title=0x7f0a0070;
public static int Base_Theme_AppCompat=0x7f0a0071;
public static int Base_Theme_AppCompat_CompactMenu=0x7f0a00ae;
public static int Base_Theme_AppCompat_Dialog=0x7f0a002c;
public static int Base_Theme_AppCompat_Dialog_Alert=0x7f0a00af;
public static int Base_Theme_AppCompat_Dialog_FixedSize=0x7f0a00b0;
public static int Base_Theme_AppCompat_Dialog_MinWidth=0x7f0a00b1;
public static int Base_Theme_AppCompat_DialogWhenLarge=0x7f0a001c;
public static int Base_Theme_AppCompat_Light=0x7f0a0072;
public static int Base_Theme_AppCompat_Light_DarkActionBar=0x7f0a00b2;
public static int Base_Theme_AppCompat_Light_Dialog=0x7f0a002d;
public static int Base_Theme_AppCompat_Light_Dialog_Alert=0x7f0a00b3;
public static int Base_Theme_AppCompat_Light_Dialog_FixedSize=0x7f0a00b4;
public static int Base_Theme_AppCompat_Light_Dialog_MinWidth=0x7f0a00b5;
public static int Base_Theme_AppCompat_Light_DialogWhenLarge=0x7f0a001d;
public static int Base_ThemeOverlay_AppCompat=0x7f0a00b6;
public static int Base_ThemeOverlay_AppCompat_ActionBar=0x7f0a00b7;
public static int Base_ThemeOverlay_AppCompat_Dark=0x7f0a00b8;
public static int Base_ThemeOverlay_AppCompat_Dark_ActionBar=0x7f0a00b9;
public static int Base_ThemeOverlay_AppCompat_Light=0x7f0a00ba;
public static int Base_V11_Theme_AppCompat_Dialog=0x7f0a002e;
public static int Base_V11_Theme_AppCompat_Light_Dialog=0x7f0a002f;
public static int Base_V12_Widget_AppCompat_AutoCompleteTextView=0x7f0a0037;
public static int Base_V12_Widget_AppCompat_EditText=0x7f0a0038;
public static int Base_V21_Theme_AppCompat=0x7f0a0073;
public static int Base_V21_Theme_AppCompat_Dialog=0x7f0a0074;
public static int Base_V21_Theme_AppCompat_Light=0x7f0a0075;
public static int Base_V21_Theme_AppCompat_Light_Dialog=0x7f0a0076;
public static int Base_V22_Theme_AppCompat=0x7f0a0098;
public static int Base_V22_Theme_AppCompat_Light=0x7f0a0099;
public static int Base_V23_Theme_AppCompat=0x7f0a009c;
public static int Base_V23_Theme_AppCompat_Light=0x7f0a009d;
public static int Base_V7_Theme_AppCompat=0x7f0a00bb;
public static int Base_V7_Theme_AppCompat_Dialog=0x7f0a00bc;
public static int Base_V7_Theme_AppCompat_Light=0x7f0a00bd;
public static int Base_V7_Theme_AppCompat_Light_Dialog=0x7f0a00be;
public static int Base_V7_Widget_AppCompat_AutoCompleteTextView=0x7f0a00bf;
public static int Base_V7_Widget_AppCompat_EditText=0x7f0a00c0;
public static int Base_Widget_AppCompat_ActionBar=0x7f0a00c1;
public static int Base_Widget_AppCompat_ActionBar_Solid=0x7f0a00c2;
public static int Base_Widget_AppCompat_ActionBar_TabBar=0x7f0a00c3;
public static int Base_Widget_AppCompat_ActionBar_TabText=0x7f0a0077;
public static int Base_Widget_AppCompat_ActionBar_TabView=0x7f0a0078;
public static int Base_Widget_AppCompat_ActionButton=0x7f0a0079;
public static int Base_Widget_AppCompat_ActionButton_CloseMode=0x7f0a007a;
public static int Base_Widget_AppCompat_ActionButton_Overflow=0x7f0a007b;
public static int Base_Widget_AppCompat_ActionMode=0x7f0a00c4;
public static int Base_Widget_AppCompat_ActivityChooserView=0x7f0a00c5;
public static int Base_Widget_AppCompat_AutoCompleteTextView=0x7f0a0039;
public static int Base_Widget_AppCompat_Button=0x7f0a007c;
public static int Base_Widget_AppCompat_Button_Borderless=0x7f0a007d;
public static int Base_Widget_AppCompat_Button_Borderless_Colored=0x7f0a007e;
public static int Base_Widget_AppCompat_Button_ButtonBar_AlertDialog=0x7f0a00c6;
public static int Base_Widget_AppCompat_Button_Colored=0x7f0a009e;
public static int Base_Widget_AppCompat_Button_Small=0x7f0a007f;
public static int Base_Widget_AppCompat_ButtonBar=0x7f0a0080;
public static int Base_Widget_AppCompat_ButtonBar_AlertDialog=0x7f0a00c7;
public static int Base_Widget_AppCompat_CompoundButton_CheckBox=0x7f0a0081;
public static int Base_Widget_AppCompat_CompoundButton_RadioButton=0x7f0a0082;
public static int Base_Widget_AppCompat_CompoundButton_Switch=0x7f0a00c8;
public static int Base_Widget_AppCompat_DrawerArrowToggle=0x7f0a001b;
public static int Base_Widget_AppCompat_DrawerArrowToggle_Common=0x7f0a00c9;
public static int Base_Widget_AppCompat_DropDownItem_Spinner=0x7f0a0083;
public static int Base_Widget_AppCompat_EditText=0x7f0a003a;
public static int Base_Widget_AppCompat_ImageButton=0x7f0a0084;
public static int Base_Widget_AppCompat_Light_ActionBar=0x7f0a00ca;
public static int Base_Widget_AppCompat_Light_ActionBar_Solid=0x7f0a00cb;
public static int Base_Widget_AppCompat_Light_ActionBar_TabBar=0x7f0a00cc;
public static int Base_Widget_AppCompat_Light_ActionBar_TabText=0x7f0a0085;
public static int Base_Widget_AppCompat_Light_ActionBar_TabText_Inverse=0x7f0a0086;
public static int Base_Widget_AppCompat_Light_ActionBar_TabView=0x7f0a0087;
public static int Base_Widget_AppCompat_Light_PopupMenu=0x7f0a0088;
public static int Base_Widget_AppCompat_Light_PopupMenu_Overflow=0x7f0a0089;
public static int Base_Widget_AppCompat_ListPopupWindow=0x7f0a008a;
public static int Base_Widget_AppCompat_ListView=0x7f0a008b;
public static int Base_Widget_AppCompat_ListView_DropDown=0x7f0a008c;
public static int Base_Widget_AppCompat_ListView_Menu=0x7f0a008d;
public static int Base_Widget_AppCompat_PopupMenu=0x7f0a008e;
public static int Base_Widget_AppCompat_PopupMenu_Overflow=0x7f0a008f;
public static int Base_Widget_AppCompat_PopupWindow=0x7f0a00cd;
public static int Base_Widget_AppCompat_ProgressBar=0x7f0a0030;
public static int Base_Widget_AppCompat_ProgressBar_Horizontal=0x7f0a0031;
public static int Base_Widget_AppCompat_RatingBar=0x7f0a0090;
public static int Base_Widget_AppCompat_RatingBar_Indicator=0x7f0a009f;
public static int Base_Widget_AppCompat_RatingBar_Small=0x7f0a00a0;
public static int Base_Widget_AppCompat_SearchView=0x7f0a00ce;
public static int Base_Widget_AppCompat_SearchView_ActionBar=0x7f0a00cf;
public static int Base_Widget_AppCompat_SeekBar=0x7f0a0091;
public static int Base_Widget_AppCompat_Spinner=0x7f0a0092;
public static int Base_Widget_AppCompat_Spinner_Underlined=0x7f0a001e;
public static int Base_Widget_AppCompat_TextView_SpinnerItem=0x7f0a0093;
public static int Base_Widget_AppCompat_Toolbar=0x7f0a00d0;
public static int Base_Widget_AppCompat_Toolbar_Button_Navigation=0x7f0a0094;
public static int Base_Widget_Design_TabLayout=0x7f0a015b;
public static int CardView=0x7f0a0017;
public static int CardView_Dark=0x7f0a0019;
public static int CardView_Light=0x7f0a001a;
/** If you are using MasterDetailPage you will want to set these, else you can leave them out
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
<item name="android:statusBarColor">@android:color/transparent</item>
*/
public static int MyTheme=0x7f0a0172;
public static int MyTheme_Base=0x7f0a0173;
public static int Platform_AppCompat=0x7f0a0032;
public static int Platform_AppCompat_Light=0x7f0a0033;
public static int Platform_ThemeOverlay_AppCompat=0x7f0a0095;
public static int Platform_ThemeOverlay_AppCompat_Dark=0x7f0a0096;
public static int Platform_ThemeOverlay_AppCompat_Light=0x7f0a0097;
public static int Platform_V11_AppCompat=0x7f0a0034;
public static int Platform_V11_AppCompat_Light=0x7f0a0035;
public static int Platform_V14_AppCompat=0x7f0a003c;
public static int Platform_V14_AppCompat_Light=0x7f0a003d;
public static int Platform_Widget_AppCompat_Spinner=0x7f0a0036;
public static int RtlOverlay_DialogWindowTitle_AppCompat=0x7f0a0043;
public static int RtlOverlay_Widget_AppCompat_ActionBar_TitleItem=0x7f0a0044;
public static int RtlOverlay_Widget_AppCompat_DialogTitle_Icon=0x7f0a0045;
public static int RtlOverlay_Widget_AppCompat_PopupMenuItem=0x7f0a0046;
public static int RtlOverlay_Widget_AppCompat_PopupMenuItem_InternalGroup=0x7f0a0047;
public static int RtlOverlay_Widget_AppCompat_PopupMenuItem_Text=0x7f0a0048;
public static int RtlOverlay_Widget_AppCompat_Search_DropDown=0x7f0a0049;
public static int RtlOverlay_Widget_AppCompat_Search_DropDown_Icon1=0x7f0a004a;
public static int RtlOverlay_Widget_AppCompat_Search_DropDown_Icon2=0x7f0a004b;
public static int RtlOverlay_Widget_AppCompat_Search_DropDown_Query=0x7f0a004c;
public static int RtlOverlay_Widget_AppCompat_Search_DropDown_Text=0x7f0a004d;
public static int RtlOverlay_Widget_AppCompat_SearchView_MagIcon=0x7f0a004e;
public static int RtlUnderlay_Widget_AppCompat_ActionButton=0x7f0a004f;
public static int RtlUnderlay_Widget_AppCompat_ActionButton_Overflow=0x7f0a0050;
public static int TextAppearance_AppCompat=0x7f0a00d1;
public static int TextAppearance_AppCompat_Body1=0x7f0a00d2;
public static int TextAppearance_AppCompat_Body2=0x7f0a00d3;
public static int TextAppearance_AppCompat_Button=0x7f0a00d4;
public static int TextAppearance_AppCompat_Caption=0x7f0a00d5;
public static int TextAppearance_AppCompat_Display1=0x7f0a00d6;
public static int TextAppearance_AppCompat_Display2=0x7f0a00d7;
public static int TextAppearance_AppCompat_Display3=0x7f0a00d8;
public static int TextAppearance_AppCompat_Display4=0x7f0a00d9;
public static int TextAppearance_AppCompat_Headline=0x7f0a00da;
public static int TextAppearance_AppCompat_Inverse=0x7f0a00db;
public static int TextAppearance_AppCompat_Large=0x7f0a00dc;
public static int TextAppearance_AppCompat_Large_Inverse=0x7f0a00dd;
public static int TextAppearance_AppCompat_Light_SearchResult_Subtitle=0x7f0a00de;
public static int TextAppearance_AppCompat_Light_SearchResult_Title=0x7f0a00df;
public static int TextAppearance_AppCompat_Light_Widget_PopupMenu_Large=0x7f0a00e0;
public static int TextAppearance_AppCompat_Light_Widget_PopupMenu_Small=0x7f0a00e1;
public static int TextAppearance_AppCompat_Medium=0x7f0a00e2;
public static int TextAppearance_AppCompat_Medium_Inverse=0x7f0a00e3;
public static int TextAppearance_AppCompat_Menu=0x7f0a00e4;
public static int TextAppearance_AppCompat_SearchResult_Subtitle=0x7f0a00e5;
public static int TextAppearance_AppCompat_SearchResult_Title=0x7f0a00e6;
public static int TextAppearance_AppCompat_Small=0x7f0a00e7;
public static int TextAppearance_AppCompat_Small_Inverse=0x7f0a00e8;
public static int TextAppearance_AppCompat_Subhead=0x7f0a00e9;
public static int TextAppearance_AppCompat_Subhead_Inverse=0x7f0a00ea;
public static int TextAppearance_AppCompat_Title=0x7f0a00eb;
public static int TextAppearance_AppCompat_Title_Inverse=0x7f0a00ec;
public static int TextAppearance_AppCompat_Widget_ActionBar_Menu=0x7f0a00ed;
public static int TextAppearance_AppCompat_Widget_ActionBar_Subtitle=0x7f0a00ee;
public static int TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse=0x7f0a00ef;
public static int TextAppearance_AppCompat_Widget_ActionBar_Title=0x7f0a00f0;
public static int TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse=0x7f0a00f1;
public static int TextAppearance_AppCompat_Widget_ActionMode_Subtitle=0x7f0a00f2;
public static int TextAppearance_AppCompat_Widget_ActionMode_Subtitle_Inverse=0x7f0a00f3;
public static int TextAppearance_AppCompat_Widget_ActionMode_Title=0x7f0a00f4;
public static int TextAppearance_AppCompat_Widget_ActionMode_Title_Inverse=0x7f0a00f5;
public static int TextAppearance_AppCompat_Widget_Button=0x7f0a00f6;
public static int TextAppearance_AppCompat_Widget_Button_Inverse=0x7f0a00f7;
public static int TextAppearance_AppCompat_Widget_DropDownItem=0x7f0a00f8;
public static int TextAppearance_AppCompat_Widget_PopupMenu_Large=0x7f0a00f9;
public static int TextAppearance_AppCompat_Widget_PopupMenu_Small=0x7f0a00fa;
public static int TextAppearance_AppCompat_Widget_Switch=0x7f0a00fb;
public static int TextAppearance_AppCompat_Widget_TextView_SpinnerItem=0x7f0a00fc;
public static int TextAppearance_Design_CollapsingToolbar_Expanded=0x7f0a015c;
public static int TextAppearance_Design_Counter=0x7f0a015d;
public static int TextAppearance_Design_Counter_Overflow=0x7f0a015e;
public static int TextAppearance_Design_Error=0x7f0a015f;
public static int TextAppearance_Design_Hint=0x7f0a0160;
public static int TextAppearance_Design_Snackbar_Message=0x7f0a0161;
public static int TextAppearance_Design_Tab=0x7f0a0162;
public static int TextAppearance_StatusBar_EventContent=0x7f0a003e;
public static int TextAppearance_StatusBar_EventContent_Info=0x7f0a003f;
public static int TextAppearance_StatusBar_EventContent_Line2=0x7f0a0040;
public static int TextAppearance_StatusBar_EventContent_Time=0x7f0a0041;
public static int TextAppearance_StatusBar_EventContent_Title=0x7f0a0042;
public static int TextAppearance_Widget_AppCompat_ExpandedMenu_Item=0x7f0a00fd;
public static int TextAppearance_Widget_AppCompat_Toolbar_Subtitle=0x7f0a00fe;
public static int TextAppearance_Widget_AppCompat_Toolbar_Title=0x7f0a00ff;
public static int Theme_AppCompat=0x7f0a0100;
public static int Theme_AppCompat_CompactMenu=0x7f0a0101;
public static int Theme_AppCompat_DayNight=0x7f0a001f;
public static int Theme_AppCompat_DayNight_DarkActionBar=0x7f0a0020;
public static int Theme_AppCompat_DayNight_Dialog=0x7f0a0021;
public static int Theme_AppCompat_DayNight_Dialog_Alert=0x7f0a0022;
public static int Theme_AppCompat_DayNight_Dialog_MinWidth=0x7f0a0023;
public static int Theme_AppCompat_DayNight_DialogWhenLarge=0x7f0a0024;
public static int Theme_AppCompat_DayNight_NoActionBar=0x7f0a0025;
public static int Theme_AppCompat_Dialog=0x7f0a0102;
public static int Theme_AppCompat_Dialog_Alert=0x7f0a0103;
public static int Theme_AppCompat_Dialog_MinWidth=0x7f0a0104;
public static int Theme_AppCompat_DialogWhenLarge=0x7f0a0105;
public static int Theme_AppCompat_Light=0x7f0a0106;
public static int Theme_AppCompat_Light_DarkActionBar=0x7f0a0107;
public static int Theme_AppCompat_Light_Dialog=0x7f0a0108;
public static int Theme_AppCompat_Light_Dialog_Alert=0x7f0a0109;
public static int Theme_AppCompat_Light_Dialog_MinWidth=0x7f0a010a;
public static int Theme_AppCompat_Light_DialogWhenLarge=0x7f0a010b;
public static int Theme_AppCompat_Light_NoActionBar=0x7f0a010c;
public static int Theme_AppCompat_NoActionBar=0x7f0a010d;
public static int Theme_Design=0x7f0a0163;
public static int Theme_Design_BottomSheetDialog=0x7f0a0164;
public static int Theme_Design_Light=0x7f0a0165;
public static int Theme_Design_Light_BottomSheetDialog=0x7f0a0166;
public static int Theme_Design_Light_NoActionBar=0x7f0a0167;
public static int Theme_Design_NoActionBar=0x7f0a0168;
public static int Theme_MediaRouter=0x7f0a0000;
public static int Theme_MediaRouter_Light=0x7f0a0001;
public static int Theme_MediaRouter_Light_DarkControlPanel=0x7f0a0002;
public static int Theme_MediaRouter_LightControlPanel=0x7f0a0003;
public static int ThemeOverlay_AppCompat=0x7f0a010e;
public static int ThemeOverlay_AppCompat_ActionBar=0x7f0a010f;
public static int ThemeOverlay_AppCompat_Dark=0x7f0a0110;
public static int ThemeOverlay_AppCompat_Dark_ActionBar=0x7f0a0111;
public static int ThemeOverlay_AppCompat_Light=0x7f0a0112;
public static int Widget_AppCompat_ActionBar=0x7f0a0113;
public static int Widget_AppCompat_ActionBar_Solid=0x7f0a0114;
public static int Widget_AppCompat_ActionBar_TabBar=0x7f0a0115;
public static int Widget_AppCompat_ActionBar_TabText=0x7f0a0116;
public static int Widget_AppCompat_ActionBar_TabView=0x7f0a0117;
public static int Widget_AppCompat_ActionButton=0x7f0a0118;
public static int Widget_AppCompat_ActionButton_CloseMode=0x7f0a0119;
public static int Widget_AppCompat_ActionButton_Overflow=0x7f0a011a;
public static int Widget_AppCompat_ActionMode=0x7f0a011b;
public static int Widget_AppCompat_ActivityChooserView=0x7f0a011c;
public static int Widget_AppCompat_AutoCompleteTextView=0x7f0a011d;
public static int Widget_AppCompat_Button=0x7f0a011e;
public static int Widget_AppCompat_Button_Borderless=0x7f0a011f;
public static int Widget_AppCompat_Button_Borderless_Colored=0x7f0a0120;
public static int Widget_AppCompat_Button_ButtonBar_AlertDialog=0x7f0a0121;
public static int Widget_AppCompat_Button_Colored=0x7f0a0122;
public static int Widget_AppCompat_Button_Small=0x7f0a0123;
public static int Widget_AppCompat_ButtonBar=0x7f0a0124;
public static int Widget_AppCompat_ButtonBar_AlertDialog=0x7f0a0125;
public static int Widget_AppCompat_CompoundButton_CheckBox=0x7f0a0126;
public static int Widget_AppCompat_CompoundButton_RadioButton=0x7f0a0127;
public static int Widget_AppCompat_CompoundButton_Switch=0x7f0a0128;
public static int Widget_AppCompat_DrawerArrowToggle=0x7f0a0129;
public static int Widget_AppCompat_DropDownItem_Spinner=0x7f0a012a;
public static int Widget_AppCompat_EditText=0x7f0a012b;
public static int Widget_AppCompat_ImageButton=0x7f0a012c;
public static int Widget_AppCompat_Light_ActionBar=0x7f0a012d;
public static int Widget_AppCompat_Light_ActionBar_Solid=0x7f0a012e;
public static int Widget_AppCompat_Light_ActionBar_Solid_Inverse=0x7f0a012f;
public static int Widget_AppCompat_Light_ActionBar_TabBar=0x7f0a0130;
public static int Widget_AppCompat_Light_ActionBar_TabBar_Inverse=0x7f0a0131;
public static int Widget_AppCompat_Light_ActionBar_TabText=0x7f0a0132;
public static int Widget_AppCompat_Light_ActionBar_TabText_Inverse=0x7f0a0133;
public static int Widget_AppCompat_Light_ActionBar_TabView=0x7f0a0134;
public static int Widget_AppCompat_Light_ActionBar_TabView_Inverse=0x7f0a0135;
public static int Widget_AppCompat_Light_ActionButton=0x7f0a0136;
public static int Widget_AppCompat_Light_ActionButton_CloseMode=0x7f0a0137;
public static int Widget_AppCompat_Light_ActionButton_Overflow=0x7f0a0138;
public static int Widget_AppCompat_Light_ActionMode_Inverse=0x7f0a0139;
public static int Widget_AppCompat_Light_ActivityChooserView=0x7f0a013a;
public static int Widget_AppCompat_Light_AutoCompleteTextView=0x7f0a013b;
public static int Widget_AppCompat_Light_DropDownItem_Spinner=0x7f0a013c;
public static int Widget_AppCompat_Light_ListPopupWindow=0x7f0a013d;
public static int Widget_AppCompat_Light_ListView_DropDown=0x7f0a013e;
public static int Widget_AppCompat_Light_PopupMenu=0x7f0a013f;
public static int Widget_AppCompat_Light_PopupMenu_Overflow=0x7f0a0140;
public static int Widget_AppCompat_Light_SearchView=0x7f0a0141;
public static int Widget_AppCompat_Light_Spinner_DropDown_ActionBar=0x7f0a0142;
public static int Widget_AppCompat_ListPopupWindow=0x7f0a0143;
public static int Widget_AppCompat_ListView=0x7f0a0144;
public static int Widget_AppCompat_ListView_DropDown=0x7f0a0145;
public static int Widget_AppCompat_ListView_Menu=0x7f0a0146;
public static int Widget_AppCompat_PopupMenu=0x7f0a0147;
public static int Widget_AppCompat_PopupMenu_Overflow=0x7f0a0148;
public static int Widget_AppCompat_PopupWindow=0x7f0a0149;
public static int Widget_AppCompat_ProgressBar=0x7f0a014a;
public static int Widget_AppCompat_ProgressBar_Horizontal=0x7f0a014b;
public static int Widget_AppCompat_RatingBar=0x7f0a014c;
public static int Widget_AppCompat_RatingBar_Indicator=0x7f0a014d;
public static int Widget_AppCompat_RatingBar_Small=0x7f0a014e;
public static int Widget_AppCompat_SearchView=0x7f0a014f;
public static int Widget_AppCompat_SearchView_ActionBar=0x7f0a0150;
public static int Widget_AppCompat_SeekBar=0x7f0a0151;
public static int Widget_AppCompat_Spinner=0x7f0a0152;
public static int Widget_AppCompat_Spinner_DropDown=0x7f0a0153;
public static int Widget_AppCompat_Spinner_DropDown_ActionBar=0x7f0a0154;
public static int Widget_AppCompat_Spinner_Underlined=0x7f0a0155;
public static int Widget_AppCompat_TextView_SpinnerItem=0x7f0a0156;
public static int Widget_AppCompat_Toolbar=0x7f0a0157;
public static int Widget_AppCompat_Toolbar_Button_Navigation=0x7f0a0158;
public static int Widget_Design_AppBarLayout=0x7f0a0169;
public static int Widget_Design_BottomSheet_Modal=0x7f0a016a;
public static int Widget_Design_CollapsingToolbar=0x7f0a016b;
public static int Widget_Design_CoordinatorLayout=0x7f0a016c;
public static int Widget_Design_FloatingActionButton=0x7f0a016d;
public static int Widget_Design_NavigationView=0x7f0a016e;
public static int Widget_Design_ScrimInsetsFrameLayout=0x7f0a016f;
public static int Widget_Design_Snackbar=0x7f0a0170;
public static int Widget_Design_TabLayout=0x7f0a0159;
public static int Widget_Design_TextInputLayout=0x7f0a0171;
public static int Widget_MediaRouter_ChooserText=0x7f0a0004;
public static int Widget_MediaRouter_ChooserText_Primary=0x7f0a0005;
public static int Widget_MediaRouter_ChooserText_Primary_Dark=0x7f0a0006;
public static int Widget_MediaRouter_ChooserText_Primary_Light=0x7f0a0007;
public static int Widget_MediaRouter_ChooserText_Secondary=0x7f0a0008;
public static int Widget_MediaRouter_ChooserText_Secondary_Dark=0x7f0a0009;
public static int Widget_MediaRouter_ChooserText_Secondary_Light=0x7f0a000a;
public static int Widget_MediaRouter_ControllerText=0x7f0a000b;
public static int Widget_MediaRouter_ControllerText_Primary=0x7f0a000c;
public static int Widget_MediaRouter_ControllerText_Primary_Dark=0x7f0a000d;
public static int Widget_MediaRouter_ControllerText_Primary_Light=0x7f0a000e;
public static int Widget_MediaRouter_ControllerText_Secondary=0x7f0a000f;
public static int Widget_MediaRouter_ControllerText_Secondary_Dark=0x7f0a0010;
public static int Widget_MediaRouter_ControllerText_Secondary_Light=0x7f0a0011;
public static int Widget_MediaRouter_ControllerText_Title=0x7f0a0012;
public static int Widget_MediaRouter_ControllerText_Title_Dark=0x7f0a0013;
public static int Widget_MediaRouter_ControllerText_Title_Light=0x7f0a0014;
public static int Widget_MediaRouter_Light_MediaRouteButton=0x7f0a0015;
public static int Widget_MediaRouter_MediaRouteButton=0x7f0a0016;
}
public static final class styleable {
/** Attributes that can be used with a ActionBar.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ActionBar_background android.support.v7.mediarouter:background}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_backgroundSplit android.support.v7.mediarouter:backgroundSplit}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_backgroundStacked android.support.v7.mediarouter:backgroundStacked}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_contentInsetEnd android.support.v7.mediarouter:contentInsetEnd}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_contentInsetLeft android.support.v7.mediarouter:contentInsetLeft}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_contentInsetRight android.support.v7.mediarouter:contentInsetRight}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_contentInsetStart android.support.v7.mediarouter:contentInsetStart}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_customNavigationLayout android.support.v7.mediarouter:customNavigationLayout}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_displayOptions android.support.v7.mediarouter:displayOptions}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_divider android.support.v7.mediarouter:divider}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_elevation android.support.v7.mediarouter:elevation}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_height android.support.v7.mediarouter:height}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_hideOnContentScroll android.support.v7.mediarouter:hideOnContentScroll}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_homeAsUpIndicator android.support.v7.mediarouter:homeAsUpIndicator}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_homeLayout android.support.v7.mediarouter:homeLayout}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_icon android.support.v7.mediarouter:icon}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_indeterminateProgressStyle android.support.v7.mediarouter:indeterminateProgressStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_itemPadding android.support.v7.mediarouter:itemPadding}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_logo android.support.v7.mediarouter:logo}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_navigationMode android.support.v7.mediarouter:navigationMode}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_popupTheme android.support.v7.mediarouter:popupTheme}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_progressBarPadding android.support.v7.mediarouter:progressBarPadding}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_progressBarStyle android.support.v7.mediarouter:progressBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_subtitle android.support.v7.mediarouter:subtitle}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_subtitleTextStyle android.support.v7.mediarouter:subtitleTextStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_title android.support.v7.mediarouter:title}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_titleTextStyle android.support.v7.mediarouter:titleTextStyle}</code></td><td></td></tr>
</table>
@see #ActionBar_background
@see #ActionBar_backgroundSplit
@see #ActionBar_backgroundStacked
@see #ActionBar_contentInsetEnd
@see #ActionBar_contentInsetLeft
@see #ActionBar_contentInsetRight
@see #ActionBar_contentInsetStart
@see #ActionBar_customNavigationLayout
@see #ActionBar_displayOptions
@see #ActionBar_divider
@see #ActionBar_elevation
@see #ActionBar_height
@see #ActionBar_hideOnContentScroll
@see #ActionBar_homeAsUpIndicator
@see #ActionBar_homeLayout
@see #ActionBar_icon
@see #ActionBar_indeterminateProgressStyle
@see #ActionBar_itemPadding
@see #ActionBar_logo
@see #ActionBar_navigationMode
@see #ActionBar_popupTheme
@see #ActionBar_progressBarPadding
@see #ActionBar_progressBarStyle
@see #ActionBar_subtitle
@see #ActionBar_subtitleTextStyle
@see #ActionBar_title
@see #ActionBar_titleTextStyle
*/
public static final int[] ActionBar = {
0x7f010027, 0x7f010029, 0x7f01002a, 0x7f01002b,
0x7f01002c, 0x7f01002d, 0x7f01002e, 0x7f01002f,
0x7f010030, 0x7f010031, 0x7f010032, 0x7f010033,
0x7f010034, 0x7f010035, 0x7f010036, 0x7f010037,
0x7f010038, 0x7f010039, 0x7f01003a, 0x7f01003b,
0x7f01003c, 0x7f01003d, 0x7f01003e, 0x7f01003f,
0x7f010040, 0x7f010041, 0x7f01007a
};
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#background}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:background
*/
public static int ActionBar_background = 10;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#backgroundSplit}
attribute's value can be found in the {@link #ActionBar} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
@attr name android.support.v7.mediarouter:backgroundSplit
*/
public static int ActionBar_backgroundSplit = 12;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#backgroundStacked}
attribute's value can be found in the {@link #ActionBar} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
@attr name android.support.v7.mediarouter:backgroundStacked
*/
public static int ActionBar_backgroundStacked = 11;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#contentInsetEnd}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:contentInsetEnd
*/
public static int ActionBar_contentInsetEnd = 21;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#contentInsetLeft}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:contentInsetLeft
*/
public static int ActionBar_contentInsetLeft = 22;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#contentInsetRight}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:contentInsetRight
*/
public static int ActionBar_contentInsetRight = 23;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#contentInsetStart}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:contentInsetStart
*/
public static int ActionBar_contentInsetStart = 20;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#customNavigationLayout}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:customNavigationLayout
*/
public static int ActionBar_customNavigationLayout = 13;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#displayOptions}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>none</code></td><td>0</td><td></td></tr>
<tr><td><code>useLogo</code></td><td>0x1</td><td></td></tr>
<tr><td><code>showHome</code></td><td>0x2</td><td></td></tr>
<tr><td><code>homeAsUp</code></td><td>0x4</td><td></td></tr>
<tr><td><code>showTitle</code></td><td>0x8</td><td></td></tr>
<tr><td><code>showCustom</code></td><td>0x10</td><td></td></tr>
<tr><td><code>disableHome</code></td><td>0x20</td><td></td></tr>
</table>
@attr name android.support.v7.mediarouter:displayOptions
*/
public static int ActionBar_displayOptions = 3;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#divider}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:divider
*/
public static int ActionBar_divider = 9;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#elevation}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:elevation
*/
public static int ActionBar_elevation = 24;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#height}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:height
*/
public static int ActionBar_height = 0;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#hideOnContentScroll}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:hideOnContentScroll
*/
public static int ActionBar_hideOnContentScroll = 19;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#homeAsUpIndicator}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:homeAsUpIndicator
*/
public static int ActionBar_homeAsUpIndicator = 26;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#homeLayout}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:homeLayout
*/
public static int ActionBar_homeLayout = 14;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#icon}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:icon
*/
public static int ActionBar_icon = 7;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#indeterminateProgressStyle}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:indeterminateProgressStyle
*/
public static int ActionBar_indeterminateProgressStyle = 16;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#itemPadding}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:itemPadding
*/
public static int ActionBar_itemPadding = 18;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#logo}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:logo
*/
public static int ActionBar_logo = 8;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#navigationMode}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>normal</code></td><td>0</td><td></td></tr>
<tr><td><code>listMode</code></td><td>1</td><td></td></tr>
<tr><td><code>tabMode</code></td><td>2</td><td></td></tr>
</table>
@attr name android.support.v7.mediarouter:navigationMode
*/
public static int ActionBar_navigationMode = 2;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#popupTheme}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:popupTheme
*/
public static int ActionBar_popupTheme = 25;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#progressBarPadding}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:progressBarPadding
*/
public static int ActionBar_progressBarPadding = 17;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#progressBarStyle}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:progressBarStyle
*/
public static int ActionBar_progressBarStyle = 15;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#subtitle}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:subtitle
*/
public static int ActionBar_subtitle = 4;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#subtitleTextStyle}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:subtitleTextStyle
*/
public static int ActionBar_subtitleTextStyle = 6;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#title}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:title
*/
public static int ActionBar_title = 1;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#titleTextStyle}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:titleTextStyle
*/
public static int ActionBar_titleTextStyle = 5;
/** Attributes that can be used with a ActionBarLayout.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ActionBarLayout_android_layout_gravity android:layout_gravity}</code></td><td></td></tr>
</table>
@see #ActionBarLayout_android_layout_gravity
*/
public static final int[] ActionBarLayout = {
0x010100b3
};
/**
<p>This symbol is the offset where the {@link android.R.attr#layout_gravity}
attribute's value can be found in the {@link #ActionBarLayout} array.
@attr name android:layout_gravity
*/
public static int ActionBarLayout_android_layout_gravity = 0;
/** Attributes that can be used with a ActionMenuItemView.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ActionMenuItemView_android_minWidth android:minWidth}</code></td><td></td></tr>
</table>
@see #ActionMenuItemView_android_minWidth
*/
public static final int[] ActionMenuItemView = {
0x0101013f
};
/**
<p>This symbol is the offset where the {@link android.R.attr#minWidth}
attribute's value can be found in the {@link #ActionMenuItemView} array.
@attr name android:minWidth
*/
public static int ActionMenuItemView_android_minWidth = 0;
/** Attributes that can be used with a ActionMenuView.
*/
public static final int[] ActionMenuView = {
};
/** Attributes that can be used with a ActionMode.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ActionMode_background android.support.v7.mediarouter:background}</code></td><td></td></tr>
<tr><td><code>{@link #ActionMode_backgroundSplit android.support.v7.mediarouter:backgroundSplit}</code></td><td></td></tr>
<tr><td><code>{@link #ActionMode_closeItemLayout android.support.v7.mediarouter:closeItemLayout}</code></td><td></td></tr>
<tr><td><code>{@link #ActionMode_height android.support.v7.mediarouter:height}</code></td><td></td></tr>
<tr><td><code>{@link #ActionMode_subtitleTextStyle android.support.v7.mediarouter:subtitleTextStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ActionMode_titleTextStyle android.support.v7.mediarouter:titleTextStyle}</code></td><td></td></tr>
</table>
@see #ActionMode_background
@see #ActionMode_backgroundSplit
@see #ActionMode_closeItemLayout
@see #ActionMode_height
@see #ActionMode_subtitleTextStyle
@see #ActionMode_titleTextStyle
*/
public static final int[] ActionMode = {
0x7f010027, 0x7f01002d, 0x7f01002e, 0x7f010032,
0x7f010034, 0x7f010042
};
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#background}
attribute's value can be found in the {@link #ActionMode} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:background
*/
public static int ActionMode_background = 3;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#backgroundSplit}
attribute's value can be found in the {@link #ActionMode} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
@attr name android.support.v7.mediarouter:backgroundSplit
*/
public static int ActionMode_backgroundSplit = 4;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#closeItemLayout}
attribute's value can be found in the {@link #ActionMode} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:closeItemLayout
*/
public static int ActionMode_closeItemLayout = 5;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#height}
attribute's value can be found in the {@link #ActionMode} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:height
*/
public static int ActionMode_height = 0;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#subtitleTextStyle}
attribute's value can be found in the {@link #ActionMode} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:subtitleTextStyle
*/
public static int ActionMode_subtitleTextStyle = 2;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#titleTextStyle}
attribute's value can be found in the {@link #ActionMode} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:titleTextStyle
*/
public static int ActionMode_titleTextStyle = 1;
/** Attributes that can be used with a ActivityChooserView.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ActivityChooserView_expandActivityOverflowButtonDrawable android.support.v7.mediarouter:expandActivityOverflowButtonDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #ActivityChooserView_initialActivityCount android.support.v7.mediarouter:initialActivityCount}</code></td><td></td></tr>
</table>
@see #ActivityChooserView_expandActivityOverflowButtonDrawable
@see #ActivityChooserView_initialActivityCount
*/
public static final int[] ActivityChooserView = {
0x7f010043, 0x7f010044
};
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#expandActivityOverflowButtonDrawable}
attribute's value can be found in the {@link #ActivityChooserView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:expandActivityOverflowButtonDrawable
*/
public static int ActivityChooserView_expandActivityOverflowButtonDrawable = 1;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#initialActivityCount}
attribute's value can be found in the {@link #ActivityChooserView} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:initialActivityCount
*/
public static int ActivityChooserView_initialActivityCount = 0;
/** Attributes that can be used with a AlertDialog.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #AlertDialog_android_layout android:layout}</code></td><td></td></tr>
<tr><td><code>{@link #AlertDialog_buttonPanelSideLayout android.support.v7.mediarouter:buttonPanelSideLayout}</code></td><td></td></tr>
<tr><td><code>{@link #AlertDialog_listItemLayout android.support.v7.mediarouter:listItemLayout}</code></td><td></td></tr>
<tr><td><code>{@link #AlertDialog_listLayout android.support.v7.mediarouter:listLayout}</code></td><td></td></tr>
<tr><td><code>{@link #AlertDialog_multiChoiceItemLayout android.support.v7.mediarouter:multiChoiceItemLayout}</code></td><td></td></tr>
<tr><td><code>{@link #AlertDialog_singleChoiceItemLayout android.support.v7.mediarouter:singleChoiceItemLayout}</code></td><td></td></tr>
</table>
@see #AlertDialog_android_layout
@see #AlertDialog_buttonPanelSideLayout
@see #AlertDialog_listItemLayout
@see #AlertDialog_listLayout
@see #AlertDialog_multiChoiceItemLayout
@see #AlertDialog_singleChoiceItemLayout
*/
public static final int[] AlertDialog = {
0x010100f2, 0x7f010045, 0x7f010046, 0x7f010047,
0x7f010048, 0x7f010049
};
/**
<p>This symbol is the offset where the {@link android.R.attr#layout}
attribute's value can be found in the {@link #AlertDialog} array.
@attr name android:layout
*/
public static int AlertDialog_android_layout = 0;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#buttonPanelSideLayout}
attribute's value can be found in the {@link #AlertDialog} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:buttonPanelSideLayout
*/
public static int AlertDialog_buttonPanelSideLayout = 1;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#listItemLayout}
attribute's value can be found in the {@link #AlertDialog} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:listItemLayout
*/
public static int AlertDialog_listItemLayout = 5;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#listLayout}
attribute's value can be found in the {@link #AlertDialog} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:listLayout
*/
public static int AlertDialog_listLayout = 2;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#multiChoiceItemLayout}
attribute's value can be found in the {@link #AlertDialog} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:multiChoiceItemLayout
*/
public static int AlertDialog_multiChoiceItemLayout = 3;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#singleChoiceItemLayout}
attribute's value can be found in the {@link #AlertDialog} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:singleChoiceItemLayout
*/
public static int AlertDialog_singleChoiceItemLayout = 4;
/** Attributes that can be used with a AppBarLayout.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #AppBarLayout_android_background android:background}</code></td><td></td></tr>
<tr><td><code>{@link #AppBarLayout_elevation android.support.v7.mediarouter:elevation}</code></td><td></td></tr>
<tr><td><code>{@link #AppBarLayout_expanded android.support.v7.mediarouter:expanded}</code></td><td></td></tr>
</table>
@see #AppBarLayout_android_background
@see #AppBarLayout_elevation
@see #AppBarLayout_expanded
*/
public static final int[] AppBarLayout = {
0x010100d4, 0x7f010040, 0x7f0100f7
};
/**
<p>This symbol is the offset where the {@link android.R.attr#background}
attribute's value can be found in the {@link #AppBarLayout} array.
@attr name android:background
*/
public static int AppBarLayout_android_background = 0;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#elevation}
attribute's value can be found in the {@link #AppBarLayout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:elevation
*/
public static int AppBarLayout_elevation = 1;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#expanded}
attribute's value can be found in the {@link #AppBarLayout} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:expanded
*/
public static int AppBarLayout_expanded = 2;
/** Attributes that can be used with a AppBarLayout_LayoutParams.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #AppBarLayout_LayoutParams_layout_scrollFlags android.support.v7.mediarouter:layout_scrollFlags}</code></td><td></td></tr>
<tr><td><code>{@link #AppBarLayout_LayoutParams_layout_scrollInterpolator android.support.v7.mediarouter:layout_scrollInterpolator}</code></td><td></td></tr>
</table>
@see #AppBarLayout_LayoutParams_layout_scrollFlags
@see #AppBarLayout_LayoutParams_layout_scrollInterpolator
*/
public static final int[] AppBarLayout_LayoutParams = {
0x7f0100f8, 0x7f0100f9
};
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#layout_scrollFlags}
attribute's value can be found in the {@link #AppBarLayout_LayoutParams} array.
<p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>scroll</code></td><td>0x1</td><td></td></tr>
<tr><td><code>exitUntilCollapsed</code></td><td>0x2</td><td></td></tr>
<tr><td><code>enterAlways</code></td><td>0x4</td><td></td></tr>
<tr><td><code>enterAlwaysCollapsed</code></td><td>0x8</td><td></td></tr>
<tr><td><code>snap</code></td><td>0x10</td><td></td></tr>
</table>
@attr name android.support.v7.mediarouter:layout_scrollFlags
*/
public static int AppBarLayout_LayoutParams_layout_scrollFlags = 0;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#layout_scrollInterpolator}
attribute's value can be found in the {@link #AppBarLayout_LayoutParams} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:layout_scrollInterpolator
*/
public static int AppBarLayout_LayoutParams_layout_scrollInterpolator = 1;
/** Attributes that can be used with a AppCompatImageView.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #AppCompatImageView_android_src android:src}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatImageView_srcCompat android.support.v7.mediarouter:srcCompat}</code></td><td></td></tr>
</table>
@see #AppCompatImageView_android_src
@see #AppCompatImageView_srcCompat
*/
public static final int[] AppCompatImageView = {
0x01010119, 0x7f01004a
};
/**
<p>This symbol is the offset where the {@link android.R.attr#src}
attribute's value can be found in the {@link #AppCompatImageView} array.
@attr name android:src
*/
public static int AppCompatImageView_android_src = 0;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#srcCompat}
attribute's value can be found in the {@link #AppCompatImageView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:srcCompat
*/
public static int AppCompatImageView_srcCompat = 1;
/** Attributes that can be used with a AppCompatTextView.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #AppCompatTextView_android_textAppearance android:textAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTextView_textAllCaps android.support.v7.mediarouter:textAllCaps}</code></td><td></td></tr>
</table>
@see #AppCompatTextView_android_textAppearance
@see #AppCompatTextView_textAllCaps
*/
public static final int[] AppCompatTextView = {
0x01010034, 0x7f01004b
};
/**
<p>This symbol is the offset where the {@link android.R.attr#textAppearance}
attribute's value can be found in the {@link #AppCompatTextView} array.
@attr name android:textAppearance
*/
public static int AppCompatTextView_android_textAppearance = 0;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#textAllCaps}
attribute's value can be found in the {@link #AppCompatTextView} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a boolean value, either "<code>true</code>" or "<code>false</code>".
@attr name android.support.v7.mediarouter:textAllCaps
*/
public static int AppCompatTextView_textAllCaps = 1;
/** Attributes that can be used with a AppCompatTheme.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarDivider android.support.v7.mediarouter:actionBarDivider}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarItemBackground android.support.v7.mediarouter:actionBarItemBackground}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarPopupTheme android.support.v7.mediarouter:actionBarPopupTheme}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarSize android.support.v7.mediarouter:actionBarSize}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarSplitStyle android.support.v7.mediarouter:actionBarSplitStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarStyle android.support.v7.mediarouter:actionBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarTabBarStyle android.support.v7.mediarouter:actionBarTabBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarTabStyle android.support.v7.mediarouter:actionBarTabStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarTabTextStyle android.support.v7.mediarouter:actionBarTabTextStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarTheme android.support.v7.mediarouter:actionBarTheme}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarWidgetTheme android.support.v7.mediarouter:actionBarWidgetTheme}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionButtonStyle android.support.v7.mediarouter:actionButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionDropDownStyle android.support.v7.mediarouter:actionDropDownStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionMenuTextAppearance android.support.v7.mediarouter:actionMenuTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionMenuTextColor android.support.v7.mediarouter:actionMenuTextColor}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeBackground android.support.v7.mediarouter:actionModeBackground}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeCloseButtonStyle android.support.v7.mediarouter:actionModeCloseButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeCloseDrawable android.support.v7.mediarouter:actionModeCloseDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeCopyDrawable android.support.v7.mediarouter:actionModeCopyDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeCutDrawable android.support.v7.mediarouter:actionModeCutDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeFindDrawable android.support.v7.mediarouter:actionModeFindDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModePasteDrawable android.support.v7.mediarouter:actionModePasteDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModePopupWindowStyle android.support.v7.mediarouter:actionModePopupWindowStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeSelectAllDrawable android.support.v7.mediarouter:actionModeSelectAllDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeShareDrawable android.support.v7.mediarouter:actionModeShareDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeSplitBackground android.support.v7.mediarouter:actionModeSplitBackground}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeStyle android.support.v7.mediarouter:actionModeStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeWebSearchDrawable android.support.v7.mediarouter:actionModeWebSearchDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionOverflowButtonStyle android.support.v7.mediarouter:actionOverflowButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionOverflowMenuStyle android.support.v7.mediarouter:actionOverflowMenuStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_activityChooserViewStyle android.support.v7.mediarouter:activityChooserViewStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_alertDialogButtonGroupStyle android.support.v7.mediarouter:alertDialogButtonGroupStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_alertDialogCenterButtons android.support.v7.mediarouter:alertDialogCenterButtons}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_alertDialogStyle android.support.v7.mediarouter:alertDialogStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_alertDialogTheme android.support.v7.mediarouter:alertDialogTheme}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_android_windowAnimationStyle android:windowAnimationStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_android_windowIsFloating android:windowIsFloating}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_autoCompleteTextViewStyle android.support.v7.mediarouter:autoCompleteTextViewStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_borderlessButtonStyle android.support.v7.mediarouter:borderlessButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_buttonBarButtonStyle android.support.v7.mediarouter:buttonBarButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_buttonBarNegativeButtonStyle android.support.v7.mediarouter:buttonBarNegativeButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_buttonBarNeutralButtonStyle android.support.v7.mediarouter:buttonBarNeutralButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_buttonBarPositiveButtonStyle android.support.v7.mediarouter:buttonBarPositiveButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_buttonBarStyle android.support.v7.mediarouter:buttonBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_buttonStyle android.support.v7.mediarouter:buttonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_buttonStyleSmall android.support.v7.mediarouter:buttonStyleSmall}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_checkboxStyle android.support.v7.mediarouter:checkboxStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_checkedTextViewStyle android.support.v7.mediarouter:checkedTextViewStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_colorAccent android.support.v7.mediarouter:colorAccent}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_colorButtonNormal android.support.v7.mediarouter:colorButtonNormal}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_colorControlActivated android.support.v7.mediarouter:colorControlActivated}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_colorControlHighlight android.support.v7.mediarouter:colorControlHighlight}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_colorControlNormal android.support.v7.mediarouter:colorControlNormal}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_colorPrimary android.support.v7.mediarouter:colorPrimary}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_colorPrimaryDark android.support.v7.mediarouter:colorPrimaryDark}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_colorSwitchThumbNormal android.support.v7.mediarouter:colorSwitchThumbNormal}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_controlBackground android.support.v7.mediarouter:controlBackground}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_dialogPreferredPadding android.support.v7.mediarouter:dialogPreferredPadding}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_dialogTheme android.support.v7.mediarouter:dialogTheme}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_dividerHorizontal android.support.v7.mediarouter:dividerHorizontal}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_dividerVertical android.support.v7.mediarouter:dividerVertical}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_dropDownListViewStyle android.support.v7.mediarouter:dropDownListViewStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_dropdownListPreferredItemHeight android.support.v7.mediarouter:dropdownListPreferredItemHeight}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_editTextBackground android.support.v7.mediarouter:editTextBackground}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_editTextColor android.support.v7.mediarouter:editTextColor}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_editTextStyle android.support.v7.mediarouter:editTextStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_homeAsUpIndicator android.support.v7.mediarouter:homeAsUpIndicator}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_imageButtonStyle android.support.v7.mediarouter:imageButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_listChoiceBackgroundIndicator android.support.v7.mediarouter:listChoiceBackgroundIndicator}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_listDividerAlertDialog android.support.v7.mediarouter:listDividerAlertDialog}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_listPopupWindowStyle android.support.v7.mediarouter:listPopupWindowStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_listPreferredItemHeight android.support.v7.mediarouter:listPreferredItemHeight}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_listPreferredItemHeightLarge android.support.v7.mediarouter:listPreferredItemHeightLarge}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_listPreferredItemHeightSmall android.support.v7.mediarouter:listPreferredItemHeightSmall}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_listPreferredItemPaddingLeft android.support.v7.mediarouter:listPreferredItemPaddingLeft}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_listPreferredItemPaddingRight android.support.v7.mediarouter:listPreferredItemPaddingRight}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_panelBackground android.support.v7.mediarouter:panelBackground}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_panelMenuListTheme android.support.v7.mediarouter:panelMenuListTheme}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_panelMenuListWidth android.support.v7.mediarouter:panelMenuListWidth}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_popupMenuStyle android.support.v7.mediarouter:popupMenuStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_popupWindowStyle android.support.v7.mediarouter:popupWindowStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_radioButtonStyle android.support.v7.mediarouter:radioButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_ratingBarStyle android.support.v7.mediarouter:ratingBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_ratingBarStyleIndicator android.support.v7.mediarouter:ratingBarStyleIndicator}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_ratingBarStyleSmall android.support.v7.mediarouter:ratingBarStyleSmall}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_searchViewStyle android.support.v7.mediarouter:searchViewStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_seekBarStyle android.support.v7.mediarouter:seekBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_selectableItemBackground android.support.v7.mediarouter:selectableItemBackground}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_selectableItemBackgroundBorderless android.support.v7.mediarouter:selectableItemBackgroundBorderless}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_spinnerDropDownItemStyle android.support.v7.mediarouter:spinnerDropDownItemStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_spinnerStyle android.support.v7.mediarouter:spinnerStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_switchStyle android.support.v7.mediarouter:switchStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_textAppearanceLargePopupMenu android.support.v7.mediarouter:textAppearanceLargePopupMenu}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_textAppearanceListItem android.support.v7.mediarouter:textAppearanceListItem}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_textAppearanceListItemSmall android.support.v7.mediarouter:textAppearanceListItemSmall}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_textAppearanceSearchResultSubtitle android.support.v7.mediarouter:textAppearanceSearchResultSubtitle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_textAppearanceSearchResultTitle android.support.v7.mediarouter:textAppearanceSearchResultTitle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_textAppearanceSmallPopupMenu android.support.v7.mediarouter:textAppearanceSmallPopupMenu}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_textColorAlertDialogListItem android.support.v7.mediarouter:textColorAlertDialogListItem}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_textColorSearchUrl android.support.v7.mediarouter:textColorSearchUrl}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_toolbarNavigationButtonStyle android.support.v7.mediarouter:toolbarNavigationButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_toolbarStyle android.support.v7.mediarouter:toolbarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowActionBar android.support.v7.mediarouter:windowActionBar}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowActionBarOverlay android.support.v7.mediarouter:windowActionBarOverlay}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowActionModeOverlay android.support.v7.mediarouter:windowActionModeOverlay}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowFixedHeightMajor android.support.v7.mediarouter:windowFixedHeightMajor}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowFixedHeightMinor android.support.v7.mediarouter:windowFixedHeightMinor}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowFixedWidthMajor android.support.v7.mediarouter:windowFixedWidthMajor}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowFixedWidthMinor android.support.v7.mediarouter:windowFixedWidthMinor}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowMinWidthMajor android.support.v7.mediarouter:windowMinWidthMajor}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowMinWidthMinor android.support.v7.mediarouter:windowMinWidthMinor}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowNoTitle android.support.v7.mediarouter:windowNoTitle}</code></td><td></td></tr>
</table>
@see #AppCompatTheme_actionBarDivider
@see #AppCompatTheme_actionBarItemBackground
@see #AppCompatTheme_actionBarPopupTheme
@see #AppCompatTheme_actionBarSize
@see #AppCompatTheme_actionBarSplitStyle
@see #AppCompatTheme_actionBarStyle
@see #AppCompatTheme_actionBarTabBarStyle
@see #AppCompatTheme_actionBarTabStyle
@see #AppCompatTheme_actionBarTabTextStyle
@see #AppCompatTheme_actionBarTheme
@see #AppCompatTheme_actionBarWidgetTheme
@see #AppCompatTheme_actionButtonStyle
@see #AppCompatTheme_actionDropDownStyle
@see #AppCompatTheme_actionMenuTextAppearance
@see #AppCompatTheme_actionMenuTextColor
@see #AppCompatTheme_actionModeBackground
@see #AppCompatTheme_actionModeCloseButtonStyle
@see #AppCompatTheme_actionModeCloseDrawable
@see #AppCompatTheme_actionModeCopyDrawable
@see #AppCompatTheme_actionModeCutDrawable
@see #AppCompatTheme_actionModeFindDrawable
@see #AppCompatTheme_actionModePasteDrawable
@see #AppCompatTheme_actionModePopupWindowStyle
@see #AppCompatTheme_actionModeSelectAllDrawable
@see #AppCompatTheme_actionModeShareDrawable
@see #AppCompatTheme_actionModeSplitBackground
@see #AppCompatTheme_actionModeStyle
@see #AppCompatTheme_actionModeWebSearchDrawable
@see #AppCompatTheme_actionOverflowButtonStyle
@see #AppCompatTheme_actionOverflowMenuStyle
@see #AppCompatTheme_activityChooserViewStyle
@see #AppCompatTheme_alertDialogButtonGroupStyle
@see #AppCompatTheme_alertDialogCenterButtons
@see #AppCompatTheme_alertDialogStyle
@see #AppCompatTheme_alertDialogTheme
@see #AppCompatTheme_android_windowAnimationStyle
@see #AppCompatTheme_android_windowIsFloating
@see #AppCompatTheme_autoCompleteTextViewStyle
@see #AppCompatTheme_borderlessButtonStyle
@see #AppCompatTheme_buttonBarButtonStyle
@see #AppCompatTheme_buttonBarNegativeButtonStyle
@see #AppCompatTheme_buttonBarNeutralButtonStyle
@see #AppCompatTheme_buttonBarPositiveButtonStyle
@see #AppCompatTheme_buttonBarStyle
@see #AppCompatTheme_buttonStyle
@see #AppCompatTheme_buttonStyleSmall
@see #AppCompatTheme_checkboxStyle
@see #AppCompatTheme_checkedTextViewStyle
@see #AppCompatTheme_colorAccent
@see #AppCompatTheme_colorButtonNormal
@see #AppCompatTheme_colorControlActivated
@see #AppCompatTheme_colorControlHighlight
@see #AppCompatTheme_colorControlNormal
@see #AppCompatTheme_colorPrimary
@see #AppCompatTheme_colorPrimaryDark
@see #AppCompatTheme_colorSwitchThumbNormal
@see #AppCompatTheme_controlBackground
@see #AppCompatTheme_dialogPreferredPadding
@see #AppCompatTheme_dialogTheme
@see #AppCompatTheme_dividerHorizontal
@see #AppCompatTheme_dividerVertical
@see #AppCompatTheme_dropDownListViewStyle
@see #AppCompatTheme_dropdownListPreferredItemHeight
@see #AppCompatTheme_editTextBackground
@see #AppCompatTheme_editTextColor
@see #AppCompatTheme_editTextStyle
@see #AppCompatTheme_homeAsUpIndicator
@see #AppCompatTheme_imageButtonStyle
@see #AppCompatTheme_listChoiceBackgroundIndicator
@see #AppCompatTheme_listDividerAlertDialog
@see #AppCompatTheme_listPopupWindowStyle
@see #AppCompatTheme_listPreferredItemHeight
@see #AppCompatTheme_listPreferredItemHeightLarge
@see #AppCompatTheme_listPreferredItemHeightSmall
@see #AppCompatTheme_listPreferredItemPaddingLeft
@see #AppCompatTheme_listPreferredItemPaddingRight
@see #AppCompatTheme_panelBackground
@see #AppCompatTheme_panelMenuListTheme
@see #AppCompatTheme_panelMenuListWidth
@see #AppCompatTheme_popupMenuStyle
@see #AppCompatTheme_popupWindowStyle
@see #AppCompatTheme_radioButtonStyle
@see #AppCompatTheme_ratingBarStyle
@see #AppCompatTheme_ratingBarStyleIndicator
@see #AppCompatTheme_ratingBarStyleSmall
@see #AppCompatTheme_searchViewStyle
@see #AppCompatTheme_seekBarStyle
@see #AppCompatTheme_selectableItemBackground
@see #AppCompatTheme_selectableItemBackgroundBorderless
@see #AppCompatTheme_spinnerDropDownItemStyle
@see #AppCompatTheme_spinnerStyle
@see #AppCompatTheme_switchStyle
@see #AppCompatTheme_textAppearanceLargePopupMenu
@see #AppCompatTheme_textAppearanceListItem
@see #AppCompatTheme_textAppearanceListItemSmall
@see #AppCompatTheme_textAppearanceSearchResultSubtitle
@see #AppCompatTheme_textAppearanceSearchResultTitle
@see #AppCompatTheme_textAppearanceSmallPopupMenu
@see #AppCompatTheme_textColorAlertDialogListItem
@see #AppCompatTheme_textColorSearchUrl
@see #AppCompatTheme_toolbarNavigationButtonStyle
@see #AppCompatTheme_toolbarStyle
@see #AppCompatTheme_windowActionBar
@see #AppCompatTheme_windowActionBarOverlay
@see #AppCompatTheme_windowActionModeOverlay
@see #AppCompatTheme_windowFixedHeightMajor
@see #AppCompatTheme_windowFixedHeightMinor
@see #AppCompatTheme_windowFixedWidthMajor
@see #AppCompatTheme_windowFixedWidthMinor
@see #AppCompatTheme_windowMinWidthMajor
@see #AppCompatTheme_windowMinWidthMinor
@see #AppCompatTheme_windowNoTitle
*/
public static final int[] AppCompatTheme = {
0x01010057, 0x010100ae, 0x7f01004c, 0x7f01004d,
0x7f01004e, 0x7f01004f, 0x7f010050, 0x7f010051,
0x7f010052, 0x7f010053, 0x7f010054, 0x7f010055,
0x7f010056, 0x7f010057, 0x7f010058, 0x7f010059,
0x7f01005a, 0x7f01005b, 0x7f01005c, 0x7f01005d,
0x7f01005e, 0x7f01005f, 0x7f010060, 0x7f010061,
0x7f010062, 0x7f010063, 0x7f010064, 0x7f010065,
0x7f010066, 0x7f010067, 0x7f010068, 0x7f010069,
0x7f01006a, 0x7f01006b, 0x7f01006c, 0x7f01006d,
0x7f01006e, 0x7f01006f, 0x7f010070, 0x7f010071,
0x7f010072, 0x7f010073, 0x7f010074, 0x7f010075,
0x7f010076, 0x7f010077, 0x7f010078, 0x7f010079,
0x7f01007a, 0x7f01007b, 0x7f01007c, 0x7f01007d,
0x7f01007e, 0x7f01007f, 0x7f010080, 0x7f010081,
0x7f010082, 0x7f010083, 0x7f010084, 0x7f010085,
0x7f010086, 0x7f010087, 0x7f010088, 0x7f010089,
0x7f01008a, 0x7f01008b, 0x7f01008c, 0x7f01008d,
0x7f01008e, 0x7f01008f, 0x7f010090, 0x7f010091,
0x7f010092, 0x7f010093, 0x7f010094, 0x7f010095,
0x7f010096, 0x7f010097, 0x7f010098, 0x7f010099,
0x7f01009a, 0x7f01009b, 0x7f01009c, 0x7f01009d,
0x7f01009e, 0x7f01009f, 0x7f0100a0, 0x7f0100a1,
0x7f0100a2, 0x7f0100a3, 0x7f0100a4, 0x7f0100a5,
0x7f0100a6, 0x7f0100a7, 0x7f0100a8, 0x7f0100a9,
0x7f0100aa, 0x7f0100ab, 0x7f0100ac, 0x7f0100ad,
0x7f0100ae, 0x7f0100af, 0x7f0100b0, 0x7f0100b1,
0x7f0100b2, 0x7f0100b3, 0x7f0100b4, 0x7f0100b5,
0x7f0100b6, 0x7f0100b7, 0x7f0100b8, 0x7f0100b9
};
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#actionBarDivider}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:actionBarDivider
*/
public static int AppCompatTheme_actionBarDivider = 23;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#actionBarItemBackground}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:actionBarItemBackground
*/
public static int AppCompatTheme_actionBarItemBackground = 24;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#actionBarPopupTheme}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:actionBarPopupTheme
*/
public static int AppCompatTheme_actionBarPopupTheme = 17;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#actionBarSize}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>May be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>wrap_content</code></td><td>0</td><td></td></tr>
</table>
@attr name android.support.v7.mediarouter:actionBarSize
*/
public static int AppCompatTheme_actionBarSize = 22;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#actionBarSplitStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:actionBarSplitStyle
*/
public static int AppCompatTheme_actionBarSplitStyle = 19;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#actionBarStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:actionBarStyle
*/
public static int AppCompatTheme_actionBarStyle = 18;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#actionBarTabBarStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:actionBarTabBarStyle
*/
public static int AppCompatTheme_actionBarTabBarStyle = 13;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#actionBarTabStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:actionBarTabStyle
*/
public static int AppCompatTheme_actionBarTabStyle = 12;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#actionBarTabTextStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:actionBarTabTextStyle
*/
public static int AppCompatTheme_actionBarTabTextStyle = 14;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#actionBarTheme}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:actionBarTheme
*/
public static int AppCompatTheme_actionBarTheme = 20;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#actionBarWidgetTheme}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:actionBarWidgetTheme
*/
public static int AppCompatTheme_actionBarWidgetTheme = 21;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#actionButtonStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:actionButtonStyle
*/
public static int AppCompatTheme_actionButtonStyle = 49;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#actionDropDownStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:actionDropDownStyle
*/
public static int AppCompatTheme_actionDropDownStyle = 45;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#actionMenuTextAppearance}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:actionMenuTextAppearance
*/
public static int AppCompatTheme_actionMenuTextAppearance = 25;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#actionMenuTextColor}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
@attr name android.support.v7.mediarouter:actionMenuTextColor
*/
public static int AppCompatTheme_actionMenuTextColor = 26;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#actionModeBackground}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:actionModeBackground
*/
public static int AppCompatTheme_actionModeBackground = 29;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#actionModeCloseButtonStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:actionModeCloseButtonStyle
*/
public static int AppCompatTheme_actionModeCloseButtonStyle = 28;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#actionModeCloseDrawable}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:actionModeCloseDrawable
*/
public static int AppCompatTheme_actionModeCloseDrawable = 31;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#actionModeCopyDrawable}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:actionModeCopyDrawable
*/
public static int AppCompatTheme_actionModeCopyDrawable = 33;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#actionModeCutDrawable}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:actionModeCutDrawable
*/
public static int AppCompatTheme_actionModeCutDrawable = 32;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#actionModeFindDrawable}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:actionModeFindDrawable
*/
public static int AppCompatTheme_actionModeFindDrawable = 37;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#actionModePasteDrawable}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:actionModePasteDrawable
*/
public static int AppCompatTheme_actionModePasteDrawable = 34;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#actionModePopupWindowStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:actionModePopupWindowStyle
*/
public static int AppCompatTheme_actionModePopupWindowStyle = 39;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#actionModeSelectAllDrawable}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:actionModeSelectAllDrawable
*/
public static int AppCompatTheme_actionModeSelectAllDrawable = 35;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#actionModeShareDrawable}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:actionModeShareDrawable
*/
public static int AppCompatTheme_actionModeShareDrawable = 36;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#actionModeSplitBackground}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:actionModeSplitBackground
*/
public static int AppCompatTheme_actionModeSplitBackground = 30;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#actionModeStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:actionModeStyle
*/
public static int AppCompatTheme_actionModeStyle = 27;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#actionModeWebSearchDrawable}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:actionModeWebSearchDrawable
*/
public static int AppCompatTheme_actionModeWebSearchDrawable = 38;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#actionOverflowButtonStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:actionOverflowButtonStyle
*/
public static int AppCompatTheme_actionOverflowButtonStyle = 15;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#actionOverflowMenuStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:actionOverflowMenuStyle
*/
public static int AppCompatTheme_actionOverflowMenuStyle = 16;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#activityChooserViewStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:activityChooserViewStyle
*/
public static int AppCompatTheme_activityChooserViewStyle = 57;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#alertDialogButtonGroupStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:alertDialogButtonGroupStyle
*/
public static int AppCompatTheme_alertDialogButtonGroupStyle = 92;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#alertDialogCenterButtons}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:alertDialogCenterButtons
*/
public static int AppCompatTheme_alertDialogCenterButtons = 93;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#alertDialogStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:alertDialogStyle
*/
public static int AppCompatTheme_alertDialogStyle = 91;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#alertDialogTheme}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:alertDialogTheme
*/
public static int AppCompatTheme_alertDialogTheme = 94;
/**
<p>This symbol is the offset where the {@link android.R.attr#windowAnimationStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
@attr name android:windowAnimationStyle
*/
public static int AppCompatTheme_android_windowAnimationStyle = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#windowIsFloating}
attribute's value can be found in the {@link #AppCompatTheme} array.
@attr name android:windowIsFloating
*/
public static int AppCompatTheme_android_windowIsFloating = 0;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#autoCompleteTextViewStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:autoCompleteTextViewStyle
*/
public static int AppCompatTheme_autoCompleteTextViewStyle = 99;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#borderlessButtonStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:borderlessButtonStyle
*/
public static int AppCompatTheme_borderlessButtonStyle = 54;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#buttonBarButtonStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:buttonBarButtonStyle
*/
public static int AppCompatTheme_buttonBarButtonStyle = 51;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#buttonBarNegativeButtonStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:buttonBarNegativeButtonStyle
*/
public static int AppCompatTheme_buttonBarNegativeButtonStyle = 97;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#buttonBarNeutralButtonStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:buttonBarNeutralButtonStyle
*/
public static int AppCompatTheme_buttonBarNeutralButtonStyle = 98;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#buttonBarPositiveButtonStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:buttonBarPositiveButtonStyle
*/
public static int AppCompatTheme_buttonBarPositiveButtonStyle = 96;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#buttonBarStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:buttonBarStyle
*/
public static int AppCompatTheme_buttonBarStyle = 50;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#buttonStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:buttonStyle
*/
public static int AppCompatTheme_buttonStyle = 100;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#buttonStyleSmall}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:buttonStyleSmall
*/
public static int AppCompatTheme_buttonStyleSmall = 101;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#checkboxStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:checkboxStyle
*/
public static int AppCompatTheme_checkboxStyle = 102;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#checkedTextViewStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:checkedTextViewStyle
*/
public static int AppCompatTheme_checkedTextViewStyle = 103;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#colorAccent}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:colorAccent
*/
public static int AppCompatTheme_colorAccent = 84;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#colorButtonNormal}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:colorButtonNormal
*/
public static int AppCompatTheme_colorButtonNormal = 88;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#colorControlActivated}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:colorControlActivated
*/
public static int AppCompatTheme_colorControlActivated = 86;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#colorControlHighlight}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:colorControlHighlight
*/
public static int AppCompatTheme_colorControlHighlight = 87;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#colorControlNormal}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:colorControlNormal
*/
public static int AppCompatTheme_colorControlNormal = 85;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#colorPrimary}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:colorPrimary
*/
public static int AppCompatTheme_colorPrimary = 82;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#colorPrimaryDark}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:colorPrimaryDark
*/
public static int AppCompatTheme_colorPrimaryDark = 83;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#colorSwitchThumbNormal}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:colorSwitchThumbNormal
*/
public static int AppCompatTheme_colorSwitchThumbNormal = 89;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#controlBackground}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:controlBackground
*/
public static int AppCompatTheme_controlBackground = 90;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#dialogPreferredPadding}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:dialogPreferredPadding
*/
public static int AppCompatTheme_dialogPreferredPadding = 43;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#dialogTheme}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:dialogTheme
*/
public static int AppCompatTheme_dialogTheme = 42;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#dividerHorizontal}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:dividerHorizontal
*/
public static int AppCompatTheme_dividerHorizontal = 56;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#dividerVertical}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:dividerVertical
*/
public static int AppCompatTheme_dividerVertical = 55;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#dropDownListViewStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:dropDownListViewStyle
*/
public static int AppCompatTheme_dropDownListViewStyle = 74;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#dropdownListPreferredItemHeight}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:dropdownListPreferredItemHeight
*/
public static int AppCompatTheme_dropdownListPreferredItemHeight = 46;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#editTextBackground}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:editTextBackground
*/
public static int AppCompatTheme_editTextBackground = 63;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#editTextColor}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
@attr name android.support.v7.mediarouter:editTextColor
*/
public static int AppCompatTheme_editTextColor = 62;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#editTextStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:editTextStyle
*/
public static int AppCompatTheme_editTextStyle = 104;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#homeAsUpIndicator}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:homeAsUpIndicator
*/
public static int AppCompatTheme_homeAsUpIndicator = 48;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#imageButtonStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:imageButtonStyle
*/
public static int AppCompatTheme_imageButtonStyle = 64;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#listChoiceBackgroundIndicator}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:listChoiceBackgroundIndicator
*/
public static int AppCompatTheme_listChoiceBackgroundIndicator = 81;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#listDividerAlertDialog}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:listDividerAlertDialog
*/
public static int AppCompatTheme_listDividerAlertDialog = 44;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#listPopupWindowStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:listPopupWindowStyle
*/
public static int AppCompatTheme_listPopupWindowStyle = 75;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#listPreferredItemHeight}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:listPreferredItemHeight
*/
public static int AppCompatTheme_listPreferredItemHeight = 69;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#listPreferredItemHeightLarge}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:listPreferredItemHeightLarge
*/
public static int AppCompatTheme_listPreferredItemHeightLarge = 71;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#listPreferredItemHeightSmall}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:listPreferredItemHeightSmall
*/
public static int AppCompatTheme_listPreferredItemHeightSmall = 70;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#listPreferredItemPaddingLeft}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:listPreferredItemPaddingLeft
*/
public static int AppCompatTheme_listPreferredItemPaddingLeft = 72;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#listPreferredItemPaddingRight}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:listPreferredItemPaddingRight
*/
public static int AppCompatTheme_listPreferredItemPaddingRight = 73;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#panelBackground}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:panelBackground
*/
public static int AppCompatTheme_panelBackground = 78;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#panelMenuListTheme}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:panelMenuListTheme
*/
public static int AppCompatTheme_panelMenuListTheme = 80;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#panelMenuListWidth}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:panelMenuListWidth
*/
public static int AppCompatTheme_panelMenuListWidth = 79;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#popupMenuStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:popupMenuStyle
*/
public static int AppCompatTheme_popupMenuStyle = 60;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#popupWindowStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:popupWindowStyle
*/
public static int AppCompatTheme_popupWindowStyle = 61;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#radioButtonStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:radioButtonStyle
*/
public static int AppCompatTheme_radioButtonStyle = 105;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#ratingBarStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:ratingBarStyle
*/
public static int AppCompatTheme_ratingBarStyle = 106;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#ratingBarStyleIndicator}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:ratingBarStyleIndicator
*/
public static int AppCompatTheme_ratingBarStyleIndicator = 107;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#ratingBarStyleSmall}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:ratingBarStyleSmall
*/
public static int AppCompatTheme_ratingBarStyleSmall = 108;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#searchViewStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:searchViewStyle
*/
public static int AppCompatTheme_searchViewStyle = 68;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#seekBarStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:seekBarStyle
*/
public static int AppCompatTheme_seekBarStyle = 109;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#selectableItemBackground}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:selectableItemBackground
*/
public static int AppCompatTheme_selectableItemBackground = 52;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#selectableItemBackgroundBorderless}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:selectableItemBackgroundBorderless
*/
public static int AppCompatTheme_selectableItemBackgroundBorderless = 53;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#spinnerDropDownItemStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:spinnerDropDownItemStyle
*/
public static int AppCompatTheme_spinnerDropDownItemStyle = 47;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#spinnerStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:spinnerStyle
*/
public static int AppCompatTheme_spinnerStyle = 110;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#switchStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:switchStyle
*/
public static int AppCompatTheme_switchStyle = 111;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#textAppearanceLargePopupMenu}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:textAppearanceLargePopupMenu
*/
public static int AppCompatTheme_textAppearanceLargePopupMenu = 40;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#textAppearanceListItem}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:textAppearanceListItem
*/
public static int AppCompatTheme_textAppearanceListItem = 76;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#textAppearanceListItemSmall}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:textAppearanceListItemSmall
*/
public static int AppCompatTheme_textAppearanceListItemSmall = 77;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#textAppearanceSearchResultSubtitle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:textAppearanceSearchResultSubtitle
*/
public static int AppCompatTheme_textAppearanceSearchResultSubtitle = 66;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#textAppearanceSearchResultTitle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:textAppearanceSearchResultTitle
*/
public static int AppCompatTheme_textAppearanceSearchResultTitle = 65;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#textAppearanceSmallPopupMenu}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:textAppearanceSmallPopupMenu
*/
public static int AppCompatTheme_textAppearanceSmallPopupMenu = 41;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#textColorAlertDialogListItem}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
@attr name android.support.v7.mediarouter:textColorAlertDialogListItem
*/
public static int AppCompatTheme_textColorAlertDialogListItem = 95;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#textColorSearchUrl}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
@attr name android.support.v7.mediarouter:textColorSearchUrl
*/
public static int AppCompatTheme_textColorSearchUrl = 67;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#toolbarNavigationButtonStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:toolbarNavigationButtonStyle
*/
public static int AppCompatTheme_toolbarNavigationButtonStyle = 59;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#toolbarStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:toolbarStyle
*/
public static int AppCompatTheme_toolbarStyle = 58;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#windowActionBar}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:windowActionBar
*/
public static int AppCompatTheme_windowActionBar = 2;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#windowActionBarOverlay}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:windowActionBarOverlay
*/
public static int AppCompatTheme_windowActionBarOverlay = 4;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#windowActionModeOverlay}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:windowActionModeOverlay
*/
public static int AppCompatTheme_windowActionModeOverlay = 5;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#windowFixedHeightMajor}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:windowFixedHeightMajor
*/
public static int AppCompatTheme_windowFixedHeightMajor = 9;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#windowFixedHeightMinor}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:windowFixedHeightMinor
*/
public static int AppCompatTheme_windowFixedHeightMinor = 7;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#windowFixedWidthMajor}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:windowFixedWidthMajor
*/
public static int AppCompatTheme_windowFixedWidthMajor = 6;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#windowFixedWidthMinor}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:windowFixedWidthMinor
*/
public static int AppCompatTheme_windowFixedWidthMinor = 8;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#windowMinWidthMajor}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:windowMinWidthMajor
*/
public static int AppCompatTheme_windowMinWidthMajor = 10;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#windowMinWidthMinor}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:windowMinWidthMinor
*/
public static int AppCompatTheme_windowMinWidthMinor = 11;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#windowNoTitle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:windowNoTitle
*/
public static int AppCompatTheme_windowNoTitle = 3;
/** Attributes that can be used with a BottomSheetBehavior_Params.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #BottomSheetBehavior_Params_behavior_hideable android.support.v7.mediarouter:behavior_hideable}</code></td><td></td></tr>
<tr><td><code>{@link #BottomSheetBehavior_Params_behavior_peekHeight android.support.v7.mediarouter:behavior_peekHeight}</code></td><td></td></tr>
</table>
@see #BottomSheetBehavior_Params_behavior_hideable
@see #BottomSheetBehavior_Params_behavior_peekHeight
*/
public static final int[] BottomSheetBehavior_Params = {
0x7f0100fa, 0x7f0100fb
};
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#behavior_hideable}
attribute's value can be found in the {@link #BottomSheetBehavior_Params} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:behavior_hideable
*/
public static int BottomSheetBehavior_Params_behavior_hideable = 1;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#behavior_peekHeight}
attribute's value can be found in the {@link #BottomSheetBehavior_Params} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:behavior_peekHeight
*/
public static int BottomSheetBehavior_Params_behavior_peekHeight = 0;
/** Attributes that can be used with a ButtonBarLayout.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ButtonBarLayout_allowStacking android.support.v7.mediarouter:allowStacking}</code></td><td></td></tr>
</table>
@see #ButtonBarLayout_allowStacking
*/
public static final int[] ButtonBarLayout = {
0x7f0100ba
};
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#allowStacking}
attribute's value can be found in the {@link #ButtonBarLayout} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:allowStacking
*/
public static int ButtonBarLayout_allowStacking = 0;
/** Attributes that can be used with a CardView.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #CardView_android_minHeight android:minHeight}</code></td><td></td></tr>
<tr><td><code>{@link #CardView_android_minWidth android:minWidth}</code></td><td></td></tr>
<tr><td><code>{@link #CardView_cardBackgroundColor android.support.v7.mediarouter:cardBackgroundColor}</code></td><td></td></tr>
<tr><td><code>{@link #CardView_cardCornerRadius android.support.v7.mediarouter:cardCornerRadius}</code></td><td></td></tr>
<tr><td><code>{@link #CardView_cardElevation android.support.v7.mediarouter:cardElevation}</code></td><td></td></tr>
<tr><td><code>{@link #CardView_cardMaxElevation android.support.v7.mediarouter:cardMaxElevation}</code></td><td></td></tr>
<tr><td><code>{@link #CardView_cardPreventCornerOverlap android.support.v7.mediarouter:cardPreventCornerOverlap}</code></td><td></td></tr>
<tr><td><code>{@link #CardView_cardUseCompatPadding android.support.v7.mediarouter:cardUseCompatPadding}</code></td><td></td></tr>
<tr><td><code>{@link #CardView_contentPadding android.support.v7.mediarouter:contentPadding}</code></td><td></td></tr>
<tr><td><code>{@link #CardView_contentPaddingBottom android.support.v7.mediarouter:contentPaddingBottom}</code></td><td></td></tr>
<tr><td><code>{@link #CardView_contentPaddingLeft android.support.v7.mediarouter:contentPaddingLeft}</code></td><td></td></tr>
<tr><td><code>{@link #CardView_contentPaddingRight android.support.v7.mediarouter:contentPaddingRight}</code></td><td></td></tr>
<tr><td><code>{@link #CardView_contentPaddingTop android.support.v7.mediarouter:contentPaddingTop}</code></td><td></td></tr>
</table>
@see #CardView_android_minHeight
@see #CardView_android_minWidth
@see #CardView_cardBackgroundColor
@see #CardView_cardCornerRadius
@see #CardView_cardElevation
@see #CardView_cardMaxElevation
@see #CardView_cardPreventCornerOverlap
@see #CardView_cardUseCompatPadding
@see #CardView_contentPadding
@see #CardView_contentPaddingBottom
@see #CardView_contentPaddingLeft
@see #CardView_contentPaddingRight
@see #CardView_contentPaddingTop
*/
public static final int[] CardView = {
0x0101013f, 0x01010140, 0x7f01001b, 0x7f01001c,
0x7f01001d, 0x7f01001e, 0x7f01001f, 0x7f010020,
0x7f010021, 0x7f010022, 0x7f010023, 0x7f010024,
0x7f010025
};
/**
<p>This symbol is the offset where the {@link android.R.attr#minHeight}
attribute's value can be found in the {@link #CardView} array.
@attr name android:minHeight
*/
public static int CardView_android_minHeight = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#minWidth}
attribute's value can be found in the {@link #CardView} array.
@attr name android:minWidth
*/
public static int CardView_android_minWidth = 0;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#cardBackgroundColor}
attribute's value can be found in the {@link #CardView} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:cardBackgroundColor
*/
public static int CardView_cardBackgroundColor = 2;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#cardCornerRadius}
attribute's value can be found in the {@link #CardView} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:cardCornerRadius
*/
public static int CardView_cardCornerRadius = 3;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#cardElevation}
attribute's value can be found in the {@link #CardView} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:cardElevation
*/
public static int CardView_cardElevation = 4;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#cardMaxElevation}
attribute's value can be found in the {@link #CardView} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:cardMaxElevation
*/
public static int CardView_cardMaxElevation = 5;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#cardPreventCornerOverlap}
attribute's value can be found in the {@link #CardView} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:cardPreventCornerOverlap
*/
public static int CardView_cardPreventCornerOverlap = 7;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#cardUseCompatPadding}
attribute's value can be found in the {@link #CardView} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:cardUseCompatPadding
*/
public static int CardView_cardUseCompatPadding = 6;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#contentPadding}
attribute's value can be found in the {@link #CardView} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:contentPadding
*/
public static int CardView_contentPadding = 8;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#contentPaddingBottom}
attribute's value can be found in the {@link #CardView} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:contentPaddingBottom
*/
public static int CardView_contentPaddingBottom = 12;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#contentPaddingLeft}
attribute's value can be found in the {@link #CardView} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:contentPaddingLeft
*/
public static int CardView_contentPaddingLeft = 9;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#contentPaddingRight}
attribute's value can be found in the {@link #CardView} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:contentPaddingRight
*/
public static int CardView_contentPaddingRight = 10;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#contentPaddingTop}
attribute's value can be found in the {@link #CardView} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:contentPaddingTop
*/
public static int CardView_contentPaddingTop = 11;
/** Attributes that can be used with a CollapsingAppBarLayout_LayoutParams.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #CollapsingAppBarLayout_LayoutParams_layout_collapseMode android.support.v7.mediarouter:layout_collapseMode}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingAppBarLayout_LayoutParams_layout_collapseParallaxMultiplier android.support.v7.mediarouter:layout_collapseParallaxMultiplier}</code></td><td></td></tr>
</table>
@see #CollapsingAppBarLayout_LayoutParams_layout_collapseMode
@see #CollapsingAppBarLayout_LayoutParams_layout_collapseParallaxMultiplier
*/
public static final int[] CollapsingAppBarLayout_LayoutParams = {
0x7f0100fc, 0x7f0100fd
};
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#layout_collapseMode}
attribute's value can be found in the {@link #CollapsingAppBarLayout_LayoutParams} array.
<p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>none</code></td><td>0</td><td></td></tr>
<tr><td><code>pin</code></td><td>1</td><td></td></tr>
<tr><td><code>parallax</code></td><td>2</td><td></td></tr>
</table>
@attr name android.support.v7.mediarouter:layout_collapseMode
*/
public static int CollapsingAppBarLayout_LayoutParams_layout_collapseMode = 0;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#layout_collapseParallaxMultiplier}
attribute's value can be found in the {@link #CollapsingAppBarLayout_LayoutParams} array.
<p>Must be a floating point value, such as "<code>1.2</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:layout_collapseParallaxMultiplier
*/
public static int CollapsingAppBarLayout_LayoutParams_layout_collapseParallaxMultiplier = 1;
/** Attributes that can be used with a CollapsingToolbarLayout.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_collapsedTitleGravity android.support.v7.mediarouter:collapsedTitleGravity}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_collapsedTitleTextAppearance android.support.v7.mediarouter:collapsedTitleTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_contentScrim android.support.v7.mediarouter:contentScrim}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_expandedTitleGravity android.support.v7.mediarouter:expandedTitleGravity}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_expandedTitleMargin android.support.v7.mediarouter:expandedTitleMargin}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_expandedTitleMarginBottom android.support.v7.mediarouter:expandedTitleMarginBottom}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_expandedTitleMarginEnd android.support.v7.mediarouter:expandedTitleMarginEnd}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_expandedTitleMarginStart android.support.v7.mediarouter:expandedTitleMarginStart}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_expandedTitleMarginTop android.support.v7.mediarouter:expandedTitleMarginTop}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_expandedTitleTextAppearance android.support.v7.mediarouter:expandedTitleTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_statusBarScrim android.support.v7.mediarouter:statusBarScrim}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_title android.support.v7.mediarouter:title}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_titleEnabled android.support.v7.mediarouter:titleEnabled}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_toolbarId android.support.v7.mediarouter:toolbarId}</code></td><td></td></tr>
</table>
@see #CollapsingToolbarLayout_collapsedTitleGravity
@see #CollapsingToolbarLayout_collapsedTitleTextAppearance
@see #CollapsingToolbarLayout_contentScrim
@see #CollapsingToolbarLayout_expandedTitleGravity
@see #CollapsingToolbarLayout_expandedTitleMargin
@see #CollapsingToolbarLayout_expandedTitleMarginBottom
@see #CollapsingToolbarLayout_expandedTitleMarginEnd
@see #CollapsingToolbarLayout_expandedTitleMarginStart
@see #CollapsingToolbarLayout_expandedTitleMarginTop
@see #CollapsingToolbarLayout_expandedTitleTextAppearance
@see #CollapsingToolbarLayout_statusBarScrim
@see #CollapsingToolbarLayout_title
@see #CollapsingToolbarLayout_titleEnabled
@see #CollapsingToolbarLayout_toolbarId
*/
public static final int[] CollapsingToolbarLayout = {
0x7f010029, 0x7f0100fe, 0x7f0100ff, 0x7f010100,
0x7f010101, 0x7f010102, 0x7f010103, 0x7f010104,
0x7f010105, 0x7f010106, 0x7f010107, 0x7f010108,
0x7f010109, 0x7f01010a
};
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#collapsedTitleGravity}
attribute's value can be found in the {@link #CollapsingToolbarLayout} array.
<p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>top</code></td><td>0x30</td><td></td></tr>
<tr><td><code>bottom</code></td><td>0x50</td><td></td></tr>
<tr><td><code>left</code></td><td>0x03</td><td></td></tr>
<tr><td><code>right</code></td><td>0x05</td><td></td></tr>
<tr><td><code>center_vertical</code></td><td>0x10</td><td></td></tr>
<tr><td><code>fill_vertical</code></td><td>0x70</td><td></td></tr>
<tr><td><code>center_horizontal</code></td><td>0x01</td><td></td></tr>
<tr><td><code>center</code></td><td>0x11</td><td></td></tr>
<tr><td><code>start</code></td><td>0x00800003</td><td></td></tr>
<tr><td><code>end</code></td><td>0x00800005</td><td></td></tr>
</table>
@attr name android.support.v7.mediarouter:collapsedTitleGravity
*/
public static int CollapsingToolbarLayout_collapsedTitleGravity = 11;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#collapsedTitleTextAppearance}
attribute's value can be found in the {@link #CollapsingToolbarLayout} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:collapsedTitleTextAppearance
*/
public static int CollapsingToolbarLayout_collapsedTitleTextAppearance = 7;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#contentScrim}
attribute's value can be found in the {@link #CollapsingToolbarLayout} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:contentScrim
*/
public static int CollapsingToolbarLayout_contentScrim = 8;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#expandedTitleGravity}
attribute's value can be found in the {@link #CollapsingToolbarLayout} array.
<p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>top</code></td><td>0x30</td><td></td></tr>
<tr><td><code>bottom</code></td><td>0x50</td><td></td></tr>
<tr><td><code>left</code></td><td>0x03</td><td></td></tr>
<tr><td><code>right</code></td><td>0x05</td><td></td></tr>
<tr><td><code>center_vertical</code></td><td>0x10</td><td></td></tr>
<tr><td><code>fill_vertical</code></td><td>0x70</td><td></td></tr>
<tr><td><code>center_horizontal</code></td><td>0x01</td><td></td></tr>
<tr><td><code>center</code></td><td>0x11</td><td></td></tr>
<tr><td><code>start</code></td><td>0x00800003</td><td></td></tr>
<tr><td><code>end</code></td><td>0x00800005</td><td></td></tr>
</table>
@attr name android.support.v7.mediarouter:expandedTitleGravity
*/
public static int CollapsingToolbarLayout_expandedTitleGravity = 12;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#expandedTitleMargin}
attribute's value can be found in the {@link #CollapsingToolbarLayout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:expandedTitleMargin
*/
public static int CollapsingToolbarLayout_expandedTitleMargin = 1;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#expandedTitleMarginBottom}
attribute's value can be found in the {@link #CollapsingToolbarLayout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:expandedTitleMarginBottom
*/
public static int CollapsingToolbarLayout_expandedTitleMarginBottom = 5;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#expandedTitleMarginEnd}
attribute's value can be found in the {@link #CollapsingToolbarLayout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:expandedTitleMarginEnd
*/
public static int CollapsingToolbarLayout_expandedTitleMarginEnd = 4;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#expandedTitleMarginStart}
attribute's value can be found in the {@link #CollapsingToolbarLayout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:expandedTitleMarginStart
*/
public static int CollapsingToolbarLayout_expandedTitleMarginStart = 2;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#expandedTitleMarginTop}
attribute's value can be found in the {@link #CollapsingToolbarLayout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:expandedTitleMarginTop
*/
public static int CollapsingToolbarLayout_expandedTitleMarginTop = 3;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#expandedTitleTextAppearance}
attribute's value can be found in the {@link #CollapsingToolbarLayout} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:expandedTitleTextAppearance
*/
public static int CollapsingToolbarLayout_expandedTitleTextAppearance = 6;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#statusBarScrim}
attribute's value can be found in the {@link #CollapsingToolbarLayout} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:statusBarScrim
*/
public static int CollapsingToolbarLayout_statusBarScrim = 9;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#title}
attribute's value can be found in the {@link #CollapsingToolbarLayout} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:title
*/
public static int CollapsingToolbarLayout_title = 0;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#titleEnabled}
attribute's value can be found in the {@link #CollapsingToolbarLayout} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:titleEnabled
*/
public static int CollapsingToolbarLayout_titleEnabled = 13;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#toolbarId}
attribute's value can be found in the {@link #CollapsingToolbarLayout} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:toolbarId
*/
public static int CollapsingToolbarLayout_toolbarId = 10;
/** Attributes that can be used with a CompoundButton.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #CompoundButton_android_button android:button}</code></td><td></td></tr>
<tr><td><code>{@link #CompoundButton_buttonTint android.support.v7.mediarouter:buttonTint}</code></td><td></td></tr>
<tr><td><code>{@link #CompoundButton_buttonTintMode android.support.v7.mediarouter:buttonTintMode}</code></td><td></td></tr>
</table>
@see #CompoundButton_android_button
@see #CompoundButton_buttonTint
@see #CompoundButton_buttonTintMode
*/
public static final int[] CompoundButton = {
0x01010107, 0x7f0100bb, 0x7f0100bc
};
/**
<p>This symbol is the offset where the {@link android.R.attr#button}
attribute's value can be found in the {@link #CompoundButton} array.
@attr name android:button
*/
public static int CompoundButton_android_button = 0;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#buttonTint}
attribute's value can be found in the {@link #CompoundButton} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:buttonTint
*/
public static int CompoundButton_buttonTint = 1;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#buttonTintMode}
attribute's value can be found in the {@link #CompoundButton} array.
<p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>src_over</code></td><td>3</td><td></td></tr>
<tr><td><code>src_in</code></td><td>5</td><td></td></tr>
<tr><td><code>src_atop</code></td><td>9</td><td></td></tr>
<tr><td><code>multiply</code></td><td>14</td><td></td></tr>
<tr><td><code>screen</code></td><td>15</td><td></td></tr>
</table>
@attr name android.support.v7.mediarouter:buttonTintMode
*/
public static int CompoundButton_buttonTintMode = 2;
/** Attributes that can be used with a CoordinatorLayout.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #CoordinatorLayout_keylines android.support.v7.mediarouter:keylines}</code></td><td></td></tr>
<tr><td><code>{@link #CoordinatorLayout_statusBarBackground android.support.v7.mediarouter:statusBarBackground}</code></td><td></td></tr>
</table>
@see #CoordinatorLayout_keylines
@see #CoordinatorLayout_statusBarBackground
*/
public static final int[] CoordinatorLayout = {
0x7f01010b, 0x7f01010c
};
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#keylines}
attribute's value can be found in the {@link #CoordinatorLayout} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:keylines
*/
public static int CoordinatorLayout_keylines = 0;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#statusBarBackground}
attribute's value can be found in the {@link #CoordinatorLayout} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:statusBarBackground
*/
public static int CoordinatorLayout_statusBarBackground = 1;
/** Attributes that can be used with a CoordinatorLayout_LayoutParams.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #CoordinatorLayout_LayoutParams_android_layout_gravity android:layout_gravity}</code></td><td></td></tr>
<tr><td><code>{@link #CoordinatorLayout_LayoutParams_layout_anchor android.support.v7.mediarouter:layout_anchor}</code></td><td></td></tr>
<tr><td><code>{@link #CoordinatorLayout_LayoutParams_layout_anchorGravity android.support.v7.mediarouter:layout_anchorGravity}</code></td><td></td></tr>
<tr><td><code>{@link #CoordinatorLayout_LayoutParams_layout_behavior android.support.v7.mediarouter:layout_behavior}</code></td><td></td></tr>
<tr><td><code>{@link #CoordinatorLayout_LayoutParams_layout_keyline android.support.v7.mediarouter:layout_keyline}</code></td><td></td></tr>
</table>
@see #CoordinatorLayout_LayoutParams_android_layout_gravity
@see #CoordinatorLayout_LayoutParams_layout_anchor
@see #CoordinatorLayout_LayoutParams_layout_anchorGravity
@see #CoordinatorLayout_LayoutParams_layout_behavior
@see #CoordinatorLayout_LayoutParams_layout_keyline
*/
public static final int[] CoordinatorLayout_LayoutParams = {
0x010100b3, 0x7f01010d, 0x7f01010e, 0x7f01010f,
0x7f010110
};
/**
<p>This symbol is the offset where the {@link android.R.attr#layout_gravity}
attribute's value can be found in the {@link #CoordinatorLayout_LayoutParams} array.
@attr name android:layout_gravity
*/
public static int CoordinatorLayout_LayoutParams_android_layout_gravity = 0;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#layout_anchor}
attribute's value can be found in the {@link #CoordinatorLayout_LayoutParams} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:layout_anchor
*/
public static int CoordinatorLayout_LayoutParams_layout_anchor = 2;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#layout_anchorGravity}
attribute's value can be found in the {@link #CoordinatorLayout_LayoutParams} array.
<p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>top</code></td><td>0x30</td><td></td></tr>
<tr><td><code>bottom</code></td><td>0x50</td><td></td></tr>
<tr><td><code>left</code></td><td>0x03</td><td></td></tr>
<tr><td><code>right</code></td><td>0x05</td><td></td></tr>
<tr><td><code>center_vertical</code></td><td>0x10</td><td></td></tr>
<tr><td><code>fill_vertical</code></td><td>0x70</td><td></td></tr>
<tr><td><code>center_horizontal</code></td><td>0x01</td><td></td></tr>
<tr><td><code>fill_horizontal</code></td><td>0x07</td><td></td></tr>
<tr><td><code>center</code></td><td>0x11</td><td></td></tr>
<tr><td><code>fill</code></td><td>0x77</td><td></td></tr>
<tr><td><code>clip_vertical</code></td><td>0x80</td><td></td></tr>
<tr><td><code>clip_horizontal</code></td><td>0x08</td><td></td></tr>
<tr><td><code>start</code></td><td>0x00800003</td><td></td></tr>
<tr><td><code>end</code></td><td>0x00800005</td><td></td></tr>
</table>
@attr name android.support.v7.mediarouter:layout_anchorGravity
*/
public static int CoordinatorLayout_LayoutParams_layout_anchorGravity = 4;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#layout_behavior}
attribute's value can be found in the {@link #CoordinatorLayout_LayoutParams} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:layout_behavior
*/
public static int CoordinatorLayout_LayoutParams_layout_behavior = 1;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#layout_keyline}
attribute's value can be found in the {@link #CoordinatorLayout_LayoutParams} array.
<p>Must be an integer value, such as "<code>100</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:layout_keyline
*/
public static int CoordinatorLayout_LayoutParams_layout_keyline = 3;
/** Attributes that can be used with a DesignTheme.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #DesignTheme_bottomSheetDialogTheme android.support.v7.mediarouter:bottomSheetDialogTheme}</code></td><td></td></tr>
<tr><td><code>{@link #DesignTheme_bottomSheetStyle android.support.v7.mediarouter:bottomSheetStyle}</code></td><td></td></tr>
<tr><td><code>{@link #DesignTheme_textColorError android.support.v7.mediarouter:textColorError}</code></td><td></td></tr>
</table>
@see #DesignTheme_bottomSheetDialogTheme
@see #DesignTheme_bottomSheetStyle
@see #DesignTheme_textColorError
*/
public static final int[] DesignTheme = {
0x7f010111, 0x7f010112, 0x7f010113
};
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#bottomSheetDialogTheme}
attribute's value can be found in the {@link #DesignTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:bottomSheetDialogTheme
*/
public static int DesignTheme_bottomSheetDialogTheme = 0;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#bottomSheetStyle}
attribute's value can be found in the {@link #DesignTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:bottomSheetStyle
*/
public static int DesignTheme_bottomSheetStyle = 1;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#textColorError}
attribute's value can be found in the {@link #DesignTheme} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:textColorError
*/
public static int DesignTheme_textColorError = 2;
/** Attributes that can be used with a DrawerArrowToggle.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #DrawerArrowToggle_arrowHeadLength android.support.v7.mediarouter:arrowHeadLength}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_arrowShaftLength android.support.v7.mediarouter:arrowShaftLength}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_barLength android.support.v7.mediarouter:barLength}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_color android.support.v7.mediarouter:color}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_drawableSize android.support.v7.mediarouter:drawableSize}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_gapBetweenBars android.support.v7.mediarouter:gapBetweenBars}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_spinBars android.support.v7.mediarouter:spinBars}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_thickness android.support.v7.mediarouter:thickness}</code></td><td></td></tr>
</table>
@see #DrawerArrowToggle_arrowHeadLength
@see #DrawerArrowToggle_arrowShaftLength
@see #DrawerArrowToggle_barLength
@see #DrawerArrowToggle_color
@see #DrawerArrowToggle_drawableSize
@see #DrawerArrowToggle_gapBetweenBars
@see #DrawerArrowToggle_spinBars
@see #DrawerArrowToggle_thickness
*/
public static final int[] DrawerArrowToggle = {
0x7f0100bd, 0x7f0100be, 0x7f0100bf, 0x7f0100c0,
0x7f0100c1, 0x7f0100c2, 0x7f0100c3, 0x7f0100c4
};
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#arrowHeadLength}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:arrowHeadLength
*/
public static int DrawerArrowToggle_arrowHeadLength = 4;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#arrowShaftLength}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:arrowShaftLength
*/
public static int DrawerArrowToggle_arrowShaftLength = 5;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#barLength}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:barLength
*/
public static int DrawerArrowToggle_barLength = 6;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#color}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:color
*/
public static int DrawerArrowToggle_color = 0;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#drawableSize}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:drawableSize
*/
public static int DrawerArrowToggle_drawableSize = 2;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#gapBetweenBars}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:gapBetweenBars
*/
public static int DrawerArrowToggle_gapBetweenBars = 3;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#spinBars}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:spinBars
*/
public static int DrawerArrowToggle_spinBars = 1;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#thickness}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:thickness
*/
public static int DrawerArrowToggle_thickness = 7;
/** Attributes that can be used with a FloatingActionButton.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #FloatingActionButton_backgroundTint android.support.v7.mediarouter:backgroundTint}</code></td><td></td></tr>
<tr><td><code>{@link #FloatingActionButton_backgroundTintMode android.support.v7.mediarouter:backgroundTintMode}</code></td><td></td></tr>
<tr><td><code>{@link #FloatingActionButton_borderWidth android.support.v7.mediarouter:borderWidth}</code></td><td></td></tr>
<tr><td><code>{@link #FloatingActionButton_elevation android.support.v7.mediarouter:elevation}</code></td><td></td></tr>
<tr><td><code>{@link #FloatingActionButton_fabSize android.support.v7.mediarouter:fabSize}</code></td><td></td></tr>
<tr><td><code>{@link #FloatingActionButton_pressedTranslationZ android.support.v7.mediarouter:pressedTranslationZ}</code></td><td></td></tr>
<tr><td><code>{@link #FloatingActionButton_rippleColor android.support.v7.mediarouter:rippleColor}</code></td><td></td></tr>
<tr><td><code>{@link #FloatingActionButton_useCompatPadding android.support.v7.mediarouter:useCompatPadding}</code></td><td></td></tr>
</table>
@see #FloatingActionButton_backgroundTint
@see #FloatingActionButton_backgroundTintMode
@see #FloatingActionButton_borderWidth
@see #FloatingActionButton_elevation
@see #FloatingActionButton_fabSize
@see #FloatingActionButton_pressedTranslationZ
@see #FloatingActionButton_rippleColor
@see #FloatingActionButton_useCompatPadding
*/
public static final int[] FloatingActionButton = {
0x7f010040, 0x7f0100f5, 0x7f0100f6, 0x7f010114,
0x7f010115, 0x7f010116, 0x7f010117, 0x7f010118
};
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#backgroundTint}
attribute's value can be found in the {@link #FloatingActionButton} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:backgroundTint
*/
public static int FloatingActionButton_backgroundTint = 1;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#backgroundTintMode}
attribute's value can be found in the {@link #FloatingActionButton} array.
<p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>src_over</code></td><td>3</td><td></td></tr>
<tr><td><code>src_in</code></td><td>5</td><td></td></tr>
<tr><td><code>src_atop</code></td><td>9</td><td></td></tr>
<tr><td><code>multiply</code></td><td>14</td><td></td></tr>
<tr><td><code>screen</code></td><td>15</td><td></td></tr>
</table>
@attr name android.support.v7.mediarouter:backgroundTintMode
*/
public static int FloatingActionButton_backgroundTintMode = 2;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#borderWidth}
attribute's value can be found in the {@link #FloatingActionButton} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:borderWidth
*/
public static int FloatingActionButton_borderWidth = 6;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#elevation}
attribute's value can be found in the {@link #FloatingActionButton} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:elevation
*/
public static int FloatingActionButton_elevation = 0;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#fabSize}
attribute's value can be found in the {@link #FloatingActionButton} array.
<p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>normal</code></td><td>0</td><td></td></tr>
<tr><td><code>mini</code></td><td>1</td><td></td></tr>
</table>
@attr name android.support.v7.mediarouter:fabSize
*/
public static int FloatingActionButton_fabSize = 4;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#pressedTranslationZ}
attribute's value can be found in the {@link #FloatingActionButton} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:pressedTranslationZ
*/
public static int FloatingActionButton_pressedTranslationZ = 5;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#rippleColor}
attribute's value can be found in the {@link #FloatingActionButton} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:rippleColor
*/
public static int FloatingActionButton_rippleColor = 3;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#useCompatPadding}
attribute's value can be found in the {@link #FloatingActionButton} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:useCompatPadding
*/
public static int FloatingActionButton_useCompatPadding = 7;
/** Attributes that can be used with a ForegroundLinearLayout.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ForegroundLinearLayout_android_foreground android:foreground}</code></td><td></td></tr>
<tr><td><code>{@link #ForegroundLinearLayout_android_foregroundGravity android:foregroundGravity}</code></td><td></td></tr>
<tr><td><code>{@link #ForegroundLinearLayout_foregroundInsidePadding android.support.v7.mediarouter:foregroundInsidePadding}</code></td><td></td></tr>
</table>
@see #ForegroundLinearLayout_android_foreground
@see #ForegroundLinearLayout_android_foregroundGravity
@see #ForegroundLinearLayout_foregroundInsidePadding
*/
public static final int[] ForegroundLinearLayout = {
0x01010109, 0x01010200, 0x7f010119
};
/**
<p>This symbol is the offset where the {@link android.R.attr#foreground}
attribute's value can be found in the {@link #ForegroundLinearLayout} array.
@attr name android:foreground
*/
public static int ForegroundLinearLayout_android_foreground = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#foregroundGravity}
attribute's value can be found in the {@link #ForegroundLinearLayout} array.
@attr name android:foregroundGravity
*/
public static int ForegroundLinearLayout_android_foregroundGravity = 1;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#foregroundInsidePadding}
attribute's value can be found in the {@link #ForegroundLinearLayout} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:foregroundInsidePadding
*/
public static int ForegroundLinearLayout_foregroundInsidePadding = 2;
/** Attributes that can be used with a LinearLayoutCompat.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #LinearLayoutCompat_android_baselineAligned android:baselineAligned}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_android_baselineAlignedChildIndex android:baselineAlignedChildIndex}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_android_gravity android:gravity}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_android_orientation android:orientation}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_android_weightSum android:weightSum}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_divider android.support.v7.mediarouter:divider}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_dividerPadding android.support.v7.mediarouter:dividerPadding}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_measureWithLargestChild android.support.v7.mediarouter:measureWithLargestChild}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_showDividers android.support.v7.mediarouter:showDividers}</code></td><td></td></tr>
</table>
@see #LinearLayoutCompat_android_baselineAligned
@see #LinearLayoutCompat_android_baselineAlignedChildIndex
@see #LinearLayoutCompat_android_gravity
@see #LinearLayoutCompat_android_orientation
@see #LinearLayoutCompat_android_weightSum
@see #LinearLayoutCompat_divider
@see #LinearLayoutCompat_dividerPadding
@see #LinearLayoutCompat_measureWithLargestChild
@see #LinearLayoutCompat_showDividers
*/
public static final int[] LinearLayoutCompat = {
0x010100af, 0x010100c4, 0x01010126, 0x01010127,
0x01010128, 0x7f010031, 0x7f0100c5, 0x7f0100c6,
0x7f0100c7
};
/**
<p>This symbol is the offset where the {@link android.R.attr#baselineAligned}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
@attr name android:baselineAligned
*/
public static int LinearLayoutCompat_android_baselineAligned = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#baselineAlignedChildIndex}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
@attr name android:baselineAlignedChildIndex
*/
public static int LinearLayoutCompat_android_baselineAlignedChildIndex = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#gravity}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
@attr name android:gravity
*/
public static int LinearLayoutCompat_android_gravity = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#orientation}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
@attr name android:orientation
*/
public static int LinearLayoutCompat_android_orientation = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#weightSum}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
@attr name android:weightSum
*/
public static int LinearLayoutCompat_android_weightSum = 4;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#divider}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:divider
*/
public static int LinearLayoutCompat_divider = 5;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#dividerPadding}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:dividerPadding
*/
public static int LinearLayoutCompat_dividerPadding = 8;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#measureWithLargestChild}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:measureWithLargestChild
*/
public static int LinearLayoutCompat_measureWithLargestChild = 6;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#showDividers}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
<p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>none</code></td><td>0</td><td></td></tr>
<tr><td><code>beginning</code></td><td>1</td><td></td></tr>
<tr><td><code>middle</code></td><td>2</td><td></td></tr>
<tr><td><code>end</code></td><td>4</td><td></td></tr>
</table>
@attr name android.support.v7.mediarouter:showDividers
*/
public static int LinearLayoutCompat_showDividers = 7;
/** Attributes that can be used with a LinearLayoutCompat_Layout.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #LinearLayoutCompat_Layout_android_layout_gravity android:layout_gravity}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_Layout_android_layout_height android:layout_height}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_Layout_android_layout_weight android:layout_weight}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_Layout_android_layout_width android:layout_width}</code></td><td></td></tr>
</table>
@see #LinearLayoutCompat_Layout_android_layout_gravity
@see #LinearLayoutCompat_Layout_android_layout_height
@see #LinearLayoutCompat_Layout_android_layout_weight
@see #LinearLayoutCompat_Layout_android_layout_width
*/
public static final int[] LinearLayoutCompat_Layout = {
0x010100b3, 0x010100f4, 0x010100f5, 0x01010181
};
/**
<p>This symbol is the offset where the {@link android.R.attr#layout_gravity}
attribute's value can be found in the {@link #LinearLayoutCompat_Layout} array.
@attr name android:layout_gravity
*/
public static int LinearLayoutCompat_Layout_android_layout_gravity = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#layout_height}
attribute's value can be found in the {@link #LinearLayoutCompat_Layout} array.
@attr name android:layout_height
*/
public static int LinearLayoutCompat_Layout_android_layout_height = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#layout_weight}
attribute's value can be found in the {@link #LinearLayoutCompat_Layout} array.
@attr name android:layout_weight
*/
public static int LinearLayoutCompat_Layout_android_layout_weight = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#layout_width}
attribute's value can be found in the {@link #LinearLayoutCompat_Layout} array.
@attr name android:layout_width
*/
public static int LinearLayoutCompat_Layout_android_layout_width = 1;
/** Attributes that can be used with a ListPopupWindow.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ListPopupWindow_android_dropDownHorizontalOffset android:dropDownHorizontalOffset}</code></td><td></td></tr>
<tr><td><code>{@link #ListPopupWindow_android_dropDownVerticalOffset android:dropDownVerticalOffset}</code></td><td></td></tr>
</table>
@see #ListPopupWindow_android_dropDownHorizontalOffset
@see #ListPopupWindow_android_dropDownVerticalOffset
*/
public static final int[] ListPopupWindow = {
0x010102ac, 0x010102ad
};
/**
<p>This symbol is the offset where the {@link android.R.attr#dropDownHorizontalOffset}
attribute's value can be found in the {@link #ListPopupWindow} array.
@attr name android:dropDownHorizontalOffset
*/
public static int ListPopupWindow_android_dropDownHorizontalOffset = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#dropDownVerticalOffset}
attribute's value can be found in the {@link #ListPopupWindow} array.
@attr name android:dropDownVerticalOffset
*/
public static int ListPopupWindow_android_dropDownVerticalOffset = 1;
/** Attributes that can be used with a MediaRouteButton.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #MediaRouteButton_android_minHeight android:minHeight}</code></td><td></td></tr>
<tr><td><code>{@link #MediaRouteButton_android_minWidth android:minWidth}</code></td><td></td></tr>
<tr><td><code>{@link #MediaRouteButton_externalRouteEnabledDrawable android.support.v7.mediarouter:externalRouteEnabledDrawable}</code></td><td></td></tr>
</table>
@see #MediaRouteButton_android_minHeight
@see #MediaRouteButton_android_minWidth
@see #MediaRouteButton_externalRouteEnabledDrawable
*/
public static final int[] MediaRouteButton = {
0x0101013f, 0x01010140, 0x7f01001a
};
/**
<p>This symbol is the offset where the {@link android.R.attr#minHeight}
attribute's value can be found in the {@link #MediaRouteButton} array.
@attr name android:minHeight
*/
public static int MediaRouteButton_android_minHeight = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#minWidth}
attribute's value can be found in the {@link #MediaRouteButton} array.
@attr name android:minWidth
*/
public static int MediaRouteButton_android_minWidth = 0;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#externalRouteEnabledDrawable}
attribute's value can be found in the {@link #MediaRouteButton} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:externalRouteEnabledDrawable
*/
public static int MediaRouteButton_externalRouteEnabledDrawable = 2;
/** Attributes that can be used with a MenuGroup.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #MenuGroup_android_checkableBehavior android:checkableBehavior}</code></td><td></td></tr>
<tr><td><code>{@link #MenuGroup_android_enabled android:enabled}</code></td><td></td></tr>
<tr><td><code>{@link #MenuGroup_android_id android:id}</code></td><td></td></tr>
<tr><td><code>{@link #MenuGroup_android_menuCategory android:menuCategory}</code></td><td></td></tr>
<tr><td><code>{@link #MenuGroup_android_orderInCategory android:orderInCategory}</code></td><td></td></tr>
<tr><td><code>{@link #MenuGroup_android_visible android:visible}</code></td><td></td></tr>
</table>
@see #MenuGroup_android_checkableBehavior
@see #MenuGroup_android_enabled
@see #MenuGroup_android_id
@see #MenuGroup_android_menuCategory
@see #MenuGroup_android_orderInCategory
@see #MenuGroup_android_visible
*/
public static final int[] MenuGroup = {
0x0101000e, 0x010100d0, 0x01010194, 0x010101de,
0x010101df, 0x010101e0
};
/**
<p>This symbol is the offset where the {@link android.R.attr#checkableBehavior}
attribute's value can be found in the {@link #MenuGroup} array.
@attr name android:checkableBehavior
*/
public static int MenuGroup_android_checkableBehavior = 5;
/**
<p>This symbol is the offset where the {@link android.R.attr#enabled}
attribute's value can be found in the {@link #MenuGroup} array.
@attr name android:enabled
*/
public static int MenuGroup_android_enabled = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#id}
attribute's value can be found in the {@link #MenuGroup} array.
@attr name android:id
*/
public static int MenuGroup_android_id = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#menuCategory}
attribute's value can be found in the {@link #MenuGroup} array.
@attr name android:menuCategory
*/
public static int MenuGroup_android_menuCategory = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#orderInCategory}
attribute's value can be found in the {@link #MenuGroup} array.
@attr name android:orderInCategory
*/
public static int MenuGroup_android_orderInCategory = 4;
/**
<p>This symbol is the offset where the {@link android.R.attr#visible}
attribute's value can be found in the {@link #MenuGroup} array.
@attr name android:visible
*/
public static int MenuGroup_android_visible = 2;
/** Attributes that can be used with a MenuItem.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #MenuItem_actionLayout android.support.v7.mediarouter:actionLayout}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_actionProviderClass android.support.v7.mediarouter:actionProviderClass}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_actionViewClass android.support.v7.mediarouter:actionViewClass}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_alphabeticShortcut android:alphabeticShortcut}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_checkable android:checkable}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_checked android:checked}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_enabled android:enabled}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_icon android:icon}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_id android:id}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_menuCategory android:menuCategory}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_numericShortcut android:numericShortcut}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_onClick android:onClick}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_orderInCategory android:orderInCategory}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_title android:title}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_titleCondensed android:titleCondensed}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_visible android:visible}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_showAsAction android.support.v7.mediarouter:showAsAction}</code></td><td></td></tr>
</table>
@see #MenuItem_actionLayout
@see #MenuItem_actionProviderClass
@see #MenuItem_actionViewClass
@see #MenuItem_android_alphabeticShortcut
@see #MenuItem_android_checkable
@see #MenuItem_android_checked
@see #MenuItem_android_enabled
@see #MenuItem_android_icon
@see #MenuItem_android_id
@see #MenuItem_android_menuCategory
@see #MenuItem_android_numericShortcut
@see #MenuItem_android_onClick
@see #MenuItem_android_orderInCategory
@see #MenuItem_android_title
@see #MenuItem_android_titleCondensed
@see #MenuItem_android_visible
@see #MenuItem_showAsAction
*/
public static final int[] MenuItem = {
0x01010002, 0x0101000e, 0x010100d0, 0x01010106,
0x01010194, 0x010101de, 0x010101df, 0x010101e1,
0x010101e2, 0x010101e3, 0x010101e4, 0x010101e5,
0x0101026f, 0x7f0100c8, 0x7f0100c9, 0x7f0100ca,
0x7f0100cb
};
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#actionLayout}
attribute's value can be found in the {@link #MenuItem} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:actionLayout
*/
public static int MenuItem_actionLayout = 14;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#actionProviderClass}
attribute's value can be found in the {@link #MenuItem} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:actionProviderClass
*/
public static int MenuItem_actionProviderClass = 16;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#actionViewClass}
attribute's value can be found in the {@link #MenuItem} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:actionViewClass
*/
public static int MenuItem_actionViewClass = 15;
/**
<p>This symbol is the offset where the {@link android.R.attr#alphabeticShortcut}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:alphabeticShortcut
*/
public static int MenuItem_android_alphabeticShortcut = 9;
/**
<p>This symbol is the offset where the {@link android.R.attr#checkable}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:checkable
*/
public static int MenuItem_android_checkable = 11;
/**
<p>This symbol is the offset where the {@link android.R.attr#checked}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:checked
*/
public static int MenuItem_android_checked = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#enabled}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:enabled
*/
public static int MenuItem_android_enabled = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#icon}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:icon
*/
public static int MenuItem_android_icon = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#id}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:id
*/
public static int MenuItem_android_id = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#menuCategory}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:menuCategory
*/
public static int MenuItem_android_menuCategory = 5;
/**
<p>This symbol is the offset where the {@link android.R.attr#numericShortcut}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:numericShortcut
*/
public static int MenuItem_android_numericShortcut = 10;
/**
<p>This symbol is the offset where the {@link android.R.attr#onClick}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:onClick
*/
public static int MenuItem_android_onClick = 12;
/**
<p>This symbol is the offset where the {@link android.R.attr#orderInCategory}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:orderInCategory
*/
public static int MenuItem_android_orderInCategory = 6;
/**
<p>This symbol is the offset where the {@link android.R.attr#title}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:title
*/
public static int MenuItem_android_title = 7;
/**
<p>This symbol is the offset where the {@link android.R.attr#titleCondensed}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:titleCondensed
*/
public static int MenuItem_android_titleCondensed = 8;
/**
<p>This symbol is the offset where the {@link android.R.attr#visible}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:visible
*/
public static int MenuItem_android_visible = 4;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#showAsAction}
attribute's value can be found in the {@link #MenuItem} array.
<p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>never</code></td><td>0</td><td></td></tr>
<tr><td><code>ifRoom</code></td><td>1</td><td></td></tr>
<tr><td><code>always</code></td><td>2</td><td></td></tr>
<tr><td><code>withText</code></td><td>4</td><td></td></tr>
<tr><td><code>collapseActionView</code></td><td>8</td><td></td></tr>
</table>
@attr name android.support.v7.mediarouter:showAsAction
*/
public static int MenuItem_showAsAction = 13;
/** Attributes that can be used with a MenuView.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #MenuView_android_headerBackground android:headerBackground}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_android_horizontalDivider android:horizontalDivider}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_android_itemBackground android:itemBackground}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_android_itemIconDisabledAlpha android:itemIconDisabledAlpha}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_android_itemTextAppearance android:itemTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_android_verticalDivider android:verticalDivider}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_android_windowAnimationStyle android:windowAnimationStyle}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_preserveIconSpacing android.support.v7.mediarouter:preserveIconSpacing}</code></td><td></td></tr>
</table>
@see #MenuView_android_headerBackground
@see #MenuView_android_horizontalDivider
@see #MenuView_android_itemBackground
@see #MenuView_android_itemIconDisabledAlpha
@see #MenuView_android_itemTextAppearance
@see #MenuView_android_verticalDivider
@see #MenuView_android_windowAnimationStyle
@see #MenuView_preserveIconSpacing
*/
public static final int[] MenuView = {
0x010100ae, 0x0101012c, 0x0101012d, 0x0101012e,
0x0101012f, 0x01010130, 0x01010131, 0x7f0100cc
};
/**
<p>This symbol is the offset where the {@link android.R.attr#headerBackground}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:headerBackground
*/
public static int MenuView_android_headerBackground = 4;
/**
<p>This symbol is the offset where the {@link android.R.attr#horizontalDivider}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:horizontalDivider
*/
public static int MenuView_android_horizontalDivider = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#itemBackground}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:itemBackground
*/
public static int MenuView_android_itemBackground = 5;
/**
<p>This symbol is the offset where the {@link android.R.attr#itemIconDisabledAlpha}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:itemIconDisabledAlpha
*/
public static int MenuView_android_itemIconDisabledAlpha = 6;
/**
<p>This symbol is the offset where the {@link android.R.attr#itemTextAppearance}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:itemTextAppearance
*/
public static int MenuView_android_itemTextAppearance = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#verticalDivider}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:verticalDivider
*/
public static int MenuView_android_verticalDivider = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#windowAnimationStyle}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:windowAnimationStyle
*/
public static int MenuView_android_windowAnimationStyle = 0;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#preserveIconSpacing}
attribute's value can be found in the {@link #MenuView} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:preserveIconSpacing
*/
public static int MenuView_preserveIconSpacing = 7;
/** Attributes that can be used with a NavigationView.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #NavigationView_android_background android:background}</code></td><td></td></tr>
<tr><td><code>{@link #NavigationView_android_fitsSystemWindows android:fitsSystemWindows}</code></td><td></td></tr>
<tr><td><code>{@link #NavigationView_android_maxWidth android:maxWidth}</code></td><td></td></tr>
<tr><td><code>{@link #NavigationView_elevation android.support.v7.mediarouter:elevation}</code></td><td></td></tr>
<tr><td><code>{@link #NavigationView_headerLayout android.support.v7.mediarouter:headerLayout}</code></td><td></td></tr>
<tr><td><code>{@link #NavigationView_itemBackground android.support.v7.mediarouter:itemBackground}</code></td><td></td></tr>
<tr><td><code>{@link #NavigationView_itemIconTint android.support.v7.mediarouter:itemIconTint}</code></td><td></td></tr>
<tr><td><code>{@link #NavigationView_itemTextAppearance android.support.v7.mediarouter:itemTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #NavigationView_itemTextColor android.support.v7.mediarouter:itemTextColor}</code></td><td></td></tr>
<tr><td><code>{@link #NavigationView_menu android.support.v7.mediarouter:menu}</code></td><td></td></tr>
</table>
@see #NavigationView_android_background
@see #NavigationView_android_fitsSystemWindows
@see #NavigationView_android_maxWidth
@see #NavigationView_elevation
@see #NavigationView_headerLayout
@see #NavigationView_itemBackground
@see #NavigationView_itemIconTint
@see #NavigationView_itemTextAppearance
@see #NavigationView_itemTextColor
@see #NavigationView_menu
*/
public static final int[] NavigationView = {
0x010100d4, 0x010100dd, 0x0101011f, 0x7f010040,
0x7f01011a, 0x7f01011b, 0x7f01011c, 0x7f01011d,
0x7f01011e, 0x7f01011f
};
/**
<p>This symbol is the offset where the {@link android.R.attr#background}
attribute's value can be found in the {@link #NavigationView} array.
@attr name android:background
*/
public static int NavigationView_android_background = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#fitsSystemWindows}
attribute's value can be found in the {@link #NavigationView} array.
@attr name android:fitsSystemWindows
*/
public static int NavigationView_android_fitsSystemWindows = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#maxWidth}
attribute's value can be found in the {@link #NavigationView} array.
@attr name android:maxWidth
*/
public static int NavigationView_android_maxWidth = 2;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#elevation}
attribute's value can be found in the {@link #NavigationView} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:elevation
*/
public static int NavigationView_elevation = 3;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#headerLayout}
attribute's value can be found in the {@link #NavigationView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:headerLayout
*/
public static int NavigationView_headerLayout = 9;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#itemBackground}
attribute's value can be found in the {@link #NavigationView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:itemBackground
*/
public static int NavigationView_itemBackground = 7;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#itemIconTint}
attribute's value can be found in the {@link #NavigationView} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:itemIconTint
*/
public static int NavigationView_itemIconTint = 5;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#itemTextAppearance}
attribute's value can be found in the {@link #NavigationView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:itemTextAppearance
*/
public static int NavigationView_itemTextAppearance = 8;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#itemTextColor}
attribute's value can be found in the {@link #NavigationView} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:itemTextColor
*/
public static int NavigationView_itemTextColor = 6;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#menu}
attribute's value can be found in the {@link #NavigationView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:menu
*/
public static int NavigationView_menu = 4;
/** Attributes that can be used with a PopupWindow.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #PopupWindow_android_popupBackground android:popupBackground}</code></td><td></td></tr>
<tr><td><code>{@link #PopupWindow_overlapAnchor android.support.v7.mediarouter:overlapAnchor}</code></td><td></td></tr>
</table>
@see #PopupWindow_android_popupBackground
@see #PopupWindow_overlapAnchor
*/
public static final int[] PopupWindow = {
0x01010176, 0x7f0100cd
};
/**
<p>This symbol is the offset where the {@link android.R.attr#popupBackground}
attribute's value can be found in the {@link #PopupWindow} array.
@attr name android:popupBackground
*/
public static int PopupWindow_android_popupBackground = 0;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#overlapAnchor}
attribute's value can be found in the {@link #PopupWindow} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:overlapAnchor
*/
public static int PopupWindow_overlapAnchor = 1;
/** Attributes that can be used with a PopupWindowBackgroundState.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #PopupWindowBackgroundState_state_above_anchor android.support.v7.mediarouter:state_above_anchor}</code></td><td></td></tr>
</table>
@see #PopupWindowBackgroundState_state_above_anchor
*/
public static final int[] PopupWindowBackgroundState = {
0x7f0100ce
};
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#state_above_anchor}
attribute's value can be found in the {@link #PopupWindowBackgroundState} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:state_above_anchor
*/
public static int PopupWindowBackgroundState_state_above_anchor = 0;
/** Attributes that can be used with a RecyclerView.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #RecyclerView_android_orientation android:orientation}</code></td><td></td></tr>
<tr><td><code>{@link #RecyclerView_layoutManager android.support.v7.mediarouter:layoutManager}</code></td><td></td></tr>
<tr><td><code>{@link #RecyclerView_reverseLayout android.support.v7.mediarouter:reverseLayout}</code></td><td></td></tr>
<tr><td><code>{@link #RecyclerView_spanCount android.support.v7.mediarouter:spanCount}</code></td><td></td></tr>
<tr><td><code>{@link #RecyclerView_stackFromEnd android.support.v7.mediarouter:stackFromEnd}</code></td><td></td></tr>
</table>
@see #RecyclerView_android_orientation
@see #RecyclerView_layoutManager
@see #RecyclerView_reverseLayout
@see #RecyclerView_spanCount
@see #RecyclerView_stackFromEnd
*/
public static final int[] RecyclerView = {
0x010100c4, 0x7f010000, 0x7f010001, 0x7f010002,
0x7f010003
};
/**
<p>This symbol is the offset where the {@link android.R.attr#orientation}
attribute's value can be found in the {@link #RecyclerView} array.
@attr name android:orientation
*/
public static int RecyclerView_android_orientation = 0;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#layoutManager}
attribute's value can be found in the {@link #RecyclerView} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:layoutManager
*/
public static int RecyclerView_layoutManager = 1;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#reverseLayout}
attribute's value can be found in the {@link #RecyclerView} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:reverseLayout
*/
public static int RecyclerView_reverseLayout = 3;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#spanCount}
attribute's value can be found in the {@link #RecyclerView} array.
<p>Must be an integer value, such as "<code>100</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:spanCount
*/
public static int RecyclerView_spanCount = 2;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#stackFromEnd}
attribute's value can be found in the {@link #RecyclerView} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:stackFromEnd
*/
public static int RecyclerView_stackFromEnd = 4;
/** Attributes that can be used with a ScrimInsetsFrameLayout.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ScrimInsetsFrameLayout_insetForeground android.support.v7.mediarouter:insetForeground}</code></td><td></td></tr>
</table>
@see #ScrimInsetsFrameLayout_insetForeground
*/
public static final int[] ScrimInsetsFrameLayout = {
0x7f010120
};
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#insetForeground}
attribute's value can be found in the {@link #ScrimInsetsFrameLayout} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
@attr name android.support.v7.mediarouter:insetForeground
*/
public static int ScrimInsetsFrameLayout_insetForeground = 0;
/** Attributes that can be used with a ScrollingViewBehavior_Params.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ScrollingViewBehavior_Params_behavior_overlapTop android.support.v7.mediarouter:behavior_overlapTop}</code></td><td></td></tr>
</table>
@see #ScrollingViewBehavior_Params_behavior_overlapTop
*/
public static final int[] ScrollingViewBehavior_Params = {
0x7f010121
};
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#behavior_overlapTop}
attribute's value can be found in the {@link #ScrollingViewBehavior_Params} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:behavior_overlapTop
*/
public static int ScrollingViewBehavior_Params_behavior_overlapTop = 0;
/** Attributes that can be used with a SearchView.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #SearchView_android_focusable android:focusable}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_android_imeOptions android:imeOptions}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_android_inputType android:inputType}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_android_maxWidth android:maxWidth}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_closeIcon android.support.v7.mediarouter:closeIcon}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_commitIcon android.support.v7.mediarouter:commitIcon}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_defaultQueryHint android.support.v7.mediarouter:defaultQueryHint}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_goIcon android.support.v7.mediarouter:goIcon}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_iconifiedByDefault android.support.v7.mediarouter:iconifiedByDefault}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_layout android.support.v7.mediarouter:layout}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_queryBackground android.support.v7.mediarouter:queryBackground}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_queryHint android.support.v7.mediarouter:queryHint}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_searchHintIcon android.support.v7.mediarouter:searchHintIcon}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_searchIcon android.support.v7.mediarouter:searchIcon}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_submitBackground android.support.v7.mediarouter:submitBackground}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_suggestionRowLayout android.support.v7.mediarouter:suggestionRowLayout}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_voiceIcon android.support.v7.mediarouter:voiceIcon}</code></td><td></td></tr>
</table>
@see #SearchView_android_focusable
@see #SearchView_android_imeOptions
@see #SearchView_android_inputType
@see #SearchView_android_maxWidth
@see #SearchView_closeIcon
@see #SearchView_commitIcon
@see #SearchView_defaultQueryHint
@see #SearchView_goIcon
@see #SearchView_iconifiedByDefault
@see #SearchView_layout
@see #SearchView_queryBackground
@see #SearchView_queryHint
@see #SearchView_searchHintIcon
@see #SearchView_searchIcon
@see #SearchView_submitBackground
@see #SearchView_suggestionRowLayout
@see #SearchView_voiceIcon
*/
public static final int[] SearchView = {
0x010100da, 0x0101011f, 0x01010220, 0x01010264,
0x7f0100cf, 0x7f0100d0, 0x7f0100d1, 0x7f0100d2,
0x7f0100d3, 0x7f0100d4, 0x7f0100d5, 0x7f0100d6,
0x7f0100d7, 0x7f0100d8, 0x7f0100d9, 0x7f0100da,
0x7f0100db
};
/**
<p>This symbol is the offset where the {@link android.R.attr#focusable}
attribute's value can be found in the {@link #SearchView} array.
@attr name android:focusable
*/
public static int SearchView_android_focusable = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#imeOptions}
attribute's value can be found in the {@link #SearchView} array.
@attr name android:imeOptions
*/
public static int SearchView_android_imeOptions = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#inputType}
attribute's value can be found in the {@link #SearchView} array.
@attr name android:inputType
*/
public static int SearchView_android_inputType = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#maxWidth}
attribute's value can be found in the {@link #SearchView} array.
@attr name android:maxWidth
*/
public static int SearchView_android_maxWidth = 1;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#closeIcon}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:closeIcon
*/
public static int SearchView_closeIcon = 8;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#commitIcon}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:commitIcon
*/
public static int SearchView_commitIcon = 13;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#defaultQueryHint}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:defaultQueryHint
*/
public static int SearchView_defaultQueryHint = 7;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#goIcon}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:goIcon
*/
public static int SearchView_goIcon = 9;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#iconifiedByDefault}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:iconifiedByDefault
*/
public static int SearchView_iconifiedByDefault = 5;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#layout}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:layout
*/
public static int SearchView_layout = 4;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#queryBackground}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:queryBackground
*/
public static int SearchView_queryBackground = 15;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#queryHint}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:queryHint
*/
public static int SearchView_queryHint = 6;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#searchHintIcon}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:searchHintIcon
*/
public static int SearchView_searchHintIcon = 11;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#searchIcon}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:searchIcon
*/
public static int SearchView_searchIcon = 10;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#submitBackground}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:submitBackground
*/
public static int SearchView_submitBackground = 16;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#suggestionRowLayout}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:suggestionRowLayout
*/
public static int SearchView_suggestionRowLayout = 14;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#voiceIcon}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:voiceIcon
*/
public static int SearchView_voiceIcon = 12;
/** Attributes that can be used with a SnackbarLayout.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #SnackbarLayout_android_maxWidth android:maxWidth}</code></td><td></td></tr>
<tr><td><code>{@link #SnackbarLayout_elevation android.support.v7.mediarouter:elevation}</code></td><td></td></tr>
<tr><td><code>{@link #SnackbarLayout_maxActionInlineWidth android.support.v7.mediarouter:maxActionInlineWidth}</code></td><td></td></tr>
</table>
@see #SnackbarLayout_android_maxWidth
@see #SnackbarLayout_elevation
@see #SnackbarLayout_maxActionInlineWidth
*/
public static final int[] SnackbarLayout = {
0x0101011f, 0x7f010040, 0x7f010122
};
/**
<p>This symbol is the offset where the {@link android.R.attr#maxWidth}
attribute's value can be found in the {@link #SnackbarLayout} array.
@attr name android:maxWidth
*/
public static int SnackbarLayout_android_maxWidth = 0;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#elevation}
attribute's value can be found in the {@link #SnackbarLayout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:elevation
*/
public static int SnackbarLayout_elevation = 1;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#maxActionInlineWidth}
attribute's value can be found in the {@link #SnackbarLayout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:maxActionInlineWidth
*/
public static int SnackbarLayout_maxActionInlineWidth = 2;
/** Attributes that can be used with a Spinner.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #Spinner_android_dropDownWidth android:dropDownWidth}</code></td><td></td></tr>
<tr><td><code>{@link #Spinner_android_entries android:entries}</code></td><td></td></tr>
<tr><td><code>{@link #Spinner_android_popupBackground android:popupBackground}</code></td><td></td></tr>
<tr><td><code>{@link #Spinner_android_prompt android:prompt}</code></td><td></td></tr>
<tr><td><code>{@link #Spinner_popupTheme android.support.v7.mediarouter:popupTheme}</code></td><td></td></tr>
</table>
@see #Spinner_android_dropDownWidth
@see #Spinner_android_entries
@see #Spinner_android_popupBackground
@see #Spinner_android_prompt
@see #Spinner_popupTheme
*/
public static final int[] Spinner = {
0x010100b2, 0x01010176, 0x0101017b, 0x01010262,
0x7f010041
};
/**
<p>This symbol is the offset where the {@link android.R.attr#dropDownWidth}
attribute's value can be found in the {@link #Spinner} array.
@attr name android:dropDownWidth
*/
public static int Spinner_android_dropDownWidth = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#entries}
attribute's value can be found in the {@link #Spinner} array.
@attr name android:entries
*/
public static int Spinner_android_entries = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#popupBackground}
attribute's value can be found in the {@link #Spinner} array.
@attr name android:popupBackground
*/
public static int Spinner_android_popupBackground = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#prompt}
attribute's value can be found in the {@link #Spinner} array.
@attr name android:prompt
*/
public static int Spinner_android_prompt = 2;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#popupTheme}
attribute's value can be found in the {@link #Spinner} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:popupTheme
*/
public static int Spinner_popupTheme = 4;
/** Attributes that can be used with a SwitchCompat.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #SwitchCompat_android_textOff android:textOff}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_android_textOn android:textOn}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_android_thumb android:thumb}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_showText android.support.v7.mediarouter:showText}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_splitTrack android.support.v7.mediarouter:splitTrack}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_switchMinWidth android.support.v7.mediarouter:switchMinWidth}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_switchPadding android.support.v7.mediarouter:switchPadding}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_switchTextAppearance android.support.v7.mediarouter:switchTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_thumbTextPadding android.support.v7.mediarouter:thumbTextPadding}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_track android.support.v7.mediarouter:track}</code></td><td></td></tr>
</table>
@see #SwitchCompat_android_textOff
@see #SwitchCompat_android_textOn
@see #SwitchCompat_android_thumb
@see #SwitchCompat_showText
@see #SwitchCompat_splitTrack
@see #SwitchCompat_switchMinWidth
@see #SwitchCompat_switchPadding
@see #SwitchCompat_switchTextAppearance
@see #SwitchCompat_thumbTextPadding
@see #SwitchCompat_track
*/
public static final int[] SwitchCompat = {
0x01010124, 0x01010125, 0x01010142, 0x7f0100dc,
0x7f0100dd, 0x7f0100de, 0x7f0100df, 0x7f0100e0,
0x7f0100e1, 0x7f0100e2
};
/**
<p>This symbol is the offset where the {@link android.R.attr#textOff}
attribute's value can be found in the {@link #SwitchCompat} array.
@attr name android:textOff
*/
public static int SwitchCompat_android_textOff = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#textOn}
attribute's value can be found in the {@link #SwitchCompat} array.
@attr name android:textOn
*/
public static int SwitchCompat_android_textOn = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#thumb}
attribute's value can be found in the {@link #SwitchCompat} array.
@attr name android:thumb
*/
public static int SwitchCompat_android_thumb = 2;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#showText}
attribute's value can be found in the {@link #SwitchCompat} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:showText
*/
public static int SwitchCompat_showText = 9;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#splitTrack}
attribute's value can be found in the {@link #SwitchCompat} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:splitTrack
*/
public static int SwitchCompat_splitTrack = 8;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#switchMinWidth}
attribute's value can be found in the {@link #SwitchCompat} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:switchMinWidth
*/
public static int SwitchCompat_switchMinWidth = 6;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#switchPadding}
attribute's value can be found in the {@link #SwitchCompat} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:switchPadding
*/
public static int SwitchCompat_switchPadding = 7;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#switchTextAppearance}
attribute's value can be found in the {@link #SwitchCompat} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:switchTextAppearance
*/
public static int SwitchCompat_switchTextAppearance = 5;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#thumbTextPadding}
attribute's value can be found in the {@link #SwitchCompat} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:thumbTextPadding
*/
public static int SwitchCompat_thumbTextPadding = 4;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#track}
attribute's value can be found in the {@link #SwitchCompat} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:track
*/
public static int SwitchCompat_track = 3;
/** Attributes that can be used with a TabItem.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #TabItem_android_icon android:icon}</code></td><td></td></tr>
<tr><td><code>{@link #TabItem_android_layout android:layout}</code></td><td></td></tr>
<tr><td><code>{@link #TabItem_android_text android:text}</code></td><td></td></tr>
</table>
@see #TabItem_android_icon
@see #TabItem_android_layout
@see #TabItem_android_text
*/
public static final int[] TabItem = {
0x01010002, 0x010100f2, 0x0101014f
};
/**
<p>This symbol is the offset where the {@link android.R.attr#icon}
attribute's value can be found in the {@link #TabItem} array.
@attr name android:icon
*/
public static int TabItem_android_icon = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#layout}
attribute's value can be found in the {@link #TabItem} array.
@attr name android:layout
*/
public static int TabItem_android_layout = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#text}
attribute's value can be found in the {@link #TabItem} array.
@attr name android:text
*/
public static int TabItem_android_text = 2;
/** Attributes that can be used with a TabLayout.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #TabLayout_tabBackground android.support.v7.mediarouter:tabBackground}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabContentStart android.support.v7.mediarouter:tabContentStart}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabGravity android.support.v7.mediarouter:tabGravity}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabIndicatorColor android.support.v7.mediarouter:tabIndicatorColor}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabIndicatorHeight android.support.v7.mediarouter:tabIndicatorHeight}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabMaxWidth android.support.v7.mediarouter:tabMaxWidth}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabMinWidth android.support.v7.mediarouter:tabMinWidth}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabMode android.support.v7.mediarouter:tabMode}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabPadding android.support.v7.mediarouter:tabPadding}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabPaddingBottom android.support.v7.mediarouter:tabPaddingBottom}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabPaddingEnd android.support.v7.mediarouter:tabPaddingEnd}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabPaddingStart android.support.v7.mediarouter:tabPaddingStart}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabPaddingTop android.support.v7.mediarouter:tabPaddingTop}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabSelectedTextColor android.support.v7.mediarouter:tabSelectedTextColor}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabTextAppearance android.support.v7.mediarouter:tabTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabTextColor android.support.v7.mediarouter:tabTextColor}</code></td><td></td></tr>
</table>
@see #TabLayout_tabBackground
@see #TabLayout_tabContentStart
@see #TabLayout_tabGravity
@see #TabLayout_tabIndicatorColor
@see #TabLayout_tabIndicatorHeight
@see #TabLayout_tabMaxWidth
@see #TabLayout_tabMinWidth
@see #TabLayout_tabMode
@see #TabLayout_tabPadding
@see #TabLayout_tabPaddingBottom
@see #TabLayout_tabPaddingEnd
@see #TabLayout_tabPaddingStart
@see #TabLayout_tabPaddingTop
@see #TabLayout_tabSelectedTextColor
@see #TabLayout_tabTextAppearance
@see #TabLayout_tabTextColor
*/
public static final int[] TabLayout = {
0x7f010123, 0x7f010124, 0x7f010125, 0x7f010126,
0x7f010127, 0x7f010128, 0x7f010129, 0x7f01012a,
0x7f01012b, 0x7f01012c, 0x7f01012d, 0x7f01012e,
0x7f01012f, 0x7f010130, 0x7f010131, 0x7f010132
};
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#tabBackground}
attribute's value can be found in the {@link #TabLayout} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:tabBackground
*/
public static int TabLayout_tabBackground = 3;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#tabContentStart}
attribute's value can be found in the {@link #TabLayout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:tabContentStart
*/
public static int TabLayout_tabContentStart = 2;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#tabGravity}
attribute's value can be found in the {@link #TabLayout} array.
<p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>fill</code></td><td>0</td><td></td></tr>
<tr><td><code>center</code></td><td>1</td><td></td></tr>
</table>
@attr name android.support.v7.mediarouter:tabGravity
*/
public static int TabLayout_tabGravity = 5;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#tabIndicatorColor}
attribute's value can be found in the {@link #TabLayout} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:tabIndicatorColor
*/
public static int TabLayout_tabIndicatorColor = 0;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#tabIndicatorHeight}
attribute's value can be found in the {@link #TabLayout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:tabIndicatorHeight
*/
public static int TabLayout_tabIndicatorHeight = 1;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#tabMaxWidth}
attribute's value can be found in the {@link #TabLayout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:tabMaxWidth
*/
public static int TabLayout_tabMaxWidth = 7;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#tabMinWidth}
attribute's value can be found in the {@link #TabLayout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:tabMinWidth
*/
public static int TabLayout_tabMinWidth = 6;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#tabMode}
attribute's value can be found in the {@link #TabLayout} array.
<p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>scrollable</code></td><td>0</td><td></td></tr>
<tr><td><code>fixed</code></td><td>1</td><td></td></tr>
</table>
@attr name android.support.v7.mediarouter:tabMode
*/
public static int TabLayout_tabMode = 4;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#tabPadding}
attribute's value can be found in the {@link #TabLayout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:tabPadding
*/
public static int TabLayout_tabPadding = 15;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#tabPaddingBottom}
attribute's value can be found in the {@link #TabLayout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:tabPaddingBottom
*/
public static int TabLayout_tabPaddingBottom = 14;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#tabPaddingEnd}
attribute's value can be found in the {@link #TabLayout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:tabPaddingEnd
*/
public static int TabLayout_tabPaddingEnd = 13;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#tabPaddingStart}
attribute's value can be found in the {@link #TabLayout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:tabPaddingStart
*/
public static int TabLayout_tabPaddingStart = 11;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#tabPaddingTop}
attribute's value can be found in the {@link #TabLayout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:tabPaddingTop
*/
public static int TabLayout_tabPaddingTop = 12;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#tabSelectedTextColor}
attribute's value can be found in the {@link #TabLayout} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:tabSelectedTextColor
*/
public static int TabLayout_tabSelectedTextColor = 10;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#tabTextAppearance}
attribute's value can be found in the {@link #TabLayout} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:tabTextAppearance
*/
public static int TabLayout_tabTextAppearance = 8;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#tabTextColor}
attribute's value can be found in the {@link #TabLayout} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:tabTextColor
*/
public static int TabLayout_tabTextColor = 9;
/** Attributes that can be used with a TextAppearance.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #TextAppearance_android_shadowColor android:shadowColor}</code></td><td></td></tr>
<tr><td><code>{@link #TextAppearance_android_shadowDx android:shadowDx}</code></td><td></td></tr>
<tr><td><code>{@link #TextAppearance_android_shadowDy android:shadowDy}</code></td><td></td></tr>
<tr><td><code>{@link #TextAppearance_android_shadowRadius android:shadowRadius}</code></td><td></td></tr>
<tr><td><code>{@link #TextAppearance_android_textColor android:textColor}</code></td><td></td></tr>
<tr><td><code>{@link #TextAppearance_android_textSize android:textSize}</code></td><td></td></tr>
<tr><td><code>{@link #TextAppearance_android_textStyle android:textStyle}</code></td><td></td></tr>
<tr><td><code>{@link #TextAppearance_android_typeface android:typeface}</code></td><td></td></tr>
<tr><td><code>{@link #TextAppearance_textAllCaps android.support.v7.mediarouter:textAllCaps}</code></td><td></td></tr>
</table>
@see #TextAppearance_android_shadowColor
@see #TextAppearance_android_shadowDx
@see #TextAppearance_android_shadowDy
@see #TextAppearance_android_shadowRadius
@see #TextAppearance_android_textColor
@see #TextAppearance_android_textSize
@see #TextAppearance_android_textStyle
@see #TextAppearance_android_typeface
@see #TextAppearance_textAllCaps
*/
public static final int[] TextAppearance = {
0x01010095, 0x01010096, 0x01010097, 0x01010098,
0x01010161, 0x01010162, 0x01010163, 0x01010164,
0x7f01004b
};
/**
<p>This symbol is the offset where the {@link android.R.attr#shadowColor}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:shadowColor
*/
public static int TextAppearance_android_shadowColor = 4;
/**
<p>This symbol is the offset where the {@link android.R.attr#shadowDx}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:shadowDx
*/
public static int TextAppearance_android_shadowDx = 5;
/**
<p>This symbol is the offset where the {@link android.R.attr#shadowDy}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:shadowDy
*/
public static int TextAppearance_android_shadowDy = 6;
/**
<p>This symbol is the offset where the {@link android.R.attr#shadowRadius}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:shadowRadius
*/
public static int TextAppearance_android_shadowRadius = 7;
/**
<p>This symbol is the offset where the {@link android.R.attr#textColor}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:textColor
*/
public static int TextAppearance_android_textColor = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#textSize}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:textSize
*/
public static int TextAppearance_android_textSize = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#textStyle}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:textStyle
*/
public static int TextAppearance_android_textStyle = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#typeface}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:typeface
*/
public static int TextAppearance_android_typeface = 1;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#textAllCaps}
attribute's value can be found in the {@link #TextAppearance} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a boolean value, either "<code>true</code>" or "<code>false</code>".
@attr name android.support.v7.mediarouter:textAllCaps
*/
public static int TextAppearance_textAllCaps = 8;
/** Attributes that can be used with a TextInputLayout.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #TextInputLayout_android_hint android:hint}</code></td><td></td></tr>
<tr><td><code>{@link #TextInputLayout_android_textColorHint android:textColorHint}</code></td><td></td></tr>
<tr><td><code>{@link #TextInputLayout_counterEnabled android.support.v7.mediarouter:counterEnabled}</code></td><td></td></tr>
<tr><td><code>{@link #TextInputLayout_counterMaxLength android.support.v7.mediarouter:counterMaxLength}</code></td><td></td></tr>
<tr><td><code>{@link #TextInputLayout_counterOverflowTextAppearance android.support.v7.mediarouter:counterOverflowTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #TextInputLayout_counterTextAppearance android.support.v7.mediarouter:counterTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #TextInputLayout_errorEnabled android.support.v7.mediarouter:errorEnabled}</code></td><td></td></tr>
<tr><td><code>{@link #TextInputLayout_errorTextAppearance android.support.v7.mediarouter:errorTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #TextInputLayout_hintAnimationEnabled android.support.v7.mediarouter:hintAnimationEnabled}</code></td><td></td></tr>
<tr><td><code>{@link #TextInputLayout_hintEnabled android.support.v7.mediarouter:hintEnabled}</code></td><td></td></tr>
<tr><td><code>{@link #TextInputLayout_hintTextAppearance android.support.v7.mediarouter:hintTextAppearance}</code></td><td></td></tr>
</table>
@see #TextInputLayout_android_hint
@see #TextInputLayout_android_textColorHint
@see #TextInputLayout_counterEnabled
@see #TextInputLayout_counterMaxLength
@see #TextInputLayout_counterOverflowTextAppearance
@see #TextInputLayout_counterTextAppearance
@see #TextInputLayout_errorEnabled
@see #TextInputLayout_errorTextAppearance
@see #TextInputLayout_hintAnimationEnabled
@see #TextInputLayout_hintEnabled
@see #TextInputLayout_hintTextAppearance
*/
public static final int[] TextInputLayout = {
0x0101009a, 0x01010150, 0x7f010133, 0x7f010134,
0x7f010135, 0x7f010136, 0x7f010137, 0x7f010138,
0x7f010139, 0x7f01013a, 0x7f01013b
};
/**
<p>This symbol is the offset where the {@link android.R.attr#hint}
attribute's value can be found in the {@link #TextInputLayout} array.
@attr name android:hint
*/
public static int TextInputLayout_android_hint = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#textColorHint}
attribute's value can be found in the {@link #TextInputLayout} array.
@attr name android:textColorHint
*/
public static int TextInputLayout_android_textColorHint = 0;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#counterEnabled}
attribute's value can be found in the {@link #TextInputLayout} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:counterEnabled
*/
public static int TextInputLayout_counterEnabled = 6;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#counterMaxLength}
attribute's value can be found in the {@link #TextInputLayout} array.
<p>Must be an integer value, such as "<code>100</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:counterMaxLength
*/
public static int TextInputLayout_counterMaxLength = 7;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#counterOverflowTextAppearance}
attribute's value can be found in the {@link #TextInputLayout} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:counterOverflowTextAppearance
*/
public static int TextInputLayout_counterOverflowTextAppearance = 9;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#counterTextAppearance}
attribute's value can be found in the {@link #TextInputLayout} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:counterTextAppearance
*/
public static int TextInputLayout_counterTextAppearance = 8;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#errorEnabled}
attribute's value can be found in the {@link #TextInputLayout} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:errorEnabled
*/
public static int TextInputLayout_errorEnabled = 4;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#errorTextAppearance}
attribute's value can be found in the {@link #TextInputLayout} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:errorTextAppearance
*/
public static int TextInputLayout_errorTextAppearance = 5;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#hintAnimationEnabled}
attribute's value can be found in the {@link #TextInputLayout} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:hintAnimationEnabled
*/
public static int TextInputLayout_hintAnimationEnabled = 10;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#hintEnabled}
attribute's value can be found in the {@link #TextInputLayout} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:hintEnabled
*/
public static int TextInputLayout_hintEnabled = 3;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#hintTextAppearance}
attribute's value can be found in the {@link #TextInputLayout} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:hintTextAppearance
*/
public static int TextInputLayout_hintTextAppearance = 2;
/** Attributes that can be used with a Toolbar.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #Toolbar_android_gravity android:gravity}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_android_minHeight android:minHeight}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_collapseContentDescription android.support.v7.mediarouter:collapseContentDescription}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_collapseIcon android.support.v7.mediarouter:collapseIcon}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_contentInsetEnd android.support.v7.mediarouter:contentInsetEnd}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_contentInsetLeft android.support.v7.mediarouter:contentInsetLeft}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_contentInsetRight android.support.v7.mediarouter:contentInsetRight}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_contentInsetStart android.support.v7.mediarouter:contentInsetStart}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_logo android.support.v7.mediarouter:logo}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_logoDescription android.support.v7.mediarouter:logoDescription}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_maxButtonHeight android.support.v7.mediarouter:maxButtonHeight}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_navigationContentDescription android.support.v7.mediarouter:navigationContentDescription}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_navigationIcon android.support.v7.mediarouter:navigationIcon}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_popupTheme android.support.v7.mediarouter:popupTheme}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_subtitle android.support.v7.mediarouter:subtitle}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_subtitleTextAppearance android.support.v7.mediarouter:subtitleTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_subtitleTextColor android.support.v7.mediarouter:subtitleTextColor}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_title android.support.v7.mediarouter:title}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMarginBottom android.support.v7.mediarouter:titleMarginBottom}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMarginEnd android.support.v7.mediarouter:titleMarginEnd}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMarginStart android.support.v7.mediarouter:titleMarginStart}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMarginTop android.support.v7.mediarouter:titleMarginTop}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMargins android.support.v7.mediarouter:titleMargins}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleTextAppearance android.support.v7.mediarouter:titleTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleTextColor android.support.v7.mediarouter:titleTextColor}</code></td><td></td></tr>
</table>
@see #Toolbar_android_gravity
@see #Toolbar_android_minHeight
@see #Toolbar_collapseContentDescription
@see #Toolbar_collapseIcon
@see #Toolbar_contentInsetEnd
@see #Toolbar_contentInsetLeft
@see #Toolbar_contentInsetRight
@see #Toolbar_contentInsetStart
@see #Toolbar_logo
@see #Toolbar_logoDescription
@see #Toolbar_maxButtonHeight
@see #Toolbar_navigationContentDescription
@see #Toolbar_navigationIcon
@see #Toolbar_popupTheme
@see #Toolbar_subtitle
@see #Toolbar_subtitleTextAppearance
@see #Toolbar_subtitleTextColor
@see #Toolbar_title
@see #Toolbar_titleMarginBottom
@see #Toolbar_titleMarginEnd
@see #Toolbar_titleMarginStart
@see #Toolbar_titleMarginTop
@see #Toolbar_titleMargins
@see #Toolbar_titleTextAppearance
@see #Toolbar_titleTextColor
*/
public static final int[] Toolbar = {
0x010100af, 0x01010140, 0x7f010029, 0x7f01002c,
0x7f010030, 0x7f01003c, 0x7f01003d, 0x7f01003e,
0x7f01003f, 0x7f010041, 0x7f0100e3, 0x7f0100e4,
0x7f0100e5, 0x7f0100e6, 0x7f0100e7, 0x7f0100e8,
0x7f0100e9, 0x7f0100ea, 0x7f0100eb, 0x7f0100ec,
0x7f0100ed, 0x7f0100ee, 0x7f0100ef, 0x7f0100f0,
0x7f0100f1
};
/**
<p>This symbol is the offset where the {@link android.R.attr#gravity}
attribute's value can be found in the {@link #Toolbar} array.
@attr name android:gravity
*/
public static int Toolbar_android_gravity = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#minHeight}
attribute's value can be found in the {@link #Toolbar} array.
@attr name android:minHeight
*/
public static int Toolbar_android_minHeight = 1;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#collapseContentDescription}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:collapseContentDescription
*/
public static int Toolbar_collapseContentDescription = 19;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#collapseIcon}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:collapseIcon
*/
public static int Toolbar_collapseIcon = 18;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#contentInsetEnd}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:contentInsetEnd
*/
public static int Toolbar_contentInsetEnd = 6;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#contentInsetLeft}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:contentInsetLeft
*/
public static int Toolbar_contentInsetLeft = 7;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#contentInsetRight}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:contentInsetRight
*/
public static int Toolbar_contentInsetRight = 8;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#contentInsetStart}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:contentInsetStart
*/
public static int Toolbar_contentInsetStart = 5;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#logo}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:logo
*/
public static int Toolbar_logo = 4;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#logoDescription}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:logoDescription
*/
public static int Toolbar_logoDescription = 22;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#maxButtonHeight}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:maxButtonHeight
*/
public static int Toolbar_maxButtonHeight = 17;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#navigationContentDescription}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:navigationContentDescription
*/
public static int Toolbar_navigationContentDescription = 21;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#navigationIcon}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:navigationIcon
*/
public static int Toolbar_navigationIcon = 20;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#popupTheme}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:popupTheme
*/
public static int Toolbar_popupTheme = 9;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#subtitle}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:subtitle
*/
public static int Toolbar_subtitle = 3;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#subtitleTextAppearance}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:subtitleTextAppearance
*/
public static int Toolbar_subtitleTextAppearance = 11;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#subtitleTextColor}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:subtitleTextColor
*/
public static int Toolbar_subtitleTextColor = 24;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#title}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:title
*/
public static int Toolbar_title = 2;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#titleMarginBottom}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:titleMarginBottom
*/
public static int Toolbar_titleMarginBottom = 16;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#titleMarginEnd}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:titleMarginEnd
*/
public static int Toolbar_titleMarginEnd = 14;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#titleMarginStart}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:titleMarginStart
*/
public static int Toolbar_titleMarginStart = 13;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#titleMarginTop}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:titleMarginTop
*/
public static int Toolbar_titleMarginTop = 15;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#titleMargins}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:titleMargins
*/
public static int Toolbar_titleMargins = 12;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#titleTextAppearance}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:titleTextAppearance
*/
public static int Toolbar_titleTextAppearance = 10;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#titleTextColor}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:titleTextColor
*/
public static int Toolbar_titleTextColor = 23;
/** Attributes that can be used with a View.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #View_android_focusable android:focusable}</code></td><td></td></tr>
<tr><td><code>{@link #View_android_theme android:theme}</code></td><td></td></tr>
<tr><td><code>{@link #View_paddingEnd android.support.v7.mediarouter:paddingEnd}</code></td><td></td></tr>
<tr><td><code>{@link #View_paddingStart android.support.v7.mediarouter:paddingStart}</code></td><td></td></tr>
<tr><td><code>{@link #View_theme android.support.v7.mediarouter:theme}</code></td><td></td></tr>
</table>
@see #View_android_focusable
@see #View_android_theme
@see #View_paddingEnd
@see #View_paddingStart
@see #View_theme
*/
public static final int[] View = {
0x01010000, 0x010100da, 0x7f0100f2, 0x7f0100f3,
0x7f0100f4
};
/**
<p>This symbol is the offset where the {@link android.R.attr#focusable}
attribute's value can be found in the {@link #View} array.
@attr name android:focusable
*/
public static int View_android_focusable = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#theme}
attribute's value can be found in the {@link #View} array.
@attr name android:theme
*/
public static int View_android_theme = 0;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#paddingEnd}
attribute's value can be found in the {@link #View} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:paddingEnd
*/
public static int View_paddingEnd = 3;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#paddingStart}
attribute's value can be found in the {@link #View} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:paddingStart
*/
public static int View_paddingStart = 2;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#theme}
attribute's value can be found in the {@link #View} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name android.support.v7.mediarouter:theme
*/
public static int View_theme = 4;
/** Attributes that can be used with a ViewBackgroundHelper.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ViewBackgroundHelper_android_background android:background}</code></td><td></td></tr>
<tr><td><code>{@link #ViewBackgroundHelper_backgroundTint android.support.v7.mediarouter:backgroundTint}</code></td><td></td></tr>
<tr><td><code>{@link #ViewBackgroundHelper_backgroundTintMode android.support.v7.mediarouter:backgroundTintMode}</code></td><td></td></tr>
</table>
@see #ViewBackgroundHelper_android_background
@see #ViewBackgroundHelper_backgroundTint
@see #ViewBackgroundHelper_backgroundTintMode
*/
public static final int[] ViewBackgroundHelper = {
0x010100d4, 0x7f0100f5, 0x7f0100f6
};
/**
<p>This symbol is the offset where the {@link android.R.attr#background}
attribute's value can be found in the {@link #ViewBackgroundHelper} array.
@attr name android:background
*/
public static int ViewBackgroundHelper_android_background = 0;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#backgroundTint}
attribute's value can be found in the {@link #ViewBackgroundHelper} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name android.support.v7.mediarouter:backgroundTint
*/
public static int ViewBackgroundHelper_backgroundTint = 1;
/**
<p>This symbol is the offset where the {@link android.support.v7.mediarouter.R.attr#backgroundTintMode}
attribute's value can be found in the {@link #ViewBackgroundHelper} array.
<p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>src_over</code></td><td>3</td><td></td></tr>
<tr><td><code>src_in</code></td><td>5</td><td></td></tr>
<tr><td><code>src_atop</code></td><td>9</td><td></td></tr>
<tr><td><code>multiply</code></td><td>14</td><td></td></tr>
<tr><td><code>screen</code></td><td>15</td><td></td></tr>
</table>
@attr name android.support.v7.mediarouter:backgroundTintMode
*/
public static int ViewBackgroundHelper_backgroundTintMode = 2;
/** Attributes that can be used with a ViewStubCompat.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ViewStubCompat_android_id android:id}</code></td><td></td></tr>
<tr><td><code>{@link #ViewStubCompat_android_inflatedId android:inflatedId}</code></td><td></td></tr>
<tr><td><code>{@link #ViewStubCompat_android_layout android:layout}</code></td><td></td></tr>
</table>
@see #ViewStubCompat_android_id
@see #ViewStubCompat_android_inflatedId
@see #ViewStubCompat_android_layout
*/
public static final int[] ViewStubCompat = {
0x010100d0, 0x010100f2, 0x010100f3
};
/**
<p>This symbol is the offset where the {@link android.R.attr#id}
attribute's value can be found in the {@link #ViewStubCompat} array.
@attr name android:id
*/
public static int ViewStubCompat_android_id = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#inflatedId}
attribute's value can be found in the {@link #ViewStubCompat} array.
@attr name android:inflatedId
*/
public static int ViewStubCompat_android_inflatedId = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#layout}
attribute's value can be found in the {@link #ViewStubCompat} array.
@attr name android:layout
*/
public static int ViewStubCompat_android_layout = 1;
};
}
| {
"content_hash": "b5e5b04b67671a2794838fd0bb554a3a",
"timestamp": "",
"source": "github",
"line_count": 9315,
"max_line_length": 194,
"avg_line_length": 58.719377348362855,
"alnum_prop": 0.6515610516828132,
"repo_name": "alexandrecz/Xamarin",
"id": "9b5db21ec51079c14dc1be16316dc35ab3ea04f7",
"size": "546971",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "XamarinGit/XamarinGit.Droid/obj/Debug/android/src/android/support/v7/mediarouter/R.java",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "C#",
"bytes": "83417"
},
{
"name": "Java",
"bytes": "5850198"
}
],
"symlink_target": ""
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>aac-tactics: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / released</a></li>
<li class="active"><a href="">8.7.1+2 / aac-tactics - 8.16.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
aac-tactics
<small>
8.16.0
<span class="label label-info">Not compatible 👼</span>
</small>
</h1>
<p>📅 <em><script>document.write(moment("2022-10-05 10:47:20 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-10-05 10:47:20 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-num base Num library distributed with the OCaml compiler
base-threads base
base-unix base
camlp5 7.14 Preprocessor-pretty-printer of OCaml
conf-findutils 1 Virtual package relying on findutils
conf-perl 2 Virtual package relying on perl
coq 8.7.1+2 Formal proof management system
num 0 The Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.03.0 The OCaml compiler (virtual package)
ocaml-base-compiler 4.03.0 Official 4.03.0 release
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.5 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "palmskog@gmail.com"
homepage: "https://github.com/coq-community/aac-tactics"
dev-repo: "git+https://github.com/coq-community/aac-tactics.git"
bug-reports: "https://github.com/coq-community/aac-tactics/issues"
license: "LGPL-3.0-or-later"
synopsis: "Coq tactics for rewriting universally quantified equations, modulo associative (and possibly commutative and idempotent) operators"
description: """
This Coq plugin provides tactics for rewriting and proving universally
quantified equations modulo associativity and commutativity of some operator,
with idempotent commutative operators enabling additional simplifications.
The tactics can be applied for custom operators by registering the operators and
their properties as type class instances. Instances for many commonly used operators,
such as for binary integer arithmetic and booleans, are provided with the plugin."""
build: [make "-j%{jobs}%"]
install: [make "install"]
depends: [
"ocaml" {>= "4.09.0"}
"coq" {>= "8.16" & < "8.17~"}
]
tags: [
"category:Miscellaneous/Coq Extensions"
"category:Computer Science/Decision Procedures and Certified Algorithms/Decision procedures"
"keyword:reflexive tactic"
"keyword:rewriting"
"keyword:rewriting modulo associativity and commutativity"
"keyword:rewriting modulo ac"
"keyword:decision procedure"
"logpath:AAC_tactics"
"date:2022-06-18"
]
authors: [
"Thomas Braibant"
"Damien Pous"
"Fabian Kunze"
]
url {
src: "https://github.com/coq-community/aac-tactics/archive/v8.16.0.tar.gz"
checksum: "sha512=95d0cabac375da59155c08ecaf72382a9c8360d115ccee17be2c2846ea0dc41dae777a8d34a94d3aadcc5bae206f30cb0734db6d7461f042effedd1ad50565f2"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install 🏜️</h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action coq-aac-tactics.8.16.0 coq.8.7.1+2</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.7.1+2).
The following dependencies couldn't be met:
- coq-aac-tactics -> ocaml >= 4.09.0
base of this switch (use `--unlock-base' to force)
No solution found, exiting
</pre></dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-aac-tactics.8.16.0</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Install 🚀</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Installation size</h2>
<p>No files were installed.</p>
<h2>Uninstall 🧹</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
Sources are on <a href="https://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
| {
"content_hash": "04d68ccf9460c3776d030d47e5268eaa",
"timestamp": "",
"source": "github",
"line_count": 181,
"max_line_length": 159,
"avg_line_length": 42.87845303867403,
"alnum_prop": 0.5740239659837649,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "471a8554e452050df8d0393a81633cae9c220cf0",
"size": "7786",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "clean/Linux-x86_64-4.03.0-2.0.5/released/8.7.1+2/aac-tactics/8.16.0.html",
"mode": "33188",
"license": "mit",
"language": [],
"symlink_target": ""
} |
/* 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 writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.camunda.bpm.model.bpmn.builder;
import org.camunda.bpm.model.bpmn.BpmnModelInstance;
import org.camunda.bpm.model.bpmn.instance.InclusiveGateway;
/**
* @author Sebastian Menski
*/
public class InclusiveGatewayBuilder extends AbstractInclusiveGatewayBuilder<InclusiveGatewayBuilder> {
public InclusiveGatewayBuilder(BpmnModelInstance modelInstance, InclusiveGateway element) {
super(modelInstance, element, InclusiveGatewayBuilder.class);
}
}
| {
"content_hash": "6dfe7e280a4fe789b77dafee7384c3f8",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 103,
"avg_line_length": 36.714285714285715,
"alnum_prop": 0.7782101167315175,
"repo_name": "nagyistoce/camunda-bpmn-model",
"id": "6a7e954bef17383cfe7ccabfa7c3554707cd207c",
"size": "1028",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "src/main/java/org/camunda/bpm/model/bpmn/builder/InclusiveGatewayBuilder.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Java",
"bytes": "1348643"
}
],
"symlink_target": ""
} |
package net.jini.print;
import java.io.IOException;
import java.util.Locale;
import javax.print.DocFlavor;
import javax.print.attribute.Attribute;
/**
* <P>
* Interface LocalizedPrintService specifies the capability for determining
* localized versions of print data formats, printing attribute categories, and
* printing attribute values. Interface LocalizedPrintService represents an
* optional capability that a Jini Print Service instance need not provide. If
* this capability is provided, the Jini Print Service proxy object will
* implement interface LocalizedPrintService.
* <P>
* Each of the <CODE>localize()</CODE> methods uses the following algorithm to
* determine the locale to use, given the locale the caller specified and the
* locales the printer supports. (This is similar to the algorithm class
* <CODE>java.util.ResourceBundle</CODE> uses.)
* <OL TYPE=1>
* <LI>
* If the caller specified the locale
* <CODE>"<I>Language_Country_Variant</I>"</CODE>:
* <OL TYPE=a>
* <LI>
* If the printer supports the locale
* <CODE>"<I>Language_Country_Variant</I>"</CODE>, then the printer uses that
* locale.
* <LI>
* Else if the printer supports the locale
* <CODE>"<I>Language_Country</I>"</CODE>, then the printer uses that locale.
* <LI>
* Else if the printer supports the locale <CODE>"<I>Language</I>"</CODE>, then
* the printer uses that locale.
* <LI>
* Else the printer uses the printer's default locale.
* </OL>
* <LI>
* Else if the caller specified the locale
* <CODE>"<I>Language_Country</I>"</CODE>:
* <OL TYPE=a>
* <LI>
* If the printer supports the locale <CODE>"<I>Language_Country</I>"</CODE>,
* then the printer uses that locale.
* <LI>
* Else if the printer supports the locale <CODE>"<I>Language</I>"</CODE>, then
* the printer uses that locale.
* <LI>
* Else the printer uses the printer's default locale.
* </OL>
* <LI>
* Else if the caller specified the locale <CODE>"<I>Language</I>"</CODE>:
* <OL TYPE=a>
* <LI>
* If the printer supports the locale <CODE>"<I>Language</I>"</CODE>, then the
* printer uses that locale.
* <LI>
* Else the printer uses the printer's default locale.
* </OL>
* <LI>
* Else (the caller specified a null locale or a locale other than one of the
* above forms) the printer uses the printer's default locale.
* </OL>
* <P>
* If the printer supports the locale
* <CODE>"<I>Language_Country_Variant</I>"</CODE>, then the printer must also
* support the locale <CODE>"<I>Language_Country</I>"</CODE>. If the printer
* supports the locale <CODE>"<I>Language_Country</I>"</CODE>, then the printer
* must also support the locale <CODE>"<I>Language</I>"</CODE>. The printer must
* always support some default locale. Interface LocalizedPrintService provides
* <B>capability methods</B> that let the client discover the specific locales
* for which the printer can provide localized strings as well as the default
* locale. In addition, for each locale it supports the printer includes a
* service attribute of class <A
* HREF="../../../../net/jini/print/lookup/LocaleEntry.html"><CODE>LocaleEntry</CODE></A>
* in its service registration in the Jini Lookup Service (JLUS).
* <P>
* There is no restriction on the number of client threads that may be
* simultaneously accessing the same Print Service. Therefore, all
* implementations of interface <A
* HREF="../../../../net/jini/print/PrintService.html"><CODE>PrintService</CODE></A>
* and its subinterfaces must be designed to be multiple thread safe.
* <P>
* Interface LocalizedPrintService's methods all throw <A
* HREF="file:///C:/jdk1.2.2/docs/api/java/rmi/RemoteException.html"><CODE>RemoteException</CODE></A>
* to provide for the possibility that the Print Service object's implementation
* performs remote method calls. The Print Service object's implementation in
* fact may or may not perform remote method calls.
* <P>
*/
public interface LocalizedPrintService extends PrintService {
/**
* Returns a localized string for the given print data format in the given
* locale. A print data format is designated by a "doc flavor" (class
* DocFlavor) consisting of a MIME type plus a print data representation
* class. The returned string is a localized version of just the MIME type.
*
* If this Print Service does not support the given locale, it will instead
* use a supported locale that best matches the given locale as described
* above.
*
* @param theFlavor Doc flavor to localize.
* @param theLocale Locale to use, or null to use this Print Service's
* default locale.
* @return Localized string for theFlavor in theLocale.
* @throws IOException Thrown if a remote error occurred.
* @throws NullPointerException (unchecked exception) Thrown if theFlavor is
* null.
*/
public String localize(DocFlavor theFlavor,
Locale theLocale)
throws IOException;
/**
* Returns a localized string for the given printing attribute category in
* the given locale. A printing attribute category is designated by a Class
* that implements interface Attribute.
*
* If this Print Service does not support the given locale, it will instead
* use a supported locale that best matches the given locale as described
* above.
*
* @param theCategory Printing attribute category to localize. It must be a
* Class that implements interface Attribute.
* @param theLocale Locale to use, or null to use this Print Service's
* default locale.
* @return Localized string for theCategory in theLocale.
* @throws IOException Thrown if a remote error occurred.
* @throws NullPointerException (unchecked exception) Thrown if theCategory
* is null.
* @throws IllegalArgumentException (unchecked exception) Thrown if
* theCategory is not a Class that implements interface Attribute.
*/
public String localize(Class theCategory,
Locale theLocale)
throws IOException;
/**
* Returns a localized string for the given printing attribute value in the
* given locale. A printing attribute value is an instance of a class that
* implements interface Attribute.
*
* If this Print Service does not support the given locale, it will instead
* use a supported locale that best matches the given locale as described
* above.
*
* If theValue is an instance of the TextSyntax abstract syntax class, then
* theValue already is a localized string in some locale. In this case the
* localize() method just returns the attribute's text string; the
* localize() method does not try to translate the text string from the text
* string's own language to theLocale's language.
*
* @param theValue Printing attribute value to localize.
* @param theLocale Locale to use, or null to use this Print Service's
* default locale.
* @return Localized string for theValue in theLocale.
* @throws IOException Thrown if a remote error occurred.
* @throws NullPointerException (unchecked exception) Thrown if theValue is
* null.
*/
public String localize(Attribute theValue,
Locale theLocale)
throws IOException;
/**
* Determine the locales this Print Service supports.
*
* @return Array of the supported locales.
* @throws IOException Thrown if a remote error occurred.
*/
public Locale[] getSupportedLocales()
throws IOException;
/**
* Determine whether this Print Service supports the given locale.
*
* @param theLocale Locale to test.
* @return True if this Print Service supports theLocale, false if it
* doesn't.
* @throws IOException Thrown if a remote error occurred.
* @throws NullPointerException (unchecked exception) Thrown if theLocale is
* null.
*/
public boolean isLocaleSupported(Locale theLocale)
throws IOException;
/**
* Determine this Print Service's default locale.
*
* @return Default locale.
* @throws IOException Thrown if a remote error occurred.
*/
public Locale getDefaultLocale()
throws IOException;
}
| {
"content_hash": "dad9737cd28d52b63378759275c9d317",
"timestamp": "",
"source": "github",
"line_count": 199,
"max_line_length": 101,
"avg_line_length": 42.38693467336683,
"alnum_prop": 0.6892708950800237,
"repo_name": "pfirmstone/Jini-Print-API",
"id": "7fd04a74d0157a7d3bfab7a13e939bbfb86e2a22",
"size": "9039",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "JiniPrint/src/main/java/net/jini/print/LocalizedPrintService.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "HTML",
"bytes": "167894"
},
{
"name": "Java",
"bytes": "974234"
}
],
"symlink_target": ""
} |
'use strict';
/**
* @ngdoc directive
* @name membershipSystemFrontendApp.directive:navbar
* @description
* # navbar
*/
angular.module('membershipSystemApp')
.directive('navbar', function () {
return {
restrict: 'E',
transclude: true,
templateUrl: 'views/navbar.html',
controller: ['$scope', '$window',
function ($scope, $window) {
$scope.goBack = function () {
history.back();
}
}]
};
}); | {
"content_hash": "1fd3d06c51e6b2af643520f06119832e",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 53,
"avg_line_length": 23,
"alnum_prop": 0.48188405797101447,
"repo_name": "UAB-ACM/Membership-System-Frontend",
"id": "ede31285f4cf3a53d4439139e657d66eb5230143",
"size": "552",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "app/scripts/directives/navbar.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "1517"
},
{
"name": "JavaScript",
"bytes": "16886"
}
],
"symlink_target": ""
} |
package edu.uci.ics.asterix.common.feeds;
import edu.uci.ics.asterix.common.feeds.api.IFeedOperatorOutputSideHandler;
import edu.uci.ics.asterix.common.feeds.api.IFeedRuntime;
import edu.uci.ics.hyracks.api.comm.IFrameWriter;
public class FeedRuntime implements IFeedRuntime {
/** A unique identifier for the runtime **/
protected final FeedRuntimeId runtimeId;
/** The output frame writer associated with the runtime **/
protected IFrameWriter frameWriter;
/** The pre-processor associated with the runtime **/
protected FeedRuntimeInputHandler inputHandler;
public FeedRuntime(FeedRuntimeId runtimeId, FeedRuntimeInputHandler inputHandler, IFrameWriter frameWriter) {
this.runtimeId = runtimeId;
this.frameWriter = frameWriter;
this.inputHandler = inputHandler;
}
public void setFrameWriter(IFeedOperatorOutputSideHandler frameWriter) {
this.frameWriter = frameWriter;
}
@Override
public FeedRuntimeId getRuntimeId() {
return runtimeId;
}
@Override
public IFrameWriter getFeedFrameWriter() {
return frameWriter;
}
@Override
public String toString() {
return runtimeId.toString();
}
@Override
public FeedRuntimeInputHandler getInputHandler() {
return inputHandler;
}
public Mode getMode() {
return inputHandler != null ? inputHandler.getMode() : Mode.PROCESS;
}
public void setMode(Mode mode) {
this.inputHandler.setMode(mode);
}
}
| {
"content_hash": "5aa8331c018ba8d5296df6d15f587c7b",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 113,
"avg_line_length": 26.87719298245614,
"alnum_prop": 0.7043080939947781,
"repo_name": "parshimers/incubator-asterixdb",
"id": "f5a0b1f534d6f04ca1330aad68663f3d653480ed",
"size": "2165",
"binary": false,
"copies": "1",
"ref": "refs/heads/imaxon/yarn",
"path": "asterix-common/src/main/java/edu/uci/ics/asterix/common/feeds/FeedRuntime.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Batchfile",
"bytes": "6116"
},
{
"name": "CSS",
"bytes": "3954"
},
{
"name": "Crystal",
"bytes": "453"
},
{
"name": "HTML",
"bytes": "70110"
},
{
"name": "Java",
"bytes": "8768354"
},
{
"name": "JavaScript",
"bytes": "234599"
},
{
"name": "Python",
"bytes": "264407"
},
{
"name": "Ruby",
"bytes": "1880"
},
{
"name": "Scheme",
"bytes": "1105"
},
{
"name": "Shell",
"bytes": "78769"
},
{
"name": "Smarty",
"bytes": "29789"
}
],
"symlink_target": ""
} |
"use strict";
import express from "express";
import bodyParser from "body-parser";
import mongo from "./utils/mongo";
import valueRouter from "./routes/value-routes";
//let bookRouter = require("./routes/book-routes")(Value);
const port = process.env.PORT || 3000;
let app = express();
mongo.connect();
app.use(express.static(__dirname + "/../src/html"));
app.use(bodyParser.urlencoded({extended:true}));
app.use(bodyParser.json());
app.use("/api/values", valueRouter());
app.listen(port, () => console.log("Listening on Port : " + port));
let disconnectDB = function(callback) {
mongo.disconnect(callback);
};
let shutdown = function() {
console.log("Exiting.")
process.exit(0);
};
let gracefulShutdown = function() {
console.log("Termination requested. Shutting down gracefully. Closing resources and exiting.")
disconnectDB(shutdown);
};
// If the Node process ends, close the Mongoose connection
process.on('SIGINT', gracefulShutdown).on('SIGTERM', gracefulShutdown);
module.exports = { app, gracefulShutdown, disconnectDB, shutdown }; | {
"content_hash": "f346878a88a5abc494e8555690d16f42",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 95,
"avg_line_length": 25.19047619047619,
"alnum_prop": 0.717391304347826,
"repo_name": "tlanelogan/mission-me-values",
"id": "d2f37baa5796764cc0bb12ae6542dcfc5c16dc33",
"size": "1058",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/app.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "HTML",
"bytes": "185"
},
{
"name": "JavaScript",
"bytes": "10186"
}
],
"symlink_target": ""
} |
/* 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 writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.flowable.engine.impl.persistence.entity;
import static java.util.Comparator.comparing;
import java.util.Comparator;
import java.util.Date;
import java.util.List;
import org.flowable.bpmn.model.FlowElement;
import org.flowable.common.engine.impl.db.HasRevision;
import org.flowable.common.engine.impl.persistence.entity.AlwaysUpdatedPersistentObject;
import org.flowable.common.engine.impl.persistence.entity.Entity;
import org.flowable.engine.delegate.DelegateExecution;
import org.flowable.engine.runtime.Execution;
import org.flowable.engine.runtime.ProcessInstance;
import org.flowable.eventsubscription.service.impl.persistence.entity.EventSubscriptionEntity;
import org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity;
import org.flowable.job.service.impl.persistence.entity.JobEntity;
import org.flowable.job.service.impl.persistence.entity.TimerJobEntity;
import org.flowable.task.service.impl.persistence.entity.TaskEntity;
import org.flowable.variable.service.impl.persistence.entity.VariableInstanceEntity;
/**
* @author Tom Baeyens
* @author Daniel Meyer
* @author Falko Menge
* @author Saeid Mirzaei
* @author Joram Barrez
*/
public interface ExecutionEntity extends DelegateExecution, Execution, ProcessInstance, Entity, AlwaysUpdatedPersistentObject, HasRevision {
Comparator<ExecutionEntity> EXECUTION_ENTITY_START_TIME_ASC_COMPARATOR = comparing(ProcessInstance::getStartTime);
void setBusinessKey(String businessKey);
void setProcessDefinitionId(String processDefinitionId);
void setProcessDefinitionKey(String processDefinitionKey);
void setProcessDefinitionName(String processDefinitionName);
void setProcessDefinitionVersion(Integer processDefinitionVersion);
void setDeploymentId(String deploymentId);
ExecutionEntity getProcessInstance();
void setProcessInstance(ExecutionEntity processInstance);
@Override
ExecutionEntity getParent();
void setParent(ExecutionEntity parent);
ExecutionEntity getSuperExecution();
void setSuperExecution(ExecutionEntity superExecution);
ExecutionEntity getSubProcessInstance();
void setSubProcessInstance(ExecutionEntity subProcessInstance);
void setRootProcessInstanceId(String rootProcessInstanceId);
ExecutionEntity getRootProcessInstance();
void setRootProcessInstance(ExecutionEntity rootProcessInstance);
@Override
List<? extends ExecutionEntity> getExecutions();
void addChildExecution(ExecutionEntity executionEntity);
List<TaskEntity> getTasks();
List<EventSubscriptionEntity> getEventSubscriptions();
List<JobEntity> getJobs();
List<TimerJobEntity> getTimerJobs();
List<IdentityLinkEntity> getIdentityLinks();
void setProcessInstanceId(String processInstanceId);
void setParentId(String parentId);
void setEnded(boolean isEnded);
String getDeleteReason();
void setDeleteReason(String deleteReason);
int getSuspensionState();
void setSuspensionState(int suspensionState);
boolean isEventScope();
void setEventScope(boolean isEventScope);
void setName(String name);
void setDescription(String description);
void setLocalizedName(String localizedName);
void setLocalizedDescription(String localizedDescription);
void setTenantId(String tenantId);
Date getLockTime();
void setLockTime(Date lockTime);
String getLockOwner();
void setLockOwner(String lockOwner);
void forceUpdate();
String getStartActivityId();
void setStartActivityId(String startActivityId);
void setStartUserId(String startUserId);
void setStartTime(Date startTime);
void setCallbackId(String callbackId);
void setCallbackType(String callbackType);
void setVariable(String variableName, Object value, ExecutionEntity sourceExecution, boolean fetchAllVariables);
void setReferenceId(String referenceId);
void setReferenceType(String referenceType);
void setPropagatedStageInstanceId(String propagatedStageInstanceId);
Object setVariableLocal(String variableName, Object value, ExecutionEntity sourceExecution, boolean fetchAllVariables);
FlowElement getOriginatingCurrentFlowElement();
void setOriginatingCurrentFlowElement(FlowElement flowElement);
List<VariableInstanceEntity> getQueryVariables();
}
| {
"content_hash": "e5e1711b47ce58395562c5e35b5d3b72",
"timestamp": "",
"source": "github",
"line_count": 163,
"max_line_length": 140,
"avg_line_length": 30.441717791411044,
"alnum_prop": 0.7861749294639259,
"repo_name": "paulstapleton/flowable-engine",
"id": "f4740aeac79be9c529de61bf5c96e2c54c0568fa",
"size": "4962",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "modules/flowable-engine/src/main/java/org/flowable/engine/impl/persistence/entity/ExecutionEntity.java",
"mode": "33261",
"license": "apache-2.0",
"language": [
{
"name": "Batchfile",
"bytes": "166"
},
{
"name": "CSS",
"bytes": "688913"
},
{
"name": "Dockerfile",
"bytes": "6367"
},
{
"name": "Groovy",
"bytes": "482"
},
{
"name": "HTML",
"bytes": "1100650"
},
{
"name": "Java",
"bytes": "33678803"
},
{
"name": "JavaScript",
"bytes": "12395741"
},
{
"name": "PLSQL",
"bytes": "109354"
},
{
"name": "PLpgSQL",
"bytes": "11691"
},
{
"name": "SQLPL",
"bytes": "1265"
},
{
"name": "Shell",
"bytes": "19145"
}
],
"symlink_target": ""
} |
<!DOCTYPE html>
<html lang="en">
<head>
<title>STPPaymentResult Class Reference</title>
<link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
<link rel="stylesheet" type="text/css" href="../css/highlight.css" />
<meta charset="utf-8">
<script src="../js/jquery.min.js" defer></script>
<script src="../js/jazzy.js" defer></script>
<script src="../js/lunr.min.js" defer></script>
<script src="../js/typeahead.jquery.js" defer></script>
<script src="../js/jazzy.search.js" defer></script>
</head>
<body>
<a name="//apple_ref/objc/Class/STPPaymentResult" class="dashAnchor"></a>
<a title="STPPaymentResult Class Reference"></a>
<header class="header">
<p class="header-col header-col--primary">
<a class="header-link" href="../index.html">
Stripe Docs
</a>
</p>
<p class="header-col--secondary">
<form role="search" action="../search.json">
<input type="text" placeholder="Search documentation" data-typeahead>
</form>
</p>
<p class="header-col header-col--secondary">
<a class="header-link" href="https://github.com/stripe/stripe-ios">
<img class="header-icon" src="../img/gh.png"/>
View on GitHub
</a>
</p>
</header>
<p class="breadcrumbs">
<a class="breadcrumb" href="../index.html">Stripe Reference</a>
<img class="carat" src="../img/carat.png" />
STPPaymentResult Class Reference
</p>
<div class="content-wrapper">
<nav class="navigation">
<ul class="nav-groups">
<li class="nav-group-name">
<a class="nav-group-name-link" href="../Categories.html">Categories</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Categories/UINavigationBar(Stripe_Theme).html">UINavigationBar(Stripe_Theme)</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a class="nav-group-name-link" href="../Classes.html">Classes</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPAPIClient.html">STPAPIClient</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPAddCardViewController.html">STPAddCardViewController</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPAddress.html">STPAddress</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes.html#/c:objc(cs)STPApplePayPaymentMethod">STPApplePayPaymentMethod</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPBankAccount.html">STPBankAccount</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPBankAccountParams.html">STPBankAccountParams</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPCard.html">STPCard</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPCardParams.html">STPCardParams</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPCardValidator.html">STPCardValidator</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes.html#/c:objc(cs)STPCoreScrollViewController">STPCoreScrollViewController</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes.html#/c:objc(cs)STPCoreTableViewController">STPCoreTableViewController</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPCoreViewController.html">STPCoreViewController</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPCustomer.html">STPCustomer</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPCustomerDeserializer.html">STPCustomerDeserializer</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPImageLibrary.html">STPImageLibrary</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPPaymentActivityIndicatorView.html">STPPaymentActivityIndicatorView</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPPaymentCardTextField.html">STPPaymentCardTextField</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPPaymentConfiguration.html">STPPaymentConfiguration</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPPaymentContext.html">STPPaymentContext</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPPaymentMethodsViewController.html">STPPaymentMethodsViewController</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPPaymentResult.html">STPPaymentResult</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPRedirectContext.html">STPRedirectContext</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPShippingAddressViewController.html">STPShippingAddressViewController</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPSource.html">STPSource</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPSourceCardDetails.html">STPSourceCardDetails</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPSourceOwner.html">STPSourceOwner</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPSourceParams.html">STPSourceParams</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPSourceReceiver.html">STPSourceReceiver</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPSourceRedirect.html">STPSourceRedirect</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPSourceSEPADebitDetails.html">STPSourceSEPADebitDetails</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPSourceVerification.html">STPSourceVerification</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPTheme.html">STPTheme</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPToken.html">STPToken</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/STPUserInformation.html">STPUserInformation</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Classes/Stripe.html">Stripe</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a class="nav-group-name-link" href="../Constants.html">Constants</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Constants.html#/c:@StripeDomain">StripeDomain</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a class="nav-group-name-link" href="../Enums.html">Enums</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Enums/STPBillingAddressFields.html">STPBillingAddressFields</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Enums.html#/c:@E@STPCardBrand">STPCardBrand</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Enums.html#/c:@E@STPCardFundingType">STPCardFundingType</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Enums.html#/c:@E@STPCardValidationState">STPCardValidationState</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Enums/STPPaymentMethodType.html">STPPaymentMethodType</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Enums/STPPaymentStatus.html">STPPaymentStatus</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Enums.html#/c:@E@STPRedirectContextState">STPRedirectContextState</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Enums/STPShippingStatus.html">STPShippingStatus</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Enums/STPShippingType.html">STPShippingType</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Enums.html#/c:@E@STPSourceFlow">STPSourceFlow</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Enums.html#/c:@E@STPSourceRedirectStatus">STPSourceRedirectStatus</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Enums.html#/c:@E@STPSourceStatus">STPSourceStatus</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Enums.html#/c:@E@STPSourceType">STPSourceType</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Enums.html#/c:@E@STPSourceUsage">STPSourceUsage</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Enums.html#/c:@E@STPSourceVerificationStatus">STPSourceVerificationStatus</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a class="nav-group-name-link" href="../Protocols.html">Protocols</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Protocols/STPAddCardViewControllerDelegate.html">STPAddCardViewControllerDelegate</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Protocols/STPBackendAPIAdapter.html">STPBackendAPIAdapter</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Protocols/STPFormEncodable.html">STPFormEncodable</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Protocols/STPPaymentCardTextFieldDelegate.html">STPPaymentCardTextFieldDelegate</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Protocols/STPPaymentContextDelegate.html">STPPaymentContextDelegate</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Protocols/STPPaymentMethod.html">STPPaymentMethod</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Protocols/STPPaymentMethodsViewControllerDelegate.html">STPPaymentMethodsViewControllerDelegate</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Protocols/STPShippingAddressViewControllerDelegate.html">STPShippingAddressViewControllerDelegate</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Protocols/STPSourceProtocol.html">STPSourceProtocol</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a class="nav-group-name-link" href="../Type Definitions.html">Type Definitions</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Type Definitions.html#/c:STPBackendAPIAdapter.h@T@STPCustomerCompletionBlock">STPCustomerCompletionBlock</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Type Definitions.html#/c:STPBlocks.h@T@STPErrorBlock">STPErrorBlock</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Type Definitions.html#/c:STPBlocks.h@T@STPFileCompletionBlock">STPFileCompletionBlock</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Type Definitions.html#/c:STPRedirectContext.h@T@STPRedirectContextCompletionBlock">STPRedirectContextCompletionBlock</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Type Definitions.html#/c:STPBlocks.h@T@STPShippingMethodsCompletionBlock">STPShippingMethodsCompletionBlock</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Type Definitions.html#/c:STPBlocks.h@T@STPSourceCompletionBlock">STPSourceCompletionBlock</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Type Definitions.html#/c:STPBlocks.h@T@STPTokenCompletionBlock">STPTokenCompletionBlock</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="../Type Definitions.html#/c:STPBlocks.h@T@STPVoidBlock">STPVoidBlock</a>
</li>
</ul>
</li>
</ul>
</nav>
<article class="main-content">
<section class="section">
<div class="section-content">
<h1>STPPaymentResult</h1>
<div class="declaration">
<div class="language">
<pre class="highlight"><code><span class="k">@interface</span> <span class="nc">STPPaymentResult</span> <span class="p">:</span> <span class="nc">NSObject</span></code></pre>
</div>
</div>
<p>When you’re using <code><a href="../Classes/STPPaymentContext.html">STPPaymentContext</a></code> to request your user’s payment details, this is the object that will be returned to your application when they’ve successfully made a payment. It currently just contains a <code>source</code>, but in the future will include any relevant metadata as well. You should pass <code>source.stripeID</code> to your server, and call the charge creation endpoint. This assumes you are charging a Customer, so you should specify the <code>customer</code> parameter to be that customer’s ID and the <code>source</code> parameter to the value returned here. For more information, see <a href="https://stripe.com/docs/api#create_charge">https://stripe.com/docs/api#create_charge</a></p>
</div>
</section>
<section class="section">
<div class="section-content">
<div class="task-group">
<ul class="item-container">
<li class="item">
<div>
<code>
<a name="/c:objc(cs)STPPaymentResult(py)source"></a>
<a name="//apple_ref/objc/Property/source" class="dashAnchor"></a>
<a class="token" href="#/c:objc(cs)STPPaymentResult(py)source">source</a>
</code>
</div>
<div class="height-container">
<div class="pointer-container"></div>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>The returned source that the user has selected. This may come from a variety of different payment methods, such as an Apple Pay payment or a stored credit card. - see: STPSource.h</p>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Objective-C</p>
<pre class="highlight"><code><span class="k">@property</span> <span class="p">(</span><span class="n">readonly</span><span class="p">,</span> <span class="n">nonatomic</span><span class="p">)</span> <span class="n">id</span><span class="o"><</span><span class="n"><a href="../Protocols/STPSourceProtocol.html">STPSourceProtocol</a></span><span class="o">></span> <span class="n">_Nonnull</span> <span class="n">source</span><span class="p">;</span></code></pre>
</div>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="k">var</span> <span class="nv">source</span><span class="p">:</span> <span class="kt"><a href="../Protocols/STPSourceProtocol.html">STPSourceProtocol</a></span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/stripe/stripe-ios/tree/master/Stripe/PublicHeaders/STPPaymentResult.h#L24">Show on GitHub</a>
</div>
</section>
</div>
</li>
<li class="item">
<div>
<code>
<a name="/c:objc(cs)STPPaymentResult(im)initWithSource:"></a>
<a name="//apple_ref/objc/Method/-initWithSource:" class="dashAnchor"></a>
<a class="token" href="#/c:objc(cs)STPPaymentResult(im)initWithSource:">-initWithSource:</a>
</code>
</div>
<div class="height-container">
<div class="pointer-container"></div>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Initializes the payment result with a given source. This is invoked by <code><a href="../Classes/STPPaymentContext.html">STPPaymentContext</a></code> internally; you shouldn’t have to call it directly.</p>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Objective-C</p>
<pre class="highlight"><code><span class="k">-</span> <span class="p">(</span><span class="n">nonnull</span> <span class="n">instancetype</span><span class="p">)</span><span class="nf">initWithSource</span><span class="p">:(</span><span class="n">nonnull</span> <span class="n">id</span><span class="o"><</span><span class="n"><a href="../Protocols/STPSourceProtocol.html">STPSourceProtocol</a></span><span class="o">></span><span class="p">)</span><span class="nv">source</span><span class="p">;</span></code></pre>
</div>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="nf">init</span><span class="p">(</span><span class="nv">source</span><span class="p">:</span> <span class="kt"><a href="../Protocols/STPSourceProtocol.html">STPSourceProtocol</a></span><span class="p">)</span></code></pre>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/stripe/stripe-ios/tree/master/Stripe/PublicHeaders/STPPaymentResult.h#L29">Show on GitHub</a>
</div>
</section>
</div>
</li>
</ul>
</div>
</div>
</section>
</article>
</div>
<section class="footer">
<p>© 2017 <a class="link" href="https://stripe.com" target="_blank" rel="external">Stripe</a>. All rights reserved. (Last updated: 2017-05-05)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.4</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</body>
</div>
</html>
| {
"content_hash": "ea7a61e91ea30818f19126ad03eab846",
"timestamp": "",
"source": "github",
"line_count": 395,
"max_line_length": 809,
"avg_line_length": 56.564556962025314,
"alnum_prop": 0.5457190171418341,
"repo_name": "fbernardo/stripe-ios",
"id": "be5ed5a777227c09db6a50b197a5220e8003abeb",
"size": "22347",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "docs/docs/Classes/STPPaymentResult.html",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "C",
"bytes": "479"
},
{
"name": "Objective-C",
"bytes": "1046644"
},
{
"name": "Ruby",
"bytes": "5421"
},
{
"name": "Shell",
"bytes": "14600"
},
{
"name": "Swift",
"bytes": "51772"
}
],
"symlink_target": ""
} |
package edu.mayo.mprc.swift.ui.client.widgets.validation;
import com.google.gwt.event.logical.shared.HasValueChangeHandlers;
import com.google.gwt.event.logical.shared.ValueChangeEvent;
import com.google.gwt.event.logical.shared.ValueChangeHandler;
import com.google.gwt.event.shared.EventBus;
import com.google.gwt.event.shared.GwtEvent;
import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.event.shared.SimpleEventBus;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.ui.UIObject;
import edu.mayo.mprc.swift.ui.client.dialogs.ErrorDialog;
import edu.mayo.mprc.swift.ui.client.dialogs.Validatable;
import edu.mayo.mprc.swift.ui.client.dialogs.ValidationPanel;
import edu.mayo.mprc.swift.ui.client.rpc.*;
import edu.mayo.mprc.swift.ui.client.service.ServiceAsync;
import edu.mayo.mprc.swift.ui.client.widgets.Callback;
import edu.mayo.mprc.swift.ui.client.widgets.ParamSetSelectionController;
import edu.mayo.mprc.swift.ui.client.widgets.ParamSetSelectionListener;
import java.util.*;
/**
* Controller object responsible for delivering events to and receiving events from child widgets,
* and associating those widgets and events with Params objects from the server. This
* is intended to separate out the logic of handling updates from the physical
* layout of the various widgets on the screen.
*/
public final class ValidationController implements ValueChangeHandler<ClientValue>, HasValueChangeHandlers<ClientValue>, ParamSetSelectionListener {
private ClientParamSet paramSet;
private ClientParamSetValues values;
private ServiceAsync serviceAsync;
private ParamSetSelectionController selector;
private EventBus eventBus = new SimpleEventBus();
/**
* Maps parameter id strings one-to-one onto registrations.
*/
private Map<java.lang.String, ValidationController.Registration> byParam = new HashMap();
/**
* Maps widgets to registrations.
*/
private Map<Validatable, ValidationController.Registration> byWidget = new HashMap();
private Map<ValidationPanel, ValidationController.Registration> byValidationPanel = new HashMap();
/**
* List of all the registrations with invalid (error or worse) settings.
*/
private HashSet<ValidationController.Registration> invalid = new HashSet();
private Registration awaitingUpdate = null;
private ClientValue awaitingUpdateValue = null;
// Cached list of allowed values
private HashMap<String, List<ClientValue>> allowedValues = new HashMap<String, List<ClientValue>>(10);
@Override
public HandlerRegistration addValueChangeHandler(ValueChangeHandler<ClientValue> handler) {
return eventBus.addHandler(ValueChangeEvent.getType(), handler);
}
@Override
public void fireEvent(GwtEvent<?> event) {
eventBus.fireEventFromSource(event, this);
}
@Override
public void onValueChange(ValueChangeEvent<ClientValue> event) {
final Validatable v = (Validatable) event.getSource();
if (v == null) {
throw new RuntimeException("ValidationController received change event for non Validatable widget");
}
final Registration r = (Registration) byWidget.get(v);
if (r == null) {
throw new RuntimeException("ValidationController received changed event for unregistered Validatable");
}
if (awaitingUpdate != null) {
// ignore duplicate events while we're creating the temporary.
return;
}
if (r.getV().getValue() == null) {
if (r.getCv() != null) { // TODO how to deal with locally generated validations?
//ignore
return;
} else {
throw new RuntimeException("Widget returned null value for " + r.getParam());
}
}
// determine whether we need to make a temporary.
if (!paramSet.isTemporary()) {
setEnabled(false); //prevent users from making more changes while we're doing the
// complex machinations of making the temporary paramset.
awaitingUpdate = r;
// must cache the users's requested change so it will be applied to the
// correct ParamSet.
awaitingUpdateValue = r.getV().getValue();
createTemporary(r, r.getV().getValue());
} else {
doUpdate(r, r.getV().getValue());
}
}
/**
* Each widget has a registration that associates the various pieces together.
*/
private static final class Registration {
private Validatable v;
private ValidationPanel validationPanel;
private ClientValidationList cv;
private String param;
private List<ClientValue> allowedValues;
private Registration(final Validatable v, final String param, final ValidationPanel validationPanel) {
this.v = v;
this.validationPanel = validationPanel;
this.param = param;
}
public Validatable getV() {
return v;
}
public ValidationPanel getValidationPanel() {
return validationPanel;
}
public ClientValidationList getCv() {
return cv;
}
public String getParam() {
return param;
}
public List<ClientValue> getAllowedValues() {
return allowedValues;
}
}
public ValidationController(final ServiceAsync serviceAsync, final ParamSetSelectionController selector, final InitialPageData pageData) {
this.serviceAsync = serviceAsync;
this.selector = selector;
allowedValues = pageData.getAllowedValues();
selector.addParamSetSelectionListener(this);
}
/**
* Register the given Validatable widget as responding to updates for the given param.
*
* @param v The widget to register for.
* @param param The param to associate this Validatable with.
* @param validation The ValidationPanel in which to place errors/warnings received for the given param.
*/
public void add(final Validatable v, final String param, final ValidationPanel validation) {
final Registration reg = new Registration(v, param, validation);
byParam.put(param, reg);
byWidget.put(v, reg);
byValidationPanel.put(validation, reg);
v.addValueChangeHandler(this);
}
public void update(final String paramId, final ClientValidationList cv) {
update(paramId, null, cv, new HashSet<Validatable>());
}
/**
* Update the widget associated with the given param. The given value is used
* in preference to the value in the ClientValidation.
*
* @param paramId
* @param value
* @param ccv
* @param visited HashSet of validatables which have been visited during this
* round of updates. Validatables which appear in this hash don't have their
* validations cleared in case there are multiple validations for a given
* Validatable.
*/
public void update(final String paramId,
ClientValue value,
final ClientValidationList ccv,
final HashSet<Validatable> visited) {
final Registration rr = byParam.get(paramId);
if (value == null && ccv != null) {
value = ccv.getValue();
}
if (rr == null) {
throw new RuntimeException("Can't find registration for " + paramId);
}
// if we haven't yet seen this Validatable yet for this update, then
// remove all the existing validations for it.
if (!visited.contains(rr.getV())) {
rr.getValidationPanel().removeValidationsFor(rr.getV());
visited.add(rr.getV());
}
if (ccv != null) {
rr.cv = ccv;
final int sev = ccv.getWorstSeverity();
rr.getV().setValidationSeverity(sev);
if (sev > ClientValidation.SEVERITY_WARNING) {
invalid.add(rr);
} else {
invalid.remove(rr);
}
for (final ClientValidation v : ccv) {
if (v.getSeverity() != ClientValidation.SEVERITY_NONE) {
rr.getValidationPanel().addValidation(v.shallowCopy(), rr.getV());
}
}
} else {
rr.getV().setValidationSeverity(ClientValidation.SEVERITY_NONE);
invalid.remove(rr);
}
if (rr.getAllowedValues() != null) {
rr.getV().setAllowedValues(rr.getAllowedValues());
}
final boolean validationDefinesNullValue = value == null && (ccv != null && !ccv.isEmpty());
final boolean validationDefinesValue = validationDefinesNullValue || value != null;
if (rr.getV().getValue() == null || (validationDefinesValue && !rr.getV().getValue().equals(value))) {
rr.getV().setValue(value);
}
}
private void createTemporary(final Registration r, final ClientValue value) {
serviceAsync.save(paramSet, null, null, null,
false, new AsyncCallback<ClientParamSet>() {
@Override
public void onFailure(final Throwable throwable) {
ErrorDialog.handleGlobalError(throwable);
}
@Override
public void onSuccess(final ClientParamSet newParamSet) {
selector.refresh(new Callback() {
@Override
public void done() {
selector.select(newParamSet);
finishedUpdating();
}
});
}
});
}
private void doUpdate(final Registration r, final ClientValue value) {
serviceAsync.update(paramSet, r.getParam(), value, new UpdateCallback(r));
}
private class UpdateCallback implements AsyncCallback<ClientParamsValidations> {
private Registration r;
UpdateCallback(final Registration r) {
this.r = r;
}
@Override
public void onFailure(final Throwable throwable) {
r.getValidationPanel().addValidation(new ClientValidation(throwable.toString()), r.getV());
}
@Override
public void onSuccess(final ClientParamsValidations o) {
final HashSet<Validatable> visited = new HashSet<Validatable>();
// Update all validations to clear them
for (final Registration r : byWidget.values()) {
final String paramId = r.getParam();
update(paramId, null);
}
// Update all others
for (final Map.Entry<String, ClientValidationList> entry : o.getValidationMap().entrySet()) {
final String paramId = entry.getKey();
final ClientValidationList cv = entry.getValue();
update(paramId, cv.getValue(), cv, visited);
}
finishedUpdating();
}
}
public void updateDependent(final Callback cb) {
fetchAllowedValues(byWidget.keySet(), new Callback() {
@Override
public void done() {
final List<ClientParam> vals = values.getValues();
final HashSet<Validatable> visited = new HashSet<Validatable>();
for (final ClientParam val : vals) {
update(val.getParamId(), val.getValue(), val.getValidationList(), visited);
}
finishedUpdating();
if (cb != null) {
cb.done();
}
}
});
}
public boolean isValid() {
return invalid.isEmpty();
}
public void getAllowedValuesForValidatable(final Validatable v, final Callback cb) {
fetchAllowedValues(Arrays.asList(v), cb);
}
/**
* Fetches a list of allowed values for a list of widgets.
* Consults a local cache not to go back to the server.
* If you want to bypass the caching, call {@link #cleanAllowedValues} for the widgets to refetch values for.
*
* @param widgets List of {@link Validatable} to fetch allowed values for.
* @param cb Callback to call when done.
*/
private void fetchAllowedValues(Collection<Validatable> widgets, final Callback cb) {
final List<String> params = new ArrayList<String>();
final List<String> paramsToFetch = new ArrayList<String>();
final List<List<ClientValue>> cachedValues = new ArrayList<List<ClientValue>>();
for (final Validatable widget : widgets) {
final Registration r = byWidget.get(widget);
// We do not have this value cached, so it will be set to change
if (widget.needsAllowedValues() && r.getAllowedValues() == null && !allowedValues.containsKey(r.getParam())) {
paramsToFetch.add(r.getParam());
} else {
params.add(r.getParam());
cachedValues.add(allowedValues.get(r.getParam()));
}
}
if (params.size() + paramsToFetch.size() == 0) {
if (cb != null) {
cb.done();
}
return;
}
if (!paramsToFetch.isEmpty()) {
serviceAsync.getAllowedValues(
paramsToFetch.toArray(new String[paramsToFetch.size()]),
new AsyncCallback<List<List<ClientValue>>>() {
@Override
public void onFailure(final Throwable throwable) {
ErrorDialog.handleGlobalError(throwable);
}
@Override
public void onSuccess(final List<List<ClientValue>> allowedValues) {
allowedValues.addAll(cachedValues);
paramsToFetch.addAll(params);
allowedValuesArrived(allowedValues, paramsToFetch, cb);
}
});
} else {
allowedValuesArrived(cachedValues, params, cb);
}
}
private void allowedValuesArrived(List<List<ClientValue>> allowedValues, List<String> params, Callback cb) {
if (allowedValues.size() != params.size()) {
throw new RuntimeException("Incorrect number of allowed values returned.");
}
final HashSet<Validatable> visited = new HashSet<Validatable>();
for (int i = 0; i < params.size(); ++i) {
final Registration r = byParam.get(params.get(i));
r.allowedValues = allowedValues.get(i);
this.allowedValues.put(r.getParam(), r.allowedValues);
update(r.getParam(), null, r.getCv(), visited);
}
if (cb != null) {
cb.done();
}
}
/**
* Forces the refetch of given allowed values.
*/
public void getAllowedValues(final Validatable v, final Callback cb) {
cleanAllowedValues(v);
fetchAllowedValues(Arrays.asList(v), cb);
}
public void cleanAllowedValues(Validatable v) {
final Registration r = byWidget.get(v);
r.allowedValues = null;
allowedValues.remove(r.getParam());
}
/**
* Set the styles on a widget based on a validation severity.
* <p/>
* TODO this probably doesn't belong here, but where to put it?
*/
static void setValidationSeverity(final int validationSeverity, final UIObject o) {
switch (validationSeverity) {
case ClientValidation.SEVERITY_ERROR:
o.addStyleName("severity-Error");
o.removeStyleName("severity-Warning");
break;
case ClientValidation.SEVERITY_WARNING:
o.addStyleName("severity-Warning");
o.removeStyleName("severity-Error");
break;
default:
o.removeStyleName("severity-Warning");
o.removeStyleName("severity-Error");
}
}
public void setEnabled(final boolean enabled) {
for (final Registration r : byWidget.values()) {
r.getV().setEnabled(enabled);
}
}
private void finishedUpdating() {
ValueChangeEvent.fire(this, null);
setEnabled(true);
}
/**
* Fired whenever the selection changes.
*/
@Override
public void selected(final ClientParamSet selection) {
final ClientParamSet sel = selection;
if (paramSet == null || !paramSet.equals(sel)) {
setEnabled(false);
if (awaitingUpdate != null) {
// we've just created a temporary and we need to install the value that
// the user changed that caused us to request the temporary.
paramSet = sel;
doUpdate(awaitingUpdate, awaitingUpdateValue);
awaitingUpdate = null;
awaitingUpdateValue = null;
} else {
serviceAsync.getParamSetValues(sel, new AsyncCallback<ClientParamSetValues>() {
@Override
public void onFailure(final Throwable throwable) {
ErrorDialog.handleGlobalError(throwable);
}
@Override
public void onSuccess(final ClientParamSetValues newValues) {
if (newValues == null) {
throw new RuntimeException("Didn't get a ClientParamSet");
}
values = newValues;
paramSet = sel;
updateDependent(null);
}
});
}
} else {
setEnabled(true);
}
}
}
| {
"content_hash": "c1ef9dfc393b68ecc2a9026ec81f1d01",
"timestamp": "",
"source": "github",
"line_count": 468,
"max_line_length": 148,
"avg_line_length": 32.337606837606835,
"alnum_prop": 0.7116426589137043,
"repo_name": "romanzenka/swift",
"id": "ce23ced27e564fef099ea653d5b5954c6055cade",
"size": "15134",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "swift/web/src/main/java/edu/mayo/mprc/swift/ui/client/widgets/validation/ValidationController.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Batchfile",
"bytes": "2325"
},
{
"name": "CSS",
"bytes": "53339"
},
{
"name": "HTML",
"bytes": "488739"
},
{
"name": "Java",
"bytes": "4244970"
},
{
"name": "JavaScript",
"bytes": "633556"
},
{
"name": "Python",
"bytes": "3342"
},
{
"name": "R",
"bytes": "63662"
},
{
"name": "Ruby",
"bytes": "3876"
},
{
"name": "Shell",
"bytes": "5105"
},
{
"name": "XSLT",
"bytes": "803"
}
],
"symlink_target": ""
} |
var MetadataBlog = require('MetadataBlog');
var React = require('React');
var HeaderLinks = React.createClass({
linksInternal: [
{section: 'docs', href: '/jest/docs/tutorial.html#content', text: 'docs'},
{section: 'support', href: '/jest/support.html#content', text: 'support'},
{section: 'blog', href: '/jest/blog/#content', text: 'blog'},
],
linksExternal: [
{section: 'github', href: 'https://github.com/facebook/jest', text: 'GitHub'},
],
makeLinks: function(links) {
return links.map(function(link) {
return (
<li key={link.section}>
<a
href={link.href}
className={link.section === this.props.section ? 'active' : ''}>
{link.text}
</a>
</li>
);
}, this);
},
render: function() {
return (
<div className="nav-site-wrapper">
<ul className="nav-site nav-site-internal">
{this.makeLinks(this.linksInternal)}
</ul>
<div className="algolia-search-wrapper">
<input id="algolia-doc-search" type="text" placeholder="Search docs..." />
</div>
<ul className="nav-site nav-site-external">
{this.makeLinks(this.linksExternal)}
</ul>
</div>
);
}
});
module.exports = HeaderLinks;
| {
"content_hash": "f56526ce55d14f5fd76652c28da1645a",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 84,
"avg_line_length": 26.551020408163264,
"alnum_prop": 0.5626441199077633,
"repo_name": "skawian/jest",
"id": "fb16edb491fb1dc81ec16b8c4e3911360a01bea0",
"size": "1417",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "website/core/HeaderLinks.js",
"mode": "33188",
"license": "bsd-3-clause",
"language": [
{
"name": "CSS",
"bytes": "16365"
},
{
"name": "JavaScript",
"bytes": "470651"
},
{
"name": "Shell",
"bytes": "374"
}
],
"symlink_target": ""
} |
class Solution(object):
def maxProduct(self, nums):
"""
:type nums: List[int]
:rtype: int
"""
for i, num in enumerate(nums):
if i == 0:
ret = min_local = max_local = num
else:
temp = max_local
max_local = max(num, max_local*num, min_local*num)
min_local = min(num, temp*num, min_local*num);
ret = max(ret, max_local)
return ret
| {
"content_hash": "d948538083f64e6686ee530ec2429f11",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 66,
"avg_line_length": 32.266666666666666,
"alnum_prop": 0.45661157024793386,
"repo_name": "haonancool/OnlineJudge",
"id": "ef51115a00f7c9b05b9f091b901ad425be144fed",
"size": "484",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "leetcode/python/max_product.py",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "C++",
"bytes": "132816"
},
{
"name": "Makefile",
"bytes": "196"
},
{
"name": "Python",
"bytes": "66481"
}
],
"symlink_target": ""
} |
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>TableObject.<init> - core</title>
<link rel="stylesheet" href="..\..\..\style.css">
</HEAD>
<BODY>
<a href="../../index.html">core</a> / <a href="../index.html">com.erikcupal.theblackcatclient.gameObjects</a> / <a href="index.html">TableObject</a> / <a href="."><init></a><br/>
<br/>
<h1><init></h1>
<code><span class="identifier">TableObject</span><span class="symbol">(</span><span class="symbol">)</span></code>
<p>Table object that implements [<a href="../-i-cards-object/index.html">ICardsObject</a>]</p>
</BODY>
</HTML>
| {
"content_hash": "271367c18ce5460fa650c10dc1782bcc",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 214,
"avg_line_length": 43.714285714285715,
"alnum_prop": 0.6486928104575164,
"repo_name": "ErikCupal/the-black-cat-website",
"id": "14011fefa6c9a8f30e8eac403c3437be722594bd",
"size": "612",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "public/doc/client/core/com.erikcupal.theblackcatclient.game-objects/-table-object/-init-.html",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "JavaScript",
"bytes": "3456"
},
{
"name": "TypeScript",
"bytes": "40159"
}
],
"symlink_target": ""
} |
quote: true
category: "iOS"
img: "iOS.jpg"
tags: [iOS, Quote]
title: iOS apps and the Open Source they use
---
I've compiled a list of six popular iPhone apps and the iOS Open Source Software they use.
I've also linked to the original repositories in case you want to check them out and start contributing to them. Projects that seem inactive, outdated or no longer maintained have been excluded from the list.
## Instagram ##
* [AFNetworking](https://github.com/AFNetworking/AFNetworking): iOS and OS X networking framework.
* [Appirater](https://github.com/arashpayan/appirater): Reminds your iPhone app's users to review the app.
* [asi-http-request](https://github.com/pokeb/asi-http-request): Easy to use CFNetwork wrapper for HTTP requests, Objective-C, Mac OS X and iPhone.
* [CocoaHTTPServer](https://github.com/robbiehanson/CocoaHTTPServer): Small, lightweight, embeddable HTTP server for Mac OS X or iOS applications.
* [Cocoa Lumberjack](https://github.com/CocoaLumberjack/CocoaLumberjack): Fast & simple, yet powerful & flexible logging framework for Mac and iOS.
* [MBProgressHUD](https://github.com/jdg/MBProgressHUD): Drop-in class that displays a translucent HUD with an indicator and/or labels.
* [PLCrashReporter](https://github.com/plausiblelabs/plcrashreporter) (Github mirror): In-process crash reporting framework.
* [QSUtilities](https://github.com/mikeho/QSUtilities): Loose collection/library of utilities, controls and other helpers for iOS (iPhone, iPod Touch, iPad) development.
* [SocketRocket](https://github.com/square/SocketRocket): A conforming Objective-C WebSocket client library.
* [XBImageFilters](https://github.com/xissburg/XBImageFilters): OpenGL ES 2-based image and real-time camera filters for iOS.
## Foursquare ##
* [Facebook SDK for iOS](https://github.com/facebook/facebook-ios-sdk): Integrate with Facebook, help build engaging social apps, and get more installs.
* [FSNetworking](https://github.com/foursquare/FSNetworking): Foursquare iOS networking library.
* [kingpin](https://github.com/itsbonczek/kingpin): Drop-in MapKit/MKAnnotation pin clustering library for MKMapView on iOS.
* [AFNetworking](https://github.com/AFNetworking/AFNetworking): iOS and OS X networking framework.
* [SKBounceAnimation](https://github.com/khanlou/SKBounceAnimation): CAKeyframeAnimation subclass that lets you quickly and easily set a number of bounces, and start and end values, and creates an animation for you.
* [DB5](https://github.com/quartermaster/DB5): App Configuration via Plist.
## LinkedIn ##
* [BlocksKit](https://github.com/zwaldowski/BlocksKit): The Objective-C block utilities you always wish you had.
* [SDWebImage](https://github.com/rs/SDWebImage): Asynchronous image downloader with cache support with an UIImageView category.
* [DTCOreText](https://github.com/Cocoanetics/DTCoreText): Methods to allow using HTML code with CoreText.
## Shazam ##
* [AudioStreamer](https://github.com/mattgallagher/AudioStreamer): Streaming audio player class (AudioStreamer) for Mac OS X and iPhone.
* [ColorArt](https://github.com/panicinc/ColorArt): iTunes 11-style color matching code.
* [objc-geohash](https://github.com/lyokato/objc-geohash): Objective-C GeoHash Library. Get hashes by longitude and latitude.
* [TPCircularBuffer](https://github.com/michaeltyson/TPCircularBuffer): Simple, fast circular buffer implementation.
* [FormatterKit](https://github.com/mattt/FormatterKit): `stringWithFormat:` for the sophisticated hacker set.
* [UIView+Glow](https://github.com/thesecretlab/UIView-Glow): Category on UIView that adds support for making views glow.
* [WEbViewJavascriptBridge](https://github.com/marcuswestin/WebViewJavascriptBridge): iOS / OSX bridge for sending messages between Obj-C and JavaScript in WebViews.
## Skype ##
* [AFNetworking](https://github.com/AFNetworking/AFNetworking): iOS and OS X networking framework.
* [Hockey SDK](https://github.com/bitstadium/HockeySDK-iOS): Official iOS SDK for the HockeyApp service.
* [PLCrashReporter](https://github.com/plausiblelabs/plcrashreporter) (Github mirror): In-process crash reporting framework.
* [TTTAttributedLabel](https://github.com/mattt/TTTAttributedLabel): Drop-in replacement for UILabel that supports attributes, data detectors, links, and more.
* [SDWebImage](https://github.com/rs/SDWebImage): Asynchronous image downloader with cache support with an UIImageView category.
* [Cocoa Lumberjack](https://github.com/CocoaLumberjack/CocoaLumberjack): Fast & simple, yet powerful & flexible logging framework for Mac and iOS
* [MWPhotoBrowser](https://github.com/mwaterfall/MWPhotoBrowser): A simple iOS photo browser with optional grid view, captions and selections.
* [QSUtilities](https://github.com/mikeho/QSUtilities): Loose collection/library of utilities, controls and other helpers for iOS (iPhone, iPod Touch, iPad) development.
* [BlocksKit](https://github.com/zwaldowski/BlocksKit): The Objective-C block utilities you always wish you had.
## Spotify ##
* [FMDB](https://github.com/ccgus/fmdb): Objective-C wrapper around SQLite.
* [MAObjCRuntime](https://github.com/mikeash/MAObjCRuntime): ObjC wrapper for ObjC runtime API.
* [Nu](https://github.com/timburks/nu): Programming Language.
* [PLCrashReporter](https://github.com/plausiblelabs/plcrashreporter) (Github mirror): In-process crash reporting framework.
* [SBJSON](https://github.com/stig/json-framework/): Strict JSON parser and generator in Objective-C.
| {
"content_hash": "a3d3594418ecbdf4e1c49c6d64f2d7c3",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 215,
"avg_line_length": 80.38235294117646,
"alnum_prop": 0.7808269301134285,
"repo_name": "Meniny/Meniny.github.io",
"id": "991c958c6335e18ef9ef1d1ffdfbf633d9db62ad",
"size": "5470",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "_template/2014-10-09-iphone-apps-and-open-source.md",
"mode": "33261",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "764313"
},
{
"name": "HTML",
"bytes": "1169588"
},
{
"name": "JavaScript",
"bytes": "321691"
}
],
"symlink_target": ""
} |
package ru.stqa.pft.github.mantis.model;
/**
* Created by uttabondarenko on 22.02.17.
*/
public class Issue {
private int id;
private String summary;
private String status;
private String resolution;
private String description;
private Project project;
private String name;
public String getName() {
return name;
}
public Issue withName(String name) {
this.name = name;
return this;
}
public int getId() {
return id;
}
public Issue withId(int id) {
this.id = id;
return this;
}
public String getSummary() {
return summary;
}
public Issue withSummary(String summary) {
this.summary = summary;
return this;
}
public String getDescription() {
return description;
}
public Issue withDescription(String description) {
this.description = description;
return this;
}
public Project getProject() {
return project;
}
public Issue withProject(Project project) {
this.project = project;
return this;
}
public String getResolution() {
return resolution;
}
public String getStatus() {
return status;
}
public Issue withStatus(String status) {
this.status = status;
return this;
}
public Issue withResolution(String resolution) {
this.resolution = resolution;
return this;
}
}
| {
"content_hash": "ed65a1a82808e88139d0253e74f2ae84",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 52,
"avg_line_length": 17.115384615384617,
"alnum_prop": 0.6636704119850187,
"repo_name": "yutta13/java_36",
"id": "de79963b9e8998a892b2cee60926f540a2a6206e",
"size": "1335",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "mantis-test/src/test/java/ru/stqa/pft/github/mantis/model/Issue.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Java",
"bytes": "113881"
},
{
"name": "PHP",
"bytes": "259"
}
],
"symlink_target": ""
} |
class Order < ActiveRecord::Base
belongs_to :user
end | {
"content_hash": "ba6dec7d5c1a5378aca171619f762d11",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 32,
"avg_line_length": 19,
"alnum_prop": 0.7368421052631579,
"repo_name": "Neku/easy-hodl",
"id": "f0827476d60dae33941e8d6e40d5e2e0ff6a124d",
"size": "57",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "server/models/order.rb",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Objective-C",
"bytes": "1856"
},
{
"name": "Ruby",
"bytes": "14403"
},
{
"name": "Swift",
"bytes": "823074"
}
],
"symlink_target": ""
} |
'use strict';
module.exports = function(grunt) {
//Load all .js tasks definitions at tasks folder
grunt.loadTasks('./grunt-tasks');
require('load-grunt-tasks')(grunt);
require('time-grunt')(grunt);
var options = {
appName: require('./package.json').name,
yeoman: {
// configurable paths
app: require('./bower.json').appPath || 'app',
dist: 'client',
api: {
development: 'http://localhost:3000/api/',
production: '/api/'
},
site: {
development: 'http://0.0.0.0:3000',
production: ''
},
},
};
// Load grunt configurations automatically at config folder
var configs = require('load-grunt-configs')(grunt, options);
// Define the configuration for all the tasks
grunt.initConfig(configs);
grunt.registerTask('default', [
'jshint',
'loopback',
'test',
'build'
]);
};
| {
"content_hash": "1e2b2be98d2b4992b6e9156108ad946f",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 64,
"avg_line_length": 24.926829268292682,
"alnum_prop": 0.5176125244618396,
"repo_name": "romulocintra/loopback-angular-starter-kit",
"id": "1021b722af50336fa5e8c44f18ad3a3efad0e186",
"size": "1022",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "Gruntfile.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "ApacheConf",
"bytes": "24139"
},
{
"name": "CSS",
"bytes": "1004"
},
{
"name": "HTML",
"bytes": "90035"
},
{
"name": "JavaScript",
"bytes": "195698"
}
],
"symlink_target": ""
} |
import Forms from "../../../../@primitives/UI/forms";
import {
StateOrTerritory,
Zip,
} from "../shared";
type IHeader = {
override?: React$Element<any>,
};
const Header = ({ override }: IHeader) => {
if (override) return override;
return (
<h4 className="text-center">
Billing Address
</h4>
);
};
type INextButton = {
billing: Object,
next: Function,
className: string
};
const NextButton = ({
billing,
next,
className = "",
}: INextButton) => {
const btnClasses = [className].concat(["push-left"]);
let disabled = false;
if (!billing.streetAddress || !billing.city) {
btnClasses.push("btn--disabled");
disabled = true;
} else {
btnClasses.push("btn");
}
return (
<button
className={btnClasses.join(" ")}
disabled={disabled}
type="submit"
onClick={next}
>
Next
</button>
);
};
type ILayout = {
back: Function,
billing: Object,
children?: React$Element<any>,
city: Function,
countries: Object[],
header?: React$Element<any>,
next: Function,
saveCountry: Function,
saveState: Function,
states: Object[],
streetAddress: Function,
streetAddress2: Function,
zip: Function,
transactionType: string,
};
const Layout = ({
back,
billing,
children,
city,
countries,
header,
next,
saveCountry,
saveState,
states,
streetAddress,
streetAddress2,
zip,
transactionType,
}: ILayout) => (
<div>
<div className="push-double@lap-and-up push">
<Header override={header} />
</div>
{children}
<div className="soft-sides">
<Forms.Input
name="streetAddress"
label="Street Address"
errorText="Please enter your address"
validation={streetAddress}
defaultValue={billing.streetAddress}
autoFocus
/>
<Forms.Input
name="streetAddress2"
label="Street Address (optional)"
validation={streetAddress2}
defaultValue={billing.streetAddress2}
/>
{countries && countries.length > 0 && <Forms.Select
name="country"
label="Country"
errorText="Please enter your country"
defaultValue={billing.country ? billing.country : "US"}
items={countries}
validation={saveCountry}
includeBlank
/>}
<Forms.Input
name="city"
label="City"
errorText="Please enter your city"
defaultValue={billing.city}
validation={city}
/>
<div className="grid">
{states && states.length > 0 && <StateOrTerritory
billing={billing}
states={states}
saveState={saveState}
/>}
<Zip
billing={billing}
zip={zip}
/>
</div>
</div>
<div>
{transactionType !== "savedPayment" && (
<a
href=""
tabIndex={-1}
onClick={back}
className="btn--small btn--dark-tertiary display-inline-block"
>
Back
</a>
)}
<NextButton
billing={billing}
next={next}
className={`${transactionType !== "savedPayment" ? "" : "flush-left"}`}
/>
</div>
</div>
);
export default Layout;
export {
Header,
NextButton,
};
| {
"content_hash": "1439abc0621a891b7a62fb0004c19af3",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 79,
"avg_line_length": 19.5748502994012,
"alnum_prop": 0.5702049556439278,
"repo_name": "NewSpring/apollos-core",
"id": "cffa21f6554ab0ab1d7410709d0a68c0f1cc5735",
"size": "3279",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "imports/components/giving/checkout-views/fieldsets/billing/Layout.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "14395"
},
{
"name": "JavaScript",
"bytes": "615261"
}
],
"symlink_target": ""
} |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.github.mstream-trader</groupId>
<artifactId>data-feed-parent</artifactId>
<version>1.22-SNAPSHOT</version>
</parent>
<groupId>com.github.mstream-trader</groupId>
<artifactId>data-feed-performance-tests</artifactId>
<properties>
<service.port>8080</service.port>
<service.debug.port>5005</service.debug.port>
<mock.server.port>80</mock.server.port>
<mock.proxy.port>90</mock.proxy.port>
<zookeeper.port>2181</zookeeper.port>
<docker.server.host>${docker.host.address}</docker.server.host>
<service.url>http://${docker.server.host}:${service.port}</service.url>
<throughput>1</throughput>
<durationInSeconds>10</durationInSeconds>
</properties>
<dependencies>
<dependency>
<groupId>com.github.mstream-trader</groupId>
<artifactId>commons-test</artifactId>
<version>1.10</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk15on</artifactId>
</exclusion>
<exclusion>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
<version>4.1.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.21</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
<version>2.11.8</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-reflect</artifactId>
<version>2.11.8</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.scala-lang.modules</groupId>
<artifactId>scala-java8-compat_2.11</artifactId>
<version>0.8.0-RC1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-handler</artifactId>
<version>${nettyVersion}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-codec</artifactId>
<version>${nettyVersion}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-codec-http</artifactId>
<version>${nettyVersion}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-transport</artifactId>
<version>${nettyVersion}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-transport-native-epoll</artifactId>
<version>${nettyVersion}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-common</artifactId>
<version>${nettyVersion}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.typesafe.akka</groupId>
<artifactId>akka-actor_2.11</artifactId>
<version>2.4.7</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.scala-lang.modules</groupId>
<artifactId>scala-java8-compat_2.11</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.gatling</groupId>
<artifactId>gatling-http</artifactId>
<version>2.2.2</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
<exclusion>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
</exclusion>
<exclusion>
<groupId>org.scala-lang</groupId>
<artifactId>scala-reflect</artifactId>
</exclusion>
<exclusion>
<groupId>org.scala-lang.modules</groupId>
<artifactId>scala-java8-compat_2.11</artifactId>
</exclusion>
<exclusion>
<groupId>io.netty</groupId>
<artifactId>netty-handler</artifactId>
</exclusion>
<exclusion>
<groupId>io.netty</groupId>
<artifactId>netty-codec</artifactId>
</exclusion>
<exclusion>
<groupId>io.netty</groupId>
<artifactId>netty-codec-http</artifactId>
</exclusion>
<exclusion>
<groupId>io.netty</groupId>
<artifactId>netty-common</artifactId>
</exclusion>
<exclusion>
<groupId>io.netty</groupId>
<artifactId>netty-transport</artifactId>
</exclusion>
<exclusion>
<groupId>io.netty</groupId>
<artifactId>netty-transport-native-epoll</artifactId>
</exclusion>
<exclusion>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.gatling</groupId>
<artifactId>gatling-app</artifactId>
<version>2.2.2</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
<exclusion>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
</exclusion>
<exclusion>
<groupId>org.scala-lang</groupId>
<artifactId>scala-reflect</artifactId>
</exclusion>
<exclusion>
<groupId>com.typesafe.akka</groupId>
<artifactId>akka-actor_2.11</artifactId>
</exclusion>
<exclusion>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.gatling.highcharts</groupId>
<artifactId>gatling-charts-highcharts</artifactId>
<version>2.2.2</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
</exclusion>
<exclusion>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</exclusion>
<exclusion>
<groupId>io.netty</groupId>
<artifactId>netty-codec-http</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.19.1</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
<plugin>
<groupId>io.gatling</groupId>
<artifactId>gatling-maven-plugin</artifactId>
<version>2.2.0</version>
<executions>
<execution>
<phase>integration-test</phase>
<goals>
<goal>execute</goal>
</goals>
</execution>
</executions>
<configuration>
<jvmArgs>
<jvmArg>
-DserviceUrl=${service.url}
</jvmArg>
<jvmArg>
-Dthroughput=${throughput}
</jvmArg>
<jvmArg>
-DdurationInSeconds=${durationInSeconds}
</jvmArg>
<jvmArg>
-DmaxErrorThresholdInPermillion=0
</jvmArg>
<jvmArg>
-DmaxResponseTimeInMilliseconds=1000
</jvmArg>
</jvmArgs>
</configuration>
</plugin>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>0.15.7</version>
<configuration>
<images>
<image>
<alias>service</alias>
<name>
mstream/trader-${serviceName}:${project.version}
</name>
<run>
<links>
<link>mock:quandl</link>
<link>zookeeper:zookeeper</link>
</links>
<env>
</env>
<labels>
<version>${project.version}</version>
</labels>
<ports>
<port>${service.port}:${service.port}</port>
<port>
${service.debug.port}:${service.debug.port}
</port>
</ports>
<cmd>
java
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=${service.debug.port}
-DZK_CONNECTION_STRING=zookeeper:${zookeeper.port}
-jar /opt/data-feed.jar
--port ${service.port}
</cmd>
<wait>
<http>
<url>
http://${docker.server.host}:${service.port}/monitoring/version
</url>
<method>GET</method>
<status>200</status>
</http>
<time>10000</time>
</wait>
<log>
</log>
</run>
</image>
<image>
<alias>mock</alias>
<name>jamesdbloom/mockserver</name>
<run>
<ports>
<port>
${mock.server.port}:${mock.server.port}
</port>
<port>
${mock.proxy.port}:${mock.proxy.port}
</port>
</ports>
<cmd>/opt/mockserver/run_mockserver.sh -logLevel
INFO -serverPort ${mock.server.port}
-proxyPort ${mock.proxy.port}
</cmd>
</run>
</image>
<image>
<alias>zookeeper</alias>
<name>zookeeper:3.4.9</name>
<run>
<ports>
<port>
${zookeeper.port}:${zookeeper.port}
</port>
</ports>
<wait>
<tcp>
<ports>
<port>${zookeeper.port}</port>
</ports>
</tcp>
<time>10000</time>
</wait>
</run>
</image>
</images>
</configuration>
<executions>
<execution>
<id>start</id>
<phase>pre-integration-test</phase>
<goals>
<goal>start</goal>
</goals>
</execution>
<execution>
<id>stop</id>
<phase>post-integration-test</phase>
<goals>
<goal>stop</goal>
<goal>remove</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.19.1</version>
<configuration>
<includes>
<include>**/PerformanceTestBeforeHook.java</include>
</includes>
<systemPropertyVariables>
<SERVICE_ADDRESS>${docker.server.host}</SERVICE_ADDRESS>
<SERVICE_PORT>${mock.server.port}</SERVICE_PORT>
<MOCK_ADDRESS>${docker.server.host}</MOCK_ADDRESS>
<MOCK_SERVER_PORT>${mock.server.port}</MOCK_SERVER_PORT>
<MOCK_PROXY_PORT>${mock.proxy.port}</MOCK_PROXY_PORT>
<ZK_CONNECTION_STRING>
${docker.server.host}:${zookeeper.port}
</ZK_CONNECTION_STRING>
</systemPropertyVariables>
</configuration>
<executions>
<execution>
<phase>pre-integration-test</phase>
<goals>
<goal>integration-test</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
| {
"content_hash": "2e203f438c1484e2163bf0e74f0d9e3b",
"timestamp": "",
"source": "github",
"line_count": 408,
"max_line_length": 204,
"avg_line_length": 41.34803921568628,
"alnum_prop": 0.41333728512151746,
"repo_name": "mstream-trader/data-feed",
"id": "7d3a6eecef3fce0024ab9a849a3dcbdad4981ba7",
"size": "16870",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "performance-tests/pom.xml",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Cucumber",
"bytes": "3088"
},
{
"name": "FreeMarker",
"bytes": "1088"
},
{
"name": "Java",
"bytes": "104632"
},
{
"name": "Scala",
"bytes": "2732"
}
],
"symlink_target": ""
} |
// ***********************************************************************
// Assembly : ACBr.Net.CTe
// Author : RFTD
// Created : 11-10-2016
//
// Last Modified By : RFTD
// Last Modified On : 11-10-2016
// ***********************************************************************
// <copyright file="InutilizacaoResponse.cs" company="ACBr.Net">
// The MIT License (MIT)
// Copyright (c) 2016 Grupo ACBr.Net
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
// and/or sell copies of the Software, and to permit persons to whom the
// Software is furnished to do so, subject to the following conditions:
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
// ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
// </copyright>
// <summary></summary>
// ***********************************************************************
using System.ServiceModel;
using System.Xml;
using ACBr.Net.DFe.Core.Service;
namespace ACBr.Net.CTe.Services
{
[MessageContract(WrapperName = "cteInutilizacaoCTResponse", IsWrapped = false)]
public sealed class InutilizacaoResponse : ResponseBase
{
#region Constructors
public InutilizacaoResponse()
{
}
public InutilizacaoResponse(DFeWsCabecalho cabecalho, XmlNode result)
{
Cabecalho = cabecalho;
Result = result;
}
#endregion Constructors
#region Propriedades
[MessageBodyMember(Name = "cteInutilizacaoCTResult", Namespace = "http://www.portalfiscal.inf.br/cte/wsdl/CteInutilizacao", Order = 0)]
public XmlNode Result;
#endregion Propriedades
}
} | {
"content_hash": "864bed5410a0fe95bb8f55f727e3000f",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 143,
"avg_line_length": 39.37096774193548,
"alnum_prop": 0.6337566571077428,
"repo_name": "ACBrNet/ACBr.Net.CTe",
"id": "63d1593f55a596ac446d03d10e551ddab87f14ff",
"size": "2443",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/ACBr.Net.CTe.Shared/Services/Inutilizacao/InutilizacaoResponse.cs",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "C#",
"bytes": "661849"
}
],
"symlink_target": ""
} |
In this step, we use the model trained in the previous step to predict Remaining Useful Life on the data points in the stream.
### Limitations with Structured Streaming
* Joining two streams (or self-join) is not supported, so we find the max cycle and max counter for a device reading in a time window, join it back to the stream to get all the sensor data to do prediction. Prediction is done on raw data.
| {
"content_hash": "8b1719a0d0d92457c8daf831f9f3368d",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 240,
"avg_line_length": 82.4,
"alnum_prop": 0.7742718446601942,
"repo_name": "liupeirong/Azure",
"id": "cf06c01be851b241c4061676a4dc161e836ce51d",
"size": "465",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "IoTKafkaSpark/6.Predict/readme.md",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "ASP",
"bytes": "1258"
},
{
"name": "Batchfile",
"bytes": "1779"
},
{
"name": "C#",
"bytes": "1467770"
},
{
"name": "CSS",
"bytes": "39286"
},
{
"name": "Dockerfile",
"bytes": "1104"
},
{
"name": "HTML",
"bytes": "117028"
},
{
"name": "Java",
"bytes": "185476"
},
{
"name": "JavaScript",
"bytes": "1127182"
},
{
"name": "Jupyter Notebook",
"bytes": "4527"
},
{
"name": "Pascal",
"bytes": "108115"
},
{
"name": "PowerShell",
"bytes": "199439"
},
{
"name": "Puppet",
"bytes": "25968"
},
{
"name": "Python",
"bytes": "270550"
},
{
"name": "R",
"bytes": "3744"
},
{
"name": "Roff",
"bytes": "904800"
},
{
"name": "SQLPL",
"bytes": "2080"
},
{
"name": "Scala",
"bytes": "64590"
},
{
"name": "Shell",
"bytes": "181097"
},
{
"name": "TypeScript",
"bytes": "51663"
}
],
"symlink_target": ""
} |
package net.automatalib.commons.util.collections;
import java.util.Iterator;
import java.util.NoSuchElementException;
public class ConcatIterator<T> implements Iterator<T> {
private final Iterator<? extends T>[] iterators;
private int currentIndex;
@SafeVarargs
public ConcatIterator(Iterator<? extends T> ...iterators) {
int numIts = iterators.length;
int i = 0;
while(i < numIts) {
Iterator<? extends T> it = iterators[i];
if(it.hasNext())
break;
i++;
}
if(i == numIts) {
this.iterators = null;
this.currentIndex = -1;
}
else {
this.iterators = iterators;
this.currentIndex = i;
}
}
@Override
public boolean hasNext() {
if(iterators != null && currentIndex < iterators.length)
return true;
return false;
}
@Override
public T next() {
if(iterators == null || currentIndex >= iterators.length)
throw new NoSuchElementException();
Iterator<? extends T> curr = iterators[currentIndex];
T nxt = curr.next();
if(!curr.hasNext())
while(++currentIndex < iterators.length && !iterators[currentIndex].hasNext());
return nxt;
}
@Override
public void remove() {
throw new UnsupportedOperationException();
}
}
| {
"content_hash": "20738fc938dff66f6a16ee402d1e8ed4",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 82,
"avg_line_length": 21.636363636363637,
"alnum_prop": 0.6815126050420168,
"repo_name": "bencaldwell/automatalib",
"id": "0286f599e8621621a5113cbcac686da7128cec7e",
"size": "1854",
"binary": false,
"copies": "1",
"ref": "refs/heads/develop",
"path": "commons/util/src/main/java/net/automatalib/commons/util/collections/ConcatIterator.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Java",
"bytes": "1443830"
},
{
"name": "Shell",
"bytes": "6794"
}
],
"symlink_target": ""
} |
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2018 NAVER Corp.
~
~ 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 writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.navercorp.pinpoint</groupId>
<artifactId>pinpoint</artifactId>
<version>2.4.0-SNAPSHOT</version>
</parent>
<artifactId>pinpoint-agent-plugins</artifactId>
<name>pinpoint-agent-plugins</name>
<packaging>pom</packaging>
<modules>
<module>proxy-common</module>
<module>proxy-apache</module>
<module>proxy-app</module>
<module>proxy-nginx</module>
<module>proxy-user</module>
</modules>
<dependencies>
<dependency>
<groupId>com.navercorp.pinpoint</groupId>
<artifactId>pinpoint-agent-proxy-common</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.navercorp.pinpoint</groupId>
<artifactId>pinpoint-agent-proxy-apache-plugin</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.navercorp.pinpoint</groupId>
<artifactId>pinpoint-agent-proxy-app-plugin</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.navercorp.pinpoint</groupId>
<artifactId>pinpoint-agent-proxy-nginx-plugin</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.navercorp.pinpoint</groupId>
<artifactId>pinpoint-agent-proxy-user-plugin</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>assembly.xml</descriptor>
</descriptors>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
<executions>
<execution>
<id>create-zip</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
| {
"content_hash": "c2ad91a382fd9a7be3a5d5e0559d49e9",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 104,
"avg_line_length": 36.72527472527472,
"alnum_prop": 0.5819868342309994,
"repo_name": "emeroad/pinpoint",
"id": "deb7e3a7c87f340f7bb845ee63deba668970bb18",
"size": "3342",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "agent-plugins/pom.xml",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Batchfile",
"bytes": "200"
},
{
"name": "CSS",
"bytes": "204717"
},
{
"name": "Groovy",
"bytes": "1423"
},
{
"name": "HTML",
"bytes": "193672"
},
{
"name": "Java",
"bytes": "18969117"
},
{
"name": "JavaScript",
"bytes": "5570"
},
{
"name": "Kotlin",
"bytes": "1327"
},
{
"name": "Shell",
"bytes": "6420"
},
{
"name": "TSQL",
"bytes": "978"
},
{
"name": "Thrift",
"bytes": "15920"
},
{
"name": "TypeScript",
"bytes": "1608203"
}
],
"symlink_target": ""
} |
@protocol SVWebViewDelegate <NSObject>
@optional
- (BOOL)svWebView:(UIWebView*)webView shouldStartLoadWithRequest:(NSURLRequest*)request navigationType:(UIWebViewNavigationType)navigationType;
- (void)svWebViewDidStartLoad:(UIWebView*)webView;
- (void)svWebViewDidFinishLoad:(UIWebView*)webView;
- (void)svWebView:(UIWebView*)webView didFailLoadWithError:(NSError *)error;
@end
@interface SVWebViewController : UIViewController
- (id)initWithAddress:(NSString*)urlString;
- (id)initWithURL:(NSURL*)URL;
- (id)initWithWebURL:(NSURL*)url;
- (void)doneButtonClicked:(id)sender;
@property (nonatomic, readwrite) SVWebViewControllerAvailableActions availableActions;
@property (nonatomic, strong) id<SVWebViewDelegate> svDelegate;
@end
| {
"content_hash": "cdb25a45bdab0409715e7746300b30e1",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 143,
"avg_line_length": 33.54545454545455,
"alnum_prop": 0.8089430894308943,
"repo_name": "asuralyc/WhatsPhoto",
"id": "ea257c703d4ec9c41500467363828b4f48157cee",
"size": "995",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "Library/SVWebViewController/SVWebViewController.h",
"mode": "33261",
"license": "mit",
"language": [
{
"name": "C",
"bytes": "346"
},
{
"name": "C++",
"bytes": "696"
},
{
"name": "JavaScript",
"bytes": "1717"
},
{
"name": "Objective-C",
"bytes": "1651313"
}
],
"symlink_target": ""
} |
<?php
namespace Wowza\StreamBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class DefaultController extends Controller{
public function indexAction(){
$repository = $this->get('doctrine_mongodb')->getManager()->getRepository('WowzaStreamBundle:Stream');
return $this->render('WowzaStreamBundle:Default:index.html.twig', array( "streams" => $repository->findAll() ) );
}
}
| {
"content_hash": "af074107850ce788916d4a8b8adb3715",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 121,
"avg_line_length": 33.30769230769231,
"alnum_prop": 0.7251732101616628,
"repo_name": "dstokovsky/streaming-backend",
"id": "20e6434892cc943494e2dd34424d648be15a3bc9",
"size": "433",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/Wowza/StreamBundle/Controller/DefaultController.php",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "PHP",
"bytes": "48132"
}
],
"symlink_target": ""
} |
package com.pivotal.gemfirexd.internal.engine.sql;
import java.util.List;
import com.gemstone.gnu.trove.THashMap;
import com.pivotal.gemfirexd.internal.engine.GfxdConstants;
import com.pivotal.gemfirexd.internal.engine.distributed.utils.GemFireXDUtils;
import com.pivotal.gemfirexd.internal.engine.sql.compile.Token;
import com.pivotal.gemfirexd.internal.engine.sql.execute.ConstantValueSet;
import com.pivotal.gemfirexd.internal.iapi.error.StandardException;
import com.pivotal.gemfirexd.internal.iapi.services.sanity.SanityManager;
import com.pivotal.gemfirexd.internal.iapi.sql.compile.CompilerContext;
import com.pivotal.gemfirexd.internal.iapi.sql.conn.LanguageConnectionContext;
import com.pivotal.gemfirexd.internal.iapi.sql.dictionary.SchemaDescriptor;
import com.pivotal.gemfirexd.internal.impl.sql.GenericPreparedStatement;
import com.pivotal.gemfirexd.internal.impl.sql.GenericStatement;
import com.pivotal.gemfirexd.internal.impl.sql.conn.GenericLanguageConnectionContext;
import com.pivotal.gemfirexd.internal.shared.common.ResolverUtils;
/**
* Generalized Statement against which GenericPreparedStatement is cached
* when statement.execute(...) gets called. This is primarily to save
* unnecessary temporary objects creation during lookup of the generalized
* version of the statement.
*
* e.g. select * from tab where id = 'xxxx' and where id = 'yyy' will be stored
* against a single plan select * from tab where id = CHAR.
*
* @author soubhikc
*
*/
public final class GeneralizedStatement extends GenericStatement {
public static final String CONSTANT_PLACEHOLDER = "<?>";
public GeneralizedStatement(SchemaDescriptor compilationSchema,
String statementText,short execFlags, THashMap ncjMetaData) {
//let super compute the hashcode.
super(compilationSchema, statementText, execFlags, ncjMetaData);
}
//caller should ensure atomicity between Generalized statements compiled artifacts.
public void setPreparedStatement(GenericPreparedStatement ps ) {
preparedStmt = ps;
}
public void setSource(String sqlText, boolean createQueryInfo, SchemaDescriptor compilationSchema, CompilerContext cc) {
//convert into generalized strings
this.statementText = sqlText ;//sgeneralizedStatement(sqlText,this.constantTokenList);
if( createQueryInfo) {
this.execFlags = GemFireXDUtils.set(execFlags, CREATE_QUERY_INFO);
}else {
this.execFlags = GemFireXDUtils.clear(execFlags, CREATE_QUERY_INFO);
}
this.compilationSchema = compilationSchema;
this.hash = getHashCode();
}
@Override
public String getQueryStringForParse(LanguageConnectionContext lcc) {
return recreateUserQuery(this.statementText,
(ConstantValueSet)lcc.getConstantValueSet(null));
}
public void reset() {
this.statementText = null;
this.execFlags = GemFireXDUtils.clear(execFlags, CREATE_QUERY_INFO);
this.compilationSchema = null;
this.hash = -1;
}
/**
* This will happen occasionally mainly on data nodes,
* when generalized statement will trigger query compilation
* (reprepare etc). During that time we don't want to
* keep incoming ConstantValueSet from message.
*
* @param lcc
* @return original query string submitted by user.
* @throws StandardException
*/
public String restoreOriginalString(final GenericLanguageConnectionContext lcc) throws StandardException
{
ConstantValueSet constants = (ConstantValueSet)lcc.getConstantValueSet(null);
if (SanityManager.DEBUG) {
if (constants == null) {
SanityManager
.THROWASSERT("Cannot restore original string as no constantValueSet is available yet");
}
}
return recreateUserQuery(statementText, constants);
}
/**
* This method is costly in terms of Eden space memory. Need to come back and review whether to
* store original string per activation or other way to recreate this string.
* @param sql
* @param constants
* @return
*/
public static String recreateUserQuery(String sql, final ConstantValueSet constants) {
int index = sql.indexOf(CONSTANT_PLACEHOLDER, 0);
int constantIdx = 0;
int len =0;
if(constants != null) {
len = constants.getParameterCount();
}
for (; index != -1 && index < sql.length() && constantIdx < len; constantIdx++) {
sql = sql.substring(0, index) + constants.getConstantImage(constantIdx)
+ sql.substring(index + CONSTANT_PLACEHOLDER.length());
index = sql.indexOf(CONSTANT_PLACEHOLDER, index + 1);
}
if (GemFireXDUtils.TraceStatementMatching) {
SanityManager.DEBUG_PRINT(GfxdConstants.TRACE_STATEMENT_MATCHING,
"returning restored user query " + sql);
}
return sql;
}
@Override
public boolean equals(Object other) {
if (! (other instanceof GeneralizedStatement) ) {
return false;
}
final GeneralizedStatement os = (GeneralizedStatement)other;
final GeneralizedStatement _this = this;
return _this.isEquivalent(os)
&& _this.isForReadOnly() == os.isForReadOnly()
&& _this.compilationSchema.equals(os.compilationSchema) &&
// GemStone changes BEGIN
(_this.createQueryInfo() == os.createQueryInfo()) &&
// GemStone changes END
(_this.prepareIsolationLevel == os.prepareIsolationLevel);
}
/*
* few things to know before changing anything over here.
*
* a. while reparsing, we temporarily switch to original user
* query & store generic query in a volatile field.
*
* cannot synchronize parsing & compare as cache lookup will
* happen during parsing in prepMinion.
*
* b. following four combinations
* (i) generic string, user query
* (ii) user query , generic string
* (iii) user query, user query.
* (iv) generic query, generic query.
*
* we handle as:
* (i) & (ii) is gone past the token list nullability check.
*
* (iii) is not possible as two Generalized statement
* comparisons must have one of them as user query (setSource) and
* therefore sqlmatcher must have put constantTokens in one of the two.
*
* Two user queries will never get compared as only generalized query
* string will be inserted into the Statement Cache.
*
* (iv) simple equality check. this can only happen when two connections
* are trying to introduce generic statement to the statement cache.
*/
private boolean isEquivalent(final GeneralizedStatement other) {
if ( this == other)
return true;
/* don't re-order or insert anything between next 4 lines.
* if you need to alter the memory barrier, make sure
* restoreOriginalString() is honored for concurrency.
*/
//final String origQuery = this.originalGenericQuery;
//final String ttxt = this.statementText;
//final String oorigQuery = other.originalGenericQuery;
//final String otxt = other.statementText;
// end of no change zone.
// final ArrayList<Token> thistokens = this.constantTokenList;
//final ArrayList<Token> othertokens = other.constantTokenList;
final String thisstmt = this.statementText;// origQuery == null ? ttxt : origQuery;
final String otherstmt = other.statementText;//oorigQuery == null ? otxt : oorigQuery;
final String strmsg;
if (GemFireXDUtils.TraceStatementMatching) {
strmsg = "lhs=[" + thisstmt + "] rhs=[" + otherstmt + "] this=" + this
+ " other=" + other;
}
else {
strmsg = null;
}
if (SanityManager.ASSERT) {
if (thisstmt == null || otherstmt == null) {
SanityManager.THROWASSERT(strmsg == null ? "lhs=" + this + " rhs="
+ other : strmsg);
}
}
//if( thistokens == null && othertokens == null) {
final boolean isequal = thisstmt.equals(otherstmt);
return isequal;
}
private final int getHashCode() {
// final ArrayList<Token> thistokens = this.constantTokenList;
final String stmt = statementText;
assert this.isPreparedStatement() == false
&& this.isOptimizedStatement() == true;// && thistokens != null;
int h = super.getHashCode(0, stmt.length(), 0);
this.stmtHash = h;
h = ResolverUtils.addIntToHash(createQueryInfo() ? 1231 : 1237, h);
return ResolverUtils.addIntToHash(isPreparedStatement()
|| !isOptimizedStatement() ? 19531 : 20161, h);
// resulthash = getGenericStatementHash(stmt, thistokens, resulthash);
// return resulthash;
}
/*
@Override
protected int getUniqueIdFromStatementText(LanguageConnectionContext lcc) {
return recreateUserQuery(this.statementText,
(ConstantValueSet)lcc.getConstantValueSet(null)).hashCode();
}
//Can be removed.
private int getGenericStatementHash(final String statementText, final ArrayList<Token> thistokens, int resulthash) {
int srcPos = 0;
int strlen = statementText.length();
int count = 0;
for(com.pivotal.gemfirexd.internal.engine.sql.compile.Token v : thistokens) {
final int beginC = v.beginOffset ;
++count;
assert beginC >= srcPos;
final int endC = v.endOffset;
resulthash = super.getHashCode(srcPos, beginC, resulthash);
if (GemFireXDUtils.TraceStatementMatching) {
SanityManager.DEBUG_PRINT(GfxdConstants.TRACE_STATEMENT_MATCHING,
statementText + " skipping constant: " + v);
}
srcPos = endC + 1;
resulthash = ResolverUtils.addIntToHash(CONSTANT_PLACEHOLDER.hashCode(),
resulthash);
}
if(srcPos < strlen) {
resulthash = super.getHashCode(srcPos, strlen, resulthash);
}
return resulthash;
}
*/
@Override
public String toString() {
final String st;
final boolean isCompiling;
synchronized (this) {
st = this.statementText;
isCompiling = true;
}
return GemFireXDUtils.addressOf(this)
+ (!isCompiling ? (' ' + st) : " compilingQuery=" + this.statementText
+ " genericQuery=" + st);
//+ (c != null && c.size() > 0 ? " with constants " + c :"");
}
public static String generalizedStatement(String statementText, List<Token> constantTokenList) {
assert constantTokenList != null;
final StringBuilder generalizedStmtStr = new StringBuilder(statementText.length());
// if there are constants, need to generalize the statement.
if (constantTokenList.size() != 0) {
// now that we know there are constants ... lets skip them and
// build the generic version of the statement
int startPos = 0;
for (final Token v : constantTokenList) {
final int beginC = v.beginOffset;
final String str = statementText.substring(startPos, beginC);
startPos = v.endOffset;
generalizedStmtStr.append(str).append(GeneralizedStatement.CONSTANT_PLACEHOLDER); //v.valueImage.getTypeName());
}
final int cLen = statementText.length();
if (startPos < cLen) {
final String str = statementText.substring(startPos, cLen);
generalizedStmtStr.append(str);
}
}
if (GemFireXDUtils.TraceStatementMatching) {
SanityManager.DEBUG_PRINT(GfxdConstants.TRACE_STATEMENT_MATCHING,
"returning generalizedStmt " + generalizedStmtStr.toString());
}
return generalizedStmtStr.toString();
}
}
| {
"content_hash": "6c4c19daa9b4d432c560d44665c6886e",
"timestamp": "",
"source": "github",
"line_count": 338,
"max_line_length": 122,
"avg_line_length": 34.16568047337278,
"alnum_prop": 0.685140284031867,
"repo_name": "SnappyDataInc/snappy-store",
"id": "3c5050ce09e5df115cdcc3d69e376541822e3529",
"size": "12213",
"binary": false,
"copies": "3",
"ref": "refs/heads/snappy/master",
"path": "gemfirexd/core/src/main/java/com/pivotal/gemfirexd/internal/engine/sql/GeneralizedStatement.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "AGS Script",
"bytes": "90653"
},
{
"name": "Assembly",
"bytes": "738033"
},
{
"name": "Batchfile",
"bytes": "23509"
},
{
"name": "C",
"bytes": "298655"
},
{
"name": "C#",
"bytes": "1338285"
},
{
"name": "C++",
"bytes": "784695"
},
{
"name": "CSS",
"bytes": "54987"
},
{
"name": "Gnuplot",
"bytes": "3125"
},
{
"name": "HTML",
"bytes": "8595527"
},
{
"name": "Java",
"bytes": "117988027"
},
{
"name": "JavaScript",
"bytes": "33027"
},
{
"name": "Makefile",
"bytes": "9359"
},
{
"name": "Mathematica",
"bytes": "92588"
},
{
"name": "PHP",
"bytes": "869892"
},
{
"name": "PLSQL",
"bytes": "80858"
},
{
"name": "PLpgSQL",
"bytes": "205179"
},
{
"name": "Pascal",
"bytes": "3707"
},
{
"name": "Pawn",
"bytes": "93609"
},
{
"name": "Perl",
"bytes": "196843"
},
{
"name": "Python",
"bytes": "131049"
},
{
"name": "Ruby",
"bytes": "26443"
},
{
"name": "SQLPL",
"bytes": "47702"
},
{
"name": "Shell",
"bytes": "550962"
},
{
"name": "SourcePawn",
"bytes": "15059"
},
{
"name": "TSQL",
"bytes": "5461819"
},
{
"name": "Thrift",
"bytes": "55057"
},
{
"name": "XSLT",
"bytes": "67112"
},
{
"name": "sed",
"bytes": "6411"
}
],
"symlink_target": ""
} |
namespace org.omg.dds.core
{
/// <summary>
/// A Condition is a root interface for all the conditions that may be
/// attached to a {@link WaitSet}. This basic interface is specialized in the
/// following interfaces that are known by the middleware:
/// {@link GuardCondition}, {@link StatusCondition}, and
/// {@link ReadCondition}.
///
/// A Condition has a triggerValue that can be true or false and is Set
/// automatically by the Service.
/// </summary>
public interface Condition : DDSObject
{
bool GetTriggerValue();
}
} | {
"content_hash": "bf2a944e008e3ec3c1ed271d1163b7f1",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 81,
"avg_line_length": 27,
"alnum_prop": 0.6430976430976431,
"repo_name": "agustinsantos/DOOP.ec",
"id": "8cf8bc2b1e0aec3671954b7b9507151dfaaee1c9",
"size": "1310",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "DDS-RTPS/DDS/omg/dds/core/Condition.cs",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "ANTLR",
"bytes": "14433"
},
{
"name": "C#",
"bytes": "2442512"
},
{
"name": "CSS",
"bytes": "6560"
},
{
"name": "HTML",
"bytes": "224267"
},
{
"name": "Shell",
"bytes": "1019"
}
],
"symlink_target": ""
} |
from kivy.app import App
from kivy.lang import Builder
from kivy.uix.boxlayout import BoxLayout
import time
Builder.load_string('''
<CameraClick>:
orientation: 'vertical'
Camera:
id: camera
resolution: (640, 480)
play: False
ToggleButton:
text: 'Play'
on_press: camera.play = not camera.play
size_hint_y: None
height: '48dp'
Button:
text: 'Capture'
size_hint_y: None
height: '48dp'
on_press: root.capture()
''')
class CameraClick(BoxLayout):
def capture(self):
'''
Function to capture the images and give them the names
according to their captured time and date.
'''
camera = self.ids['camera']
timestr = time.strftime("%Y%m%d_%H%M%S")
camera.export_to_png("IMG_{}.png".format(timestr))
print("Captured")
class TestCamera(App):
def build(self):
return CameraClick()
TestCamera().run()
| {
"content_hash": "bd62e87be38de3f65fc22c544a372d89",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 62,
"avg_line_length": 22.204545454545453,
"alnum_prop": 0.5926305015353122,
"repo_name": "ThomasHangstoerfer/pyHomeCtrl",
"id": "1e5d1f030ef487f5a8c16a40984905085d52689d",
"size": "978",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "kamera.py",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Python",
"bytes": "210017"
}
],
"symlink_target": ""
} |
title: "Linux using docker"
date: 2022-05-03
weight: 2
---
Install docker following the [official documentation](https://docs.docker.com/engine/install/ubuntu/) and the [post installation guide](https://docs.docker.com/engine/install/linux-postinstall/).
Clone lluvia and build the container
```bash
git clone https://github.com/jadarve/lluvia.git
cd lluvia
docker build ci/ --tag="lluvia:local"
```
Run the container, mounting lluvia's repository at `/lluvia`:
```bash
docker run \
--mount type=bind,source="$(pwd)",target=/lluvia \
-it --rm "lluvia:local" /bin/bash
```
Inside the container, build and test all of lluvia package:
```bash
cd lluvia
bazel build //...
bazel test --test_output=errors //...
```
| {
"content_hash": "2a46ee511b8aea10162afe8a5db9e0d7",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 195,
"avg_line_length": 23.419354838709676,
"alnum_prop": 0.7121212121212122,
"repo_name": "jadarve/lluvia",
"id": "7a2494af9069c6606f57cdca887b58fd8f2d6011",
"size": "730",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "doc/site/content/en/docs/gettingstarted/installation/linux_docker.md",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "C",
"bytes": "1736"
},
{
"name": "C++",
"bytes": "481889"
},
{
"name": "Cython",
"bytes": "160284"
},
{
"name": "Dockerfile",
"bytes": "1979"
},
{
"name": "GLSL",
"bytes": "54683"
},
{
"name": "Lua",
"bytes": "120413"
},
{
"name": "Python",
"bytes": "96109"
},
{
"name": "Shell",
"bytes": "1296"
},
{
"name": "Starlark",
"bytes": "57758"
}
],
"symlink_target": ""
} |
using UnityEngine;
using System.Collections;
public class DestroyAfterLoop : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
}
| {
"content_hash": "7111aaf887b4bbd06053de7549191ad6",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 47,
"avg_line_length": 14.2,
"alnum_prop": 0.6901408450704225,
"repo_name": "jounivill/koulujuttu",
"id": "7326fad4377e1d29f02bf56e3f49460b3000d88f",
"size": "215",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "Galaxy Knights/Assets/Scripts/DestroyAfterLoop.cs",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "C#",
"bytes": "13835"
}
],
"symlink_target": ""
} |
class Event
{
private:
const HANDLE handle;
public:
Event(const bool autoReset, const bool signaled = false);
private:
Event(const Event &) : handle(0)
{
}
Event &operator =(const Event &)
{
return *this;
}
public:
~Event()
{
CloseHandle(handle);
}
public:
HANDLE Handle() const
{
return handle;
}
void Set() const
{
SetEvent(handle);
}
void Reset() const
{
ResetEvent(handle);
}
bool Wait(const unsigned int milliseconds = INFINITE) const;
};
| {
"content_hash": "e1dbbc47bfa91d6d490627b0cd1bc7eb",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 64,
"avg_line_length": 13.714285714285714,
"alnum_prop": 0.546875,
"repo_name": "Microsoft/ChakraCore",
"id": "9bb42edeb5c2c002a2975475486372e1a822748a",
"size": "957",
"binary": false,
"copies": "5",
"ref": "refs/heads/master",
"path": "lib/Common/Common/Event.h",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Assembly",
"bytes": "193580"
},
{
"name": "Batchfile",
"bytes": "93189"
},
{
"name": "C",
"bytes": "1675289"
},
{
"name": "C++",
"bytes": "39048437"
},
{
"name": "CMake",
"bytes": "85782"
},
{
"name": "CSS",
"bytes": "1576"
},
{
"name": "Groovy",
"bytes": "19833"
},
{
"name": "JavaScript",
"bytes": "51175952"
},
{
"name": "Objective-C",
"bytes": "2421102"
},
{
"name": "Perl",
"bytes": "29562"
},
{
"name": "PowerShell",
"bytes": "56962"
},
{
"name": "Python",
"bytes": "92280"
},
{
"name": "Roff",
"bytes": "176573"
},
{
"name": "Shell",
"bytes": "57102"
},
{
"name": "WebAssembly",
"bytes": "3117315"
}
],
"symlink_target": ""
} |
package org.pentaho.hadoop.shim.common.delegating;
import org.pentaho.hadoop.shim.ShimVersion;
import org.pentaho.hadoop.shim.api.Configuration;
import org.pentaho.hadoop.shim.common.authorization.HadoopAuthorizationService;
import org.pentaho.hadoop.shim.common.authorization.HasHadoopAuthorizationService;
import org.pentaho.hadoop.shim.spi.PigShim;
import java.net.URL;
import java.util.List;
import java.util.Properties;
public class DelegatingPigShim implements PigShim, HasHadoopAuthorizationService {
private PigShim delegate;
@Override
public void setHadoopAuthorizationService( HadoopAuthorizationService hadoopAuthorizationService ) {
delegate = hadoopAuthorizationService.getShim( PigShim.class );
}
@Override
public ShimVersion getVersion() {
return delegate.getVersion();
}
@Override
public boolean isLocalExecutionSupported() {
return delegate.isLocalExecutionSupported();
}
@Override
public void configure( Properties properties, Configuration configuration ) {
delegate.configure( properties, configuration );
}
@Override
public String substituteParameters( URL pigScript, List<String> paramList ) throws Exception {
return delegate.substituteParameters( pigScript, paramList );
}
@Override
public int[] executeScript( String pigScript, ExecutionMode mode, Properties properties ) throws Exception {
return delegate.executeScript( pigScript, mode, properties );
}
}
| {
"content_hash": "1763b48df3a1fb9a790fab4a80572ea6",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 110,
"avg_line_length": 29.73469387755102,
"alnum_prop": 0.7899794097460535,
"repo_name": "SergeyTravin/pentaho-hadoop-shims",
"id": "be495ec0212bbf5a2a8ee0d3d7a293e49b66cf4d",
"size": "2339",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "common/modern/src/main/java/org/pentaho/hadoop/shim/common/delegating/DelegatingPigShim.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Java",
"bytes": "1571854"
}
],
"symlink_target": ""
} |
namespace doris
{
SchemaScanner::ColumnDesc SchemaTablesScanner::_s_tbls_columns[] = {
// name, type, size, is_null
{ "TABLE_CATALOG", TYPE_VARCHAR, sizeof(StringValue), true},
{ "TABLE_SCHEMA", TYPE_VARCHAR, sizeof(StringValue), false},
{ "TABLE_NAME", TYPE_VARCHAR, sizeof(StringValue), false},
{ "TABLE_TYPE", TYPE_VARCHAR, sizeof(StringValue), false},
{ "ENGINE", TYPE_VARCHAR, sizeof(StringValue), true},
{ "VERSION", TYPE_BIGINT, sizeof(int64_t), true},
{ "ROW_FORMAT", TYPE_VARCHAR, sizeof(StringValue), true},
{ "TABLE_ROWS", TYPE_BIGINT, sizeof(int64_t), true},
{ "AVG_ROW_LENGTH", TYPE_BIGINT, sizeof(int64_t), true},
{ "DATA_LENGTH", TYPE_BIGINT, sizeof(int64_t), true},
{ "MAX_DATA_LENGTH", TYPE_BIGINT, sizeof(int64_t), true},
{ "INDEX_LENGTH", TYPE_BIGINT, sizeof(int64_t), true},
{ "DATA_FREE", TYPE_BIGINT, sizeof(int64_t), true},
{ "AUTO_INCREMENT", TYPE_BIGINT, sizeof(int64_t), true},
{ "CREATE_TIME", TYPE_DATETIME, sizeof(DateTimeValue), true},
{ "UPDATE_TIME", TYPE_DATETIME, sizeof(DateTimeValue), true},
{ "CHECK_TIME", TYPE_DATETIME, sizeof(DateTimeValue), true},
{ "TABLE_COLLATION", TYPE_VARCHAR, sizeof(StringValue), true},
{ "CHECKSUM", TYPE_BIGINT, sizeof(int64_t), true},
{ "CREATE_OPTIONS", TYPE_VARCHAR, sizeof(StringValue), true},
{ "TABLE_COMMENT", TYPE_VARCHAR, sizeof(StringValue), false},
};
SchemaTablesScanner::SchemaTablesScanner()
: SchemaScanner(_s_tbls_columns,
sizeof(_s_tbls_columns) / sizeof(SchemaScanner::ColumnDesc)),
_db_index(0),
_table_index(0) {
}
SchemaTablesScanner::~SchemaTablesScanner() {
}
Status SchemaTablesScanner::start(RuntimeState *state) {
if (!_is_init) {
return Status::InternalError("used before initialized.");
}
TGetDbsParams db_params;
if (NULL != _param->db) {
db_params.__set_pattern(*(_param->db));
}
if (NULL != _param->user) {
db_params.__set_user(*(_param->user));
}
if (NULL != _param->user_ip) {
db_params.__set_user_ip(*(_param->user_ip));
}
if (NULL != _param->ip && 0 != _param->port) {
RETURN_IF_ERROR(SchemaHelper::get_db_names(*(_param->ip),
_param->port, db_params, &_db_result));
} else {
return Status::InternalError("IP or port dosn't exists");
}
return Status::OK();
}
Status SchemaTablesScanner::fill_one_row(Tuple *tuple, MemPool *pool) {
// set all bit to not null
memset((void *)tuple, 0, _tuple_desc->num_null_bytes());
const TTableStatus& tbl_status = _table_result.tables[_table_index];
// catalog
{
tuple->set_null(_tuple_desc->slots()[0]->null_indicator_offset());
}
// schema
{
void *slot = tuple->get_slot(_tuple_desc->slots()[1]->tuple_offset());
StringValue* str_slot = reinterpret_cast<StringValue*>(slot);
std::string db_name = SchemaHelper::extract_db_name(_db_result.dbs[_db_index - 1]);
str_slot->ptr = (char *)pool->allocate(db_name.size());
str_slot->len = db_name.size();
memcpy(str_slot->ptr, db_name.c_str(), str_slot->len);
}
// name
{
void *slot = tuple->get_slot(_tuple_desc->slots()[2]->tuple_offset());
StringValue* str_slot = reinterpret_cast<StringValue*>(slot);
const std::string* src = &tbl_status.name;
str_slot->len = src->length();
str_slot->ptr = (char *)pool->allocate(str_slot->len);
if (NULL == str_slot->ptr) {
return Status::InternalError("Allocate memcpy failed.");
}
memcpy(str_slot->ptr, src->c_str(), str_slot->len);
}
// type
{
void *slot = tuple->get_slot(_tuple_desc->slots()[3]->tuple_offset());
StringValue* str_slot = reinterpret_cast<StringValue*>(slot);
const std::string* src = &tbl_status.type;
str_slot->len = src->length();
str_slot->ptr = (char *)pool->allocate(str_slot->len);
if (NULL == str_slot->ptr) {
return Status::InternalError("Allocate memcpy failed.");
}
memcpy(str_slot->ptr, src->c_str(), str_slot->len);
}
// engine
if (tbl_status.__isset.engine) {
void *slot = tuple->get_slot(_tuple_desc->slots()[4]->tuple_offset());
StringValue* str_slot = reinterpret_cast<StringValue*>(slot);
const std::string* src = &tbl_status.engine;
str_slot->len = src->length();
str_slot->ptr = (char *)pool->allocate(str_slot->len);
if (NULL == str_slot->ptr) {
return Status::InternalError("Allocate memcpy failed.");
}
memcpy(str_slot->ptr, src->c_str(), str_slot->len);
} else {
tuple->set_null(_tuple_desc->slots()[4]->null_indicator_offset());
}
// version
{
tuple->set_null(_tuple_desc->slots()[5]->null_indicator_offset());
}
// row_format
{
tuple->set_null(_tuple_desc->slots()[6]->null_indicator_offset());
}
// rows
{
tuple->set_null(_tuple_desc->slots()[7]->null_indicator_offset());
}
// avg_row_length
{
tuple->set_null(_tuple_desc->slots()[8]->null_indicator_offset());
}
// data_length
{
tuple->set_null(_tuple_desc->slots()[9]->null_indicator_offset());
}
// max_data_length
{
tuple->set_null(_tuple_desc->slots()[10]->null_indicator_offset());
}
// index_length
{
tuple->set_null(_tuple_desc->slots()[11]->null_indicator_offset());
}
// data_free
{
tuple->set_null(_tuple_desc->slots()[12]->null_indicator_offset());
}
// auto_increment
{
tuple->set_null(_tuple_desc->slots()[13]->null_indicator_offset());
}
// creation_time
{
tuple->set_null(_tuple_desc->slots()[14]->null_indicator_offset());
}
// update_time
{
tuple->set_null(_tuple_desc->slots()[15]->null_indicator_offset());
}
// check_time
{
tuple->set_null(_tuple_desc->slots()[16]->null_indicator_offset());
}
// collation
{
tuple->set_null(_tuple_desc->slots()[17]->null_indicator_offset());
}
// checksum
{
tuple->set_null(_tuple_desc->slots()[18]->null_indicator_offset());
}
// create_options
{
tuple->set_null(_tuple_desc->slots()[19]->null_indicator_offset());
}
// create_comment
{
void *slot = tuple->get_slot(_tuple_desc->slots()[20]->tuple_offset());
StringValue* str_slot = reinterpret_cast<StringValue*>(slot);
const std::string* src = &tbl_status.comment;
str_slot->len = src->length();
if (str_slot->len == 0) {
str_slot->ptr = nullptr;
} else {
str_slot->ptr = (char *)pool->allocate(str_slot->len);
if (NULL == str_slot->ptr) {
return Status::InternalError("Allocate memcpy failed.");
}
memcpy(str_slot->ptr, src->c_str(), str_slot->len);
}
}
_table_index++;
return Status::OK();
}
Status SchemaTablesScanner::get_new_table() {
TGetTablesParams table_params;
table_params.__set_db(_db_result.dbs[_db_index++]);
if (NULL != _param->wild) {
table_params.__set_pattern(*(_param->wild));
}
if (NULL != _param->user) {
table_params.__set_user(*(_param->user));
}
if (NULL != _param->user_ip) {
table_params.__set_user_ip(*(_param->user_ip));
}
if (NULL != _param->ip && 0 != _param->port) {
RETURN_IF_ERROR(SchemaHelper::list_table_status(*(_param->ip),
_param->port, table_params, &_table_result));
} else {
return Status::InternalError("IP or port dosn't exists");
}
_table_index = 0;
return Status::OK();
}
Status SchemaTablesScanner::get_next_row(Tuple *tuple, MemPool *pool, bool *eos) {
if (!_is_init) {
return Status::InternalError("Used before initialized.");
}
if (NULL == tuple || NULL == pool || NULL == eos) {
return Status::InternalError("input pointer is NULL.");
}
while (_table_index >= _table_result.tables.size()) {
if (_db_index < _db_result.dbs.size()) {
RETURN_IF_ERROR(get_new_table());
} else {
*eos = true;
return Status::OK();
}
}
*eos = false;
return fill_one_row(tuple, pool);
}
}
| {
"content_hash": "361f54364ee871e5ebc07a9e96201621",
"timestamp": "",
"source": "github",
"line_count": 240,
"max_line_length": 91,
"avg_line_length": 35.3875,
"alnum_prop": 0.5651713175556341,
"repo_name": "imay/palo",
"id": "034d514174ad1c3373ab00ce71ff545d52b95cb1",
"size": "9504",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "be/src/exec/schema_scanner/schema_tables_scanner.cpp",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "C",
"bytes": "439083"
},
{
"name": "C++",
"bytes": "9302365"
},
{
"name": "CMake",
"bytes": "59781"
},
{
"name": "CSS",
"bytes": "3843"
},
{
"name": "Java",
"bytes": "6067362"
},
{
"name": "JavaScript",
"bytes": "383133"
},
{
"name": "Lex",
"bytes": "28991"
},
{
"name": "Makefile",
"bytes": "9065"
},
{
"name": "Protocol Buffer",
"bytes": "6901"
},
{
"name": "Python",
"bytes": "124344"
},
{
"name": "Shell",
"bytes": "31602"
},
{
"name": "Thrift",
"bytes": "168000"
},
{
"name": "Yacc",
"bytes": "96795"
}
],
"symlink_target": ""
} |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "48207f2936884800dfc5df49daf3c317",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "cbfd3fa659b97006460b99be99f8d37e10b56ed6",
"size": "181",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "life/Plantae/Chlorophyta/Ulvophyceae/Cladophorales/Cladophoraceae/Cladophora/Cladophora glomerata/ Syn. Conferva strepens/README.md",
"mode": "33188",
"license": "apache-2.0",
"language": [],
"symlink_target": ""
} |
package com.github.leeyazhou.scf.server.util;
import java.security.MessageDigest;
import com.github.leeyazhou.scf.core.util.Base64Util;
import com.github.leeyazhou.scf.core.util.CharEncoding;
/**
* Java 消息摘要算法(MD2,MD5,SHA) 128位
*
*/
public abstract class MDCodeUtil {
/**
* MD2 消息摘要
*
* @param data 待做摘要处理的数据
* @return byte [] 消息摘要
* @throws Exception
*/
public static byte[] encodeMD2(byte[] data) throws Exception {
// 初始化MessageDigest
MessageDigest md = MessageDigest.getInstance("MD2");
// 执行消息摘要
return md.digest(data);
}
/**
* MD2 消息摘要
*
* @param data 待做摘要处理的数据
* @return String 消息摘要
* @throws Exception
*/
public static String encodeMD2(String data) throws Exception {
return Base64Util.encodeBase64String(encodeMD2(data.getBytes(CharEncoding.UTF_8)));
}
/**
* MD5 消息摘要
*
* @param data 待做摘要处理的数据
* @return byte [] 消息摘要
* @throws Exception
*/
public static byte[] encodeMD5(byte[] data) throws Exception {
// 初始化MessageDigest
MessageDigest md = MessageDigest.getInstance("MD5");
// 执行消息摘要
return md.digest(data);
}
/**
* MD5 消息摘要
*
* @param data 待做摘要处理的数据
* @return String 消息摘要
* @throws Exception
*/
public static String encodeMD5(String data) throws Exception {
return Base64Util.encodeBase64String(encodeMD5(data.getBytes(CharEncoding.UTF_8)));
}
/**
* SHA-1 消息摘要
*
* @param data 待做摘要处理的数据
* @return byte [] 消息摘要
* @throws Exception
*/
public static byte[] encodeSHA(byte[] data) throws Exception {
// 初始化MessageDigest
MessageDigest md = MessageDigest.getInstance("SHA");
// 执行消息摘要
return md.digest(data);
}
/**
* SHA-1 消息摘要
*
* @param data 待做摘要处理的数据
* @return String 消息摘要
* @throws Exception
*/
public static String encodeSHA(String data) throws Exception {
return Base64Util.encodeBase64String(encodeSHA(data.getBytes(CharEncoding.UTF_8)));
}
/**
* SHA-256 消息摘要
*
* @param data 待做摘要处理的数据
* @return byte [] 消息摘要
* @throws Exception
*/
public static byte[] encodeSHA256(byte[] data) throws Exception {
// 初始化MessageDigest
MessageDigest md = MessageDigest.getInstance("SHA-256");
// 执行消息摘要
return md.digest(data);
}
/**
* SHA-256 消息摘要
*
* @param data 待做摘要处理的数据
* @return String 消息摘要
* @throws Exception
*/
public static String encodeSHA256(String data) throws Exception {
return Base64Util.encodeBase64URLSafeString(encodeSHA256(data.getBytes(CharEncoding.UTF_8)));
}
/**
* SHA-384 消息摘要
*
* @param data 待做摘要处理的数据
* @return byte [] 消息摘要
* @throws Exception
*/
public static byte[] encodeSHA384(byte[] data) throws Exception {
// 初始化MessageDigest
MessageDigest md = MessageDigest.getInstance("SHA-384");
// 执行消息摘要
return md.digest(data);
}
/**
* SHA-384 消息摘要
*
* @param data 待做摘要处理的数据
* @return String 消息摘要
* @throws Exception
*/
public static String encodeSHA384(String data) throws Exception {
return Base64Util.encodeBase64String(encodeSHA384(data.getBytes(CharEncoding.UTF_8)));
}
/**
* SHA-512 消息摘要
*
* @param data 待做摘要处理的数据
* @return byte [] 消息摘要
* @throws Exception
*/
public static byte[] encodeSHA512(byte[] data) throws Exception {
// 初始化MessageDigest
MessageDigest md = MessageDigest.getInstance("SHA-512");
// 执行消息摘要
return md.digest(data);
}
/**
* SHA-512 消息摘要
*
* @param data 待做摘要处理的数据
* @return String 消息摘要
* @throws Exception
*/
public static String encodeSHA512(String data) throws Exception {
return Base64Util.encodeBase64String(encodeSHA512(data.getBytes(CharEncoding.UTF_8)));
}
}
| {
"content_hash": "7df136a0de9fab0d43b87fb4bd0ad869",
"timestamp": "",
"source": "github",
"line_count": 161,
"max_line_length": 97,
"avg_line_length": 23.26086956521739,
"alnum_prop": 0.6552736982643524,
"repo_name": "liyzhou/iscoder.rpc",
"id": "5e0accacc540f64bfa86af195dc12e6c6cc98e8a",
"size": "4275",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "scf-server/src/main/java/com/github/leeyazhou/scf/server/util/MDCodeUtil.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Batchfile",
"bytes": "4508"
},
{
"name": "Java",
"bytes": "687158"
},
{
"name": "Shell",
"bytes": "128538"
}
],
"symlink_target": ""
} |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class Revisions_extension extends ExtensionBase
{
/**
* @ignore
* This MUST be defined in order to get the in-scope extensions variables
*/
function __construct($ro_pointer)
{
parent::__construct($ro_pointer);
}
function getAllRevisions()
{
//date_default_timezone_set('GMT');
$this->db->where(array('registry_object_id' => $this->ro->id, 'scheme'=>RIFCS_SCHEME));
$this->db->order_by('timestamp', 'desc');
$this->db->select('*')->from('record_data');
$result = $this->db->get();
$revisions = array();
foreach($result->result_array() AS $r)
{
$time = date("F j, Y, g:i a", $r['timestamp']);
if($r['current'] === 'TRUE') $r['current'] = ' (current version)';
else $r['current'] = '';
$revisions[$time] = $r;
}
$result->free_result();
return $revisions;
}
function getRevision($revision_id)
{
//date_default_timezone_set('GMT');
$this->db->where(array('registry_object_id' => $this->ro->id, 'id'=>$revision_id, 'scheme'=>RIFCS_SCHEME));
$this->db->select('*')->from('record_data');
$revision = $this->db->get();
return $revision->result_array();
}
} | {
"content_hash": "78a8512aa79f3401ff8eb8cce92996c5",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 109,
"avg_line_length": 27.113636363636363,
"alnum_prop": 0.6110645431684828,
"repo_name": "au-research/ANDS-ResearchData-Registry",
"id": "e3390f3adedae5c18304768ee0bc7b13c13651cd",
"size": "1193",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "applications/registry/registry_object/models/extensions/revisions.php",
"mode": "33261",
"license": "apache-2.0",
"language": [
{
"name": "Blade",
"bytes": "492990"
},
{
"name": "CSS",
"bytes": "2362316"
},
{
"name": "HTML",
"bytes": "185216"
},
{
"name": "Hack",
"bytes": "8122"
},
{
"name": "JavaScript",
"bytes": "6985956"
},
{
"name": "Less",
"bytes": "112602"
},
{
"name": "PHP",
"bytes": "6567187"
},
{
"name": "Puppet",
"bytes": "14384"
},
{
"name": "Python",
"bytes": "152498"
},
{
"name": "SCSS",
"bytes": "52939"
},
{
"name": "Shell",
"bytes": "3934"
},
{
"name": "Smarty",
"bytes": "2395"
},
{
"name": "XSLT",
"bytes": "286526"
}
],
"symlink_target": ""
} |
#pragma once
#include <aws/connect/Connect_EXPORTS.h>
#include <aws/connect/ConnectRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Http
{
class URI;
} //namespace Http
namespace Connect
{
namespace Model
{
/**
* <p>Provides summary information about the use cases for the specified
* integration association.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListUseCasesRequest">AWS
* API Reference</a></p>
*/
class AWS_CONNECT_API ListUseCasesRequest : public ConnectRequest
{
public:
ListUseCasesRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "ListUseCases"; }
Aws::String SerializePayload() const override;
void AddQueryStringParameters(Aws::Http::URI& uri) const override;
/**
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in
* the ARN of the instance.</p>
*/
inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
/**
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in
* the ARN of the instance.</p>
*/
inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
/**
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in
* the ARN of the instance.</p>
*/
inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
/**
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in
* the ARN of the instance.</p>
*/
inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
/**
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in
* the ARN of the instance.</p>
*/
inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
/**
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in
* the ARN of the instance.</p>
*/
inline ListUseCasesRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
/**
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in
* the ARN of the instance.</p>
*/
inline ListUseCasesRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
/**
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in
* the ARN of the instance.</p>
*/
inline ListUseCasesRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
/**
* <p>The identifier for the integration association.</p>
*/
inline const Aws::String& GetIntegrationAssociationId() const{ return m_integrationAssociationId; }
/**
* <p>The identifier for the integration association.</p>
*/
inline bool IntegrationAssociationIdHasBeenSet() const { return m_integrationAssociationIdHasBeenSet; }
/**
* <p>The identifier for the integration association.</p>
*/
inline void SetIntegrationAssociationId(const Aws::String& value) { m_integrationAssociationIdHasBeenSet = true; m_integrationAssociationId = value; }
/**
* <p>The identifier for the integration association.</p>
*/
inline void SetIntegrationAssociationId(Aws::String&& value) { m_integrationAssociationIdHasBeenSet = true; m_integrationAssociationId = std::move(value); }
/**
* <p>The identifier for the integration association.</p>
*/
inline void SetIntegrationAssociationId(const char* value) { m_integrationAssociationIdHasBeenSet = true; m_integrationAssociationId.assign(value); }
/**
* <p>The identifier for the integration association.</p>
*/
inline ListUseCasesRequest& WithIntegrationAssociationId(const Aws::String& value) { SetIntegrationAssociationId(value); return *this;}
/**
* <p>The identifier for the integration association.</p>
*/
inline ListUseCasesRequest& WithIntegrationAssociationId(Aws::String&& value) { SetIntegrationAssociationId(std::move(value)); return *this;}
/**
* <p>The identifier for the integration association.</p>
*/
inline ListUseCasesRequest& WithIntegrationAssociationId(const char* value) { SetIntegrationAssociationId(value); return *this;}
/**
* <p>The token for the next set of results. Use the value returned in the previous
* response in the next request to retrieve the next set of results.</p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>The token for the next set of results. Use the value returned in the previous
* response in the next request to retrieve the next set of results.</p>
*/
inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
/**
* <p>The token for the next set of results. Use the value returned in the previous
* response in the next request to retrieve the next set of results.</p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
/**
* <p>The token for the next set of results. Use the value returned in the previous
* response in the next request to retrieve the next set of results.</p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
/**
* <p>The token for the next set of results. Use the value returned in the previous
* response in the next request to retrieve the next set of results.</p>
*/
inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
/**
* <p>The token for the next set of results. Use the value returned in the previous
* response in the next request to retrieve the next set of results.</p>
*/
inline ListUseCasesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>The token for the next set of results. Use the value returned in the previous
* response in the next request to retrieve the next set of results.</p>
*/
inline ListUseCasesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>The token for the next set of results. Use the value returned in the previous
* response in the next request to retrieve the next set of results.</p>
*/
inline ListUseCasesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
/**
* <p>The maximum number of results to return per page.</p>
*/
inline int GetMaxResults() const{ return m_maxResults; }
/**
* <p>The maximum number of results to return per page.</p>
*/
inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
/**
* <p>The maximum number of results to return per page.</p>
*/
inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
/**
* <p>The maximum number of results to return per page.</p>
*/
inline ListUseCasesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
private:
Aws::String m_instanceId;
bool m_instanceIdHasBeenSet = false;
Aws::String m_integrationAssociationId;
bool m_integrationAssociationIdHasBeenSet = false;
Aws::String m_nextToken;
bool m_nextTokenHasBeenSet = false;
int m_maxResults;
bool m_maxResultsHasBeenSet = false;
};
} // namespace Model
} // namespace Connect
} // namespace Aws
| {
"content_hash": "5d5b12d51f97bcc506b5ecd1f7041502",
"timestamp": "",
"source": "github",
"line_count": 218,
"max_line_length": 160,
"avg_line_length": 37.78440366972477,
"alnum_prop": 0.6864149569017847,
"repo_name": "aws/aws-sdk-cpp",
"id": "5542699d663e7e7f34b338cc5aa35a81f03eed40",
"size": "8356",
"binary": false,
"copies": "1",
"ref": "refs/heads/main",
"path": "aws-cpp-sdk-connect/include/aws/connect/model/ListUseCasesRequest.h",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "C",
"bytes": "309797"
},
{
"name": "C++",
"bytes": "476866144"
},
{
"name": "CMake",
"bytes": "1245180"
},
{
"name": "Dockerfile",
"bytes": "11688"
},
{
"name": "HTML",
"bytes": "8056"
},
{
"name": "Java",
"bytes": "413602"
},
{
"name": "Python",
"bytes": "79245"
},
{
"name": "Shell",
"bytes": "9246"
}
],
"symlink_target": ""
} |
/**
由TestWorkerScrpt.qml调用
*/
WorkerScript.onMessage = function(message) {
// ... long-running operations and calculations are done here
WorkerScript.sendMessage({ 'reply': 'Mouse is at ' + message.x + ',' + message.y })
}
| {
"content_hash": "5ecaca1410badf095e96a1ddf63096f5",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 87,
"avg_line_length": 33,
"alnum_prop": 0.6796536796536796,
"repo_name": "surfsky/QmlExplorer",
"id": "7e24b73c30a92506f4685098537c16e6cc93fbc8",
"size": "237",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "QmlExplorer/Test/Common/Thread/workscript.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "C++",
"bytes": "88426"
},
{
"name": "GLSL",
"bytes": "68275"
},
{
"name": "JavaScript",
"bytes": "843220"
},
{
"name": "QML",
"bytes": "1534095"
},
{
"name": "QMake",
"bytes": "6631"
}
],
"symlink_target": ""
} |
package ast
import (
"github.com/elliotchance/c2go/util"
)
// FormatAttr is a type of attribute that is optionally attached to a variable
// or struct field definition.
type FormatAttr struct {
Addr Address
Pos Position
Implicit bool
Inherited bool
FunctionName string
Unknown1 int
Unknown2 int
ChildNodes []Node
}
func parseFormatAttr(line string) *FormatAttr {
groups := groupsFromRegex(
`<(?P<position>.*)>
(?P<implicit> Implicit)?
(?P<inherited> Inherited)?
(?P<function>\w+)
(?P<unknown1>\d+)
(?P<unknown2>\d+)`,
line,
)
return &FormatAttr{
Addr: ParseAddress(groups["address"]),
Pos: NewPositionFromString(groups["position"]),
Implicit: len(groups["implicit"]) > 0,
Inherited: len(groups["inherited"]) > 0,
FunctionName: groups["function"],
Unknown1: util.Atoi(groups["unknown1"]),
Unknown2: util.Atoi(groups["unknown2"]),
ChildNodes: []Node{},
}
}
// AddChild adds a new child node. Child nodes can then be accessed with the
// Children attribute.
func (n *FormatAttr) AddChild(node Node) {
n.ChildNodes = append(n.ChildNodes, node)
}
// Address returns the numeric address of the node. See the documentation for
// the Address type for more information.
func (n *FormatAttr) Address() Address {
return n.Addr
}
// Children returns the child nodes. If this node does not have any children or
// this node does not support children it will always return an empty slice.
func (n *FormatAttr) Children() []Node {
return n.ChildNodes
}
// Position returns the position in the original source code.
func (n *FormatAttr) Position() Position {
return n.Pos
}
| {
"content_hash": "32558a7e6ba16d42646659e0a09b4395",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 79,
"avg_line_length": 26.328125,
"alnum_prop": 0.686646884272997,
"repo_name": "elliotchance/c2go",
"id": "35e336de9718de416ed1de9c224b94e1ab72b7c7",
"size": "1685",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "ast/format_attr.go",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Go",
"bytes": "720246"
},
{
"name": "Shell",
"bytes": "5540"
}
],
"symlink_target": ""
} |
package com.sade.controllers;
import com.sade.model.Atividade;
import com.sade.service.AtividadeService;
import java.util.List;
/**
* @author jullianonascimento
*/
public class AtividadeController {
public Atividade save(Atividade atividade) {
return new AtividadeService().save(atividade);
}
public Atividade update(Atividade atividade) {
return new AtividadeService().update(atividade);
}
public boolean delete(Atividade atividade) {
return new AtividadeService().delete(atividade);
}
public List<Atividade> list() {
return new AtividadeService().list();
}
public Atividade get(Long idAtividade) {
return new AtividadeService().get(idAtividade);
}
}
| {
"content_hash": "c2efd176d0cbe5d2ec581e65881d3415",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 50,
"avg_line_length": 18.105263157894736,
"alnum_prop": 0.748546511627907,
"repo_name": "infufg/SADE",
"id": "3f9203896d2d0ad4246e633b1d501d71707ea666",
"size": "688",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/main/java/com/sade/controllers/AtividadeController.java",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "713"
},
{
"name": "Groovy",
"bytes": "1978"
},
{
"name": "Java",
"bytes": "36018"
}
],
"symlink_target": ""
} |
**<code>POST</code>** /ingest/new
#### Body
```ruby
{type: 'rtmp', token: 'your_token'}
```
#### Return
```ruby
{ingest_point: "rtmp://streamblox.host:1935/ingest-point-name", status: "success"}
```
#### Example
```shell
$ curl --data "type=rtmp&token=aBUjh123" http://streamblox.com/ingest/new
{ingest_point: "rtmp://streamblox.com:1935/aHUASb1231hs", status: "success"}
```
## Remove ingest point
**<code>DELETE</code>** /ingest/ingest-point-name
#### Return
```ruby
{status: "success"}
```
#### Example
```shell
$ curl -x DELETE http://streamblox.com/ingest/aHUASb1231hs
{status: "success"}
```
## List ingest points
**<code>GET</code>** /ingest
#### Return
```ruby
{status: "success", rtmp: ["ingest-point-name-a", "ingest-point-name-b"]}
```
#### Example
```shell
$ curl http://streamblox.com/ingest
{status: "success", rtmp: ["aHUAas12hs", "aHUASb1231hs"]}
```
| {
"content_hash": "74763c63903d1fdf26aa14f4639c386b",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 82,
"avg_line_length": 18.74468085106383,
"alnum_prop": 0.637911464245176,
"repo_name": "flavioribeiro/streamblox",
"id": "e08c23797738bfb28eddd561e3aee826711e7123",
"size": "919",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "SCHEME.md",
"mode": "33188",
"license": "apache-2.0",
"language": [],
"symlink_target": ""
} |
package cloudwf
//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 writing, software
//distributed under the License is distributed on an "AS IS" BASIS,
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//See the License for the specific language governing permissions and
//limitations under the License.
//
// Code generated by Alibaba Cloud SDK Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
import (
"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
)
// ShopGroupDelete invokes the cloudwf.ShopGroupDelete API synchronously
// api document: https://help.aliyun.com/api/cloudwf/shopgroupdelete.html
func (client *Client) ShopGroupDelete(request *ShopGroupDeleteRequest) (response *ShopGroupDeleteResponse, err error) {
response = CreateShopGroupDeleteResponse()
err = client.DoAction(request, response)
return
}
// ShopGroupDeleteWithChan invokes the cloudwf.ShopGroupDelete API asynchronously
// api document: https://help.aliyun.com/api/cloudwf/shopgroupdelete.html
// asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (client *Client) ShopGroupDeleteWithChan(request *ShopGroupDeleteRequest) (<-chan *ShopGroupDeleteResponse, <-chan error) {
responseChan := make(chan *ShopGroupDeleteResponse, 1)
errChan := make(chan error, 1)
err := client.AddAsyncTask(func() {
defer close(responseChan)
defer close(errChan)
response, err := client.ShopGroupDelete(request)
if err != nil {
errChan <- err
} else {
responseChan <- response
}
})
if err != nil {
errChan <- err
close(responseChan)
close(errChan)
}
return responseChan, errChan
}
// ShopGroupDeleteWithCallback invokes the cloudwf.ShopGroupDelete API asynchronously
// api document: https://help.aliyun.com/api/cloudwf/shopgroupdelete.html
// asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (client *Client) ShopGroupDeleteWithCallback(request *ShopGroupDeleteRequest, callback func(response *ShopGroupDeleteResponse, err error)) <-chan int {
result := make(chan int, 1)
err := client.AddAsyncTask(func() {
var response *ShopGroupDeleteResponse
var err error
defer close(result)
response, err = client.ShopGroupDelete(request)
callback(response, err)
result <- 1
})
if err != nil {
defer close(result)
callback(nil, err)
result <- 0
}
return result
}
// ShopGroupDeleteRequest is the request struct for api ShopGroupDelete
type ShopGroupDeleteRequest struct {
*requests.RpcRequest
Gid requests.Integer `position:"Query" name:"Gid"`
}
// ShopGroupDeleteResponse is the response struct for api ShopGroupDelete
type ShopGroupDeleteResponse struct {
*responses.BaseResponse
Success bool `json:"Success" xml:"Success"`
Data string `json:"Data" xml:"Data"`
ErrorCode int `json:"ErrorCode" xml:"ErrorCode"`
ErrorMsg string `json:"ErrorMsg" xml:"ErrorMsg"`
}
// CreateShopGroupDeleteRequest creates a request to invoke ShopGroupDelete API
func CreateShopGroupDeleteRequest() (request *ShopGroupDeleteRequest) {
request = &ShopGroupDeleteRequest{
RpcRequest: &requests.RpcRequest{},
}
request.InitWithApiInfo("cloudwf", "2017-03-28", "ShopGroupDelete", "cloudwf", "openAPI")
return
}
// CreateShopGroupDeleteResponse creates a response to parse from ShopGroupDelete response
func CreateShopGroupDeleteResponse() (response *ShopGroupDeleteResponse) {
response = &ShopGroupDeleteResponse{
BaseResponse: &responses.BaseResponse{},
}
return
}
| {
"content_hash": "7bbc8a3f6a1597d50f05cb65f818a3df",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 156,
"avg_line_length": 35.95283018867924,
"alnum_prop": 0.7675150879034374,
"repo_name": "aliyun/alibaba-cloud-sdk-go",
"id": "ebe98729aff2a74f95f521fff0d09e919a13a508",
"size": "3811",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "services/cloudwf/shop_group_delete.go",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Go",
"bytes": "734307"
},
{
"name": "Makefile",
"bytes": "183"
}
],
"symlink_target": ""
} |
export default {
welcome: 'Velkommen',
};
| {
"content_hash": "aef9a285093d1c56ea2ab650dd314e51",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 23,
"avg_line_length": 14.666666666666666,
"alnum_prop": 0.6590909090909091,
"repo_name": "tabulatech/tabula-web",
"id": "8aef13e379e9186d0b8688e64f7bc9827742a512",
"size": "44",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/lang/no.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "8740"
},
{
"name": "JavaScript",
"bytes": "63275"
}
],
"symlink_target": ""
} |
package com.google.common.reflect;
import static org.junit.contrib.truth.Truth.ASSERT;
import com.google.common.base.Predicate;
import com.google.common.base.Supplier;
import junit.framework.TestCase;
import java.lang.reflect.GenericArrayType;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import java.lang.reflect.TypeVariable;
import java.lang.reflect.WildcardType;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
/**
* Unit test for {@link TypeToken} and {@link TypeResolver}.
*
* @author Ben Yu
*/
public class TypeTokenResolutionTest extends TestCase {
private static class Foo<A, B> {
Class<? super A> getClassA() {
return new TypeToken<A>(getClass()) {}.getRawType();
}
Class<? super B> getClassB() {
return new TypeToken<B>(getClass()) {}.getRawType();
}
Class<? super A[]> getArrayClassA() {
return new TypeToken<A[]>(getClass()) {}.getRawType();
}
Type getArrayTypeA() {
return new TypeToken<A[]>(getClass()) {}.getType();
}
Class<? super B[]> getArrayClassB() {
return new TypeToken<B[]>(getClass()) {}.getRawType();
}
}
public void testSimpleTypeToken() {
Foo<String, Integer> foo = new Foo<String, Integer>() {};
assertEquals(String.class, foo.getClassA());
assertEquals(Integer.class, foo.getClassB());
assertEquals(String[].class, foo.getArrayClassA());
assertEquals(Integer[].class, foo.getArrayClassB());
}
public void testCompositeTypeToken() {
Foo<String[], List<int[]>> foo = new Foo<String[], List<int[]>>() {};
assertEquals(String[].class, foo.getClassA());
assertEquals(List.class, foo.getClassB());
assertEquals(String[][].class, foo.getArrayClassA());
assertEquals(List[].class, foo.getArrayClassB());
}
private static class StringFoo<T> extends Foo<String, T> {}
public void testPartialSpecialization() {
StringFoo<Integer> foo = new StringFoo<Integer>() {};
assertEquals(String.class, foo.getClassA());
assertEquals(Integer.class, foo.getClassB());
assertEquals(String[].class, foo.getArrayClassA());
assertEquals(Integer[].class, foo.getArrayClassB());
assertEquals(new TypeToken<String[]>() {}.getType(), foo.getArrayTypeA());
}
public void testTypeArgNotFound() {
StringFoo<Integer> foo = new StringFoo<Integer>();
assertEquals(String.class, foo.getClassA());
assertEquals(String[].class, foo.getArrayClassA());
assertEquals(Object.class, foo.getClassB());
assertEquals(Object[].class, foo.getArrayClassB());
}
private static abstract class Bar<T> {}
private abstract static class Parameterized<O, T, P> {
ParameterizedType parameterizedType() {
return new ParameterizedType() {
@Override public Type[] getActualTypeArguments() {
return new Type[]{new TypeCapture<P>() {}.capture()};
}
@Override public Type getOwnerType() {
return new TypeCapture<O>() {}.capture();
}
@Override public Type getRawType() {
return new TypeCapture<T>() {}.capture();
}
};
}
}
public void testResolveType_parameterizedType() {
@SuppressWarnings("rawtypes") // trying to test raw type
Parameterized<?, ?, ?> parameterized =
new Parameterized<TypeTokenResolutionTest, Bar, String>() {};
TypeResolver typeResolver = TypeResolver.accordingTo(parameterized.getClass());
ParameterizedType resolved = (ParameterizedType) typeResolver.resolveType(
parameterized.parameterizedType());
assertEquals(TypeTokenResolutionTest.class, resolved.getOwnerType());
assertEquals(Bar.class, resolved.getRawType());
ASSERT.that(resolved.getActualTypeArguments())
.hasContentsInOrder(String.class);
}
private interface StringListPredicate extends Predicate<List<String>> {}
private interface IntegerSupplier extends Supplier<Integer> {}
// Intentionally duplicate the Predicate interface to test that it won't cause
// exceptions
private interface IntegerStringFunction extends IntegerSupplier,
Predicate<List<String>>, StringListPredicate {}
public void testGenericInterface() {
// test the 1st generic interface on the class
Type fType = Supplier.class.getTypeParameters()[0];
assertEquals(Integer.class,
TypeToken.of(IntegerStringFunction.class).resolveType(fType)
.getRawType());
// test the 2nd generic interface on the class
Type predicateParameterType = Predicate.class.getTypeParameters()[0];
assertEquals(new TypeToken<List<String>>() {}.getType(),
TypeToken.of(IntegerStringFunction.class).resolveType(predicateParameterType)
.getType());
}
private static abstract class StringIntegerFoo extends Foo<String, Integer> {}
public void testConstructor_typeArgsResolvedFromAncestorClass() {
assertEquals(String.class, new StringIntegerFoo() {}.getClassA());
assertEquals(Integer.class, new StringIntegerFoo() {}.getClassB());
}
private static class Owner<T> {
private static abstract class Nested<X> {
Class<? super X> getTypeArgument() {
return new TypeToken<X>(getClass()) {}.getRawType();
}
}
private abstract class Inner<Y> extends Nested<Y> {
Class<? super T> getOwnerType() {
return new TypeToken<T>(getClass()) {}.getRawType();
}
}
}
public void testResolveNestedClass() {
assertEquals(String.class, new Owner.Nested<String>() {}.getTypeArgument());
}
public void testResolveInnerClass() {
assertEquals(String.class,
new Owner<Integer>().new Inner<String>() {}.getTypeArgument());
}
public void testResolveOwnerClass() {
assertEquals(Integer.class,
new Owner<Integer>().new Inner<String>() {}.getOwnerType());
}
private static class Mapping<F, T> {
final Type f = new TypeToken<F>(getClass()) {}.getType();
final Type t = new TypeToken<T>(getClass()) {}.getType();
Type getFromType() {
return new TypeToken<F>(getClass()) {}.getType();
}
Type getToType() {
return new TypeToken<T>(getClass()) {}.getType();
}
Mapping<T, F> flip() {
return new Mapping<T, F>() {};
}
Mapping<F, T> selfMapping() {
return new Mapping<F, T>() {};
}
}
public void testCyclicMapping() {
Mapping<Integer, String> mapping = new Mapping<Integer, String>();
assertEquals(mapping.f, mapping.getFromType());
assertEquals(mapping.t, mapping.getToType());
assertEquals(mapping.f, mapping.flip().getFromType());
assertEquals(mapping.t, mapping.flip().getToType());
assertEquals(mapping.f, mapping.selfMapping().getFromType());
assertEquals(mapping.t, mapping.selfMapping().getToType());
}
private static class ParameterizedOuter<T> {
@SuppressWarnings("unused") // used by reflection
public Inner field;
class Inner {}
}
public void testInnerClassWithParameterizedOwner() throws Exception {
Type fieldType = ParameterizedOuter.class.getField("field")
.getGenericType();
assertEquals(fieldType,
TypeToken.of(ParameterizedOuter.class).resolveType(fieldType).getType());
}
private interface StringIterable extends Iterable<String> {}
public void testResolveType() {
assertEquals(String.class, TypeToken.of(this.getClass()).resolveType(String.class).getType());
assertEquals(String.class,
TypeToken.of(StringIterable.class)
.resolveType(Iterable.class.getTypeParameters()[0]).getType());
assertEquals(String.class,
TypeToken.of(StringIterable.class)
.resolveType(Iterable.class.getTypeParameters()[0]).getType());
try {
TypeToken.of(this.getClass()).resolveType(null);
fail();
} catch (NullPointerException expected) {}
}
public void testConextIsParameterizedType() throws Exception {
class Context {
@SuppressWarnings("unused") // used by reflection
Map<String, Integer> returningMap() {
throw new AssertionError();
}
}
Type context = Context.class.getDeclaredMethod("returningMap")
.getGenericReturnType();
Type keyType = Map.class.getTypeParameters()[0];
Type valueType = Map.class.getTypeParameters()[1];
// context is parameterized type
assertEquals(String.class, TypeToken.of(context).resolveType(keyType).getType());
assertEquals(Integer.class,
TypeToken.of(context).resolveType(valueType).getType());
// context is type variable
assertEquals(keyType, TypeToken.of(keyType).resolveType(keyType).getType());
assertEquals(valueType, TypeToken.of(valueType).resolveType(valueType).getType());
}
private static final class GenericArray<T> {
final Type t = new TypeToken<T>(getClass()) {}.getType();
final Type array = new TypeToken<T[]>(getClass()) {}.getType();
}
public void testGenericArrayType() {
GenericArray<?> genericArray = new GenericArray<Integer>();
assertEquals(GenericArray.class.getTypeParameters()[0], genericArray.t);
assertEquals(Types.newArrayType(genericArray.t),
genericArray.array);
}
public void testClassWrapper() {
TypeToken<String> typeExpression = TypeToken.of(String.class);
assertEquals(String.class, typeExpression.getType());
assertEquals(String.class, typeExpression.getRawType());
}
private static class Red<A> {
private class Orange {
Class<?> getClassA() {
return new TypeToken<A>(getClass()) {}.getRawType();
}
Red<A> getSelfB() {
return Red.this;
}
}
Red<A> getSelfA() {
return this;
}
private class Yellow<B> extends Red<B>.Orange {
Yellow(Red<B> red) {
red.super();
}
Class<?> getClassB() {
return new TypeToken<B>(getClass()) {}.getRawType();
}
Red<A> getA() {
return getSelfA();
}
Red<B> getB() {
return getSelfB();
}
}
Class<?> getClassDirect() {
return new TypeToken<A>(getClass()) {}.getRawType();
}
}
public void test1() {
Red<String> redString = new Red<String>() {};
Red<Integer> redInteger = new Red<Integer>() {};
assertEquals(String.class, redString.getClassDirect());
assertEquals(Integer.class, redInteger.getClassDirect());
Red<String>.Yellow<Integer> yellowInteger =
redString.new Yellow<Integer>(redInteger) {};
assertEquals(Integer.class, yellowInteger.getClassA());
assertEquals(Integer.class, yellowInteger.getClassB());
assertEquals(String.class, yellowInteger.getA().getClassDirect());
assertEquals(Integer.class, yellowInteger.getB().getClassDirect());
}
public void test2() {
Red<String> redString = new Red<String>();
Red<Integer> redInteger = new Red<Integer>();
Red<String>.Yellow<Integer> yellowInteger =
redString.new Yellow<Integer>(redInteger) {};
assertEquals(Integer.class, yellowInteger.getClassA());
assertEquals(Integer.class, yellowInteger.getClassB());
}
private static <T> Type staticMethodWithLocalClass() {
class MyLocalClass {
Type getType() {
return new TypeToken<T>(getClass()) {}.getType();
}
}
return new MyLocalClass().getType();
}
public void testLocalClassInsideStaticMethod() {
assertNotNull(staticMethodWithLocalClass());
}
public void testLocalClassInsideNonStaticMethod() {
class MyLocalClass<T> {
Type getType() {
return new TypeToken<T>(getClass()) {}.getType();
}
}
assertNotNull(new MyLocalClass<String>().getType());
}
private static <T> Type staticMethodWithAnonymousClass() {
return new Object() {
Type getType() {
return new TypeToken<T>(getClass()) {}.getType();
}
}.getType();
}
public void testAnonymousClassInsideStaticMethod() {
assertNotNull(staticMethodWithAnonymousClass());
}
public void testAnonymousClassInsideNonStaticMethod() {
assertNotNull(new Object() {
Type getType() {
return new TypeToken<Object>() {}.getType();
}
}.getType());
}
public void testStaticContext() {
assertEquals(Map.class, mapType().getRawType());
}
private abstract static class Holder<T> {
Type getContentType() {
return new TypeToken<T>(getClass()) {}.getType();
}
}
public void testResolvePrimitiveArrayType() {
assertEquals(new TypeToken<int[]>() {}.getType(),
new Holder<int[]>() {}.getContentType());
assertEquals(new TypeToken<int[][]> () {}.getType(),
new Holder<int[][]>() {}.getContentType());
}
public void testResolveToGenericArrayType() {
GenericArrayType arrayType = (GenericArrayType)
new Holder<List<int[][]>[]>() {}.getContentType();
ParameterizedType listType = (ParameterizedType)
arrayType.getGenericComponentType();
assertEquals(List.class, listType.getRawType());
assertEquals(Types.newArrayType(int[].class),
listType.getActualTypeArguments()[0]);
}
private abstract class WithGenericBound<A> {
@SuppressWarnings("unused")
public <B extends A> void withTypeVariable(List<B> list) {}
@SuppressWarnings("unused")
public <E extends Enum<E>> void withRecursiveBound(List<E> list) {}
@SuppressWarnings("unused")
public <K extends List<V>, V extends List<K>> void withMutualRecursiveBound(
List<Map<K, V>> list) {}
@SuppressWarnings("unused")
void withWildcardLowerBound(List<? super A> list) {}
@SuppressWarnings("unused")
void withWildcardUpperBound(List<? extends A> list) {}
Type getTargetType(String methodName) throws Exception {
ParameterizedType parameterType = (ParameterizedType)
WithGenericBound.class.getDeclaredMethod(methodName, List.class)
.getGenericParameterTypes()[0];
parameterType = (ParameterizedType)
TypeToken.of(this.getClass()).resolveType(parameterType).getType();
return parameterType.getActualTypeArguments()[0];
}
}
public void testWithGenericBoundInTypeVariable() throws Exception {
TypeVariable<?> typeVariable = (TypeVariable<?>)
new WithGenericBound<String>() {}.getTargetType("withTypeVariable");
assertEquals(String.class, typeVariable.getBounds()[0]);
}
public void testWithRecursiveBoundInTypeVariable() throws Exception {
TypeVariable<?> typeVariable = (TypeVariable<?>)
new WithGenericBound<String>() {}.getTargetType("withRecursiveBound");
assertEquals(Types.newParameterizedType(Enum.class, typeVariable),
typeVariable.getBounds()[0]);
}
public void testWithMutualRecursiveBoundInTypeVariable() throws Exception {
ParameterizedType paramType = (ParameterizedType)
new WithGenericBound<String>() {}
.getTargetType("withMutualRecursiveBound");
TypeVariable<?> k = (TypeVariable<?>) paramType.getActualTypeArguments()[0];
TypeVariable<?> v = (TypeVariable<?>) paramType.getActualTypeArguments()[1];
assertEquals(Types.newParameterizedType(List.class, v), k.getBounds()[0]);
assertEquals(Types.newParameterizedType(List.class, k), v.getBounds()[0]);
}
public void testWithGenericLowerBoundInWildcard() throws Exception {
WildcardType wildcardType = (WildcardType)
new WithGenericBound<String>() {}
.getTargetType("withWildcardLowerBound");
assertEquals(String.class, wildcardType.getLowerBounds()[0]);
}
public void testWithGenericUpperBoundInWildcard() throws Exception {
WildcardType wildcardType = (WildcardType)
new WithGenericBound<String>() {}
.getTargetType("withWildcardUpperBound");
assertEquals(String.class, wildcardType.getUpperBounds()[0]);
}
public void testInterfaceTypeParameterResolution() throws Exception {
assertEquals(String.class,
TypeToken.of(new TypeToken<ArrayList<String>>() {}.getType())
.resolveType(List.class.getTypeParameters()[0]).getType());
}
private static TypeToken<Map<Object, Object>> mapType() {
return new TypeToken<Map<Object, Object>>() {};
}
// Looks like recursive, but legit.
private interface WithFalseRecursiveType<K, V> {
WithFalseRecursiveType<List<V>, String> keyShouldNotResolveToStringList();
WithFalseRecursiveType<List<K>, List<V>> shouldNotCauseInfiniteLoop();
SubTypeOfWithFalseRecursiveType<List<V>, List<K>> evenSubTypeWorks();
}
private interface SubTypeOfWithFalseRecursiveType<K1, V1>
extends WithFalseRecursiveType<List<K1>, List<V1>> {
SubTypeOfWithFalseRecursiveType<V1, K1> revertKeyAndValueTypes();
}
public void testFalseRecursiveType_mappingOnTheSameDeclarationNotUsed() {
Type returnType = genericReturnType(
WithFalseRecursiveType.class, "keyShouldNotResolveToStringList");
TypeToken<?> keyType = TypeToken.of(returnType)
.resolveType(WithFalseRecursiveType.class.getTypeParameters()[0]);
assertEquals("java.util.List<V>", keyType.getType().toString());
}
public void testFalseRecursiveType_notRealRecursiveMapping() {
Type returnType = genericReturnType(
WithFalseRecursiveType.class, "shouldNotCauseInfiniteLoop");
TypeToken<?> keyType = TypeToken.of(returnType)
.resolveType(WithFalseRecursiveType.class.getTypeParameters()[0]);
assertEquals("java.util.List<K>", keyType.getType().toString());
}
public void testFalseRecursiveType_referenceOfSubtypeDoesNotConfuseMe() {
Type returnType = genericReturnType(
WithFalseRecursiveType.class, "evenSubTypeWorks");
TypeToken<?> keyType = TypeToken.of(returnType)
.resolveType(WithFalseRecursiveType.class.getTypeParameters()[0]);
assertEquals("java.util.List<java.util.List<V>>", keyType.getType().toString());
}
public void testFalseRecursiveType_intermediaryTypeMappingDoesNotConfuseMe() {
Type returnType = genericReturnType(
SubTypeOfWithFalseRecursiveType.class, "revertKeyAndValueTypes");
TypeToken<?> keyType = TypeToken.of(returnType)
.resolveType(WithFalseRecursiveType.class.getTypeParameters()[0]);
assertEquals("java.util.List<K1>", keyType.getType().toString());
}
private static Type genericReturnType(Class<?> cls, String methodName) {
try {
return cls.getMethod(methodName).getGenericReturnType();
} catch (Exception e) {
throw new RuntimeException(e);
}
}
}
| {
"content_hash": "a09068609d8cfa7a4bcca8c7471cbd0b",
"timestamp": "",
"source": "github",
"line_count": 534,
"max_line_length": 98,
"avg_line_length": 34.846441947565545,
"alnum_prop": 0.6802450558899398,
"repo_name": "ytfei/guava",
"id": "ef072ae7338ae9361cee3eff00b7aca9c2b40241",
"size": "19208",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Java",
"bytes": "9988867"
},
{
"name": "Shell",
"bytes": "1443"
}
],
"symlink_target": ""
} |
using namespace std;
Eclair::Module::~Module()
{
for (auto it : this->_submodules)
delete it.second;
if (this->_config)
delete this->_config;
}
bool Eclair::Module::load(const string& name, bool project) noexcept
{
this->_name = name;
this->_path = Eclair::Config::projectsFolder() + ((project) ? "/" : "/lib/") + name;
if (!this->_version.empty())
this->_path += "/" + this->_version;
Eclair::Directory dir(this->_path);
Eclair::DirectoryFile *file;
cout << "module [" << this->path() << "] is loading" << endl;
this->_has_config = false;
this->_is_load = false;
if (!dir.open())
{
cerr << "Unable to open folder : " << dir.path() << endl;
return (false);
}
while ((file = dir.next()))
{
if (file->is_directory && !file->name.compare("config"))
{
this->_config = new Eclair::Config(dir.path() + "/config");
if (!this->_config || !this->_config->reload())
return (false);
this->_has_config = true;
}
}
if (!this->_has_config)
{
cerr << "You need the config directory" << endl;
return (false);
}
if (this->_config->exist("routes", true))
{
if (!this->_routes.reload(this->_config->folder("routes")))
{
cerr << "[Error] module [" << this->path() << "] : cannot load routes" << endl;
return (false);
}
}
else
cerr << "[Warning] module [" << this->path() << "] : no routes found" << endl;
if (!load_submodules())
{
cerr << "Fail to load submodules" << endl;
}
this->_is_load = true;
return (true);
}
bool Eclair::Module::load_submodules() noexcept
{
if (this->_config->exist("modules"))
{
YAML::Node modules = (*this->_config)["modules"]["modules"];
if (modules)
{
cout << "module [" << this->path() << "] : " << endl;
for (auto it = modules.begin(); it != modules.end(); ++it)
{
Eclair::Module *mod = new Eclair::Module();
string modulename = it->first.as<string>();
cout << "\tsubmodule : [" << modulename << "]";
YAML::Node modconfs = it->second;
YAML::Node version = modconfs["version"];
if (version)
mod->setVersion("v" + version.as<string>());
if (!this->version().empty())
cout << " - v" << this->version();
cout << endl;
if (mod->load(modulename))
{
auto it = this->_submodules.find(modulename);
if (it != this->_submodules.end())
{
cerr << "Two same modules" << endl;
return (false);
}
this->_submodules[modulename] = mod;
}
else
return (false);
}
}
}
return (true);
}
Eclair::Module *Eclair::Module::get_module_asset(string& uri)
{
Eclair::Module *mod = nullptr;
string assets_begin = "/assets-" + this->_name + "/";
if (uri.find(assets_begin) == 0)
{
uri = uri.substr(assets_begin.length() - 1);
mod = this;
}
else
{
if ()
}
return (mod);
}
Eclair::Response *Eclair::Module::doStatic(Eclair::Request *req) noexcept
{
Eclair::Response *rep = nullptr;
}
Eclair::Response *Eclair::Module::doRequest(Eclair::Request *req) noexcept
{
Eclair::Response *rep = nullptr;
if ((rep = this->doStatic(req)))
return (rep);
Eclair::Route *route = nullptr;
route = this->_routes.find(req->uri());
//cout << "module [" << this->path() << "] : " << req->uri() << endl;
if (route)
{
//cout << "\tfind route [" << req->uri() << "]" << endl;
string param;
if (!(param = route->controller()).empty())
{
string function;
Eclair::Controller *c = Eclair::Controller::find(this, param, function);
if (c)
return (c->doRequest(req, function));
}
else if (!(param = route->file()).empty())
{
rep = new Eclair::Response();
rep->setFilename(this->path() + "/ressources/views/" + param);
//cout << "filename : " << rep->filename() << endl;
}
}
else
{
for (auto it = this->_submodules.begin(); it != this->_submodules.end(); ++it)
{
if ((rep = it->second->doRequest(req)))
return (rep);
}
}
return (rep);
} | {
"content_hash": "ac7fc03d90b671b2d69fe3d808dd00eb",
"timestamp": "",
"source": "github",
"line_count": 158,
"max_line_length": 85,
"avg_line_length": 24.61392405063291,
"alnum_prop": 0.5718693751607097,
"repo_name": "alex8092/eclaircpp",
"id": "09a6a40aaacf907d0a342117e4c606b43a3fa9e4",
"size": "3934",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/module.cc",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "C",
"bytes": "168344"
},
{
"name": "C++",
"bytes": "26629"
}
],
"symlink_target": ""
} |
"""
:mod:`channel.worker` -- Multi-device sync API for a single computation device
==============================================================================
.. module:: worker
:platform: Unix
:synopsis: Provide methods for single device Theano code that enable
homogeneous operations across multiple devices.
Contains :class:`Worker` which provides Platoon's basic API for multi-device
operations. Upon creation, a Worker will initiate connections with its node's
:class:`Controller` process (ZMQ) and get access to intra-node lock. A worker
process is meant to have only one Worker instance to manage a corresponding
computation device, e.g. GPU. Thus, Worker is a singleton class.
Worker's available API depends on available backend frameworks. Currently, there
are two ways to use a Worker for global operations on parameters:
1. Through :meth:`Worker.sync_params`, which is its default interface.
2. Or :meth:`Worker.all_reduce` which is a multi-node/GPU collective
operation.
For detailed information about these methods please check their corresponding
documentation, as well as the brief table which compares the two in project's
:file:`README.md`.
Worker also has :meth:`Worker.recv_mb` interface for collecting mini-batches to
work on from Controller.
"""
from __future__ import absolute_import, print_function
import argparse
import os
import sys
import signal
import base64
import numpy
import posix_ipc
import six
import zmq
try:
import pygpu
from pygpu import collectives as gpucoll
from theano import gpuarray as theanoga
from theano import config as theanoconf
except ImportError:
pygpu = None
from ..util import (mmap, PlatoonError, PlatoonWarning, SingletonType)
if six.PY3:
buffer_ = memoryview
else:
buffer_ = buffer # noqa
@six.add_metaclass(SingletonType)
class Worker(object):
"""
Interface for multi-device operations.
This class handles communication/synchronization with other processes.
The features to do so (control channel, mini-batch channel and shared
parameters) are all independent and optional so you don't have to use all
of them.
Parameters
----------
control_port : int
The tcp port number for control (ZMQ).
port : int, optional
The tcp port number for data (ZMQ).
socket_timeout : int, optional
Timeout in ms for both control and data sockets. Default: 5 min
hwm : int, optional
High water mark (see pyzmq docs) for data transfer.
Attributes
----------
shared_params : list of :class:`numpy.ndarray`
This will have `numpy.ndarray` in the same order as `params_descr`
(see :meth:`init_shared_params`). These arrays are backed by shared
memory. Used by :meth:`sync_params` interface.
shared_arrays : dict of str to :class:`numpy.ndarray`
Maps size in bytes to a ndarray in shared memory. Needed in multi-node
operations. Used by :meth:`all_reduce` interface.
"""
def __init__(self, control_port, data_port=None, socket_timeout=300000,
data_hwm=10, port=None):
if port is not None:
raise RuntimeError(
"The port parameter of Worker was renamed to data_port"
" (as in the Controller)")
self.context = zmq.Context()
self._socket_timeout = socket_timeout
self._worker_id = os.getpid()
if data_port:
self.init_mb_sock(data_port, data_hwm)
self._init_control_socket(control_port)
self._job_uid = self.send_req("platoon-get_job_uid")
print("JOB UID received from the controler {}".format(self._job_uid))
self._lock = posix_ipc.Semaphore("{}_lock".format(self._job_uid))
signal.signal(signal.SIGINT, self._handle_force_close)
try:
self._register_to_platoon()
except Exception as exc:
print(PlatoonWarning("Failed to register in a local GPU comm world.", exc),
file=sys.stderr)
print(PlatoonWarning("Platoon `all_reduce` interface will not be functional."),
file=sys.stderr)
self._local_comm = None
self._shmem_names = dict()
self._shmrefs = dict()
self.shared_arrays = dict()
################################################################################
# Basic Control Interface #
################################################################################
def send_req(self, req, info=None):
"""
Sends a control request to node's :class:`Controller`.
Parameters
----------
req : object
Json-encodable object (usually Python string) that represents the
type of request being sent to Controller.
info : object, optional
Json-encodable object used as input for this Worker's request to
Controller.
Returns
-------
object
Json-decoded object.
"""
query = {'worker_id': self._worker_id, 'req': req, 'req_info': info}
self.csocket.send_json(query)
socks = dict(self.cpoller.poll(self._socket_timeout))
if socks and socks.get(self.csocket) == zmq.POLLIN:
return self.csocket.recv_json()
else:
raise PlatoonError("Control Socket: recv timeout")
def lock(self, timeout=None):
"""
Acquire intra-node lock.
This is advisory and does not prevent concurrent access. This method
will subtracts 1 in underlying POSIX semaphore, will block the rest
calls at 0. The underlying semaphore, :attr:`_lock`, starts at 1.
Parameters
----------
timeout : int, optional
Amount of time to wait for the lock to be available. A timeout of 0
will raise an error immediately if the lock is not available.
Default: None, which will block until the lock is released.
.. versionchanged:: 0.6.0
This method used to be called `lock_params`.
"""
self._lock.acquire(timeout)
def unlock(self):
"""
Release intra-node lock.
The current implementation does not ensure that the process
that locked :attr:`shared_params` is also the one that unlocks them.
It also does not prevent one process from unlocking more than once
(which will allow more than one process to hold the lock). This method
will add 1 in underlying POSIX semaphore, :attr:`_lock`.
Make sure you follow proper lock/unlock logic in your program
to avoid these problems.
.. versionchanged:: 0.6.0
This method used to be called `unlock_params`.
"""
self._lock.release()
@property
def local_size(self):
"Number of workers assigned to local host's controller."
return self._local_size
@property
def local_rank(self):
"Worker's rank in respect to local host's controller (NCCL comm world)."
return self._local_rank
@property
def global_size(self):
"Number of workers spawned across all hosts in total."
return self._global_size
@property
def global_rank(self):
"Worker's rank in respect to all hosts' controllers in total."
return self._global_rank
################################################################################
# Initialization and Finalization Methods #
################################################################################
def _handle_force_close(self, signum, frame):
"""Handle SIGINT signals from Controller.
This is expected to happen when something abnormal has happened in other
workers which implies that training procedure should stop and fail.
.. versionadded:: 0.6.0
"""
self.close()
sys.exit(1) # Exit normally with non success value.
def close(self):
"""
Closes ZMQ connections, POSIX semaphores and shared memory.
"""
print("Closing connections and unlinking memory...", file=sys.stderr)
if hasattr(self, 'asocket'):
self.asocket.close()
if hasattr(self, 'csocket'):
self.csocket.close()
self.context.term()
self._lock.close()
try:
self._lock.unlink()
except posix_ipc.ExistentialError:
pass
if hasattr(self, '_shmref'):
try:
self._shmref.unlink()
except posix_ipc.ExistentialError:
pass
for shmref in self._shmrefs.values():
try:
shmref.unlink()
except posix_ipc.ExistentialError:
pass
def _register_to_platoon(self):
"""
Asks Controller for configuration information and creates a NCCL
communicator that participate in the local node's workers world.
For this it is needed that Theano is imported. Through Theano, this
methods gets access to the single GPU context of this worker process.
This context is to be used in all computations done by a worker's
process.
.. note::
It is necessary that this initialization method is called
successfully before :meth:`all_reduce` in order to be available
and functional.
.. versionadded:: 0.6.0
"""
if pygpu:
self.ctx_name = None
self.gpuctx = theanoga.get_context(self.ctx_name)
self.device = theanoconf.device
self._local_id = gpucoll.GpuCommCliqueId(context=self.gpuctx)
# Ask controller for local's info to participate in
lid = base64.b64encode(self._local_id.comm_id).decode('ascii')
response = self.send_req("platoon-get_platoon_info",
info={'device': self.device,
'local_id': lid})
nlid = base64.b64decode(response['local_id'].encode('ascii'))
self._local_id.comm_id = bytearray(nlid)
self._local_size = response['local_size']
self._local_rank = response['local_rank']
self._local_comm = gpucoll.GpuComm(self._local_id,
self._local_size,
self._local_rank)
self._multinode = response['multinode']
self._global_size = response['global_size']
self._global_rank = response['global_rank']
else:
raise AttributeError("pygpu or theano is not imported")
def init_mb_sock(self, port, data_hwm=10):
"""
Initialize the mini-batch data socket.
Parameters
----------
port : int
The tcp port to reach the mini-batch server on.
data_hwm : int, optional
High water mark, see pyzmq docs.
.. note::
This must be called before using :meth:`recv_mb`.
"""
self.asocket = self.context.socket(zmq.PULL)
self.asocket.setsockopt(zmq.LINGER, 0)
self.asocket.set_hwm(data_hwm)
self.asocket.connect("tcp://localhost:{}".format(port))
self.apoller = zmq.Poller()
self.apoller.register(self.asocket, zmq.POLLIN)
def _init_control_socket(self, port):
"""
Initialize control socket.
Parameters
---------
port : int
The tcp port where the control master is listening at.
.. note::
This must be called before using :meth:`send_req`.
"""
self.csocket = self.context.socket(zmq.REQ)
self.csocket.setsockopt(zmq.LINGER, 0)
self.csocket.connect('tcp://localhost:{}'.format(port))
self.cpoller = zmq.Poller()
self.cpoller.register(self.csocket, zmq.POLLIN)
################################################################################
# Collectives Interface #
################################################################################
def shared(self, array):
"""Creates a new POSIX shared memory buffer to be shared among Workers
and their Controller and maps the size of `array` to that buffer.
Controller is requested to create a new shared memory buffer with the
same size as `array` in order to be used in multi-GPU/node Platoon
collective operations through :meth:`all_reduce` interface. All
participants in the same node have access to that memory.
:param array: This array's size in bytes will be mapped to a shared
memory buffer in host with the same size.
:type array: :ref:`pygpu.gpuarray.GpuArray`
Returns
-------
shared_array : :ref:`numpy.ndarray`
A newly created shared memory buffer with the same size or an already
allocated one.
Notes
-----
*For internal implementation*: There should probably be a barrier across
nodes' Workers to ensure that, so far, each Controller has serviced
a new shared memory's name to all Workers. This is due to the fact that
Controller can service one Worker at a time and a Platoon collective
service is a blocking one across Controllers. Current implementation
is valid because calls to `pygpu.collectives` interface are synchronous
across workers.
.. versionadded:: 0.6.0
"""
if not isinstance(array, pygpu.gpuarray.GpuArray):
raise TypeError("`array` input is not pygpu.gpuarray.GpuArray.")
# This is not a problem, unless we have concurrent calls in
# :meth:`all_reduce` in the same worker-process and we are running in
# multi-node. This due to the fact that :attr:`shared_arrays` are being
# used as temporary buffers for the internal inter-node MPI collective
# operation. We only need a shared buffer with Controller in order to
# execute multi-node operation, so a mapping with size in bytes
# suffices. See:
# https://github.com/mila-udem/platoon/pull/66#discussion_r74988680
bytesize = array.size * array.itemsize
if bytesize in self.shared_arrays:
return self.shared_arrays[bytesize]
else:
if array.flags['F']:
order = 'F'
else:
order = 'C'
try:
shared_mem_name = self.send_req("platoon-init_new_shmem",
info={'size': bytesize})
shmref = posix_ipc.SharedMemory(shared_mem_name)
shm = mmap(fd=shmref.fd, length=bytesize)
shmref.close_fd()
except Exception as exc:
try:
shmref.unlink()
except (NameError, posix_ipc.ExistentialError):
pass
raise PlatoonError("Failed to get access to shared memory buffer.", exc)
shared_array = numpy.ndarray(array.shape, dtype=array.dtype,
buffer=shm, offset=0, order=order)
self._shmem_names[bytesize] = shared_mem_name # Keep for common ref with Controller
self._shmrefs[bytesize] = shmref # Keep for unlinking when closing
self.shared_arrays[bytesize] = shared_array
return shared_array
def all_reduce(self, src, op, dest=None):
"""
AllReduce collective operation for workers in a multi-node/GPU Platoon.
Parameters
----------
src : :ref:`pygpu.gpuarray.GpuArray`
Array to be reduced.
op : str
Reference name to reduce operation type.
See :ref:`pygpu.collectives.TO_RED_OP`.
dest : :ref:`pygpu.gpuarray.GpuArray`, optional
Array to collect reduce operation result.
Returns
-------
result: None or :ref:`pygpu.gpuarray.GpuArray`
New Theano gpu shared variable which contains operation result
if `dest` is None, else nothing.
.. warning::
Repeated unnecessary calls with no `dest`, where a logically valid
pygpu GpuArray exists, should be avoided for optimal performance.
.. versionadded:: 0.6.0
"""
if self._local_comm is None:
raise PlatoonError("`all_reduce` interface is not available. Check log.")
if not isinstance(src, pygpu.gpuarray.GpuArray):
raise TypeError("`src` input is not pygpu.gpuarray.GpuArray.")
if dest is not None:
if not isinstance(dest, pygpu.gpuarray.GpuArray):
raise TypeError("`dest` input is not pygpu.gpuarray.GpuArray.")
try:
# Execute collective operation in local NCCL communicator world
res = self._local_comm.all_reduce(src, op, dest)
except Exception as exc:
raise PlatoonError("Failed to execute pygpu all_reduce", exc)
if dest is not None:
res = dest
res.sync()
# If running with multi-node mode
if self._multinode:
# Create new shared buffer which corresponds to result GpuArray buffer
res_array = self.shared(res)
self.lock()
first = self.send_req("platoon-am_i_first")
if first:
# Copy from GpuArray to shared memory buffer
res.read(res_array)
res.sync()
# Request from controller to perform the same collective operation
# in MPI communicator world using shared memory buffer
self.send_req("platoon-all_reduce", info={'shmem': self._shmem_names[res.size * res.itemsize],
'dtype': str(res.dtype),
'op': op})
self.unlock()
# Concurrently copy from shared memory back to result GpuArray
# after Controller has finished global collective operation
res.write(res_array)
res.sync()
if dest is None:
return res
################################################################################
# Param Sync Interface #
################################################################################
def _get_descr_size(self, dtype, shape):
size = dtype.itemsize
for s in shape:
size *= s
return size
def init_shared_params(self, params, param_sync_rule):
"""
Initialize shared memory parameters.
This must be called before accessing the params attribute
and/or calling :meth:`sync_params`.
Parameters
----------
params : list of :ref:`theano.compile.SharedVariable`
Theano shared variables representing the weights of your model.
param_sync_rule : :class:`param_sync.ParamSyncRule`
Update rule for the parameters
"""
self.update_fn = param_sync_rule.make_update_function(params)
self.local_params = params
params_descr = [(numpy.dtype(p.dtype), p.get_value(borrow=True).shape)
for p in params]
params_size = sum(self._get_descr_size(*d) for d in params_descr)
shared_mem_name = "{}_params".format(self._job_uid)
# Acquire lock to decide who will init the shared memory
self.lock()
need_init = self.send_req("platoon-need_init")
if need_init:
# The ExistentialError is apparently the only way to verify
# if the shared_memory exists.
try:
posix_ipc.unlink_shared_memory(shared_mem_name)
except posix_ipc.ExistentialError:
pass
self._shmref = posix_ipc.SharedMemory(shared_mem_name,
posix_ipc.O_CREAT,
size=params_size)
else:
self._shmref = posix_ipc.SharedMemory(shared_mem_name)
self._shm = mmap(fd=self._shmref.fd, length=params_size)
self._shmref.close_fd()
self.shared_params = []
off = 0
for dtype, shape in params_descr:
self.shared_params.append(numpy.ndarray(shape, dtype=dtype,
buffer=self._shm,
offset=off))
off += self._get_descr_size(dtype, shape)
if need_init:
self.copy_to_global(synchronous=False)
self.unlock()
def sync_params(self, synchronous=True):
"""
Update the worker's parameters and the central parameters according
to the provided parameter update rule.
Parameters
----------
synchronous : bool
If false, the lock won't be acquired before touching the
shared weights.
"""
if synchronous:
self.lock()
self.update_fn(self.shared_params)
if synchronous:
self.unlock()
def copy_to_local(self, synchronous=True):
"""
Copy the global params to the local ones.
Parameters
----------
synchronous : bool
If False, the lock won't be acquired before touching the
shared weights.
"""
if synchronous:
self.lock()
for p, v in zip(self.local_params, self.shared_params):
p.set_value(v)
if synchronous:
self.unlock()
def copy_to_global(self, synchronous=True):
"""
Copy the global params to the local ones.
Parameters
----------
synchronous : bool
If False, the lock won't be acquired before touching the
shared weights.
"""
if synchronous:
self.lock()
for p, v in zip(self.local_params, self.shared_params):
v[:] = p.get_value(borrow=True)
if synchronous:
self.unlock()
################################################################################
# Distribute Data Batches #
################################################################################
def recv_mb(self):
"""
Receive a mini-batch for processing.
A mini-batch is composed of a number of numpy arrays.
Returns
-------
list
The list of numpy arrays for the mini-batch
"""
socks = dict(self.apoller.poll(self._socket_timeout))
if socks:
if socks.get(self.asocket) == zmq.POLLIN:
headers = self.asocket.recv_json()
else:
raise Exception("Batch socket: recv timeout")
arrays = []
for header in headers:
data = self.asocket.recv(copy=False)
buf = buffer_(data)
array = numpy.ndarray(
buffer=buf, shape=header['shape'],
dtype=numpy.dtype(header['descr']),
order='F' if header['fortran_order'] else 'C')
arrays.append(array)
return arrays
@staticmethod
def default_parser():
"""
Returns base :class:`Controller`'s class parser for its arguments.
This parser can be augmented with more arguments, if it is needed, in
case a class which inherits :class:`Controller` exists.
.. versionadded:: 0.6.1
"""
parser = argparse.ArgumentParser(
description="Base Platoon Worker process.")
parser.add_argument('--control-port', default=5567, type=int, required=False, help='The control port number.')
parser.add_argument('--data-port', type=int, required=False, help='The data port number.')
parser.add_argument('--data-hwm', default=10, type=int, required=False, help='The data port high water mark')
return parser
@staticmethod
def default_arguments(args):
"""
Static method which returns the correct arguments for a base
:class:`Controller` class.
:param args:
Object returned by calling :meth:`argparse.ArgumentParser.parse_args`
to a parser returned by :func:`default_parser`.
.. versionadded:: 0.6.0
"""
DEFAULT_KEYS = ['control_port', 'data_hwm', 'data_port']
d = args.__dict__
return dict((k, d[k]) for k in six.iterkeys(d) if k in DEFAULT_KEYS)
| {
"content_hash": "27e3c25c554a907bbc052940c4f54a63",
"timestamp": "",
"source": "github",
"line_count": 691,
"max_line_length": 118,
"avg_line_length": 36.06657018813314,
"alnum_prop": 0.5646416820479897,
"repo_name": "mila-udem/platoon",
"id": "3934f415de7bbcb51f5c2eb20ceadd5f89602fbc",
"size": "24946",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "platoon/channel/worker.py",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Python",
"bytes": "205961"
}
],
"symlink_target": ""
} |
package org.kaaproject.kaa.client.transact;
/**
* General interface for transaction managers.
*/
public interface Transactable {
/**
* Create new transaction entry.<br>
*
* @return TransactionId Unique id of created transaction.
*/
TransactionId beginTransaction();
/**
* Submit the transaction<br>
*
* @param trxId The unique identifier of the transaction which should be submitted.
*/
void commit(TransactionId trxId);
/**
* Revert the transaction<br>
*
* @param trxId The unique identifier of the transaction which should be reverted.
*/
void rollback(TransactionId trxId);
}
| {
"content_hash": "822a1f60c65a38b18f0ba7010013ac63",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 85,
"avg_line_length": 21.166666666666668,
"alnum_prop": 0.6929133858267716,
"repo_name": "aglne/kaa",
"id": "92a2fe99c57325122763152cec046f74d0a1d6b1",
"size": "1241",
"binary": false,
"copies": "3",
"ref": "refs/heads/master",
"path": "client/client-multi/client-java-core/src/main/java/org/kaaproject/kaa/client/transact/Transactable.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "AMPL",
"bytes": "19815"
},
{
"name": "Arduino",
"bytes": "22520"
},
{
"name": "Batchfile",
"bytes": "21336"
},
{
"name": "C",
"bytes": "6219408"
},
{
"name": "C++",
"bytes": "1729698"
},
{
"name": "CMake",
"bytes": "74157"
},
{
"name": "CSS",
"bytes": "23111"
},
{
"name": "HTML",
"bytes": "6338"
},
{
"name": "Java",
"bytes": "10478878"
},
{
"name": "JavaScript",
"bytes": "4669"
},
{
"name": "Makefile",
"bytes": "15221"
},
{
"name": "Objective-C",
"bytes": "305678"
},
{
"name": "Python",
"bytes": "128276"
},
{
"name": "Shell",
"bytes": "185517"
},
{
"name": "Thrift",
"bytes": "21163"
},
{
"name": "XSLT",
"bytes": "4062"
}
],
"symlink_target": ""
} |
package com.warner.italker;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() throws Exception {
assertEquals(4, 2 + 2);
}
} | {
"content_hash": "ce8b4cc4aca90d2618ebaad3950e0002",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 81,
"avg_line_length": 22.41176470588235,
"alnum_prop": 0.7165354330708661,
"repo_name": "dongfangmingjia/ITalker",
"id": "9ec624534b987906e8c003105923784ab9182c81",
"size": "381",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "app/src/test/java/com/warner/italker/ExampleUnitTest.java",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Java",
"bytes": "245275"
}
],
"symlink_target": ""
} |
module Announcr
class EventScope
attr_reader :namespace, :data, :event_name
def initialize(event_name, opts = {})
@event_name = event_name
@namespace = opts.fetch(:namespace)
@data = opts.fetch(:data, {})
@options = opts
@backends = @namespace.all_backends
@default_backend = @namespace.default_backend
setup_proxy_methods!
end
def key_for(*keys)
@namespace.key_for(keys)
end
def event_name_key
key_for(event_name)
end
private
def setup_proxy_methods!
singleton = class << self; self end
@backends.each_pair do |name, backend|
if @default_backend == name || @backends.size == 1
backend.class.proxy_methods.each do |m|
singleton.send(:define_method, m) do |*args|
backend.send(m, *args)
end
end
end
singleton.send(:define_method, name) do
backend
end
end
end
end
end
| {
"content_hash": "d20bca999d1f78c5776d37bd69b2fcd7",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 58,
"avg_line_length": 21.565217391304348,
"alnum_prop": 0.5725806451612904,
"repo_name": "enthuseinc/announcr",
"id": "ece8a4d6cec7f44569a0b24701376f07fa2d908e",
"size": "992",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "lib/announcr/event_scope.rb",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Ruby",
"bytes": "17902"
}
],
"symlink_target": ""
} |
package andreluiznsilva.architecture.java.gae.app.api.resource;
import java.io.IOException;
import java.net.URI;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Properties;
import java.util.logging.Logger;
import javax.inject.Inject;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.QueryParam;
import javax.ws.rs.client.Client;
import javax.ws.rs.client.Entity;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.Form;
import javax.ws.rs.core.GenericType;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.UriBuilder;
import javax.ws.rs.core.UriInfo;
import org.apache.commons.lang.StringUtils;
import org.jboss.resteasy.client.jaxrs.ResteasyClient;
import org.jboss.resteasy.client.jaxrs.ResteasyClientBuilder;
import org.jboss.resteasy.client.jaxrs.engines.URLConnectionEngine;
import andreluiznsilva.architecture.java.gae.infra.util.RestUtils;
import andreluiznsilva.architecture.java.gae.infra.util.ValidationUtils;
@Path("/authentication")
public class AuthenticationResource {
@Context
protected UriInfo uriInfo;
@Inject
protected Logger logger;
private final Properties config;
public AuthenticationResource() {
try {
config = new Properties();
config.load(Thread.currentThread().getContextClassLoader().getResourceAsStream("oauth.properties"));
} catch (IOException e) {
throw new RuntimeException(e);
}
}
@GET
@Path("/callback")
public Response callback(
@QueryParam("code") String code,
@QueryParam("state") String state,
@QueryParam("scope") String scope,
@QueryParam("error") String error,
@QueryParam("error_description") String errorDescription) {
String provider = resolveProviderName(state);
Response result = RestUtils.buildError();
if (StringUtils.isNotBlank(error)) {
Map<String, Object> parameters = new HashMap<>();
parameters.put("error", error);
parameters.put("error_description", errorDescription);
parameters.put("provider", state);
result = RestUtils.buildSeeOther(indexUriBuilder(parameters).build());
} else {
Form form = new Form()
.param("code", code)
.param("grant_type", "authorization_code")
.param("client_id", providerClientId(provider))
.param("client_secret", providerClientSecret(provider))
.param("redirect_uri", buildRedirectUri());
Map<String, Object> parameters = clientPost(providerTokenEndpoint(provider), form);
result = RestUtils.buildSeeOther(indexUriBuilder(parameters).build());
}
return result;
}
@GET
@Path("/login")
public Response login(@QueryParam("provider") String provider) {
provider = resolveProviderName(provider);
URI location = UriBuilder.fromUri(providerAuthorizationEndpoint(provider))
.queryParam("response_type", "code")
.queryParam("scope", providerScope(provider))
.queryParam("client_id", providerClientId(provider))
.queryParam("state", providerState(provider))
.queryParam("redirect_uri", buildRedirectUri())
.build();
return RestUtils.buildSeeOther(location);
}
@GET
@Path("/logout/{token}")
public Response logout(@PathParam("token") String token, @QueryParam("provider") String provider) {
provider = resolveProviderName(provider);
Response result = RestUtils.buildError();
if (StringUtils.isNotBlank(token)) {
clientGet(providerRevokeEndpoint(provider), token);
result = RestUtils.buildSeeOther(indexUriBuilder().build());
}
return result;
}
@GET
@Path("/refresh/{token}")
public Response refresh(@PathParam("token") String token, @QueryParam("provider") String provider) {
provider = resolveProviderName(provider);
Response result = RestUtils.buildError();
if (StringUtils.isNotBlank(token)) {
Form form = new Form()
.param("refresh_token", token)
.param("grant_type", "refresh_token")
.param("client_id", providerClientId(provider))
.param("client_secret", providerClientSecret(provider));
Map<String, Object> parameters = clientPost(providerRefreshEndpoint(provider), form);
return RestUtils.buildSeeOther(indexUriBuilder(parameters).build());
}
return result;
}
private void clientGet(String url, String token) {
Client client = createClient();
try {
client.target(url).resolveTemplate("token", token).request().get();
} finally {
client.close();
}
}
private Map<String, Object> clientPost(String url, Form form) {
Client client = createClient();
try {
Response response = client.target(url).request().post(Entity.form(form));
return response.readEntity(new GenericType<Map<String, Object>>() {
});
} finally {
client.close();
}
}
private ResteasyClient createClient() {
return new ResteasyClientBuilder().httpEngine(new URLConnectionEngine()).build();
}
private UriBuilder indexUriBuilder() {
String baseUrl = uriInfo.getBaseUri().toString().replace(uriInfo.getBaseUri().getPath(), "");
return UriBuilder.fromUri(baseUrl);
}
private UriBuilder indexUriBuilder(Map<String, Object> parameters) {
UriBuilder builder = indexUriBuilder();
for (Entry<String, Object> entry : parameters.entrySet()) {
if (entry.getValue()!=null) {
builder.queryParam(entry.getKey(), entry.getValue());
}
}
return builder;
}
private String providerAuthorizationEndpoint(String provider) {
return config.getProperty("provider." + provider + ".authorizationEndpoint");
}
private String providerClientId(String provider) {
return config.getProperty("provider." + provider + ".clientId");
}
private String providerClientSecret(String provider) {
return config.getProperty("provider." + provider + ".clientSecret");
}
private String providerRefreshEndpoint(String provider) {
return config.getProperty("provider." + provider + ".refreshEndpoint");
}
private String providerRevokeEndpoint(String provider) {
return config.getProperty("provider." + provider + ".revokeEndpoint");
}
private String providerScope(String provider) {
return config.getProperty("provider." + provider + ".scope", "");
}
private String providerState(String provider) {
return provider;
}
private String providerTokenEndpoint(String provider) {
return config.getProperty("provider." + provider + ".tokenEndpoint");
}
private String buildRedirectUri() {
return uriInfo.getBaseUriBuilder().path(getClass()).path("callback").build().toString();
}
private String resolveProviderName(String provider) {
return ValidationUtils.defaultIfBlank(provider, config.getProperty("provider.default"));
}
}
| {
"content_hash": "702375f2b40c0ac5b344b44d5fc4a5c3",
"timestamp": "",
"source": "github",
"line_count": 250,
"max_line_length": 103,
"avg_line_length": 26.428,
"alnum_prop": 0.7327077342212804,
"repo_name": "andreluiznsilva/architecture-java-gae",
"id": "aba05e865ca00f145ccbee2a00b435059c784d29",
"size": "6607",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "impl/app/src/main/java/andreluiznsilva/architecture/java/gae/app/api/resource/AuthenticationResource.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "HTML",
"bytes": "23879"
},
{
"name": "Java",
"bytes": "142578"
},
{
"name": "JavaScript",
"bytes": "5517"
},
{
"name": "Shell",
"bytes": "540"
}
],
"symlink_target": ""
} |
pub mod pathfinding; | {
"content_hash": "3c54da89f3bccdff9aae90a77ef2d595",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 20,
"avg_line_length": 20,
"alnum_prop": 0.85,
"repo_name": "whatever1992/Bzll",
"id": "723d9d92b12d7d281aa16d90cff26c1555e55477",
"size": "20",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/ai/src/lib.rs",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Batchfile",
"bytes": "158"
},
{
"name": "GLSL",
"bytes": "912"
},
{
"name": "HLSL",
"bytes": "502"
},
{
"name": "Metal",
"bytes": "1059"
},
{
"name": "Rust",
"bytes": "55893"
}
],
"symlink_target": ""
} |
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
//
// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
// copy, modify, and distribute this software in source code or binary form for use
// in connection with the web services and APIs provided by Facebook.
//
// As with any software that integrates with the Facebook platform, your use of
// this software is subject to the Facebook Developer Principles and Policies
// [http://developers.facebook.com/policy/]. This copyright notice shall be
// included in all copies or substantial portions of the software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#import <Foundation/Foundation.h>
#ifdef BUCK
#import <FBSDKCoreKit/FBSDKCoreKit.h>
#else
@import FBSDKCoreKit;
#endif
#import "FBSDKSharingValidation.h"
NS_ASSUME_NONNULL_BEGIN
@class FBSDKHashtag;
/**
A base interface for content to be shared.
*/
NS_SWIFT_NAME(SharingContent)
@protocol FBSDKSharingContent <FBSDKCopying, FBSDKSharingValidation, NSSecureCoding>
/**
URL for the content being shared.
This URL will be checked for all link meta tags for linking in platform specific ways. See documentation
for App Links (https://developers.facebook.com/docs/applinks/)
@return URL representation of the content link
*/
@property (nonatomic, copy) NSURL *contentURL;
/**
Hashtag for the content being shared.
@return The hashtag for the content being shared.
*/
@property (nonatomic, copy, nullable) FBSDKHashtag *hashtag;
/**
List of IDs for taggable people to tag with this content.
See documentation for Taggable Friends
(https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends)
@return Array of IDs for people to tag (NSString)
*/
@property (nonatomic, copy) NSArray<NSString *> *peopleIDs;
/**
The ID for a place to tag with this content.
@return The ID for the place to tag
*/
@property (nonatomic, copy, nullable) NSString *placeID;
/**
A value to be added to the referrer URL when a person follows a link from this shared content on feed.
@return The ref for the content.
*/
@property (nonatomic, copy, nullable) NSString *ref;
/**
For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share.
@return The ID of the Facebook page this share is associated with.
*/
@property (nonatomic, copy, nullable) NSString *pageID;
/**
A unique identifier for a share involving this content, useful for tracking purposes.
@return A unique string identifying this share data.
*/
@property (nonatomic, copy, readonly, nullable) NSString *shareUUID;
/**
Adds content to an existing dictionary as key/value pairs and returns the
updated dictionary
@param existingParameters An immutable dictionary of existing values
@param bridgeOptions The options for bridging
@return A new dictionary with the modified contents
*/
- (NSDictionary<NSString *, id> *)addParameters:(NSDictionary<NSString *, id> *)existingParameters
bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions
NS_SWIFT_NAME(addParameters(_:options:));
@end
NS_ASSUME_NONNULL_END
| {
"content_hash": "dc894e032dd98bdfed5f8fb13ccb1a94",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 112,
"avg_line_length": 36.25252525252525,
"alnum_prop": 0.7581499024797994,
"repo_name": "SLIBIO/SLib",
"id": "756680dd2ff11f2ff88239b64167dd550438db4a",
"size": "3589",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "external/include/FacebookSDK/iOS/FBSDKShareKit/FBSDKSharingContent.h",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Batchfile",
"bytes": "12324"
},
{
"name": "C",
"bytes": "172728"
},
{
"name": "C++",
"bytes": "8974152"
},
{
"name": "CMake",
"bytes": "25579"
},
{
"name": "Java",
"bytes": "412451"
},
{
"name": "Objective-C",
"bytes": "13961"
},
{
"name": "Objective-C++",
"bytes": "641784"
},
{
"name": "PHP",
"bytes": "306070"
},
{
"name": "Shell",
"bytes": "4835"
},
{
"name": "SourcePawn",
"bytes": "19475"
}
],
"symlink_target": ""
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>Burgers in Space</title>
<!-- Bootstrap Core CSS -->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- Theme CSS -->
<link href="css/clean-blog.min.css" rel="stylesheet">
<link href="css/burgers.css" rel="stylesheet">
<!-- Custom Fonts -->
<link href="vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href='https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
</head>
<body>
<!-- Navigation -->
<nav class="navbar navbar-default navbar-custom navbar-fixed-top">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
Menu <i class="fa fa-bars"></i>
</button>
<a class="navbar-brand" href="index.html">Burgers in Space</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="index.html">Home</a>
</li>
<li>
<a href="about/about.html">About</a>
</li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container -->
</nav>
<!-- Page Header -->
<!-- Set your background image for this header on the line below. -->
<header class="intro-header" style="background-image: url('img/home-bg.jpg')">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="site-heading">
<h1>Burgers in Space</h1>
<hr class="small">
<span class="subheading">A blog space for all the burgies in the universe</span>
</div>
</div>
</div>
</div>
</header>
<!-- Main Content -->
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="post-preview">
<a href="posts/a-big-step.html">
<h2 class="post-title">
A big step
</h2>
<h3 class="post-subtitle">
A post about moving for half a year to Taiwan.
</h3>
</a>
<p class="post-meta">Posted by <a href="about/about-jonas.html">Jonas</a> on 9 September, 2016<i class="about jonas"></i></p>
</div>
<hr>
</div>
</div>
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="post-preview">
<a href="posts/yangmingshan.html">
<h2 class="post-title">
Yangmingshan
</h2>
<h3 class="post-subtitle">
A National Park at the edge of Taipei
</h3>
</a>
<p class="post-meta">Posted by <a href="about/about-vincent.html">Vincent</a> on 9 September, 2016<i class="about vincent"></i></p>
</div>
<hr>
</div>
</div>
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="post-preview">
<a href="posts/national-palace-museum.html">
<h2 class="post-title">
The National Palace Museum
</h2>
<h3 class="post-subtitle">
A museum close to Taipei with Chinese and Taiwanese artwork
</h3>
</a>
<p class="post-meta">Posted by <a href="about/about-vincent.html">Vincent</a> on 11 September, 2016<i class="about vincent"></i></p>
</div>
<hr>
</div>
</div>
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="post-preview">
<a href="posts/tamsui.html">
<h2 class="post-title">
Tamsui
</h2>
<h3 class="post-subtitle">
A District of New Taipei close to the sea
</h3>
</a>
<p class="post-meta">Posted by <a href="about/about-jonas.html">Jonas</a> on 18 September, 2016<i class="about jonas"></i></p>
</div>
<hr>
</div>
</div>
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="post-preview">
<a href="posts/hualien.html">
<h2 class="post-title">
Hualien
</h2>
<h3 class="post-subtitle">
A city to the east of Taiwan
</h3>
</a>
<p class="post-meta">Posted by <a href="about/about-jonas.html">Jonas</a> on 30 September, 2016<i class="about jonas"></i></p>
</div>
<hr>
</div>
</div>
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="post-preview">
<a href="posts/japan.html">
<h2 class="post-title">
Japan
</h2>
<h3 class="post-subtitle">
A mandatory trip
</h3>
</a>
<p class="post-meta">Posted by <a href="about/about-vincent.html">Vincent</a> on 29 October, 2016<i class="about vincent"></i></p>
</div>
<hr>
</div>
</div>
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="post-preview">
<a href="posts/xueshan.html">
<h2 class="post-title">
Xueshan
</h2>
<h3 class="post-subtitle">
Climbing Taiwan's second highest mountain
</h3>
</a>
<p class="post-meta">Posted by <a href="about/about-jonas.html">Jonas</a> on 11 December, 2016<i class="about jonas"></i></p>
</div>
<hr>
</div>
</div>
</div>
<hr>
<!-- Footer -->
<footer>
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<ul class="list-inline text-center">
<a href="http://www.github.com/vdutor/burgers-in-space.git">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-github fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
</ul>
<p class="copyright text-muted">Copyright © Burgers in Space 2016</p>
</div>
</div>
</div>
</footer>
<!-- jQuery -->
<script src="vendor/jquery/jquery.min.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="vendor/bootstrap/js/bootstrap.min.js"></script>
<!-- Contact Form JavaScript -->
<script src="js/jqBootstrapValidation.js"></script>
<script src="js/contact_me.js"></script>
<!-- Theme JavaScript -->
<script src="js/clean-blog.min.js"></script>
</body>
</html>
| {
"content_hash": "7524e29ea8d72e075bfa4f28d50c959e",
"timestamp": "",
"source": "github",
"line_count": 234,
"max_line_length": 170,
"avg_line_length": 39.34188034188034,
"alnum_prop": 0.44753421681512057,
"repo_name": "vdutor/burgers-in-space",
"id": "227cadfdab428a9e933e670f3fcae3019415c485",
"size": "9206",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "index.html",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "19630"
},
{
"name": "HTML",
"bytes": "381028"
},
{
"name": "JavaScript",
"bytes": "43748"
},
{
"name": "PHP",
"bytes": "1242"
},
{
"name": "Shell",
"bytes": "1624"
}
],
"symlink_target": ""
} |
<?php
namespace PSX\Framework\Event;
use PSX\Http\RequestInterface;
use Symfony\Contracts\EventDispatcher\Event as SymfonyEvent;
/**
* RequestIncomingEvent
*
* @author Christoph Kappestein <christoph.kappestein@gmail.com>
* @license http://www.apache.org/licenses/LICENSE-2.0
* @link http://phpsx.org
*/
class RequestIncomingEvent extends SymfonyEvent
{
private RequestInterface $request;
public function __construct(RequestInterface $request)
{
$this->request = $request;
}
public function getRequest(): RequestInterface
{
return $this->request;
}
}
| {
"content_hash": "7b4ce43d2b200c5300d32eff80ee873e",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 65,
"avg_line_length": 21.06896551724138,
"alnum_prop": 0.7054009819967266,
"repo_name": "apioo/psx-framework",
"id": "fdc727669b517111a7db523c596ffc409c056a34",
"size": "1388",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/Event/RequestIncomingEvent.php",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "HTML",
"bytes": "334"
},
{
"name": "PHP",
"bytes": "715075"
}
],
"symlink_target": ""
} |
module Doorkeeper
class MissingConfiguration < StandardError
def initialize
super('Configuration for doorkeeper missing. Do you have doorkeeper initializer?')
end
end
def self.configure(&block)
@config = Config::Builder.new(&block).build
enable_orm
setup_application_owner if @config.enable_application_owner?
end
def self.configuration
@config || (fail MissingConfiguration.new)
end
def self.orm_model_dir
case configuration.orm
when :mongoid3, :mongoid4
'mongoid3_4'
else
configuration.orm
end
end
def self.enable_orm
require "doorkeeper/models/#{orm_model_dir}/access_grant"
require "doorkeeper/models/#{orm_model_dir}/access_token"
require "doorkeeper/models/#{orm_model_dir}/application"
require 'doorkeeper/models/access_grant'
require 'doorkeeper/models/access_token'
require 'doorkeeper/models/application'
end
def self.setup_application_owner
require File.join(File.dirname(__FILE__), 'models', 'ownership')
Doorkeeper::Application.send :include, Doorkeeper::Models::Ownership
end
class Config
class Builder
def initialize(&block)
@config = Config.new
instance_eval(&block)
end
def build
@config
end
def enable_application_owner(opts = {})
@config.instance_variable_set('@enable_application_owner', true)
confirm_application_owner if opts[:confirmation].present? && opts[:confirmation]
end
def confirm_application_owner
@config.instance_variable_set('@confirm_application_owner', true)
end
def default_scopes(*scopes)
@config.instance_variable_set('@default_scopes', Doorkeeper::OAuth::Scopes.from_array(scopes))
end
def optional_scopes(*scopes)
@config.instance_variable_set('@optional_scopes', Doorkeeper::OAuth::Scopes.from_array(scopes))
end
def client_credentials(*methods)
@config.instance_variable_set('@client_credentials', methods)
end
def access_token_methods(*methods)
@config.instance_variable_set('@access_token_methods', methods)
end
def use_refresh_token
@config.instance_variable_set('@refresh_token_enabled', true)
end
def realm(realm)
@config.instance_variable_set('@realm', realm)
end
def reuse_access_token
@config.instance_variable_set("@reuse_access_token", true)
end
end
module Option
# Defines configuration option
#
# When you call option, it defines two methods. One method will take place
# in the +Config+ class and the other method will take place in the
# +Builder+ class.
#
# The +name+ parameter will set both builder method and config attribute.
# If the +:as+ option is defined, the builder method will be the specified
# option while the config attribute will be the +name+ parameter.
#
# If you want to introduce another level of config DSL you can
# define +builder_class+ parameter.
# Builder should take a block as the initializer parameter and respond to function +build+
# that returns the value of the config attribute.
#
# ==== Options
#
# * [:+as+] Set the builder method that goes inside +configure+ block
# * [+:default+] The default value in case no option was set
#
# ==== Examples
#
# option :name
# option :name, as: :set_name
# option :name, default: 'My Name'
# option :scopes builder_class: ScopesBuilder
#
def option(name, options = {})
attribute = options[:as] || name
attribute_builder = options[:builder_class]
Builder.instance_eval do
define_method name do |*args, &block|
# TODO: is builder_class option being used?
value = unless attribute_builder
block ? block : args.first
else
attribute_builder.new(&block).build
end
@config.instance_variable_set(:"@#{attribute}", value)
end
end
define_method attribute do |*args|
if instance_variable_defined?(:"@#{attribute}")
instance_variable_get(:"@#{attribute}")
else
options[:default]
end
end
public attribute
end
def extended(base)
base.send(:private, :option)
end
end
extend Option
option :resource_owner_authenticator,
as: :authenticate_resource_owner,
default: (lambda do |routes|
logger.warn(I18n.translate('doorkeeper.errors.messages.resource_owner_authenticator_not_configured'))
nil
end)
option :admin_authenticator,
as: :authenticate_admin,
default: ->(routes) {}
option :resource_owner_from_credentials,
default: (lambda do |routes|
warn(I18n.translate('doorkeeper.errors.messages.credential_flow_not_configured'))
nil
end)
option :skip_authorization, default: ->(routes) {}
option :access_token_expires_in, default: 7200
option :authorization_code_expires_in, default: 600
option :orm, default: :active_record
option :test_redirect_uri, default: 'urn:ietf:wg:oauth:2.0:oob'
option :active_record_options, default: {}
option :realm, default: 'Doorkeeper'
option :wildcard_redirect_uri, default: false
option :grant_flows,
default: %w(authorization_code implicit password client_credentials)
attr_reader :reuse_access_token
def refresh_token_enabled?
!!@refresh_token_enabled
end
def enable_application_owner?
!!@enable_application_owner
end
def confirm_application_owner?
!!@confirm_application_owner
end
def default_scopes
@default_scopes ||= Doorkeeper::OAuth::Scopes.new
end
def optional_scopes
@optional_scopes ||= Doorkeeper::OAuth::Scopes.new
end
def scopes
@scopes ||= default_scopes + optional_scopes
end
def orm_name
[:mongoid2, :mongoid3, :mongoid4].include?(orm) ? :mongoid : orm
end
def client_credentials_methods
@client_credentials ||= [:from_basic, :from_params]
end
def access_token_methods
@access_token_methods ||= [:from_bearer_authorization, :from_access_token_param, :from_bearer_param]
end
def realm
@realm ||= 'Doorkeeper'
end
def authorization_response_types
@authorization_response_types ||= calculate_authorization_response_types
end
def token_grant_types
@token_grant_types ||= calculate_token_grant_types
end
private
# Determines what values are acceptable for 'response_type' param in
# authorization request endpoint, and return them as an array of strings.
#
def calculate_authorization_response_types
types = []
types << 'code' if grant_flows.include? 'authorization_code'
types << 'token' if grant_flows.include? 'implicit'
types
end
# Determines what values are acceptable for 'grant_type' param token
# request endpoint, and return them in array.
#
def calculate_token_grant_types
types = grant_flows - ['implicit']
types << 'refresh_token' if refresh_token_enabled?
types
end
end
end
| {
"content_hash": "3c81596fb88cee065345ebb168df268c",
"timestamp": "",
"source": "github",
"line_count": 249,
"max_line_length": 114,
"avg_line_length": 30.333333333333332,
"alnum_prop": 0.6275652058784589,
"repo_name": "shivakumaarmgs/doorkeeper",
"id": "20ff78ed2dc69630a539035dbcf50dd833752699",
"size": "7553",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "lib/doorkeeper/config.rb",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "1072"
},
{
"name": "Ruby",
"bytes": "254094"
},
{
"name": "Shell",
"bytes": "409"
}
],
"symlink_target": ""
} |
var net = require('net'),
util = require('util'),
EventEmitter = require('events').EventEmitter,
crypto = require('crypto');
var fnEmpty = function() {};
var debug = fnEmpty, hexy, inspectMutated = false,
hexyFormat = {
caps: 'upper',
format: 'twos',
numbering: 'none',
groupSpacing: 2
};
function OscarConnection(options) {
if (!(this instanceof OscarConnection))
return new OscarConnection(options);
EventEmitter.call(this);
this._options = {
connection: {
username: '',
password: '',
host: SERVER_AOL,
port: 5190,
connTimeout: 10000, // connection timeout in msecs
allowMultiLogin: true,
debug: false
}, other: {
initialStatus: USER_STATUSES.ONLINE,
initialFlags: USER_FLAGS.DCDISABLED
}
};
this._options = extend(true, this._options, options);
if (typeof this._options.connection.debug === 'function') {
debug = this._options.connection.debug;
if (!inspectMutated) {
inspectMutated = true;
hexy = require('./hexy').hexy;
Buffer.prototype.inspect = function () {
return hexy(this, hexyFormat);
};
}
}
this._state = {
connections: {},
serviceMap: {},
reqID: 0, // 32-bit number that identifies a single SNAC request
status: this._options.other.initialStatus,
flags: this._options.other.initialFlags,
requests: {},
isAOL: (this._options.connection.host.substr(this._options.connection.host.length-7).toUpperCase() === 'AOL.COM'),
rateLimitGroups: {},
rateLimits: {},
svcInfo: {},
svcPaused: {},
SSI: {},
iconQueue: {},
rndvCookies: { out: {}, in: {} },
chatrooms: {},
p2p: {}
};
this.icon = { datetime: undefined, data: undefined }; // my 'buddy' icon
this.me = undefined;
this.contacts = { lastModified: undefined, list: undefined, permit: undefined, deny: undefined, prefs: undefined, _totalSSICount: 0, _usedIDs: {} };
}
util.inherits(OscarConnection, EventEmitter);
// setIdle only needs to be called once when you are idle and again when you are no longer idle.
// The server will automatically increment the idle time for you, so don't call setIdle every second
// or the evil AOL wizards will come for you!
// Just kidding about the wizards, but it will make OSCAR do funny things.
OscarConnection.prototype.setIdle = function(amount) { // amount is in seconds if an integer is supplied, false disables the idle state
if (typeof amount === 'boolean' && !amount)
amount = 0;
else if (typeof amount !== 'number' || amount <= 0 || amount === true)
throw new Error('Amount must be boolean false or a positive number > 0');
this._send(this._createFLAP(this._state.connections.main, FLAP_CHANNELS.SNAC,
this._createSNAC(SNAC_SERVICES.GENERIC, 0x11, NO_FLAGS,
[(amount >> 24 & 0xFF), (amount >> 16 & 0xFF), (amount >> 8 & 0xFF), (amount & 0xFF)]
)
));
};
OscarConnection.prototype.sendIM = function(who, message, flags, cb) {
var msgData, cookie, msgLen, self = this, features = (self._state.isAOL ? [0x01, 0x01, 0x01, 0x02] : [0x01]),
featLen = features.length, charset = ICBM_MSG_CHARSETS.ASCII, isSMS;
cb = arguments[arguments.length-1];
if (typeof flags !== 'number')
flags = 0x00000000;
if (typeof who === 'object')
who = who.name;
isSMS = /\+[\d]+/.test(who);
if (isSMS && !self._state.isAOL) {
var uin = parseInt(this._options.connection.username), len, data,
req = str2bytes('<icq_sms_message><destination>' + who + '</destination><text>' + message + '</text>'
+ '<codepage>1252</codepage><senders_UIN>' + uin + '</senders_UIN>'
+ '<senders_name>' + this.me.fullname + '</senders_name>'
+ '<delivery_receipt>' + (typeof cb === 'function' ? 'Yes' : 'No') + '</delivery_receipt>'
+ '<time>' + (new Date).toUTCString() + '</time>'
+ '</icq_sms_message>');
data = splitNum(uin, 4).reverse().concat([
0xD0, 0x07, (this._state.reqID & 0xFF) << 8, (this._state.reqID >> 8 & 0xFF), 0x82, 0x14,
0x00, 0x01, 0x00, 0x16, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
(req.length >> 8 & 0xFF), (req.length & 0xFF)
]).concat(req);
data.push(0x00);
len = data.length;
data.unshift(len >> 8 & 0xFF);
data.unshift(len & 0xFF);
self._send(self._createFLAP(self._state.serviceMap[SNAC_SERVICES.ICQ_EXT], FLAP_CHANNELS.SNAC,
self._createSNAC(SNAC_SERVICES.ICQ_EXT, 0x02, NO_FLAGS,
self._createTLV(0x01, data)
)
), cb);
return;
} else if (isSMS && (flags & ICBM_MSG_FLAGS.OFFLINE))
flags -= ICBM_MSG_FLAGS.OFFLINE;
cookie = splitNum(Date.now(), 4).concat(splitNum(Date.now()+1, 4));
who = str2bytes(who);
if (who.length > MAX_SN_LEN) {
var err = new Error('Screen names cannot be longer than ' + MAX_SN_LEN + ' characters');
if (typeof cb === 'function')
cb(err);
else
throw err;
return;
}
message = str2bytes(''+message);
if (message.length > MAX_MSG_LEN) {
// TODO: try stripping message of any HTML to see if it then fits within the length limit
var err = new Error('IM messages cannot be longer than ' + MAX_MSG_LEN + ' characters');
if (typeof cb === 'function')
cb(err);
else
throw err;
return;
}
msgLen = message.length + 4;
msgData = [0x05, 0x01, (featLen >> 8 & 0xFF), (featLen & 0xFF)]
.concat(features)
.concat([0x01, 0x01, (msgLen >> 8 & 0xFF), (msgLen & 0xFF),
(charset >> 8 & 0xFF), (charset & 0xFF), 0x00, 0x00]);
var content = cookie.concat([0x00, 0x01, who.length])
.concat(who)
.concat(self._createTLV(0x02, msgData.concat(message)));
if (flags & ICBM_MSG_FLAGS.AWAY)
content = content.concat(self._createTLV(0x04));
else {
// request that the server send us an ACK that the message was sent ok,
// but not necessarily immediately received by the destination user (i.e. they are offline)
if (typeof cb === 'function')
content = content.concat(self._createTLV(0x03));
if (flags & ICBM_MSG_FLAGS.OFFLINE)
content = content.concat(self._createTLV(0x06));
}
if (flags & ICBM_MSG_FLAGS.REQ_ICON)
content = content.concat(self._createTLV(0x09));
self._send(self._createFLAP(self._state.connections.main, FLAP_CHANNELS.SNAC,
self._createSNAC(SNAC_SERVICES.ICBM, 0x06, NO_FLAGS,
content
)
), cb);
};
OscarConnection.prototype.setProfile = function(text) {
var self = this, maxProfileLen = self._state.svcInfo[SNAC_SERVICES.LOCATION].maxProfileLen;
if (text.length > maxProfileLen)
throw new Error('Profile text cannot exceed max profile length of ' + maxProfileLen + ' characters');
self._send(self._createFLAP(self._state.connections.main, FLAP_CHANNELS.SNAC,
self._createSNAC(SNAC_SERVICES.LOCATION, 0x04, NO_FLAGS,
self._createTLV(0x01, str2bytes('text/aolrtf; charset="us-ascii"'))
.concat(self._createTLV(0x02, str2bytes(text)))
)
));
};
OscarConnection.prototype.warn = function(who, isAnonymous, cb) {
isAnonymous = (typeof isAnonymous !== 'boolean' ? true : isAnonymous);
cb = arguments[arguments.length-1];
if (self._state.isAOL) {
var msgLen, self = this;
who = str2bytes(''+who);
if (who.length > MAX_SN_LEN) {
var err = new Error('Screen names cannot be longer than ' + MAX_SN_LEN + ' characters');
if (typeof cb === 'function')
cb(err);
else
throw err;
return;
}
self._send(self._createFLAP(self._state.connections.main, FLAP_CHANNELS.SNAC,
self._createSNAC(SNAC_SERVICES.ICBM, 0x08, NO_FLAGS,
[0x00, (isAnonymous ? 0x01 : 0x00), who.length].concat(who)
)
), function(e, gain, newLevel) { if (typeof cb === 'function') cb(e, gain, newLevel); });
} else {
var err = new Error('Warn feature only available on AOL');
if (typeof cb === 'function')
cb(err);
else
throw err;
}
};
OscarConnection.prototype.notifyTyping = function(who, which) {
var self = this;
who = str2bytes(''+who);
if (who.length > MAX_SN_LEN)
throw new Error('Screen names cannot be longer than ' + MAX_SN_LEN + ' characters');
var notifyType = [0x00];
if (typeof which !== 'undefined')
notifyType.push((which ? 0x02 : 0x00));
else
notifyType.push(0x01);
self._send(self._createFLAP(self._state.connections.main, FLAP_CHANNELS.SNAC,
self._createSNAC(SNAC_SERVICES.ICBM, 0x14, NO_FLAGS,
[0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, who.length]
.concat(who)
.concat(notifyType)
)
));
};
OscarConnection.prototype.addContact = function(who, group, cb) {
var self = this, check, err, record, skipTrans = (typeof arguments[arguments.length-1] === 'boolean'), contactCount = 0;
cb = (typeof group === 'function' ? group : cb);
for (var i=0,groups=Object.keys(self.contacts.list),len=groups.length; i<len; i++)
contactCount += Object.keys(self.contacts.list[groups[i]].contacts).length;
if (contactCount < self._state.svcInfo[SNAC_SERVICES.SSI].maxContacts) {
record = (typeof who !== 'object' ? { name: '' } : who);
if (typeof group !== 'function')
record.group = group;
if (typeof who === 'string')
record.name = who;
check = self._SSIFindContact(record.group, record.name);
if (check[1] > -1)
err = 'That contact already exists';
else if (check[0] === -1)
err = 'Group not found';
} else
err = 'Maximum number of contacts reached';
if (err) {
err = new Error(err);
if (typeof cb === 'function')
cb(err);
else
throw err;
return;
}
record.type = 0x00;
record.group = check[0];
record.item = -1;
if (!skipTrans)
self._SSIStartTrans();
self._SSIModify(record, 0, function(e) {
if (e) {
if (!skipTrans)
self._SSIEndTrans();
if (typeof cb === 'function')
cb(e);
return;
}
self.contacts.list[record.group].contacts[record.item] = record;
self._SSIModify(self.contacts.list[record.group], 2, function(e) {
if (!skipTrans)
self._SSIEndTrans();
if (!e)
self.contacts._usedIDs[record.group][record.item] = true;
if (typeof cb === 'function')
cb(e);
});
});
};
OscarConnection.prototype.delContact = function(who, group, cb) {
var self = this, check, record, skipTrans = (typeof arguments[arguments.length-1] === 'boolean');
cb = (typeof group === 'function' ? group : cb);
record = (typeof who !== 'object' ? { name: '' } : who);
record.group = (typeof group !== 'function' ? group : undefined);
if (typeof who === 'string')
record.name = who;
check = self._SSIFindContact(record.group, record.name);
if (check[1] === -1) {
var err = new Error('That contact doesn\'t exists');
if (typeof cb === 'function')
cb(err);
else
throw err;
return;
}
record.type = 0x00;
record.group = check[0];
record.item = check[1];
if (!skipTrans)
self._SSIStartTrans();
self._SSIModify(record, 1, function(e) {
if (e) {
if (!skipTrans)
self._SSIEndTrans();
if (typeof cb === 'function')
cb(e);
return;
}
delete self.contacts.list[record.group].contacts[record.item];
self._SSIModify(self.contacts.list[record.group], 2, function(e) {
if (!skipTrans)
self._SSIEndTrans();
if (!e)
delete self.contacts._usedIDs[record.group][record.item];
if (typeof cb === 'function')
cb(e);
});
});
};
OscarConnection.prototype.moveContact = function(who, newGroup, cb) {
var self = this, check, err, record;
cb = arguments[arguments.length-1];
if (typeof who !== 'object')
record = { name: '' };
if (typeof who === 'string')
record.name = who;
check = self._SSIFindContact(record.group, record.name);
newGroup = self._SSIFindGroup(newGroup);
if (check[1] === -1)
err = 'That contact doesn\'t exist';
else if (newGroup === -1)
err = 'Destination group not found';
if (err) {
err = new Error(err);
if (typeof cb === 'function')
cb(err);
else
throw err;
return;
}
var contact = self.contacts.list[check[0]].contacts[check[1]];
self.delContact(contact, function(e) {
if (e) {
self._SSIEndTrans();
if (typeof cb === 'function')
cb(e);
return;
}
self.addContact(contact, newGroup, function(e) {
self._SSIEndTrans();
cb(e);
}, true);
}, true);
};
OscarConnection.prototype.addGroup = function(group, cb) {
var self = this, check, record, err;
if (Object.keys(self.contacts.list).length < self._state.svcInfo[SNAC_SERVICES.SSI].maxGroups) {
record = (typeof group !== 'object' ? { name: '' } : group);
record.item = 0x00;
record.type = 0x01;
if (typeof group === 'string')
record.name = group;
check = self._SSIFindGroup(record.name);
if (check > -1)
err = 'That group already exists';
} else
err = 'Maximum number of groups reached';
if (err) {
err = new Error(err);
if (typeof cb === 'function')
cb(err);
else
throw err;
return;
}
record.group = -1;
self._SSIStartTrans();
self._SSIModify(record, 0, function(e) {
if (e) {
self._SSIEndTrans();
if (typeof cb === 'function')
cb(e);
return;
}
record.contacts = {};
self.contacts.list[record.group] = record;
self._SSIModify(SSI_ROOT_GROUP, 2, function(e) {
self._SSIEndTrans();
if (!e)
self.contacts._usedIDs[record.group] = { 0: true };
if (typeof cb === 'function')
cb(e);
});
});
};
OscarConnection.prototype.delGroup = function(group, force, cb) {
var self = this, check, err, record;
cb = arguments[arguments.length-1];
if (typeof force !== 'boolean')
force = false;
record = (typeof group !== 'object' ? { name: '' } : group);
record.item = 0x00;
record.type = 0x01;
if (typeof group === 'string')
record.name = group;
check = self._SSIFindGroup(record.name);
if (check === -1)
err = 'That group doesn\'t exist';
else if (!force && Object.keys(self.contacts.list[check].contacts).length > 0)
err = 'That group isn\'t empty';
if (err) {
err = new Error(err);
if (typeof cb === 'function')
cb(err);
else
throw err;
return;
}
record.group = check;
self._SSIStartTrans();
var fnContinue = function() {
self._SSIModify(record, 1, function(e) {
if (e) {
self._SSIEndTrans();
if (typeof cb === 'function')
cb(e);
return;
}
delete self.contacts.list[record.group];
self._SSIModify(SSI_ROOT_GROUP, 2, function(e) {
self._SSIEndTrans();
if (!e)
delete self.contacts._usedIDs[record.group];
if (typeof cb === 'function')
cb(e);
});
});
};
var children = Object.keys(self.contacts.list[record.group].contacts), chlen = children.length;
if (force && chlen > 0) {
var contacts = [];
for (var i=0; i<chlen; i++)
contacts.push(self.contacts.list[record.group].contacts[children[i]]);
self._SSIModify(contacts, 1, function(e) {
if (e) {
self._SSIEndTrans();
if (typeof cb === 'function')
cb(e);
return;
}
fnContinue();
});
} else
fnContinue();
};
OscarConnection.prototype.renameGroup = function(group, newName, cb) {
var self = this, check, err, record;
record = (typeof group !== 'object' ? { name: '' } : group);
record.item = 0x00;
record.type = 0x01;
if (typeof group === 'string')
record.name = group;
check = self._SSIFindGroup(record.name);
if (check === -1)
err = 'The source group doesn\'t exist';
else if (self._SSIFindGroup(newName) > -1)
err = 'The destination group already exists';
if (err) {
err = new Error(err);
if (typeof cb === 'function')
cb(err);
else
throw err;
return;
}
record.group = check;
record.name = newName;
self._SSIStartTrans();
self._SSIModify(record, 2, function(e) {
self._SSIEndTrans();
if (!e)
self.contacts.list[record.group].name = newName;
if (typeof cb === 'function')
cb(e);
});
};
OscarConnection.prototype.getInfo = function(who, cb) {
// requests profile, away msg, capabilities
this._send(this._createFLAP(this._state.connections.main, FLAP_CHANNELS.SNAC,
this._createSNAC(SNAC_SERVICES.LOCATION, 0x15, NO_FLAGS,
[0x00, 0x00, 0x00, 0x07, who.length]
.concat(str2bytes(who))
)
), cb);
};
OscarConnection.prototype.addDeny = function(who, cb) {
// TODO
};
OscarConnection.prototype.delDeny = function(who) {
// TODO
};
OscarConnection.prototype.addPermit = function(who, cb) {
// TODO
};
OscarConnection.prototype.delPermit = function(who) {
// TODO
};
OscarConnection.prototype.getIcon = function(who, metaData, cb) {
var icons, self = this,
fnGetBest = function(list) {
var idx;
for (var i=0,best=0; i<list.length; i++) {
if (list[i].type > best) {
best = list[i].type;
idx = i;
} else if (typeof idx === 'undefined')
idx = i;
}
process.nextTick(function(){ self._downloadIcons((typeof who === 'string' ? who : who.name), list[idx], cb); });
};
cb = arguments[arguments.length-1];
if (typeof metaData !== 'function')
icons = metaData;
if (typeof who === 'string') {
var where = self._SSIFindContact(who);
if (where[1] === -1 && !metaData) {
self.getInfo(who, function(e, info) {
if (e || !info.icons) {
if (typeof cb === 'function')
cb(e);
return;
}
fnGetBest(info.icons);
});
return;
} else if (where[1] > -1)
icons = self.contacts.list[where[0]].contacts[where[1]].icons;
} else if (typeof who === 'object')
icons = who.icons;
if (!icons) {
if (typeof cb === 'function')
cb(); // user has no icon set
} else
fnGetBest(icons);
};
OscarConnection.prototype.getOfflineMsgs = function() {
this._send(this._createFLAP(this._state.connections.main, FLAP_CHANNELS.SNAC,
this._createSNAC(SNAC_SERVICES.ICBM, 0x10, NO_FLAGS
)
));
};
OscarConnection.prototype.joinChat = function(name, cb) {
var self = this;
if (!self._state.chatrooms[name]) {
var exchange = 4;
this._send(this._createFLAP(self._state.serviceMap[SNAC_SERVICES.CHAT_NAV], FLAP_CHANNELS.SNAC,
this._createSNAC(SNAC_SERVICES.CHAT_NAV, 0x08, NO_FLAGS,
[(exchange >> 8) & 0xFF, exchange & 0xFF, 0x06]
.concat(str2bytes('create')).concat([0xFF, 0xFF, 0x01, 0x00, 0x03])
.concat(this._createTLV(0xD3, name))
.concat(this._createTLV(0xD6, 'us-ascii'))
.concat(this._createTLV(0xD7, 'en'))
)
), function(err, roomInfo) {
// CHAT_NAV 0x09 activates this callback
if (err) {
cb(err);
return;
}
this._addService(SNAC_SERVICES.CHAT, roomInfo, function(err, conn) {
if (err) {
cb(err);
return;
}
cb();
});
});
} else
cb(new Error('You are already in that chat room'));
};
OscarConnection.prototype.inviteChat = function(name, msg, who) {
if (this._state.chatrooms[name]) {
if (typeof who === 'undefined') {
who = msg;
msg = 'Please join me in this chat';
}
return this._chatInvite(who, msg, this._state.chatrooms[name].roomInfo);
} else
return false;
};
OscarConnection.prototype.sendChatMsg = function(name, text) {
if (this._state.chatrooms[name]) {
var conn = this._state.chatrooms[name],
cookie = splitNum(Date.now(), 4).concat(splitNum(Date.now()+1, 4));
if (text.length > conn.roomInfo.maxMsgLen)
return false;
this._send(conn, this._createFLAP(conn, FLAP_CHANNELS.SNAC,
this._createSNAC(SNAC_SERVICES.CHAT, 0x05, NO_FLAGS,
cookie.concat([0x00, 0x03]) // channel
.concat(this._createTLV(0x01)) // send to entire chat room
.concat(this._createTLV(0x06)) // send us our own message
.concat(this._createTLV(0x05,
this._createTLV(0x02, 'us-ascii')
.concat(this._createTLV(0x03, 'en'))
.concat(this._createTLV(0x01, str2bytes(text)))
))
)
));
return true;
} else
return false;
};
OscarConnection.prototype.leaveChat = function(name) {
if (this._state.chatrooms[name]) {
this._state.chatrooms[name].destroy();
delete this._state.chatrooms[name];
return true;
} else
return false;
};
OscarConnection.prototype.connect = function(cb) {
var self = this;
self._addConnection('login', null, self._options.connection.host, self._options.connection.port, function(e) {
if (self._state.connections.main) {
self._state.connections.main.authCookie = undefined;
self._state.connections.main.rateLimitGroups = undefined;
}
if (e) {
if (typeof cb === 'function')
cb(e);
return;
}
self._addService(SNAC_SERVICES.BART, function(e) {
if (e) {
if (typeof cb === 'function')
cb(e);
return;
}
self._addService(SNAC_SERVICES.CHAT_NAV, function(e){
if(typeof cb == 'function'){
cb(e);
return;
}
});
});
});
};
OscarConnection.prototype.end = function() {
var ids = Object.keys(this._state.connections);
for (var i=0,len=ids.length; i<len; ++i)
this._state.connections[ids[i]].end();
this._resetState();
};
// Connection handlers -------------------------------------------------------------------------------
function connect_handler(oscar) {
var self = oscar, conn = this;
conn.availServices = {};
conn.isConnected = true;
clearTimeout(conn.tmrConn);
conn.restartKeepAlive();
if (conn.isTransferring) {
if (conn.id === 'login') {
self._state.connections.main = self._state.connections.login;
delete self._state.connections.login;
conn.id = 'main';
}
conn.serverType = 'BOS';
conn.isTransferring = false;
}
debug('(' + conn.remoteAddress + ') Connected to ' + conn.serverType + ' server');
conn.write('');
}
function data_handler(oscar, data, cb) {
var self = oscar, conn = this;
//debug('(' + conn.remoteAddress + ') RECEIVED: \n' + util.inspect(data)) + '\n';
if (conn.curData)
conn.curData = bufferAppend(conn.curData, data);
else
conn.curData = data;
data = conn.curData;
if (data[0] === 0x2A) {
switch (data[1]) {
case FLAP_CHANNELS.CONN_NEW: // new connection negotiation
debug('(' + conn.remoteAddress + ') RECEIVED FLAP type: New connection negotiation');
if (conn.serverType === 'login') {
self._send(conn, self._createFLAP(conn, FLAP_CHANNELS.CONN_NEW, [0x00, 0x00, 0x00, 0x01])); // send FLAP protocol version
self._login(undefined, conn, cb);
} else
self._login(undefined, conn, cb, 2);
conn.curData = undefined;
break;
case FLAP_CHANNELS.SNAC: // SNAC response
var payloadLen = (data[4] << 8) + data[5];
if (6+payloadLen > data.length)
return;
else
conn.curData = undefined;
//debug('(' + conn.remoteAddress + ') RECEIVED FLAP type: SNAC response');
self._parseSNAC(conn, data.slice(6, 6+payloadLen), cb);
if (data.length > 6 + payloadLen) {
// extra bytes -- start of another FLAP message?
var extra = new Buffer(data.length - (6 + payloadLen));
data.copy(extra, 0, 6 + payloadLen);
process.nextTick(function() {
conn.emit('data', extra);
});
}
break;
case FLAP_CHANNELS.ERROR: // FLAP-level error
debug('(' + conn.remoteAddress + ') RECEIVED FLAP type: FLAP error');
conn.curData = undefined;
break;
case FLAP_CHANNELS.CONN_CLOSE: // close connection negotiation
debug('(' + conn.remoteAddress + ') RECEIVED FLAP type: Close connection negotiation');
if (conn.serverType === 'BOS') {
var tlvs = extractTLVs(data, 6);
if (tlvs[TLV_TYPES.ERROR]) {
var code = (tlvs[TLV_TYPES.ERROR][0] << 8) + tlvs[TLV_TYPES.ERROR][1];
var err = new Error(AUTH_ERRORS_TEXT[code]);
err.code = code;
if (typeof cb === 'function')
cb(err);
else
throw err;
return;
} else if (tlvs[TLV_TYPES.BOS_SERVER])
self._login(undefined, conn, cb, 1, tlvs[TLV_TYPES.BOS_SERVER].toString(), tlvs[TLV_TYPES.AUTH_COOKIE]);
}
conn.curData = undefined;
break;
case FLAP_CHANNELS.KEEPALIVE: // keep alive
debug('(' + conn.remoteAddress + ') RECEIVED FLAP type: Keep-alive');
conn.curData = undefined;
break;
default:
debug('(' + conn.remoteAddress + ') RECEIVED FLAP type: UNKNOWN (0x' + data[1].toString(16) + ')');
conn.curData = undefined;
}
} else
debug('(' + conn.remoteAddress + ') RECEIVED Non-FLAP message');
}
function end_handler(oscar) {
var self = oscar, conn = this;
conn.isConnected = false;
if (!conn.isTransferring) {
if (conn === self._state.connections.main) {
self._resetState();
self.emit('end');
}
debug('(' + conn.remoteAddress + ') [' + getConnSvcNames(conn) + '] FIN packet received. Disconnecting...');
}
}
function error_handler(oscar, err, cb) {
var self = oscar, conn = this;
clearTimeout(conn.tmrConn);
if (!conn.isConnected)
cb(new Error('(' + conn.remoteAddress + ') Unable to connect to ' + conn.serverType + ' server.\n ' + err.stack));
if (conn.readyState === 'closed')
conn.isConnected = false;
debug('(' + conn.remoteAddress + ') ' + err);
self.emit('error', err);
}
function close_handler(oscar, had_error) {
var self = oscar, conn = this;
conn.isConnected = false;
if (!conn.isTransferring || had_error) {
if (conn === self._state.connections.main) {
self._resetState();
self.emit('close', had_error);
}
debug('(' + conn.remoteAddress + ') [' + getConnSvcNames(conn) + '] Connection forcefully closed.');
}
}
// Private methods -----------------------------------------------------------------------------------
OscarConnection.prototype._resetState = function() {
this._state = {
connections: {},
serviceMap: {},
reqID: 0, // 32-bit number that identifies a single SNAC request
status: this._options.other.initialStatus,
flags: this._options.other.initialFlags,
requests: {},
isAOL: (this._options.connection.host.substr(this._options.connection.host.length-7).toUpperCase() === 'AOL.COM'),
rateLimitGroups: {},
rateLimits: {},
svcInfo: {},
svcPaused: {},
SSI: {},
iconQueue: {},
rndvCookies: { out: {}, in: {} },
chatrooms: {},
p2p: {}
};
};
OscarConnection.prototype._addConnection = function(id, services, host, port, cb) {
var self = this;
self._state.connections[id] = new net.Socket();
self._state.connections[id].id = id;
self._state.connections[id].neededServices = services;
self._state.connections[id].serverType = (id === 'login' ? 'login' : 'BOS');
self._state.connections[id].isTransferring = false;
self._state.connections[id].isReady = false;
self._state.connections[id].isConnected = false;
self._state.connections[id].seqNum = 0; // 0x0000 to 0x7FFF, wraps to 0x0000 past 0x7FFF
self._state.connections[id].fnTmrConn = function(cbConn) {
cbConn(new Error('Connection timed out while connecting to ' + self._state.connections[id].serverType + ' server'));
self._state.connections[id].destroy();
};
self._state.connections[id].tmrConn = setTimeout(self._state.connections[id].fnTmrConn, self._options.connection.connTimeout, cb);
self._state.connections[id].setTimeout(0);
self._state.connections[id].setKeepAlive(true);
self._state.connections[id].restartKeepAlive = function() {
var conn = this;
if (conn.keepAliveTimer)
clearTimeout(conn.keepAliveTimer);
conn.keepAliveTimer = setInterval(function() { self._sendKeepAlive(conn); }, KEEPALIVE_INTERVAL);
};
self._state.connections[id].on('connect', function() { connect_handler.call(this, self); });
self._state.connections[id].on('data', function(data) { data_handler.call(this, self, data, cb); });
self._state.connections[id].on('end', function() { end_handler.call(this, self); });
self._state.connections[id].on('error', function(err) { error_handler.call(this, self, err, cb); });
self._state.connections[id].on('close', function(had_error) { close_handler.call(this, self, had_error); });
self._state.connections[id].connect(port, host);
}
OscarConnection.prototype._addService = function(svc, roomInfo, cb) {
var self = this;
if (typeof cb === 'undefined') {
cb = roomInfo;
roomInfo = undefined;
}
if (svc === SNAC_SERVICES.CHAT || !self._state.serviceMap[svc]) {
var content = [svc >> 8 & 0xFF, svc & 0xFF];
if (roomInfo) {
content = content.concat(self._createTLV(0x01,
[(roomInfo.exchange >> 8) & 0xFF, roomInfo.exchange & 0xFF,
roomInfo.cookie.length].concat(roomInfo.cookie).concat([0x00, 0x00])
));
}
self._send(self._createFLAP(self._state.connections.main, FLAP_CHANNELS.SNAC,
self._createSNAC(SNAC_SERVICES.GENERIC, 0x04, NO_FLAGS,
content
)
), function(e, address, cookie) {
if (e) {
if (typeof cb === 'function')
cb(e);
return;
}
var services = {}, server, port, id = Date.now();
if (address.indexOf(':') > -1) {
server = address.substring(0, address.indexOf(':'));
port = parseInt(address.substr(address.indexOf(':')+1));
} else {
server = address;
port = self._state.connections.main.remotePort;
}
services[svc] = true;
self._addConnection(id, services, server, port, function(e) {
self._state.connections[id].authCookie = undefined;
self._state.connections[id].rateLimitGroups = undefined;
if (!e && roomInfo) {
self._state.chatrooms[roomInfo.name] = self._state.connections[id];
self._state.chatrooms[roomInfo.name].roomInfo = roomInfo;
}
if (typeof cb === 'function')
process.nextTick(function(){ cb(e, self._state.connections[id]); });
});
self._state.connections[id].authCookie = cookie;
});
} else if (typeof cb === 'function')
process.nextTick(function(){ cb(); });
};
// action === 0 (add), 1 (delete), 2 (modify)
OscarConnection.prototype._SSIModify = function(items, action, cb) {
// TODO: check max (and min) name length, etc before hitting the server
cb = arguments[arguments.length-1];
var err = '', exists, bytes = [], self = this;
items = (Array.isArray(items) ? items : [items]);
for (var i=0,ilen=items.length; i<ilen; i++) {
bytes.push(items[i].name.length >> 8 & 0xFF);
bytes.push(items[i].name.length & 0xFF);
for (var j=0; j<items[i].name.length; j++)
bytes.push(items[i].name.charCodeAt(j) & 0xFF);
if (action === 0) {
if (items[i].type === 0x01) {
for (var j=0; j<=0x7FFF; j++) {
if (typeof self.contacts._usedIDs[j] === 'undefined') {
items[i].group = j;
break;
}
}
} else if (items[i].group === 0) {
var groups = Object.keys(self.contacts._usedIDs), groupsLen = groups.length;
for (var j=0,found; j<=0x7FFF; j++) {
if (typeof self.contacts._usedIDs[j] === 'undefined') {
found = false;
for (var k=0; k<groupsLen; k++) {
if (typeof self.contacts._usedIDs[groups[k]][j] !== 'undefined')
found = true;
}
if (!found) {
items[i].item = j;
break;
}
}
}
} else {
for (var j=0; j<=0x7FFF; j++) {
if (typeof self.contacts._usedIDs[items[i].group][j] === 'undefined') {
items[i].item = j;
break;
}
}
}
}
bytes.push(items[i].group >> 8 & 0xFF);
bytes.push(items[i].group & 0xFF);
bytes.push(items[i].item >> 8 & 0xFF);
bytes.push(items[i].item & 0xFF);
bytes.push(items[i].type >> 8 & 0xFF);
bytes.push(items[i].type & 0xFF);
var itemBytes = [];
if (action !== 1) {
if (items[i].type === 0x00) {
if (items[i].localInfo) {
if (items[i].localInfo.alias)
itemBytes = itemBytes.concat(self._createTLV(0x0131, str2bytes(items[i].localInfo.alias)));
if (items[i].localInfo.emailAddress)
itemBytes = itemBytes.concat(self._createTLV(0x0137, str2bytes(items[i].localInfo.emailAddress)));
if (items[i].localInfo.homePhoneNum)
itemBytes = itemBytes.concat(self._createTLV(0x0138, str2bytes(items[i].localInfo.homePhoneNum)));
if (items[i].localInfo.cellPhoneNum)
itemBytes = itemBytes.concat(self._createTLV(0x0139, str2bytes(items[i].localInfo.cellPhoneNum)));
if (items[i].localInfo.smsPhoneNum)
itemBytes = itemBytes.concat(self._createTLV(0x013A, str2bytes(items[i].localInfo.smsPhoneNum)));
if (items[i].localInfo.workPhoneNum)
itemBytes = itemBytes.concat(self._createTLV(0x0158, str2bytes(items[i].localInfo.workPhoneNum)));
if (items[i].localInfo.otherPhoneNum)
itemBytes = itemBytes.concat(self._createTLV(0x0159, str2bytes(items[i].localInfo.otherPhoneNum)));
if (items[i].localInfo.notes)
itemBytes = itemBytes.concat(self._createTLV(0x013C, str2bytes(items[i].localInfo.notes)));
}
// TODO: support adding/modifying the alerts for this contact and check maxWatchers first
} else if (items[i].type === 0x01) {
if (action === 2) {
var ids = [],
children = (Object.keys(items[i].group > 0 ?
this.contacts.list[items[i].group].contacts : this.contacts._usedIDs),len2 = children.length);
for (var j=0; j<len2; j++) {
if (items[i].group === 0 && children[j] === 0)
continue;
ids.push(children[j] >> 8 & 0xFF);
ids.push(children[j] & 0xFF);
}
if (ids.length > 0)
itemBytes = itemBytes.concat(self._createTLV(0x00C8, ids));
}
} else if (items[i].tlvs) {
for (var j=0,types=Object.keys(items[i].tlvs),len2=types.length; j<len2; j++)
itemBytes = itemBytes.concat(self._createTLV(parseInt(types[j]), items[i].tlvs[types[j]]));
}
}
bytes.push(itemBytes.length >> 8 & 0xFF);
bytes.push(itemBytes.length & 0xFF);
if (itemBytes.length > 0)
bytes = bytes.concat(itemBytes);
}
var subtype = 0x08;
if (action === 1)
subtype = 0x0A;
else if (action === 2)
subtype = 0x09;
self._send(self._createFLAP(self._state.connections.main, FLAP_CHANNELS.SNAC,
self._createSNAC(SNAC_SERVICES.SSI, subtype, NO_FLAGS,
bytes
)
), function(e) {
if (typeof cb === 'function')
cb(e);
});
};
OscarConnection.prototype._SSIStartTrans = function() {
var self = this;
self._send(self._createFLAP(self._state.connections.main, FLAP_CHANNELS.SNAC,
self._createSNAC(SNAC_SERVICES.SSI, 0x11, NO_FLAGS
)
));
};
OscarConnection.prototype._SSIEndTrans = function() {
var self = this;
self._send(self._createFLAP(self._state.connections.main, FLAP_CHANNELS.SNAC,
self._createSNAC(SNAC_SERVICES.SSI, 0x12, NO_FLAGS
)
));
};
OscarConnection.prototype._SSIFindGroup = function(group) {
var retVal = -1;
if (typeof group === 'undefined' || group === null)
retVal = -1;
else if (typeof group === 'number') {
if (typeof this.contacts.list[group] === 'undefined')
retVal = -1;
} else {
group = (''+group).toUpperCase();
for (var i=0,groups=Object.keys(this.contacts.list),len=groups.length; i<len; i++) {
if (this.contacts.list[groups[i]].name.toUpperCase() === group) {
retVal = groups[i];
break;
}
}
}
return retVal;
};
OscarConnection.prototype._SSIFindContact = function(group, contact) {
var retVal = [-1, -1];
if (arguments.length === 1) {
contact = arguments[0];
group = undefined;
}
group = this._SSIFindGroup(group);
if (group > -1)
retVal[0] = group;
if (typeof contact === 'number') {
if (typeof this.contacts.list[group].contacts[contact] !== 'undefined')
retVal[1] = contact;
} else {
contact = (''+contact).toUpperCase().replace(/ /g, '');
for (var i=0,groups=Object.keys(this.contacts.list),glen=groups.length; i<glen; i++) {
for (var j=0,contacts=Object.keys(this.contacts.list[groups[i]].contacts),len=contacts.length; j<len; j++) {
if (this.contacts.list[groups[i]].contacts[contacts[j]].name.toUpperCase().replace(/ /g, '') === contact) {
retVal[0] = groups[i];
retVal[1] = contacts[j];
break;
}
}
}
}
return retVal;
};
OscarConnection.prototype._send = function(conn, payload, cb) {
var self = this, isSNAC, svc;
if (!(conn instanceof net.Stream)) {
cb = payload;
payload = conn;
}
isSNAC = (payload[1] === FLAP_CHANNELS.SNAC);
svc = (isSNAC ? (payload[6] << 8) + payload[7] : undefined);
if (!(conn instanceof net.Stream) && svc !== 'undefined')
conn = self._state.serviceMap[svc];
if (isSNAC) {
if (Object.keys(conn.availServices).length > 0 && typeof conn.availServices[svc] === 'undefined') {
var err = new Error('No available server supports the requested SNAC: 0x' + svc.toString(16));
if (typeof cb === 'function')
cb(err);
else
throw err;
return;
}
if (typeof cb === 'function') { // some requests don't expect a response
var reqID = (payload[12] << 24) + (payload[13] << 16) + (payload[14] << 8) + payload[15]; // SNAC request ID
this._state.requests[reqID] = cb;
}
}
payload = new Buffer(payload);
debug('(' + conn.remoteAddress + ') SENDING: \n' + util.inspect(payload) + '\n');
conn.write(payload);
conn.restartKeepAlive();
};
OscarConnection.prototype._dispatch = function(reqID) {
var cb = this._state.requests[reqID];
if (typeof cb === 'function') {
this._state.requests[reqID] = undefined;
cb.apply(this, Array.prototype.slice.call(arguments).slice(1));
}
};
OscarConnection.prototype._incomingFile = function(data) {
var fileInfo = {}, i = 0, len;
fileInfo.subtype = (data[i++] << 8) + data[i++]; // 0x0001 === 'one file', 0x0002 === 'more than one file'
fileInfo.numFiles = (data[i++] << 8) + data[i++];
fileInfo.totalSize = (data[i++] << 24) + (data[i++] << 16) + (data[i++] << 8) + data[i++];
fileInfo.filename = data.toString(i, i+(data.length-1)); // string is null-terminated
return fileInfo;
};
OscarConnection.prototype._incomingIcon = function(data) {
var i = 0, hash = (data[i++] << 24) + (data[i++] << 16) + (data[i++] << 8) + data[i++],
len = (data[i++] << 24) + (data[i++] << 16) + (data[i++] << 8) + data[i++],
datetime = (data[i++] << 24) + (data[i++] << 16) + (data[i++] << 8) + data[i++];
return { hash: hash, datetime: datetime, data: data.slice(i, i+len) };
};
OscarConnection.prototype._incomingChat = function(data) {
var roomInfo = {}, i = 0, len;
roomInfo.exchange = (data[i++] << 8) + data[i++];
len = data[i++];
roomInfo.name = data.toString('utf8', i, i+len);
i += len;
roomInfo.instance = (data[i++] << 8) + data[i++];
return roomInfo;
};
OscarConnection.prototype._incomingList = function(data) {
var list = {};
for (var i=0,len=data.length,group,namelen,numContacts; i<len;) {
namelen = (data[i++] << 8) + data[i++];
group = data.toString('utf8', i, i+namelen);
list[group] = [];
i += namelen;
numContacts = (data[i++] << 8) + data[i++];
for (var j=0; j<numContacts; j++) {
namelen = (data[i++] << 8) + data[i++];
list[group].push(data.toString('utf8', i, i+namelen));
i += namelen;
}
}
return list;
};
OscarConnection.prototype._calcIconSum = function(icon) {
var sum = 0; // 16-bit
if (Buffer.isBuffer(icon) || Array.isArray(icon)) {
var iconLen = icon.length, i;
for (i=0; i+1<iconLen; i+=2)
sum += (icon[i+1] << 8) + icon[i];
if (i < iconLen)
sum += icon[i];
sum = ((sum & 0xFFFF0000) >> 16) + (sum & 0x0000FFFF);
}
return sum;
};
OscarConnection.prototype._sendIcon = function(who) {
if (Buffer.isBuffer(this.icon.data) || Array.isArray(this.icon.data)) {
if (this.icon.data.length <= MAX_ICON_LEN) {
var content = [], cookie;
who = str2bytes(who);
cookie = splitNum(Date.now(), 4).concat(splitNum(Date.now()+1, 4));
content = content.concat(cookie).concat[0x00, 0x02, who.length].concat(who)
.concat(this._createTLV(0x05, [0x00, 0x00].concat(cookie).concat(CAPABILITIES.BUDDY_ICON)));
content = content.concat(this._createTLV(0x0A, [0x00, 0x01]));
content = content.concat(this._createTLV(0x0F));
content = content.concat(this._createTLV(0x2711, [0x00].concat(splitNum(this._calcIconSum(this.icon.data), 2))
.concat(splitNum(this.icon.data.length, 4))
.concat(splitNum(this.icon.datetime, 4))
));
for (var i=0,len=this.icon.data.length; i<len; i++)
content.push(this.icon.data[i]);
content = content.concat(str2bytes('AVT1picture.id'));
this._send(this._createFLAP(this._state.connections.main, FLAP_CHANNELS.SNAC,
this._createSNAC(SNAC_SERVICES.ICBM, 0x06, NO_FLAGS,
content
)
));
} else
debug('Uh oh, my icon exceeds the maximum icon size of ' + MAX_ICON_LEN + ' bytes. Cannot send it to: ' + who);
}
};
OscarConnection.prototype.sendFile = function(who, file, ip, port, cb) {
};
OscarConnection.prototype._cancelRendezvous = function(inout, cookie, cb) {
cookie = ''+cookie;
var info = this._state.rndvCookies[inout][cookie];
if (typeof info !== 'undefined') {
var content, type;
cookie = info.cookie;
if (info.type === 'chat')
type = CAPABILITIES.CHAT;
else if (info.type === 'file')
type = CAPABILITIES.SEND_FILE;
if (inout === 'out') {
content = cookie.concat[0x00, 0x02, who.length].concat(who).concat(this._createTLV(0x03))
.concat(this._createTLV(0x05, [0x00, 0x01].concat(cookie).concat(type).concat(this._createTLV(0x0B))));
this._send(this._createFLAP(this._state.connections.main, FLAP_CHANNELS.SNAC,
this._createSNAC(SNAC_SERVICES.ICBM, 0x06, NO_FLAGS,
content
)
), cb);
} else if (inout === 'in') {
if (info.type === 'file') {
}
}
delete this._state.rndvCookies[inout][cookie];
}
};
OscarConnection.prototype._chatInvite = function(who, msg, roomInfo) {
var content, cookie;
who = str2bytes(who);
msg = str2bytes(msg);
name = str2bytes(roomInfo.name);
exchange = splitNum(roomInfo.exchange, 2);
instance = splitNum(roomInfo.instance, 2);
cookie = splitNum(Date.now(), 4).concat(splitNum(Date.now()+1, 4));
this._state.rndvCookies.out[cookie.join('')] = {
cookie: cookie,
type: 'chat',
user: who,
name: name,
exchange: exchange,
instance: instance
};
content = cookie.concat([0x00, 0x02, who.length]).concat(who)
.concat(this._createTLV(0x05, [0x00, 0x00].concat(cookie).concat(CAPABILITIES.CHAT)
.concat(this._createTLV(0x0A, [0x00, 0x01])).concat(this._createTLV(0x0F))
.concat(this._createTLV(0x0C, msg))
.concat(this._createTLV(0x2711, exchange.concat(name).concat(instance)))));
this._send(this._createFLAP(this._state.connections.main, FLAP_CHANNELS.SNAC,
this._createSNAC(SNAC_SERVICES.ICBM, 0x06, NO_FLAGS,
content
)
));
return cookie.join('');
};
OscarConnection.prototype._parseSNAC = function(conn, snac, cb) {
//debug('(' + conn.remoteAddress + ') SNAC response follows:\n' + util.inspect(snac));
var serviceID, subtypeID, flags, reqID, tlvs, idx, isServerOrig, moreFollows,
debugtext, self = this;
serviceID = (snac[0] << 8) + snac[1];
subtypeID = (snac[2] << 8) + snac[3];
flags = (snac[4] << 8) + snac[5];
reqID = (snac[6] << 24) + (snac[7] << 16) + (snac[8] << 8) + snac[9];
isServerOrig = (flags < 0); // MSB === 1 indicates the SNAC is not the result of a client request,
// (i.e. the server is asking/telling us something)
moreFollows = (flags & 0x1); // At least one more packet of the same SNAC service and subtype (?) will come after this packet
idx = 10;
if (flags & 0x8000) {
// apparently this means AOL has decided to prepend service version information for the fun of it,
// so skip it to get to the real data
idx += 2+((snac[idx] << 8) + snac[idx+1]);
}
debugtext = '(' + conn.remoteAddress + ') RECEIVED SNAC: ';
switch (serviceID) {
case SNAC_SERVICES.AUTH:
debugtext += 'AUTH > ';
switch (subtypeID) {
case 0x03:
debugtext += 'MD5 login reply';
tlvs = extractTLVs(snac);
if (tlvs[TLV_TYPES.ERROR]) {
var err = new Error(AUTH_ERRORS_TEXT[(tlvs[TLV_TYPES.ERROR][0] << 8) + tlvs[TLV_TYPES.ERROR][1]]);
debugtext += ' (error: ' + err + ')';
if (typeof cb === 'function')
cb(err);
else
throw err;
} else {
self._dispatch(reqID, undefined, tlvs[TLV_TYPES.BOS_SERVER].toString(), tlvs[TLV_TYPES.AUTH_COOKIE].toArray());
debugtext += ' (no error)';
}
break;
case 0x07: // md5 salt
debugtext += 'MD5 key/salt';
var saltLen, salt;
saltLen = (snac[idx++] << 8) + snac[idx++];
salt = snac.toString('utf8', idx, idx+saltLen);
self._dispatch(reqID, undefined, salt);
break;
default:
debugtext += 'Unknown (0x' + subtypeID.toString(16) + ')';
}
break;
case SNAC_SERVICES.GENERIC:
debugtext += 'GENERIC > ';
switch (subtypeID) {
case 0x01: // error
debugtext += 'Error';
var code = (snac[idx++] << 8) + snac[idx++], msg = GLOBAL_ERRORS_TEXT[code] || 'Unknown error code received: ' + code,
err = new Error(msg);
err.code = code;
debugtext += ': ' + msg;
self._dispatch(reqID, err);
break;
case 0x03:
debugtext += 'Supported services: ';
var debugAvail = [], services = flip(SNAC_SERVICES);
for (var len=snac.length,svc; idx<len;) {
svc = (snac[idx++] << 8) + snac[idx++];
conn.availServices[svc] = true;
if (typeof services[svc] !== 'undefined')
debugAvail.push(services[svc]);
}
debugtext += debugAvail.join(', ');
self._login(undefined, conn, cb, 3);
break;
case 0x05: // redirect info for requested service
debugtext += 'Service request info';
var services = flip(SNAC_SERVICES), useSSL;
tlvs = extractTLVs(snac, idx);
useSSL = (tlvs[0x8E] && tlvs[0x8E][0] === 0x01);
if (typeof services[(tlvs[0x0D][0] << 8) + tlvs[0x0D][1]] !== 'undefined')
debugtext += ' (' + services[(tlvs[0x0D][0] << 8) + tlvs[0x0D][1]] + ')';
else
debugtext += ' (Unknown: ' + ((tlvs[0x0D][0] << 8) + tlvs[0x0D][1]).toString(16) + ')';
debugtext += '. Host: ' + tlvs[0x05].toString();
self._dispatch(reqID, undefined, tlvs[0x05].toString(), tlvs[0x06].toArray());
break;
case 0x07:
debugtext += 'Rate limit classes and groups';
var numGroups = 0, classId;
if (typeof snac[idx] !== 'undefined') {
numGroups = (snac[idx++] << 8) + snac[idx++];
for (var i=0, group; i<numGroups; i++) {
classId = (snac[idx++] << 8) + snac[idx++];
group = {
windowSize: (snac[idx++] << 24) + (snac[idx++] << 16) + (snac[idx++] << 8) + snac[idx++],
levels: {
clear: (snac[idx++] << 24) + (snac[idx++] << 16) + (snac[idx++] << 8) + snac[idx++],
alert: (snac[idx++] << 24) + (snac[idx++] << 16) + (snac[idx++] << 8) + snac[idx++],
limit: (snac[idx++] << 24) + (snac[idx++] << 16) + (snac[idx++] << 8) + snac[idx++],
disconnect: (snac[idx++] << 24) + (snac[idx++] << 16) + (snac[idx++] << 8) + snac[idx++],
current: (snac[idx++] << 24) + (snac[idx++] << 16) + (snac[idx++] << 8) + snac[idx++],
max: (snac[idx++] << 24) + (snac[idx++] << 16) + (snac[idx++] << 8) + snac[idx++],
},
delta: 0,
droppingSNACs: false
};
if (conn.availServices[serviceID] >= 3) {
group.delta = (snac[idx++] << 24) + (snac[idx++] << 16) + (snac[idx++] << 8) + snac[idx++];
group.droppingSNACs = (snac[idx++] === 0x01 ? true : false);
}
if (!self._state.rateLimitGroups[classId])
self._state.rateLimitGroups[classId] = group;
if (!conn.rateLimitGroups)
conn.rateLimitGroups = [];
if (conn.rateLimitGroups.indexOf(classId) === -1)
conn.rateLimitGroups.push(classId);
}
}
if (numGroups > 0) {
for (var i=0,numPairs; i<numGroups; i++) {
classId = (snac[idx++] << 8) + snac[idx++];
numPairs = (snac[idx++] << 8) + snac[idx++];
// Save memory by not storing most SNACs that are in the same rate group
// and just default to this group if they are not found in the hash
if (classId === DEFAULT_RATE_GROUP) {
idx += numPairs*4;
continue;
}
for (var j=0,service,subtype; j<numPairs; j++) {
service = (snac[idx++] << 8) + snac[idx++];
subtype = (snac[idx++] << 8) + snac[idx++];
if (!self._state.rateLimits[service])
self._state.rateLimits[service] = {};
if (!self._state.rateLimits[service][subtype])
self._state.rateLimits[service][subtype] = self._state.rateLimitGroups[classId];
}
}
}
self._dispatch(reqID);
break;
case 0x0A: // change in rate limiting
debugtext += 'Rate limit change';
var code = (snac[idx++] << 8) + snac[idx++], classId, group;
classId = (snac[idx++] << 8) + snac[idx++];
group = {
windowSize: (snac[idx++] << 24) + (snac[idx++] << 16) + (snac[idx++] << 8) + snac[idx++],
levels: {
clear: (snac[idx++] << 24) + (snac[idx++] << 16) + (snac[idx++] << 8) + snac[idx++],
alert: (snac[idx++] << 24) + (snac[idx++] << 16) + (snac[idx++] << 8) + snac[idx++],
limit: (snac[idx++] << 24) + (snac[idx++] << 16) + (snac[idx++] << 8) + snac[idx++],
disconnect: (snac[idx++] << 24) + (snac[idx++] << 16) + (snac[idx++] << 8) + snac[idx++],
current: (snac[idx++] << 24) + (snac[idx++] << 16) + (snac[idx++] << 8) + snac[idx++],
max: (snac[idx++] << 24) + (snac[idx++] << 16) + (snac[idx++] << 8) + snac[idx++],
},
delta: 0,
droppingSNACs: 0
};
if (conn.availServices[serviceID] >= 3) {
group.delta = (snac[idx++] << 24) + (snac[idx++] << 16) + (snac[idx++] << 8) + snac[idx++];
group.droppingSNACs = snac[idx++];
}
// TODO: if code === RATE_UPDATES.CHANGED, automatically request new rate limits if not given in this SNAC?
break;
case 0x0B: // stop sending packets to the server
debugtext += '"Stop sending packets"';
//if (self._state.svcPaused[conn.id])
self._state.svcPaused[conn.id] = {};
if (typeof snac[idx] === 'undefined') {
conn.isReady = false;
self._send(self._createFLAP(self._state.connections.main, FLAP_CHANNELS.SNAC,
self._createSNAC(SNAC_SERVICES.GENERAL, 0x0C, NO_FLAGS
)
));
} else {
var ack = [];
for (len=snac.length; idx < len; idx+=2) {
self._state.svcPaused[conn.id][(snac[idx] << 8) + snac[idx+1]] = true;
ack.push(snac[idx]);
ack.push(snac[idx+1]);
}
self._send(self._createFLAP(self._state.connections.main, FLAP_CHANNELS.SNAC,
self._createSNAC(SNAC_SERVICES.GENERAL, 0x0C, NO_FLAGS,
ack
)
));
}
break;
case 0x0D: // resume sending packets
debugtext += '"Resume sending packets"';
if (typeof snac[idx] === 'undefined') {
//if (self._state.svcPaused[conn.id])
self._state.svcPaused[conn.id] = {};
conn.isReady = true;
} else {
for (len=snac.length; idx < len; idx+=2) {
if (self._state.svcPaused[conn.id][(snac[idx] << 8) + snac[idx+1]])
self._state.svcPaused[conn.id][(snac[idx] << 8) + snac[idx+1]] = undefined;
}
}
break;
case 0x0F: // user info about self
debugtext += 'Info about myself';
self.me = self._parseUserInfo(snac, idx);
break;
case 0x10: // somebody warned us
debugtext += 'Warning received by: ';
var oldLevel = self.me.warnLevel, newLevel = (snac[idx++] << 8) + snac[idx++], who, whoWarnLevel;
if (idx < snac.length) {
// non-anonymous warning
who = snac.toString('utf8', idx+1, idx+1+snac[idx]);
idx += 1+snac[idx];
whoWarnLevel = (snac[idx] << 8) + snac[idx+1];
debugtext += who + ' (' + whoWarnLevel + ')';
} else
debugtext += '<anonymous>';
self.me.warnLevel = newLevel;
debugtext += '. Warn level ' + oldLevel + ' -> ' + newLevel;
if (who)
self.emit('warn', oldLevel, newLevel, who, whoWarnLevel);
else
self.emit('warn', oldLevel, newLevel);
break;
case 0x12: // TODO: last step in BOS server migration
debugtext += 'Last step in server migration';
break;
case 0x13: // MOTD
debugtext += 'MOTD';
var msgTypes = flip(MOTD_TYPES), type = (snac[idx++] << 8) + snac[idx++], msg;
tlvs = extractTLVs(snac, idx);
if (tlvs[0x0B])
msg = tlvs[0x0B].toString();
self.emit('motd', type, msg);
break;
case 0x15: // 'well known urls' -- no idea to the format of this one
debugtext += 'Well-known URLs';
break;
case 0x18:
debugtext += 'Service versions';
for (var len=snac.length; idx<len;)
conn.availServices[(snac[idx++] << 8) + snac[idx++]] = (snac[idx++] << 8) + snac[idx++];
self._login(undefined, conn, cb, 4);
break;
default:
debugtext += 'Unknown (0x' + subtypeID.toString(16) + ')';
}
break;
case SNAC_SERVICES.LOCATION:
debugtext += 'LOCATION > ';
switch (subtypeID) {
case 0x01: // error
debugtext += 'Error';
var code = (snac[idx++] << 8) + snac[idx++], msg = GLOBAL_ERRORS_TEXT[code] || 'Unknown error code received: ' + code,
err = new Error(msg);
err.code = code;
debugtext += ': ' + msg;
self._dispatch(reqID, err);
break;
case 0x03: // limits response
debugtext += 'Service limits';
tlvs = extractTLVs(snac);
if (!self._state.svcInfo[SNAC_SERVICES.LOCATION]) {
self._state.svcInfo[SNAC_SERVICES.LOCATION] = {};
self._state.svcInfo[SNAC_SERVICES.LOCATION].maxProfileLen = (tlvs[0x01][0] << 8) + tlvs[0x01][1];
self._state.svcInfo[SNAC_SERVICES.LOCATION].maxCapabilities = (tlvs[0x02][0] << 8) + tlvs[0x02][1];
}
debugtext += ': maxProfileLen = ' + ((tlvs[0x01][0] << 8) + tlvs[0x01][1]);
debugtext += ', maxCapabilities = ' + ((tlvs[0x02][0] << 8) + tlvs[0x02][1]);
self._dispatch(reqID);
break;
case 0x06: // user info response
debugtext += 'User info for ';
var info = self._parseUserInfo(snac, idx, true);
idx = info[1];
info = info[0];
tlvs = extractTLVs(snac, idx);
if (tlvs[0x0001]) {
var encoding = tlvs[0x0001].toString().toLowerCase();
encoding = (encoding === 'utf8' || encoding === 'utf-8' ? 'utf8' : 'ascii');
if (tlvs[0x0002])
info.profile = tlvs[0x0002].toString(encoding);
}
if (tlvs[0x0003]) {
var encoding = tlvs[0x0003].toString().toLowerCase();
encoding = (encoding !== 'ascii' && encoding !== 'utf8' && encoding !== 'utf-8' ? 'ascii' : encoding);
if (tlvs[0x0004])
info.away = tlvs[0x0004].toString(encoding);
}
if ((!info.capabilities || info.capabilities.length === 0) && tlvs[0x0005] && tlvs[0x0005].length > 0) {
info.capabilities = [];
var caps = tlvs[0x0005].toArray();
for (var i=0,len=caps.length; i<len; i+=16)
info.capabilities.push(caps.slice(i, i+16));
}
var check = self._SSIFindContact(info.name);
if (check[1] !== -1)
self._mergeInfo(info.name, info);
debugtext += info.name;
self._dispatch(reqID, undefined, info);
break;
default:
debugtext += 'Unknown (0x' + subtypeID.toString(16) + ')';
}
break;
case SNAC_SERVICES.LIST_MGMT:
debugtext += 'LIST_MGMT > ';
switch (subtypeID) {
case 0x03: // limits response
debugtext += 'Service limits';
tlvs = extractTLVs(snac);
if (!self._state.svcInfo[SNAC_SERVICES.LIST_MGMT]) {
self._state.svcInfo[SNAC_SERVICES.LIST_MGMT] = {};
self._state.svcInfo[SNAC_SERVICES.LIST_MGMT].maxContacts = tlvs[0x01][0];
self._state.svcInfo[SNAC_SERVICES.LIST_MGMT].maxWatchers = tlvs[0x02][0];
self._state.svcInfo[SNAC_SERVICES.LIST_MGMT].maxNotifications = tlvs[0x03][0];
}
debugtext += ': maxContacts = ' + tlvs[0x01][0];
debugtext += ', maxWatchers = ' + tlvs[0x02][0];
debugtext += ', maxNotifications = ' + tlvs[0x03][0];
self._dispatch(reqID);
break;
case 0x0B: // contact signed on or changed status notice
case 0x0C: // contact signed off notice
if (subtypeID === 0x0B) {
debugtext += 'Buddy ';
var info = self._parseUserInfo(snac, idx), check, isSigningOn = false;
check = self._SSIFindContact(info.name);
if (check[1] !== -1) {
if (self.contacts.list[check[0]].contacts[check[1]].status === USER_STATUSES.OFFLINE && info.flags !== 0x0000)
isSigningOn = true;
self._mergeInfo(info.name, info);
self.emit((isSigningOn ? 'contactonline' : 'contactupdate'), self.contacts.list[check[0]].contacts[check[1]]);
}
debugtext += '(' + info.name + ') ' + (isSigningOn ? 'logged on' : 'changed their status');
} else {
var who = snac.toString('utf8', idx+1, idx+1+snac[idx]), warnLevel, check;
idx+=1+snac[idx];
warnLevel = (snac[idx++] << 8) + snac[idx++];
check = self._SSIFindContact(who);
if (check[1] !== -1) {
self.contacts.list[check[0]].contacts[check[1]].status = USER_STATUSES.OFFLINE;
self.contacts.list[check[0]].contacts[check[1]].warnLevel = warnLevel;
self.emit('contactoffline', self.contacts.list[check[0]].contacts[check[1]]);
}
debugtext += '(' + who + ') logged off';
}
break;
default:
debugtext += 'Unknown (0x' + subtypeID.toString(16) + ')';
}
break;
case SNAC_SERVICES.ICBM:
debugtext += 'ICBM > ';
switch (subtypeID) {
case 0x01: // error
debugtext += 'Error';
var code = (snac[idx++] << 8) + snac[idx++], subcode, err,
msg = ICBM_ERRORS_TEXT[code] || 'Unknown error code received: ' + code;
tlvs = extractTLVs(snac, idx);
if (tlvs[0x08]) {
subcode = (tlvs[0x08][0] << 8) + tlvs[0x08][1];
msg += ICBM_SUBCODE_ERRORS_TEXT[subcode] || 'Unknown sub error code';
} else
msg += 'Unknown error';
msg += ' (code: ' + code + ', subcode: ' + subcode + ')';
err = new Error(msg);
err.code = code;
err.subcode = subcode;
debugtext += ': ' + msg;
self._dispatch(reqID, err);
break;
case 0x05: // limits response
debugtext += 'Service limits';
if (!self._state.svcInfo[SNAC_SERVICES.ICBM]) {
self._state.svcInfo[SNAC_SERVICES.ICBM] = {};
self._state.svcInfo[SNAC_SERVICES.ICBM].channel = (snac[idx++] << 8) + snac[idx++];
self._state.svcInfo[SNAC_SERVICES.ICBM].flags = (snac[idx++] << 24) + (snac[idx++] << 16) + (snac[idx++] << 8) + snac[idx++];
self._state.svcInfo[SNAC_SERVICES.ICBM].maxMsgLen = (snac[idx++] << 8) + snac[idx++];
self._state.svcInfo[SNAC_SERVICES.ICBM].maxSenderWarn = (snac[idx++] << 8) + snac[idx++];
self._state.svcInfo[SNAC_SERVICES.ICBM].maxReceiverWarn = (snac[idx++] << 8) + snac[idx++];
self._state.svcInfo[SNAC_SERVICES.ICBM].minMsgInterval = (snac[idx++] << 8) + snac[idx++];
}
debugtext += ': channel = ' + self._state.svcInfo[SNAC_SERVICES.ICBM].channel;
debugtext += ', flags = ' + self._state.svcInfo[SNAC_SERVICES.ICBM].flags;
debugtext += ', maxMsgLen = ' + self._state.svcInfo[SNAC_SERVICES.ICBM].maxMsgLen;
debugtext += ', maxSenderWarn = ' + self._state.svcInfo[SNAC_SERVICES.ICBM].maxSenderWarn;
debugtext += ', maxReceiverWarn = ' + self._state.svcInfo[SNAC_SERVICES.ICBM].maxReceiverWarn;
debugtext += ', minMsgInterval = ' + self._state.svcInfo[SNAC_SERVICES.ICBM].minMsgInterval;
self._dispatch(reqID);
break;
case 0x07: // received a chat/im/file/dc message
debugtext += 'Incoming ';
var cookie, channel, sender, numFixedTLVs;
cookie = [snac[idx++], snac[idx++], snac[idx++], snac[idx++],
snac[idx++], snac[idx++], snac[idx++], snac[idx++]];
channel = (snac[idx++] << 8) + snac[idx++];
sender = self._parseUserInfo(snac, idx, true);
idx = sender[1];
sender = sender[0];
tlvs = extractTLVs(snac, idx);
if (channel === 1) { // normal IMs
debugtext += 'IM. Sender: ' + util.inspect(sender.name);
var msgText, charset, msgData = tlvs[0x02], flags = 0, datetime;
for (var i=0,len=msgData.length,fragID,fragLen; i<len;) {
fragID = msgData[i++];
i++;
fragLen = (msgData[i++] << 8) + msgData[i++];
if (fragID === 0x05) { // features -- constant?
//features = msgData.slice(i, i+fragLen);
i += fragLen;
} else if (fragID === 0x01) { // message text
charset = (msgData[i++] << 8) + msgData[i++];
i += 2;
fragLen -= 4;
msgText = msgData.toString('utf8', i, i+fragLen);
i += fragLen;
break;
}
}
// must check keys since TLV values are set to undefined
// for zero-length TLVs
var keys = Object.keys(tlvs).map(function(x){return parseInt(x)});
if (keys.indexOf(0x03) > -1)
flags |= ICBM_MSG_FLAGS.ACK;
if (keys.indexOf(0x04) > -1)
flags |= ICBM_MSG_FLAGS.AWAY;
if (keys.indexOf(0x06) > -1) {
flags |= ICBM_MSG_FLAGS.OFFLINE;
if (tlvs[0x16]) // _should_ always be set for offline messages
datetime = new Date(((tlvs[0x16][0] << 24) + (tlvs[0x16][1] << 16) + (tlvs[0x16][2] << 8) + tlvs[0x16][3]) * 1000);
}
if (tlvs[0x08]) {
var len = (tlvs[0x08][0] << 24) + (tlvs[0x08][1] << 16) + (tlvs[0x08][2] << 8) + tlvs[0x08][3],
type = (tlvs[0x08][4] << 8) + tlvs[0x08][5],
hash = (tlvs[0x08][6] << 8) + tlvs[0x08][7], // a constant 2 bytes for a hash???
icndatetime = ((tlvs[0x08][8] << 24) + (tlvs[0x08][9] << 16) + (tlvs[0x08][10] << 8) + tlvs[0x08][11]) * 1000;
if (len)
flags |= ICBM_MSG_FLAGS.HAS_ICON;
}
if (keys.indexOf(0x09) > -1) {
flags |= ICBM_MSG_FLAGS.REQ_ICON;
self._sendIcon(sender.name); // automatically send our icon if we have one set
}
self.emit('im', msgText, sender, flags, datetime);
} else if (channel === 2) { // special messages
debugtext += 'Rendezvous';
var msgData = tlvs[0x05], i=0;
if (msgData) {
var status = (msgData[i++] << 8) + msgData[i++], // one of ICBM_RENDEZVOUS_STATUSES
rndvCookie = [msgData[i++], msgData[i++], msgData[i++], msgData[i++],
msgData[i++], msgData[i++], msgData[i++], msgData[i++]];
if (arraysEqual(rndvCookie, cookie)) { // cookie values _should_ match
if (status === ICBM_RENDEZVOUS_STATUSES.REQUEST) {
var type = msgData.slice(idx, idx+16).toArray(), info = {};
idx += 16;
tlvs = extractTLVs(msgData, idx);
if (tlvs[0x02] && tlvs[0x02].length === 4)
info.proxyIP = tlvs[0x02][0] + '.' + tlvs[0x02][1] + '.' + tlvs[0x02][2] + '.' + tlvs[0x02][3];
if (tlvs[0x03] && tlvs[0x03].length === 4)
info.clientIP = tlvs[0x03][0] + '.' + tlvs[0x03][1] + '.' + tlvs[0x03][2] + '.' + tlvs[0x03][3];
if (tlvs[0x04] && tlvs[0x04].length === 4)
info.verifiedIP = tlvs[0x04][0] + '.' + tlvs[0x04][1] + '.' + tlvs[0x04][2] + '.' + tlvs[0x04][3];
if (tlvs[0x05])
info.port = (tlvs[0x05][0] << 8) + tlvs[0x05][1];
if (tlvs[0x0A]) {
info.reqNum = (tlvs[0x0A][0] << 8) + tlvs[0x0A][1];
// reqNum === 1 -> Initial file xfer request for no/stage 1 proxy
// reqNum === 2 -> reply request for stage 2 proxy (receiver wants to use a proxy)
// reqNum === 3 -> third request -- only for stage 3 proxy
}
if (tlvs[0x0B])
info.err = (tlvs[0x0B][0] << 8) + tlvs[0x0B][1];
if (tlvs[0x0C])
info.msg = tlvs[0x0C].toString();
if (tlvs[0x0D])
info.charset = tlvs[0x0D].toString();
if (tlvs[0x0E])
info.lang = tlvs[0x0E].toString();
if (typeof tlvs[0x10] !== 'undefined')
info.useProxy = true;
if (tlvs[0x2711]) {
if (arraysEqual(type, CAPABILITIES.SEND_FILE)) {
if (tlvs[0x2712])
info.fnameCharset = tlvs[0x2712].toString(); // i.e. 'us-ascii'
var fileInfo = self._incomingFile(tlvs[0x2711]);
//debug('Incoming file transfer request ... Sender: ' + util.inspect(sender) + ' File info: ' + util.inspect(fileInfo));
debugtext += ': File xfer request. Sender: ' + util.inspect(sender.name) + ' File info: ' + util.inspect(fileInfo);
info.fileInfo = fileInfo;
self._state.rndvCookies.in[rndvCookie] = {
cookie: rndvCookie,
type: 'file',
user: sender.name,
info: info
};
self.emit('filexfer', sender, rndvCookie, fileInfo);
} else if (arraysEqual(type, CAPABILITIES.BUDDY_ICON)) {
var iconInfo = self._incomingIcon(tlvs[0x2711]);
//debug('Incoming icon data ... Sender: ' + util.inspect(sender) + ' Icon info: ' + util.inspect(iconInfo));
debugtext += ': Icon data. Sender: ' + util.inspect(sender.name) + ' Icon info: ' + util.inspect(iconInfo);
info.iconInfo = iconInfo;
self.emit('icon', sender, iconInfo.data);
} else if (arraysEqual(type, CAPABILITIES.CHAT)) {
var roomInfo = self._incomingChat(tlvs[0x2711]);
//debug('Incoming chat invitation ... Sender: ' + util.inspect(sender) + ' Chat room info: ' + util.inspect(roomInfo));
debugtext += ': Chat invitation. Sender: ' + util.inspect(sender.name) + ' Chat room info: ' + util.inspect(roomInfo);
info.roomInfo = roomInfo;
self._state.rndvCookies.in[rndvCookie] = {
cookie: rndvCookie,
type: 'chat',
user: sender.name,
info: info
};
self.emit('chatinvite', sender, roomInfo.name, info.msg);
} else if (arraysEqual(type, CAPABILITIES.SEND_CONTACT_LIST)) {
var list = self._incomingList(tlvs[0x2711]);
//debug('Incoming contact list ... Sender: ' + util.inspect(sender) + ' List: ' + util.inspect(list));
debugtext += ': Contact list. Sender: ' + util.inspect(sender.name) + ' List: ' + util.inspect(list);
info.listInfo = list;
self.emit('contactlist', sender, list);
}
}
} else if (status === ICBM_RENDEZVOUS_STATUSES.ACCEPT) {
} else if (status === ICBM_RENDEZVOUS_STATUSES.CANCEL) {
if (self._state.p2p[rndvCookie]) {
self._state.p2p[rndvCookie].conn.end();
delete self._state.p2p[rndvCookie];
// TODO: emit event or let the module user that the other side canceled?
}
}
}
}
} else if (channel === 4)
debugtext += 'Unknown (channel 4). Sender: ' + util.inspect(sender.name);
break;
case 0x08: // warn request ACK
debugtext += 'Warn request ACK';
self._dispatch(reqID, undefined, (snac[idx++] << 8) + snac[idx++], (snac[idx++] << 8) + snac[idx++]);
break;
case 0x0A: // someone tried to send us a message but it wasn't able to be delivered
debugtext += 'Missed message(s)';
var channel, sender, numMissed, reason, len = snac.length;
while (idx < len) {
channel = (snac[idx++] << 8) + snac[idx++];
sender = self._parseUserInfo(snac, idx, true);
idx = sender[1];
sender = sender[0];
numMissed = (snac[idx++] << 8) + snac[idx++];
reason = (snac[idx++] << 8) + snac[idx++];
self.emit('missed', sender, numMissed, reason, channel);
}
break;
case 0x0B:
debugtext += '0x0B -- TODO';
// TODO
break;
case 0x0C: // (optional) ack for sendIM
debugtext += 'IM sent ACK';
self._dispatch(reqID);
break;
case 0x14: // typing notification
debugtext += 'Typing notification';
idx += 10;
var who = snac.toString('utf8', idx+1, idx+1+snac[idx]), notifyType;
idx += 1+snac[idx];
notifyType = (snac[idx++] << 8) + snac[idx];
self.emit('typing', who, notifyType);
break;
default:
debugtext += 'Unknown (0x' + subtypeID.toString(16) + ')';
}
break;
case SNAC_SERVICES.INVITATION:
debugtext += 'INVITATION > ';
debugtext += 'Unknown (0x' + subtypeID.toString(16) + ')';
break;
case SNAC_SERVICES.ADMIN:
debugtext += 'ADMIN > ';
debugtext += 'Unknown (0x' + subtypeID.toString(16) + ')';
break;
case SNAC_SERVICES.POPUP:
debugtext += 'POPUP > ';
switch (subtypeID) {
case 0x01: // error
debugtext += 'Error';
break;
case 0x02: // popup message
debugtext += 'URL: ';
tlvs = extractTLVs(snac);
var url = (tlvs[2] ? tlvs[2].toString() : undefined),
msg = (tlvs[1] ? tlvs[1].toString() : undefined);
debugtext += url + ', Message: ' + msg;
self.emit('popup', msg, url);
break;
default:
debugtext += 'Unknown (0x' + subtypeID.toString(16) + ')';
}
break;
case SNAC_SERVICES.PRIVACY_MGMT:
debugtext += 'PRIVACY_MGMT > ';
switch (subtypeID) {
case 0x03: // limits response
debugtext += 'Service limits';
tlvs = extractTLVs(snac);
if (!self._state.svcInfo[SNAC_SERVICES.PRIVACY_MGMT]) {
self._state.svcInfo[SNAC_SERVICES.PRIVACY_MGMT] = {};
self._state.svcInfo[SNAC_SERVICES.PRIVACY_MGMT].maxVisibleSize = (tlvs[0x01][0] << 8) + tlvs[0x01][1];
self._state.svcInfo[SNAC_SERVICES.PRIVACY_MGMT].maxInvisibleSize = (tlvs[0x02][0] << 8) + tlvs[0x02][1];
}
debugtext += ': maxVisibleSize = ' + ((tlvs[0x01][0] << 8) + tlvs[0x01][1]);
debugtext += ', maxInivisibleSize = ' + ((tlvs[0x02][0] << 8) + tlvs[0x02][1]);
self._dispatch(reqID);
break;
default:
debugtext += 'Unknown (0x' + subtypeID.toString(16) + ')';
}
break;
case SNAC_SERVICES.USAGE_STATS:
debugtext += 'USAGE_STATS > ';
debugtext += 'Unknown (0x' + subtypeID.toString(16) + ')';
break;
case SNAC_SERVICES.CHAT_NAV:
debugtext += 'CHAT_NAV >';
switch (subtypeID) {
case 0x01:
debugtext += ' Error';
var code = (snac[idx++] << 8) + snac[idx++], subcode,
msg = 'Could not join chat room: ', err;
tlvs = extractTLVs(snac, idx);
if (tlvs[0x08]) {
subcode = (tlvs[0x08][0] << 8) + tlvs[0x08][1];
msg += 'Invalid chat room name';
} else
msg += 'Unknown error';
msg += ' (code: ' + code + ', subcode: ' + subcode + ')';
err = new Error(msg);
err.code = code;
err.subcode = subcode;
debugtext += ': ' + msg;
self._dispatch(reqID, err);
break;
case 0x09: // single response for any request for this service ... UGH!
tlvs = extractTLVs(snac);
if (tlvs[0x02]) {
debugtext += ' Service limits';
if (!self._state.svcInfo[SNAC_SERVICES.CHAT_NAV])
self._state.svcInfo[SNAC_SERVICES.CHAT_NAV] = {};
self._state.svcInfo[SNAC_SERVICES.CHAT_NAV].maxRooms = tlvs[0x02][0];
debugtext += ': maxRooms = ' + tlvs[0x02][0];
debugtext += ';';
}
if (tlvs[0x03]) { // exchange info
debugtext += ' Exchange info';
if (!self._state.svcInfo[SNAC_SERVICES.CHAT_NAV].exchanges)
self._state.svcInfo[SNAC_SERVICES.CHAT_NAV].exchanges = {};
if (!Array.isArray(tlvs[0x03]))
tlvs[0x03] = [tlvs[0x03]];
for (var i=0,len=tlvs[0x03].length,id,exgTLVs; i<len; i++) {
id = (tlvs[0x03][i][0] << 8) + tlvs[0x03][i][1];
if (!self._state.svcInfo[SNAC_SERVICES.CHAT_NAV].exchanges[id])
self._state.svcInfo[SNAC_SERVICES.CHAT_NAV].exchanges[id] = {};
exgTLVs = extractTLVs(tlvs[0x03][i], 4);
if (exgTLVs[0x02])
self._state.svcInfo[SNAC_SERVICES.CHAT_NAV].exchanges[id].forClass = (exgTLVs[0x02][0] << 8) + exgTLVs[0x02][1];
if (exgTLVs[0x03])
self._state.svcInfo[SNAC_SERVICES.CHAT_NAV].exchanges[id].maxRooms = exgTLVs[0x03][0];
if (exgTLVs[0xC9])
self._state.svcInfo[SNAC_SERVICES.CHAT_NAV].exchanges[id].flags = (exgTLVs[0xC9][0] << 8) + exgTLVs[0xC9][1];
if (exgTLVs[0xD3])
self._state.svcInfo[SNAC_SERVICES.CHAT_NAV].exchanges[id].description = exgTLVs[0xD3].toString();
if (exgTLVs[0xD5])
self._state.svcInfo[SNAC_SERVICES.CHAT_NAV].exchanges[id].createPerms = exgTLVs[0xD5][0];
if (exgTLVs[0xD6])
self._state.svcInfo[SNAC_SERVICES.CHAT_NAV].exchanges[id].charset1 = exgTLVs[0xD6].toString();
if (exgTLVs[0xD7])
self._state.svcInfo[SNAC_SERVICES.CHAT_NAV].exchanges[id].lang1 = exgTLVs[0xD7].toString();
if (exgTLVs[0xD8])
self._state.svcInfo[SNAC_SERVICES.CHAT_NAV].exchanges[id].charset2 = exgTLVs[0xD8].toString();
if (exgTLVs[0xD9])
self._state.svcInfo[SNAC_SERVICES.CHAT_NAV].exchanges[id].lang2 = exgTLVs[0xD9].toString();
}
//debug('exchange info: ' + util.inspect(self._state.svcInfo[SNAC_SERVICES.CHAT_NAV].exchanges, false, 4));
debugtext += ';';
}
if (tlvs[0x04]) { // room info
debugtext += ' Room info';
var i = 0, roomInfo = {}, roomTLVs;
roomInfo.exchange = (tlvs[0x04][i++] << 8) + tlvs[0x04][i++];
roomInfo.cookie = tlvs[0x04].slice(++i, i+tlvs[0x04][i-1]).toArray();
i += tlvs[0x04][i-1];
roomInfo.instance = (tlvs[0x04][i++] << 8) + tlvs[0x04][i++];
roomInfo.detailLevel = tlvs[0x04][i++];
i += 2;
roomTLVs = extractTLVs(tlvs[0x04], i);
if (roomTLVs[0x6A])
roomInfo.fqn = roomTLVs[0x6A].toString();
if (roomTLVs[0xC9])
roomInfo.flags = (roomTLVs[0xC9][0] << 8) + roomTLVs[0xC9][1];
if (roomTLVs[0xCA])
roomInfo.created = (roomTLVs[0xCA][0] << 24) + (roomTLVs[0xCA][1] << 16) + (roomTLVs[0xCA][2] << 8) + roomTLVs[0xCA][3];
if (roomTLVs[0xD1])
roomInfo.maxMsgLen = (roomTLVs[0xD1][0] << 8) + roomTLVs[0xD1][1];
if (roomTLVs[0xD2])
roomInfo.maxUsers = (roomTLVs[0xD2][0] << 8) + roomTLVs[0xD2][1];
if (roomTLVs[0xD3])
roomInfo.name = roomTLVs[0xD3].toString();
if (roomTLVs[0xD5])
roomInfo.createPerms = roomTLVs[0xD5][0];
if (roomTLVs[0xD6])
roomInfo.charset1 = roomTLVs[0xD6].toString();
if (roomTLVs[0xD7])
roomInfo.lang1 = roomTLVs[0xD7].toString();
if (roomTLVs[0xD8])
roomInfo.charset2 = roomTLVs[0xD8].toString();
if (roomTLVs[0xD9])
roomInfo.lang2 = roomTLVs[0xD9].toString();
roomInfo.users = {};
if (self._state.chatrooms[roomInfo.name] &&
self._state.chatrooms[roomInfo.name].roomInfo)
extend(true, self._state.chatrooms[roomInfo.name].roomInfo, roomInfo);
else {
self._state.chatrooms[roomInfo.name] = conn;
conn.roomInfo = roomInfo;
}
self._dispatch(reqID, undefined, roomInfo);
return;
}
self._dispatch(reqID);
break;
default:
debugtext += ' Unknown (0x' + subtypeID.toString(16) + ')';
}
break;
case SNAC_SERVICES.CHAT:
debugtext += 'CHAT > ';
switch (subtypeID) {
case 0x02:
debugtext += 'General room info -- Purposefully ignored';
/*var roomInfo = {}, len, tlvcount, tlvs;
roomInfo.exchange = (snac[idx++] << 8) + snac[idx++];
len = snac[idx++];
roomInfo.name = snac.slice(idx, idx+len).toString();
idx += len;
roomInfo.instance = (snac[idx++] << 8) + snac[idx++];
roomInfo.detailLevel = snac[idx++];
tlvcount = (snac[idx++] << 8) + snac[idx++];
tlvs = extractTLVs(snac, idx, tlvcount);
if (tlvs[0xD1])
roomInfo.maxMsgLen = (tlvs[0xD1][0] << 8) + tlvs[0xD1][1];
if (self._state.chatrooms[roomInfo.name] &&
self._state.chatrooms[roomInfo.name].roomInfo)
extend(true, self._state.chatrooms[roomInfo.name].roomInfo, roomInfo);
else {
self._state.chatrooms[roomInfo.name] = conn;
conn.roomInfo = roomInfo;
}*/
break;
case 0x03:
debugtext += 'User(s) joined chat room (' + conn.roomInfo.name + '): ';
case 0x04:
var isJoin = (subtypeID === 0x03);
if (!isJoin)
debugtext += 'User(s) left a chat room (' + conn.roomInfo.name + '): ';
var users = [], result;
while (idx < snac.length) {
result = self._parseUserInfo(snac, idx, true);
users.push(result[0]);
idx = result[1];
}
debugtext += users.map(function(u){return u.name}).join(', ');
self.emit('chatusers' + (isJoin ? 'join' : 'leave'), conn.roomInfo.name, users);
break;
case 0x06:
debugtext += 'Chat room message';
var cookie, chan, sender, message, isWhisper;
cookie = [snac[idx++], snac[idx++], snac[idx++], snac[idx++],
snac[idx++], snac[idx++], snac[idx++], snac[idx++]];
chan = (snac[idx++] << 8) + snac[idx++];
if (chan === 3) {
var tlvs = extractTLVs(snac, idx);
isWhisper = (typeof tlvs[0x01] === undefined);
if (tlvs[0x03])
sender = self._parseUserInfo(tlvs[0x03]);
if (tlvs[0x05]) {
message = {};
var msgTLVs = extractTLVs(tlvs[0x05], 0);
if (msgTLVs[0x02])
message.charset = msgTLVs[0x02].toString();
if (msgTLVs[0x03])
message.lang = msgTLVs[0x03].toString();
if (msgTLVs[0x01])
message.text = msgTLVs[0x01].toString();
}
debugtext += ' on (' + conn.roomInfo.name + ') by (' + sender.name + '): ' + message.text;
self.emit('chatmsg', conn.roomInfo.name, sender, message.text);
} else
debugtext += ' on unexpected channel (' + chan + ')';
break;
case 0x08:
debugtext += 'Warning level changed for chat room';
break;
case 0x09:
debugtext += 'Chat room error';
break;
default:
debugtext += 'Unknown (0x' + subtypeID.toString(16) + ')';
}
break;
case SNAC_SERVICES.DIR_SEARCH:
debugtext += 'DIR_SEARCH > ';
debugtext += 'Unknown (0x' + subtypeID.toString(16) + ')';
break;
case SNAC_SERVICES.BART:
debugtext += 'BART > ';
switch (subtypeID) {
case 0x01: // error
debugtext += 'Error';
var code = (snac[idx++] << 8) + snac[idx++], msg = GLOBAL_ERRORS_TEXT[code] || 'Unknown error code received: ' + code,
err = new Error(msg);
err.code = code;
debugtext += ': ' + msg;
self._dispatch(reqID, err);
break;
case 0x03: // icon upload ack
debugtext += 'Icon upload ACK';
break;
case 0x05: // icon/media response
debugtext += 'Incoming buddy icon for ';
var who = snac.toString('utf8', idx+1, idx+1+snac[idx]), flags, type, hash, len, icon;
idx += 1+snac[idx];
type = (snac[idx++] << 8) + snac[idx++];
flags = snac[idx++];
len = snac[idx++];
hash = snac.slice(idx, idx+len);
idx += len;
len = (snac[idx++] << 8) + snac[idx++];
icon = snac.slice(idx, idx+len);
debugtext += who;
self._dispatch(reqID, undefined, icon, (type === 0x0000 ? 'small' : 'normal'));
self.emit('icon', who, icon, (type === 0x0000 ? 'small' : 'normal'));
break;
default:
debugtext += 'Unknown (0x' + subtypeID.toString(16) + ')';
}
break;
case SNAC_SERVICES.SSI:
debugtext += 'SSI > ';
switch (subtypeID) {
case 0x01: // error
debugtext += 'Error';
var code = (snac[idx++] << 8) + snac[idx++], msg = GLOBAL_ERRORS_TEXT[code] || 'Unknown error code received: ' + code,
err = new Error(msg);
err.code = code;
debugtext += ': ' + msg;
self._dispatch(reqID, err);
break;
case 0x03: // limits response
debugtext += 'Service limits';
var tlvIdx = 0;
tlvs = extractTLVs(snac);
if (!self._state.svcInfo[SNAC_SERVICES.SSI]) {
self._state.svcInfo[SNAC_SERVICES.SSI] = {};
self._state.svcInfo[SNAC_SERVICES.SSI].maxContacts = (tlvs[0x04][tlvIdx++] << 8) + tlvs[0x04][tlvIdx++];
self._state.svcInfo[SNAC_SERVICES.SSI].maxGroups = (tlvs[0x04][tlvIdx++] << 8) + tlvs[0x04][tlvIdx++];
self._state.svcInfo[SNAC_SERVICES.SSI].maxPermitContacts = (tlvs[0x04][tlvIdx++] << 8) + tlvs[0x04][tlvIdx++];
self._state.svcInfo[SNAC_SERVICES.SSI].maxDenyContacts = (tlvs[0x04][tlvIdx++] << 8) + tlvs[0x04][tlvIdx++];
self._state.svcInfo[SNAC_SERVICES.SSI].maxBitmasks = (tlvs[0x04][tlvIdx++] << 8) + tlvs[0x04][tlvIdx++];
self._state.svcInfo[SNAC_SERVICES.SSI].maxPresenceFields = (tlvs[0x04][tlvIdx++] << 8) + tlvs[0x04][tlvIdx++];
self._state.svcInfo[SNAC_SERVICES.SSI].maxIgnores = (tlvs[0x04][28] << 8) + tlvs[0x04][29];
}
debugtext += ': maxContacts = ' + self._state.svcInfo[SNAC_SERVICES.SSI].maxContacts;
debugtext += ', maxGroups = ' + self._state.svcInfo[SNAC_SERVICES.SSI].maxGroups;
debugtext += ', maxPermitContacts = ' + self._state.svcInfo[SNAC_SERVICES.SSI].maxPermitContacts;
debugtext += ', maxDenyContacts = ' + self._state.svcInfo[SNAC_SERVICES.SSI].maxDenyContacts;
debugtext += ', maxBitmasks = ' + self._state.svcInfo[SNAC_SERVICES.SSI].maxBitmasks;
debugtext += ', maxPresenceFields = ' + self._state.svcInfo[SNAC_SERVICES.SSI].maxPresenceFields;
debugtext += ', maxIgnores = ' + self._state.svcInfo[SNAC_SERVICES.SSI].maxIgnores;
self._dispatch(reqID);
break;
case 0x06: // response to contact list request -- should only happen once (upon login)
debugtext += 'My buddy list';
if (self._state.SSI.activated)
break;
idx++; // skip SSI protocol version number for now
var numItems = (snac[idx++] << 8) + snac[idx++], item;
// _totalSSICount + lastModified are used for verifying SSI list without actually having to
// retrieve the entire list again from the server -- useful if module users want to keep a
// local copy of their contact list on some persistent medium
self.contacts._totalSSICount += numItems;
for (var i=0; i<numItems; i++) {
item = self._parseSSIItem(snac, idx);
// keep track of which group and item IDs are currently in use -- contact list or otherwise
if (typeof self.contacts._usedIDs[item.groupID] === 'undefined')
self.contacts._usedIDs[item.groupID] = {};
if (typeof self.contacts._usedIDs[item.groupID][item.itemID] === 'undefined')
self.contacts._usedIDs[item.groupID][item.itemID] = true;
if (item.type === 0x00 || item.type === 0x01 || item.type === 0x02 || item.type === 0x03
|| item.type === 0x04 || item.type === 0x05)
self._state.SSI._temp.push(item);
idx = item.nextIdx;
}
if (!moreFollows) { // buffer the entire SSI list before continuing
var items = {};
for (var i=0,len=self._state.SSI._temp.length; i<len; i++) {
item = self._state.SSI._temp[i];
if (item.type === 0x02) // permitted contacts
self.contacts.permit[item.itemID] = { name: item.name, item: item.itemID, group: item.groupID };
else if (item.type === 0x03) // denied contacts
self.contacts.deny[item.itemID] = { name: item.name, item: item.itemID, group: item.groupID };
else if (item.type === 0x04) { // permit/deny preferences
if (item.tlvs[0xCA]) // permit/deny mode
self.contacts.prefs.pdmode = item.tlvs[0xCA][0];
} else if (item.type === 0x05 && item.tlvs[0xD6] && item.tlvs[0xC9]) { // contact list preferences
} else if (item.type === 0x00 || (item.groupID > 0x00 && item.type === 0x01)) { // groups and contacts
if (typeof items[item.type] === 'undefined')
items[item.type] = {};
if (item.type === 0x01)
items[item.type][item.groupID] = item;
else {
if (typeof items[item.type][item.groupID] === 'undefined')
items[item.type][item.groupID] = {};
items[item.type][item.groupID][item.itemID] = item;
}
}
}
for (var i=0,groups=Object.keys(items[0x01]),len=groups.length,group; i<len; i++) {
group = groups[i];
self.contacts.list[group] = {
name: items[0x01][group].name,
contacts: {},
group: group,
item: items[0x01][group].itemID,
type: 0x01
};
if (items[0x01][group].tlvs && items[0x01][group].tlvs[0x00C8]) {
// add contacts
for (var j=0,len2=items[0x01][group].tlvs[0x00C8].length,contact; j<len2; j+=2) {
contact = (items[0x01][group].tlvs[0x00C8][j] << 8) + items[0x01][group].tlvs[0x00C8][j+1];
self.contacts.list[group].contacts[contact] = {
name: items[0x00][group][contact].name,
status: USER_STATUSES.OFFLINE,
localInfo: {
alias: (items[0x00][group][contact].tlvs && items[0x00][group][contact].tlvs[0x0131]
? items[0x00][group][contact].tlvs[0x0131].toString() : undefined),
emailAddress: (items[0x00][group][contact].tlvs && items[0x00][group][contact].tlvs[0x0137]
? items[0x00][group][contact].tlvs[0x0137].toString() : undefined),
homePhoneNum: (items[0x00][group][contact].tlvs && items[0x00][group][contact].tlvs[0x0138]
? items[0x00][group][contact].tlvs[0x0138].toString() : undefined),
cellPhoneNum: (items[0x00][group][contact].tlvs && items[0x00][group][contact].tlvs[0x0139]
? items[0x00][group][contact].tlvs[0x0139].toString() : undefined),
smsPhoneNum: (items[0x00][group][contact].tlvs && items[0x00][group][contact].tlvs[0x013A]
? items[0x00][group][contact].tlvs[0x013A].toString() : undefined),
workPhoneNum: (items[0x00][group][contact].tlvs && items[0x00][group][contact].tlvs[0x0158]
? items[0x00][group][contact].tlvs[0x0158].toString() : undefined),
otherPhoneNum: (items[0x00][group][contact].tlvs && items[0x00][group][contact].tlvs[0x0159]
? items[0x00][group][contact].tlvs[0x0159].toString() : undefined),
notes: (items[0x00][group][contact].tlvs && items[0x00][group][contact].tlvs[0x013C]
? items[0x00][group][contact].tlvs[0x013C].toString() : undefined)
},
awaitingAuth: (items[0x00][group][contact].tlvs && items[0x00][group][contact].tlvs[0x0066] ? true : false),
alert: (items[0x00][group][contact].tlvs && items[0x00][group][contact].tlvs[0x013D]
? { when: items[0x00][group][contact].tlvs[0x013D][0],
how: items[0x00][group][contact].tlvs[0x013D][1],
sound: (items[0x00][group][contact].tlvs[0x013D][0] === 0x02
? items[0x00][group][contact].tlvs[0x013E] : undefined)
} : undefined),
group: group,
item: contact,
type: 0x00
};
}
}
}
self.contacts.lastModified = new Date(((snac[idx++] << 24) + (snac[idx++] << 16) + (snac[idx++] << 8) + snac[idx++]) * 1000);
self._dispatch(reqID);
}
break;
case 0x0E: // SSI modification ack (add/delete/other modification)
debugtext += 'Modification ACK';
var result = (snac[idx++] << 8) + snac[idx++];
if (result === SSI_ACK_RESULTS.SUCCESS)
self._dispatch(reqID);
else {
var err = new Error(SSI_ACK_RESULTS_TEXT[result]);
err.code = result;
self._dispatch(reqID, err);
}
break;
case 0x13: // 'you were added' message
debugtext += 'You were added to the buddy list of ';
var who = snac.toString('utf8', idx+1, idx+1+snac[idx]);
debugtext += who;
self.emit('added', who);
break;
case 0x19: // authorization request
debugtext += 'Authorization request';
// use SSI (0x13) 0x1A to send reply
break;
case 0x1B: // authorization reply
debugtext += 'Authorization reply';
break;
default:
debugtext += 'Unknown (0x' + subtypeID.toString(16) + ')';
}
break;
case SNAC_SERVICES.ICQ_EXT:
debugtext += 'ICQ_EXT > ';
debugtext += 'Unknown (0x' + subtypeID.toString(16) + ')';
break;
default:
debugtext += 'UNKNOWN (0x' + serviceID.toString(16) + ')';
}
debug(debugtext);
};
OscarConnection.prototype._mergeInfo = function(who, info) {
var check = this._SSIFindContact(who);
if (check[1] !== -1) {
var contact = this.contacts.list[check[0]].contacts[check[1]];
if (typeof info.status !== 'undefined')
contact.status = info.status;
if (typeof info.awaitingAuth !== 'undefined')
contact.awaitingAuth = info.awaitingAuth;
if (typeof info.localInfo !== 'undefined')
contact.localInfo = extend(true, contact.localInfo || {}, info.localInfo);
if (typeof info.alert !== 'undefined')
contact.alert = extend(true, contact.alert || {}, info.alert);
if (typeof info.name !== 'undefined')
contact.name = info.name;
if (typeof info.fullname !== 'undefined')
contact.fullname = info.fullname;
if (typeof info.warnLevel !== 'undefined')
contact.warnLevel = info.warnLevel;
if (typeof info.class !== 'undefined')
contact.class = info.class;
if (typeof info.memberSince !== 'undefined')
contact.memberSince = info.memberSince;
if (typeof info.onlineSince !== 'undefined')
contact.onlineSince = info.onlineSince;
contact.idleMins = info.idleMins;
if (typeof info.flags !== 'undefined')
contact.flags = info.flags;
if (typeof info.IP !== 'undefined')
contact.IP = info.IP;
if (typeof info.capabilities !== 'undefined')
contact.capabilities = info.capabilities;
if (typeof info.instanceNum !== 'undefined')
contact.instanceNum = info.instanceNum;
contact.profileSetOn = info.profileSetOn;
contact.awaySetOn = info.awaySetOn;
if (typeof info.countryCode !== 'undefined')
contact.countryCode = info.countryCode;
if (typeof info.icons !== 'undefined')
contact.icons = info.icons;
contact.statusMsg = info.statusMsg;
contact.mood = info.mood;
}
};
OscarConnection.prototype._parseSSIItem = function(data, idx) {
var name, groupID, itemID, type, dataLen, tlvs;
name = data.toString('utf8', idx+2, idx+2+((data[idx] << 8) + data[idx+1]));
idx += 2+((data[idx] << 8) + data[idx+1]);
groupID = (data[idx++] << 8) + data[idx++];
itemID = (data[idx++] << 8) + data[idx++];
type = (data[idx++] << 8) + data[idx++];
dataLen = (data[idx] << 8) + data[idx+1];
if (dataLen > 0) {
var itemdata = data.slice(idx+2, idx+2+dataLen);
tlvs = extractTLVs(itemdata, 0);
}
return { name: name, groupID: groupID, itemID: itemID, type: type, tlvs: tlvs, nextIdx: idx+2+dataLen };
};
OscarConnection.prototype._parseUserInfo = function(data, idx, skipExtra) {
var info = {
name: undefined,
fullname: undefined,
warnLevel: undefined,
class: undefined,
memberSince: undefined,
onlineSince: undefined,
idleMins: undefined, // the client actually tells AOL when to start and stop counting idle time, so this value could be unreliable
flags: undefined,
status: undefined,
IP: undefined,
capabilities: undefined,
instanceNum: undefined,
profileSetOn: undefined,
awaySetOn: undefined,
countryCode: undefined,
icons: undefined,
statusMsg: undefined,
mood: undefined
}, tlvs, extraTLVs, numTLVs, lastIdx;
idx = idx || 0;
info.name = data.toString('ascii', idx+1, idx+1+data[idx]);
idx += 1+data[idx];
info.warnLevel = (data[idx] << 8) + data[idx+1];
idx += 2;
numTLVs = (data[idx] << 8) + data[idx+1];
idx += 2;
tlvs = extractTLVs(data, idx, numTLVs);
idx = tlvs[1];
tlvs = tlvs[0];
if (!skipExtra && idx < data.length) {
idx += 1+data[idx]+2;
numTLVs = (data[idx] << 8) + data[idx+1];
idx += 2;
extraTLVs = extractTLVs(data, idx, numTLVs)[0];
for (var i=0,keys=Object.keys(extraTLVs),len=keys.length; i<len; i++) {
if (typeof tlvs[keys[i]] === 'undefined' || tlvs[keys[i]].length === 0)
tlvs[keys[i]] = extraTLVs[keys[i]];
}
}
if (tlvs[0x0001])
info.class = (tlvs[0x0001][0] << 8) + tlvs[0x0001][1];
if (tlvs[0x0002])
info.memberSince = new Date(((tlvs[0x0002][0] << 24) + (tlvs[0x0002][1] << 16) + (tlvs[0x0002][2] << 8) + tlvs[0x0002][3]) * 1000);
else if (tlvs[0x0005])
info.memberSince = new Date(((tlvs[0x0005][0] << 24) + (tlvs[0x0005][1] << 16) + (tlvs[0x0005][2] << 8) + tlvs[0x0005][3]) * 1000);
if (tlvs[0x0003])
info.onlineSince = new Date(((tlvs[0x0003][0] << 24) + (tlvs[0x0003][1] << 16) + (tlvs[0x0003][2] << 8) + tlvs[0x0003][3]) * 1000);
if (tlvs[0x0004])
info.idleMins = (tlvs[0x0004][0] << 8) + tlvs[0x0004][1];
if (tlvs[0x0006]) {
info.flags = (tlvs[0x0006][0] << 8) + tlvs[0x0006][1];
info.status = (tlvs[0x0006][2] << 8) + tlvs[0x0006][3];
}
if (tlvs[0x000A])
info.IP = '' + tlvs[0x000A][0] + '.' + tlvs[0x000A][1] + '.' + tlvs[0x000A][2] + '.' + tlvs[0x000A][3];
if (tlvs[0x000D] && tlvs[0x000D].length > 0) {
var cap;
info.capabilities = [];
for (var i=0,len=tlvs[0x000D].length,cap; i<len; i+=16)
info.capabilities.push(tlvs[0x000D].slice(i, i+16).toArray());
}
if (tlvs[0x0014])
info.instanceNum = tlvs[0x0014][0];
if (tlvs[0x0018])
info.fullname = tlvs[0x0018].toString();
if (tlvs[0x001D]) {
for (var i=0,len=tlvs[0x001D].length,datalen,media; i<len;) {
datalen = tlvs[0x001D][i+3];
media = {
type: (tlvs[0x001D][i++] << 8) + tlvs[0x001D][i++],
flags: tlvs[0x001D][i++],
data: tlvs[0x001D].slice(++i, i+datalen)
};
i+=datalen;
if (media.type === 0x02) { // a status/available message
if (media.data.length >= 4) {
var encoding = 'utf8', pos = 0;
datalen = (media.data[pos++] << 8) + media.data[pos++];
pos += datalen;
if ((media.data[pos++] << 8) + media.data[pos++] === 0x0001) {
pos += 2;
media.encoding = media.data.toString('ascii', pos+2, pos+2+((media.data[pos] << 8) + media.data[pos+1])).toLowerCase();
}
// ignore media.encoding for now, until we can get some more common encodings for Buffer
media.data = media.data.toString('utf8', 2, 2+datalen);
} else
media.data = null;
info.statusMsg = media.data;
} else if (media.type === 0x0E) { // ICQ mood
var moodMap = {
icqmood0: 'shopping',
icqmood1: 'bathing',
icqmood2: 'sleepy',
icqmood3: 'party',
icqmood4: 'beer',
icqmood5: 'thinking',
icqmood6: 'plate',
icqmood7: 'tv',
icqmood8: 'meeting',
icqmood9: 'coffee',
icqmood10: 'music',
icqmood11: 'suit',
icqmood12: 'cinema',
icqmood13: 'smile-big',
icqmood14: 'phone',
icqmood15: 'console',
icqmood16: 'studying',
icqmood17: 'sick',
icqmood18: 'sleeping',
icqmood19: 'surfing',
icqmood20: 'internet',
icqmood21: 'working',
icqmood22: 'typing',
icqmood23: 'angry'
};
media.data = media.data.toString().toLowerCase();
info.mood = (typeof moodMap[media.data] !== 'undefined' ? moodMap[media.data] : undefined);
} else if (media.type === 0x00 || media.type === 0x01) { // icon
if (media.data.length > 0) {
media.data = media.data.toArray();
if (media.data.length === 5 && media.data[0] === 0x02 && media.data[1] === 0x01
&& media.data[2] === 0xD2 && media.data[3] === 0x04 && media.data[4] === 0x72) {
// according to AOL's short-lived oscar docs, this magic number indicates the user has explicitly chosen to have no icon
} else if (media.flags === 0x0000 || media.flags === 0x0001) {
// GIF/JPG/BMP (flags === 0 -> <=32 pixels && 2k size OR flags === 1 -> <=64 pixels && 7k size)
if (!info.icons)
info.icons = [];
info.icons.push(media);
}
}
}
}
}
if (tlvs[0x0026])
info.profileSetOn = new Date(((tlvs[0x0026][0] << 24) + (tlvs[0x0026][1] << 16) + (tlvs[0x0026][2] << 8) + tlvs[0x0026][3]) * 1000);
if (tlvs[0x0027])
info.awaySetOn = new Date(((tlvs[0x0027][0] << 24) + (tlvs[0x0027][1] << 16) + (tlvs[0x0027][2] << 8) + tlvs[0x0027][3]) * 1000);
if (tlvs[0x002A])
info.countryCode = tlvs[0x0002A].toString();
if (skipExtra)
return [info, idx];
else
return info;
};
OscarConnection.prototype._downloadIcons = function(who, hashes, skipCheck, cb) {
cb = arguments[arguments.length-1];
if (typeof skipCheck === 'function')
skipCheck = false;
var self = this;
var newHashes = [];
if (!Array.isArray(hashes)) {
if (typeof hashes === 'string')
hashes = [{ type: 0x0001, flags: 0x00, data: hashes }];
else
hashes = [hashes];
}
/*
// check for duplicate items
for (var i=0,hlen=hashes.length,found,hexhash; i<hlen; i++) {
hexhash = (typeof hashes[i].data !== 'string' ? toHexStr(hashes[i].data) : hashes[i].data);
if (!found) {
for (var j=0,nhlen=newHashes.length; j<nhlen; j++) {
if ((typeof newHashes[j].data !== 'string' ? toHexStr(newHashes[j].data) : newHashes[j].data) === hexhash) {
found = true;
break;
}
}
}
if (!found)
newHashes.push(hashes[i]);
}
if (newHashes.length === 0) {
if (typeof cb === 'function')
cb(new Error('No icons to get'));
return;
}
// WORKAROUND: Use HTTP to download icons instead of from a second BOS server until the ECONNRESET issue is resolved
var client = http.createClient('80', 'o.aimcdn.net');
(function(toFetch) {
var hash = toFetch.pop(), strhash = (typeof hash.data !== 'string' ? toHexStr(hash.data) : hash.data),
thisFn = this, iconData, url, hashLen;
hashLen = (typeof hash.data !== 'string' ? hash.data.length : hash.data.length/2);
url = '/e/1/' + (hash.flags < 16 ? '0' : '') + hash.flags.toString(16) + (hashLen < 16 ? '0' : '') + hashLen.toString(16) + strhash;
var req = client.request(url, { 'Host': 'o.aimcdn.net' });
req.end();
req.on('response', function (res) {
debug('Attempting to download an icon for ' + who + ' ...');
if (res.statusCode === 200) {
res.on('data', function(data) {
iconData = (!iconData ? data : bufferAppend(iconData, data);
});
res.on('end', function() {
debug('Icon download successful for ' + who);
process.nextTick(function() {
if (typeof cb === 'function')
cb(undefined, iconData, (hash.type === 0x0000 ? 'small' : 'normal'));
else
self.emit('icon', who, iconData, (hash.type === 0x0000 ? 'small' : 'normal'));
});
if (toFetch.length)
process.nextTick(function() { thisFn.call(toFetch); });
});
} else {
debug('Failed to download icon for ' + who + '. HTTP status === ' + res.statusCode);
if (typeof cb === 'function')
cb(new Error('No icon found'));
}
});
})(newHashes);*/
if (!skipCheck) {
for (var i=0,hlen=hashes.length,found,hexhash; i<hlen; i++) {
hexhash = (typeof hashes[i].data !== 'string' ? toHexStr(hashes[i].data) : hashes[i].data);
found = (typeof self._state.iconQueue[hexhash] !== undefined);
if (found && self._state.iconQueue[hexhash].users.indexOf(who) === -1)
self._state.iconQueue[hexhash].users.push(who);
if (!found) {
found = newHashes.some(function(h) { return ((typeof h.data !== 'string' ? toHexStr(h.data) : h.data) === hexhash); });
/*for (var j=0,nhlen=newHashes.length; j<nhlen; j++) {
if ((typeof newHashes[j].data !== 'string' ? toHexStr(newHashes[j].data) : newHashes[j].data) === hexhash) {
found = true;
break;
}
}*/
}
if (!found)
newHashes.push(hashes[i]);
}
} else
newHashes = hashes;
if (newHashes.length === 0) {
if (typeof cb === 'function')
cb(new Error('No icons to get or icons for ' + who + ' are already in the icon queue'));
return;
}
if (self._state.serviceMap[SNAC_SERVICES.BART]) {
debug('BART connection available ... retrieving ' + newHashes.length + ' icon(s) for \'' + who + '\' ....');
var request = [who.length];
request = request.concat(str2bytes(who));
request.push(newHashes.length);
for (var i=0,data; i<newHashes.length; i++) {
if (!Array.isArray(newHashes[i].data)) {
if (typeof newHashes[i].data === 'string')
data = newHashes[i].data.match(/.{1,2}/g).map(function(x) { return parseInt(x, 16); });
else
data = newHashes[i].data.toArray();
}
request.push(newHashes[i].type >> 8 & 0xFF);
request.push(newHashes[i].type & 0xFF);
request.push(newHashes[i].flags);
request.push(newHashes[i].data.length);
request = request.concat(data);
}
self._send(self._createFLAP(self._state.serviceMap[SNAC_SERVICES.BART], FLAP_CHANNELS.SNAC,
self._createSNAC(SNAC_SERVICES.BART, 0x04, NO_FLAGS,
request
)
), cb);
} else {
debug('No BART connection available -- adding ' + newHashes.length + ' icon retrieval(s) for ' + who + ' to the queue ...');
for (var i=0,hexhash; i<newHashes.length; i++) {
hexhash = (typeof newHashes[i].data === 'string' ? newHashes[i].data : toHexStr(newHashes[i].data));
if (typeof self._state.iconQueue[hexhash] === 'undefined')
self._state.iconQueue[hexhash] = { obj: newHashes[i], users: [who] };
}
}
};
OscarConnection.prototype._login = function(error, conn, loginCb, reentry) {
var self = this;
if (error) {
if (typeof loginCb === 'function')
process.nextTick(function(){ loginCb(error); });
else
throw error;
return;
}
if (typeof reentry === 'undefined') {
reentry = -1;
// request salt from server for md5 hashing for password
self._send(conn, self._createFLAP(conn, FLAP_CHANNELS.SNAC,
self._createSNAC(SNAC_SERVICES.AUTH, 0x06, NO_FLAGS,
self._createTLV(TLV_TYPES.SCREEN_NAME, self._options.connection.username)
)
), function(e, salt) { process.nextTick(function(){ self._login(e, conn, loginCb, reentry + 1, salt); }); });
} else {
switch (reentry) {
case 0: // server sent us the salt ('key') for our md5 password hashing
// TODO: truncate password if necessary
var salt = arguments[4], hash = [], oldhash, clientInfo = {};
if (self._state.isAOL) {
clientInfo.str = 'AOL Instant Messenger, version 5.9.3702/WIN32';
clientInfo.id = [0x01, 0x09];
clientInfo.vMajor = [0x00, 0x05];
clientInfo.vMinor = [0x00, 0x09];
clientInfo.vLesser = [0x00, 0x00];
clientInfo.vBuild = [0x0E, 0x76];
} else {
clientInfo.str = 'ICQ Inc. - Product of ICQ (TM).2003a.5.45.1.3777.85';
clientInfo.id = [0x01, 0x0A];
clientInfo.vMajor = [0x00, 0x14];
clientInfo.vMinor = [0x00, 0x34];
clientInfo.vLesser = [0x00, 0x00];
clientInfo.vBuild = [0x0C, 0x18];
}
oldhash = crypto.createHash('md5').update(salt).update(self._options.connection.password).update('AOL Instant Messenger (SM)').digest('binary');
for (var i=0,len=oldhash.length; i<len; i++)
hash[i] = oldhash.charCodeAt(i);
self._send(conn, self._createFLAP(conn, FLAP_CHANNELS.SNAC,
self._createSNAC(SNAC_SERVICES.AUTH, 0x02, NO_FLAGS,
self._createTLV(TLV_TYPES.SCREEN_NAME, self._options.connection.username)
.concat(self._createTLV(TLV_TYPES.CLIENT_ID_STR, clientInfo.str))
.concat(self._createTLV(TLV_TYPES.PASSWORD_HASH, hash))
.concat(self._createTLV(TLV_TYPES.CLIENT_ID, clientInfo.id))
.concat(self._createTLV(TLV_TYPES.CLIENT_VER_MAJOR, clientInfo.vMajor))
.concat(self._createTLV(TLV_TYPES.CLIENT_VER_MINOR, clientInfo.vMinor))
.concat(self._createTLV(TLV_TYPES.CLIENT_VER_LESSER, clientInfo.vLesser))
.concat(self._createTLV(TLV_TYPES.CLIENT_VER_BUILD, clientInfo.vBuild))
.concat(self._createTLV(TLV_TYPES.DISTRIB_NUM, [0x00, 0x00, 0x01, 0x11]))
.concat(self._createTLV(TLV_TYPES.CLIENT_LANG, 'en'))
.concat(self._createTLV(TLV_TYPES.CLIENT_COUNTRY, 'us'))
.concat(self._createTLV(TLV_TYPES.MULTI_CONN, [(self._options.connection.allowMultiLogin ? 0x01 : 0x03)]))
)
), function(e, server, cookie) { process.nextTick(function(){ self._login(e, conn, loginCb, reentry + 1, server, cookie); }); });
break;
case 1: // server sent us the BOS server to connect to
var server = arguments[4].substring(0, arguments[4].indexOf(':')), port = parseInt(arguments[4].substring(arguments[4].indexOf(':')+1));
debug('Connecting to BOS server @ ' + server + ':' + port);
conn.authCookie = arguments[5];
conn.isTransferring = true;
//conn.end();
conn.destroy();
process.nextTick(function() {
conn.tmrConn = setTimeout(self._fnTmrConn, self._options.connection.connTimeout, loginCb);
conn.connect(port, server);
});
break;
case 2: // server asked us for our auth cookie
self._send(conn, self._createFLAP(conn, FLAP_CHANNELS.CONN_NEW,
[0x00, 0x00, 0x00, 0x01].concat(self._createTLV(TLV_TYPES.AUTH_COOKIE, conn.authCookie))
), function(e) { process.nextTick(function(){self._login(e, conn, loginCb, reentry + 1);}); });
break;
case 3: // server sent us their list of supported services
var serVers = [], defServices = flip(SNAC_SERVICES),
services = Object.keys(conn.availServices).map(function(x){return parseInt(x);}).filter(function(svc) {
return (typeof defServices[svc] !== 'undefined'
&& (conn.neededServices === null || typeof conn.neededServices[svc] !== 'undefined'));
});
if (services.indexOf(SNAC_SERVICES.GENERIC) === -1)
services.unshift(SNAC_SERVICES.GENERIC);
for (var i=0,len=services.length; i<len; i++) {
if (typeof self._state.serviceMap[services[i]] === 'undefined' && services[i] !== SNAC_SERVICES.CHAT)
self._state.serviceMap[services[i]] = conn;
serVers.push(services[i] >> 8 & 0xFF);
serVers.push(services[i] & 0xFF);
serVers.push(SNAC_SERVICE_VERSIONS[services[i]] >> 8 & 0xFF);
serVers.push(SNAC_SERVICE_VERSIONS[services[i]] & 0xFF);
}
self._send(conn, self._createFLAP(conn, FLAP_CHANNELS.SNAC,
self._createSNAC(SNAC_SERVICES.GENERIC, 0x17, NO_FLAGS,
serVers
)
), function(e) { process.nextTick(function(){ self._login(e, conn, loginCb, reentry + 1); }); });
break;
case 4: // server acked our service versions
self._send(conn, self._createFLAP(conn, FLAP_CHANNELS.SNAC,
self._createSNAC(SNAC_SERVICES.GENERIC, 0x06, NO_FLAGS
)
), function(e) { process.nextTick(function(){ self._login(e, conn, loginCb, reentry + 1); }); });
break;
case 5: // server sent us rate limit groups, if available
// only ack if the server actually sent us groups
var groups = conn.rateLimitGroups;
if (groups.length > 0) {
for (var i=0,len=groups.length*2,group; i<len; i+=2) {
group = groups[i];
groups[i] = (group & 0xFF);
groups.splice(i, 0, (group >> 8 & 0xFF));
}
self._send(conn, self._createFLAP(conn, FLAP_CHANNELS.SNAC,
self._createSNAC(SNAC_SERVICES.GENERIC, 0x08, NO_FLAGS,
groups
)
));
}
conn.respCount = 0;
if (!conn.neededServices || typeof conn.neededServices[SNAC_SERVICES.LOCATION] !== 'undefined') {
conn.respCount++;
self._send(self._createFLAP(conn, FLAP_CHANNELS.SNAC,
self._createSNAC(SNAC_SERVICES.LOCATION, 0x02, NO_FLAGS
)
), function(e) { process.nextTick(function(){ self._login(e, conn, loginCb, reentry + 1); }); });
}
/*if (!conn.neededServices || typeof conn.neededServices[SNAC_SERVICES.LIST_MGMT] !== 'undefined') {
conn.respCount++;
self._send(self._createFLAP(conn, FLAP_CHANNELS.SNAC,
self._createSNAC(SNAC_SERVICES.LIST_MGMT, 0x02, NO_FLAGS
)
), function(e) { process.nextTick(function(){ self._login(e, conn, loginCb, reentry + 1); }); });
}*/
if (!conn.neededServices || typeof conn.neededServices[SNAC_SERVICES.ICBM] !== 'undefined') {
conn.respCount++;
self._send(self._createFLAP(conn, FLAP_CHANNELS.SNAC,
self._createSNAC(SNAC_SERVICES.ICBM, 0x04, NO_FLAGS
)
), function(e) { process.nextTick(function(){ self._login(e, conn, loginCb, reentry + 1); }); });
}
if (self._state.serviceMap[SNAC_SERVICES.CHAT_NAV] === conn) {
conn.respCount++;
self._send(self._createFLAP(conn, FLAP_CHANNELS.SNAC,
self._createSNAC(SNAC_SERVICES.CHAT_NAV, 0x02, NO_FLAGS
)
), function(e) { process.nextTick(function(){ self._login(e, conn, loginCb, reentry + 1); }); });
}
/*if (!conn.neededServices || typeof conn.neededServices[SNAC_SERVICES.SSI] !== 'undefined') {
conn.respCount++;
self._send(self._createFLAP(conn, FLAP_CHANNELS.SNAC,
self._createSNAC(SNAC_SERVICES.PRIVACY_MGMT, 0x02, NO_FLAGS
)
), function(e) { process.nextTick(function(){ self._login(e, conn, loginCb, reentry + 1); }); });
}*/
if (!conn.neededServices || typeof conn.neededServices[SNAC_SERVICES.SSI] !== 'undefined') {
conn.respCount++;
self._send(self._createFLAP(conn, FLAP_CHANNELS.SNAC,
self._createSNAC(SNAC_SERVICES.SSI, 0x02, NO_FLAGS
)
), function(e) { process.nextTick(function(){ self._login(e, conn, loginCb, reentry + 1); }); });
}
if (conn.respCount === 0)
process.nextTick(function() { self._login(undefined, conn, loginCb, reentry + 1); });
break;
case 6: // server sent us limits for some service
if (conn.respCount > 0)
conn.respCount--;
if (conn.respCount === 0) {
// set new ICBM settings for all channels (even though we only use channel 1 right now):
// * Flags note: Digsby sends a crazy value like 0x000003DB ....
// * max msg size === 8000 (0x1F40) characters?
// * min msg interval === 0 seconds
if ((!conn.neededServices || typeof conn.neededServices[SNAC_SERVICES.ICBM] !== 'undefined')
&& conn.availServices[SNAC_SERVICES.ICBM]) {
var warnRecv = 0xE703,//self._state.svcInfo[SNAC_SERVICES.ICBM].maxReceiverWarn,// \
warnSend = 0x8403,//self._state.svcInfo[SNAC_SERVICES.ICBM].maxSenderWarn, // -- use defaults for these
flags = ICBM_FLAGS.CHANNEL_MSGS_ALLOWED
| ICBM_FLAGS.MISSED_CALLS_ENABLED
| ICBM_FLAGS.TYPING_NOTIFICATIONS
| ICBM_FLAGS.EVENTS_ALLOWED
| ICBM_FLAGS.SMS_SUPPORTED
| ICBM_FLAGS.OFFLINE_MSGS_ALLOWED
| ICBM_FLAGS.USE_HTML_FOR_ICQ;
self._send(self._createFLAP(conn, FLAP_CHANNELS.SNAC,
self._createSNAC(SNAC_SERVICES.ICBM, 0x02, NO_FLAGS,
[0x00, 0x00, (flags >> 24 & 0xFF), (flags >> 16 & 0xFF), (flags >> 8 & 0xFF), (flags & 0xFF), 0x1F, 0x40,
(warnSend >> 8 & 0xFF), (warnSend & 0xFF), (warnRecv >> 8 & 0xFF), (warnRecv & 0xFF),
0x00, 0x00, 0x00, 0x00]
)
));
}
// send privacy settings
/*if (self._state.serviceMap[SNAC_SERVICES.GENERIC] === conn) {
self._send(self._createFLAP(conn, FLAP_CHANNELS.SNAC,
self._createSNAC(SNAC_SERVICES.GENERIC, 0x14, NO_FLAGS,
[0x00, 0x00, 0x00, (self._options.privacy.showIdle ? 0x01 : 0x00) | (self._options.privacy.showMemberSince ? 0x02 : 0x00)]
)
));
}*/
// send client capabilities
if ((!conn.neededServices || typeof conn.neededServices[SNAC_SERVICES.LOCATION] !== 'undefined')
&& conn.availServices[SNAC_SERVICES.LOCATION]) {
self._send(self._createFLAP(conn, FLAP_CHANNELS.SNAC,
self._createSNAC(SNAC_SERVICES.LOCATION, 0x04, NO_FLAGS,
self._createTLV(0x05, CAPABILITIES.INTEROPERATE.concat(CAPABILITIES.TYPING))
)
));
}
// send flags and status
if (self._state.serviceMap[SNAC_SERVICES.GENERIC] === conn) {
var status = self._state.status, flags = self._state.flags;
self._send(conn, self._createFLAP(conn, FLAP_CHANNELS.SNAC,
self._createSNAC(SNAC_SERVICES.GENERIC, 0x1E, NO_FLAGS,
self._createTLV(0x06, [(flags >> 8 & 0xFF), (flags & 0xFF), (status >> 8 & 0xFF), (status & 0xFF)])
)
));
}
// request current SSI data
if (!self.contacts.list && (conn.neededServices === null || typeof conn.neededServices[SNAC_SERVICES.SSI] !== 'undefined')) {
self.contacts.list = {};
self.contacts.permit = {};
self.contacts.deny = {};
self.contacts.prefs = {};
self._state.SSI = { activated: false, _temp: [] };
self._send(self._createFLAP(conn, FLAP_CHANNELS.SNAC,
self._createSNAC(SNAC_SERVICES.SSI, 0x04, NO_FLAGS
)
), function(e) { process.nextTick(function(){ self._login(e, conn, loginCb, reentry + 1); }); });
} else
process.nextTick(function(){ self._login(undefined, conn, loginCb, reentry + 1); });
}
break;
case 7:
if (conn.neededServices === null || typeof conn.neededServices[SNAC_SERVICES.SSI] !== 'undefined') {
// start receiving contact list notifications
self._state.SSI.activated = true;
self._send(conn, self._createFLAP(conn, FLAP_CHANNELS.SNAC,
self._createSNAC(SNAC_SERVICES.SSI, 0x07, NO_FLAGS
)
));
}
// ... and then send the client ready message
var data = [], services = Object.keys(conn.neededServices ? conn.neededServices : SNAC_SERVICE_VERSIONS).map(function(x){return parseInt(x);});
if (services.indexOf(SNAC_SERVICES.GENERIC) === -1)
services.unshift(SNAC_SERVICES.GENERIC);
for (var i=0,len=services.length; i<len; i++) {
data = data.concat([
services[i] >> 8, services[i] & 0xFF,
SNAC_SERVICE_VERSIONS[services[i]] >> 8, SNAC_SERVICE_VERSIONS[services[i]] & 0xFF,
SNAC_SERVICE_TOOL_IDS[services[i]] >> 8, SNAC_SERVICE_TOOL_IDS[services[i]] & 0xFF,
SNAC_SERVICE_TOOL_VERSIONS[services[i]] >> 8, SNAC_SERVICE_TOOL_VERSIONS[services[i]] & 0xFF
]);
}
self._send(conn, self._createFLAP(conn, FLAP_CHANNELS.SNAC,
self._createSNAC(SNAC_SERVICES.GENERIC, 0x02, NO_FLAGS,
data
)
));
conn.isReady = true;
if (typeof loginCb === 'function')
process.nextTick(function(){ loginCb(); });
break;
default:
var err = new Error('Bad _login() state');
if (typeof loginCb === 'function')
process.nextTick(function(){ loginCb(err); });
else
throw err;
}
}
};
OscarConnection.prototype._createFLAP = function(conn, channel, value) {
if (typeof channel !== 'number' || channel > 0x05 || channel < 0x01)
throw new Error('Invalid channel');
if (typeof value === 'undefined')
value = [];
else {
if (!Array.isArray(value)) {
if (typeof value === 'number')
value = splitNum(value);
else
value = str2bytes(''+value);
} else {
for (var i=0,len=value.length; i<len; i++) {
if (typeof value[i] !== 'number') {
if (!isNaN(parseInt(''+value[i])))
value[i] = parseInt(''+value[i]);
else
throw new Error('_createFLAP :: Only numbers can be in an Array value. Found a(n) ' + typeof value[i] + ' at index ' + i + ': ' + util.inspect(value[i]));
}
if (value[i] > 0xFF)
Array.prototype.splice.apply(value, [i, 1].concat(splitNum(value[i])));
}
}
}
var seqNum = conn.seqNum = (conn.seqNum === 0x7FFF ? 0 : conn.seqNum + 1);
return [0x2A, channel, (seqNum >> 8 & 0xFF), (seqNum & 0xFF), (value.length >> 8 & 0xFF), (value.length & 0xFF)].concat(value);
};
OscarConnection.prototype._createSNAC = function(serviceID, subtypeID, flags, value) {
if (!(Object.keys(SNAC_SERVICES).some(function(x){return SNAC_SERVICES[x] === serviceID;})))
throw new Error('Invalid SNAC service id');
else if (typeof subtypeID !== 'number' || subtypeID < 1 || subtypeID > 0xFFFF)
throw new Error('Invalid service subtype id');
else if (typeof flags !== 'number' || flags > 0xFFFF)
throw new Error('Invalid flags');
if (typeof value === 'undefined')
value = [];
else {
if (!Array.isArray(value)) {
if (typeof value === 'number')
value = splitNum(value);
else
value = str2bytes(''+value);
} else {
for (var i=0,len=value.length; i<len; i++) {
if (typeof value[i] !== 'number') {
if (!isNaN(parseInt(''+value[i])))
value[i] = parseInt(''+value[i]);
else
throw new Error('_createSNAC :: Only numbers can be in an Array value. Found a(n) ' + typeof value[i] + ' at index ' + i + ': ' + util.inspect(value[i]));
}
if (value[i] > 0xFF)
Array.prototype.splice.apply(value, [i, 1].concat(splitNum(value[i])));
}
}
}
var reqID;
// HACK: Retrieving offline messages requires a SNAC request ID of 0 (??!)
if (serviceID === SNAC_SERVICES.ICBM && subtypeID === 0x10)
reqID = 0;
else
reqID = this._state.reqID = (this._state.reqID === 0x7FFFFFFF ? 1 : this._state.reqID + 1);
return [(serviceID >> 8 & 0xFF), (serviceID & 0xFF), (subtypeID >> 8 & 0xFF), (subtypeID & 0xFF),
(flags >> 8 & 0xFF), (flags & 0xFF), (reqID >> 24 & 0xFF), (reqID >> 16 & 0xFF), (reqID >> 8 & 0xFF), (reqID & 0xFF)].concat(value);
};
OscarConnection.prototype._createTLV = function(type, value) {
if (typeof type !== 'number' || type < 1 || type > 0xFFFF)
throw new Error('Invalid type');
if (typeof value === 'undefined')
value = [];
else {
if (!Array.isArray(value)) {
if (typeof value === 'number')
value = splitNum(value);
else
value = str2bytes(''+value);
} else {
for (var i=0,len=value.length; i<len; i++) {
if (typeof value[i] !== 'number') {
if (!isNaN(parseInt(''+value[i])))
value[i] = parseInt(''+value[i]);
else
throw new Error('_createTLV :: Only numbers can be in an Array value. Found a(n) ' + typeof value[i] + ' at index ' + i + ': ' + util.inspect(value[i]));
}
if (value[i] > 0xFF)
Array.prototype.splice.apply(value, [i, 1].concat(splitNum(value[i])));
}
}
}
return [(type >> 8 & 0xFF), (type & 0xFF), (value.length >> 8 & 0xFF), (value.length & 0xFF)].concat(value);
};
OscarConnection.prototype._sendKeepAlive = function(conn) {
if (!conn)
conn = this._state.connections.main;
if (conn && conn.isConnected)
this._send(conn, this._createFLAP(conn, FLAP_CHANNELS.KEEPALIVE));
else
clearTimeout(conn.keepAliveTimer);
};
/**
* Adopted from jquery's extend method. Under the terms of MIT License.
*
* http://code.jquery.com/jquery-1.4.2.js
*
* Modified by Brian White to use Array.isArray instead of the custom isArray method
*/
function extend() {
// copy reference to target object
var target = arguments[0] || {}, i = 1, length = arguments.length, deep = false, options, name, src, copy;
// Handle a deep copy situation
if (typeof target === 'boolean') {
deep = target;
target = arguments[1] || {};
// skip the boolean and the target
i = 2;
}
// Handle case when target is a string or something (possible in deep copy)
if (typeof target !== 'object' && !typeof target === 'function')
target = {};
var isPlainObject = function(obj) {
// Must be an Object.
// Because of IE, we also have to check the presence of the constructor property.
// Make sure that DOM nodes and window objects don't pass through, as well
if (!obj || toString.call(obj) !== '[object Object]' || obj.nodeType || obj.setInterval)
return false;
var has_own_constructor = hasOwnProperty.call(obj, 'constructor');
var has_is_property_of_method = hasOwnProperty.call(obj.constructor.prototype, 'isPrototypeOf');
// Not own constructor property must be Object
if (obj.constructor && !has_own_constructor && !has_is_property_of_method)
return false;
// Own properties are enumerated firstly, so to speed up,
// if last one is own, then all properties are own.
var last_key;
for (key in obj)
last_key = key;
return typeof last_key === 'undefined' || hasOwnProperty.call(obj, last_key);
};
for (; i < length; i++) {
// Only deal with non-null/undefined values
if ((options = arguments[i]) !== null) {
// Extend the base object
for (name in options) {
src = target[name];
copy = options[name];
// Prevent never-ending loop
if (target === copy)
continue;
// Recurse if we're merging object literal values or arrays
if (deep && copy && (isPlainObject(copy) || Array.isArray(copy))) {
var clone = src && (isPlainObject(src) || Array.isArray(src)) ? src : Array.isArray(copy) ? [] : {};
// Never move original objects, clone them
target[name] = extend(deep, clone, copy);
// Don't bring in undefined values
} else if (typeof copy !== 'undefined')
target[name] = copy;
}
}
}
// Return the modified object
return target;
};
function extractTLVs(buffer, idxStart, tlvTotal) {
var tlvs = {}, added = 0;
for (var i=(typeof idxStart !== 'undefined' ? idxStart : 10),dataLen=buffer.length,tlvType,tlvLen; i<dataLen;) {
tlvType = (buffer[i++] << 8) + buffer[i++];
tlvLen = (buffer[i++] << 8) + buffer[i++];
//debug('extractTLVs(buffer,' + (idxStart || 10) + ',' + tlvTotal + ') :: i == ' + i + ', buffer[i] === 0x' + buffer[i].toString(16) + ', tlvType == 0x' + tlvType.toString(16) + ', tlvLen == ' + tlvLen + ' (0x' + tlvLen.toString(16) + '), dataLen == ' + dataLen);
if (tlvs[tlvType]) {
if (!Array.isArray(tlvs[tlvType]))
tlvs[tlvType] = [tlvs[tlvType]];
tlvs[tlvType].push((tlvLen > 0 ? buffer.slice(i, i+tlvLen) : undefined));
} else
tlvs[tlvType] = (tlvLen > 0 ? buffer.slice(i, i+tlvLen) : undefined);
i += tlvLen;
if (tlvTotal && ++added === tlvTotal)
return [tlvs, i];
}
return tlvs;
}
function splitNum(num, size) {
var newval = [];
size = size || 0;
while (num > 0 || size > 0) {
newval.unshift(num & 0xFF);
num >>= 8;
if (size)
size--;
}
return newval;
}
function str2bytes(str) {
return (''+str).split('').map(function(x){return x.charCodeAt(0);});
}
function flip(obj) {
var result = {}, keys = Object.keys(obj);
for (var i=0,len=keys.length; i<len; i++)
result[obj[keys[i]]] = keys[i];
return result;
};
function toHexStr(o) {
return (Buffer.isBuffer(o) ? o.toArray() : o).reduce(function(p,c) {
return p.toString(16) + (c.toString(16).length === 1 ? '0' : '') + c.toString(16);
})
}
function arraysEqual(a, b) {
var equal = false;
if (a.length === b.length)
equal = a.every(function(value,index) { return value === b[index]; });
return equal;
}
function bufferAppend(buf1, buf2) {
var newBuf = new Buffer(buf1.length + buf2.length);
buf1.copy(newBuf, 0, 0);
if (Buffer.isBuffer(buf2))
buf2.copy(newBuf, buf1.length, 0);
else if (Array.isArray(buf2)) {
for (var i=buf1.length, len=buf2.length; i<len; i++)
newBuf[i] = buf2[i];
}
return newBuf;
};
Buffer.prototype.toArray = function() {
return Array.prototype.slice.call(this);
};
function getConnSvcNames(conn) {
if (conn.id === 'login')
return 'login';
var svcTypes = Object.keys(SNAC_SERVICES),
availServices = Object.keys(conn.availServices).map(function(x) {
return parseInt(x);
}),
services = [];
for (var i=0,len=availServices.length; i<len; ++i) {
for (var j=0,len2=svcTypes.length; j<len2; ++j) {
if (availServices[i] === SNAC_SERVICES[svcTypes[j]]) {
services.push(svcTypes[j]);
break;
}
}
}
return services.join(', ');
}
// Constants ---------------------------------------------------------------------------------
var FLAP_CHANNELS = {
CONN_NEW: 0x01,
SNAC: 0x02,
ERROR: 0x03,
CONN_CLOSE: 0x04,
KEEPALIVE: 0x05
};
var SNAC_SERVICES = {
GENERIC: 0x0001,
LOCATION: 0x0002,
LIST_MGMT: 0x0003,
ICBM: 0x0004,
INVITATION: 0x0006,
ADMIN: 0x0007,
POPUP: 0x0008,
PRIVACY_MGMT: 0x0009,
USER_LOOKUP: 0x000A,
USAGE_STATS: 0x000B, // used by AOL to gather stats about user
CHAT_NAV: 0x000D,
CHAT: 0x000E,
DIR_SEARCH: 0x000F,
BART: 0x0010, // server-side buddy icons
SSI: 0x0013, // server-side info
ICQ_EXT: 0x0015,
AUTH: 0x0017
};
var SNAC_SERVICE_VERSIONS = {};
SNAC_SERVICE_VERSIONS[SNAC_SERVICES.GENERIC] = 4;
SNAC_SERVICE_VERSIONS[SNAC_SERVICES.LOCATION] = 1;
SNAC_SERVICE_VERSIONS[SNAC_SERVICES.LIST_MGMT] = 1;
SNAC_SERVICE_VERSIONS[SNAC_SERVICES.ICBM] = 1;
SNAC_SERVICE_VERSIONS[SNAC_SERVICES.INVITATION] = 1;
SNAC_SERVICE_VERSIONS[SNAC_SERVICES.ADMIN] = 1;
SNAC_SERVICE_VERSIONS[SNAC_SERVICES.POPUP] = 1;
SNAC_SERVICE_VERSIONS[SNAC_SERVICES.PRIVACY_MGMT] = 1;
SNAC_SERVICE_VERSIONS[SNAC_SERVICES.USER_LOOKUP] = 1;
SNAC_SERVICE_VERSIONS[SNAC_SERVICES.DIR_SEARCH] = 1;
SNAC_SERVICE_VERSIONS[SNAC_SERVICES.USAGE_STATS] = 1;
SNAC_SERVICE_VERSIONS[SNAC_SERVICES.CHAT_NAV] = 1;
SNAC_SERVICE_VERSIONS[SNAC_SERVICES.CHAT] = 1;
SNAC_SERVICE_VERSIONS[SNAC_SERVICES.BART] = 1;
SNAC_SERVICE_VERSIONS[SNAC_SERVICES.SSI] = 4;
SNAC_SERVICE_VERSIONS[SNAC_SERVICES.ICQ_EXT] = 1;
var SNAC_SERVICE_TOOL_IDS = {};
SNAC_SERVICE_TOOL_IDS[SNAC_SERVICES.GENERIC] = 0x0110;
SNAC_SERVICE_TOOL_IDS[SNAC_SERVICES.LOCATION] = 0x0110;
SNAC_SERVICE_TOOL_IDS[SNAC_SERVICES.LIST_MGMT] = 0x0110;
SNAC_SERVICE_TOOL_IDS[SNAC_SERVICES.ICBM] = 0x0110;
SNAC_SERVICE_TOOL_IDS[SNAC_SERVICES.INVITATION] = 0x0110;
SNAC_SERVICE_TOOL_IDS[SNAC_SERVICES.ADMIN] = 0x0010;
SNAC_SERVICE_TOOL_IDS[SNAC_SERVICES.POPUP] = 0x0104;
SNAC_SERVICE_TOOL_IDS[SNAC_SERVICES.PRIVACY_MGMT] = 0x0110;
SNAC_SERVICE_TOOL_IDS[SNAC_SERVICES.USER_LOOKUP] = 0x0110;
SNAC_SERVICE_TOOL_IDS[SNAC_SERVICES.DIR_SEARCH] = 0x0010;
SNAC_SERVICE_TOOL_IDS[SNAC_SERVICES.USAGE_STATS] = 0x0104;
SNAC_SERVICE_TOOL_IDS[SNAC_SERVICES.CHAT_NAV] = 0x0010;
SNAC_SERVICE_TOOL_IDS[SNAC_SERVICES.CHAT] = 0x0010;
SNAC_SERVICE_TOOL_IDS[SNAC_SERVICES.BART] = 0x0010;
SNAC_SERVICE_TOOL_IDS[SNAC_SERVICES.SSI] = 0x0010;
SNAC_SERVICE_TOOL_IDS[SNAC_SERVICES.ICQ_EXT] = 0x0110;
var SNAC_SERVICE_TOOL_VERSIONS = {};
SNAC_SERVICE_TOOL_VERSIONS[SNAC_SERVICES.GENERIC] = 0x0629;
SNAC_SERVICE_TOOL_VERSIONS[SNAC_SERVICES.LOCATION] = 0x0629;
SNAC_SERVICE_TOOL_VERSIONS[SNAC_SERVICES.LIST_MGMT] = 0x0629;
SNAC_SERVICE_TOOL_VERSIONS[SNAC_SERVICES.ICBM] = 0x0629;
SNAC_SERVICE_TOOL_VERSIONS[SNAC_SERVICES.INVITATION] = 0x0629;
SNAC_SERVICE_TOOL_VERSIONS[SNAC_SERVICES.ADMIN] = 0x0629;
SNAC_SERVICE_TOOL_VERSIONS[SNAC_SERVICES.POPUP] = 0x0001;
SNAC_SERVICE_TOOL_VERSIONS[SNAC_SERVICES.PRIVACY_MGMT] = 0x0629;
SNAC_SERVICE_TOOL_VERSIONS[SNAC_SERVICES.USER_LOOKUP] = 0x0629;
SNAC_SERVICE_TOOL_VERSIONS[SNAC_SERVICES.DIR_SEARCH] = 0x0629;
SNAC_SERVICE_TOOL_VERSIONS[SNAC_SERVICES.USAGE_STATS] = 0x0001;
SNAC_SERVICE_TOOL_VERSIONS[SNAC_SERVICES.CHAT_NAV] = 0x0629;
SNAC_SERVICE_TOOL_VERSIONS[SNAC_SERVICES.CHAT] = 0x0629;
SNAC_SERVICE_TOOL_VERSIONS[SNAC_SERVICES.BART] = 0x0629;
SNAC_SERVICE_TOOL_VERSIONS[SNAC_SERVICES.SSI] = 0x0629;
SNAC_SERVICE_TOOL_VERSIONS[SNAC_SERVICES.ICQ_EXT] = 0x047C;
var TLV_TYPES = {
SCREEN_NAME: 0x01, // value: string
PASSWORD_NEW: 0x02, // value: string
CLIENT_ID_STR: 0x03, // value: string
ERROR_DESC_URL: 0x04, // value: string
BOS_SERVER: 0x05, // value: string -- 'server:port'
AUTH_COOKIE: 0x06, // value: byte array
SNAC_VER: 0x07, // value: unknown
ERROR: 0x08, // value: word
DISCONNECT_REASON: 0x09, // value: word
REDIRECT_HOST: 0x0A, // value: unknown
URL: 0x0B, // value: string
DEBUG: 0x0C, // value: word
SERVICE_ID: 0x0D, // value: word
CLIENT_COUNTRY: 0x0E, // value: string (2 chars)
CLIENT_LANG: 0x0F, // value: string (2 chars)
SCRIPT: 0x10, // value: unknown
USER_EMAIL: 0x11, // value: string
PASSWORD_OLD: 0x12, // value: string
REG_STATUS: 0x13, // value: word (visibility status -- 'let those who know my email address know ...'(?)) (0x01 -- 'Nothing about me', 0x02 -- 'Only that I have an account', 0x03 -- 'My screen name')
DISTRIB_NUM: 0x14, // value: dword
PERSONAL_TEXT: 0x15, // value: unknown
CLIENT_ID: 0x16, // value: word
CLIENT_VER_MAJOR: 0x17, // value: word
CLIENT_VER_MINOR: 0x18, // value: word
CLIENT_VER_LESSER: 0x19, // value: word
CLIENT_VER_BUILD: 0x1A, // value: word
PASSWORD_HASH: 0x25, // value: byte array
LATEST_BETA_BUILD: 0x40, // value: dword
LATEST_BETA_INSTALL_URL: 0x41, // value: string
LATEST_BETA_INFO_URL: 0x42, // value: byte array
LATEST_BETA_VER: 0x43, // value: string
LATEST_REL_BUILD: 0x44, // value: dword
LATEST_REL_INSTALL_URL: 0x45, // value: string
LATEST_REL_INFO_URL: 0x46, // value: byte array
LATEST_REL_VER: 0x47, // value: string
LATEST_BETA_DIGEST: 0x48, // value: string (hex)
LATEST_REL_DIGEST: 0x49, // value: string (hex)
MULTI_CONN: 0x4A, // value: byte
CHANGE_PASS_URL: 0x54 // value: string
};
var DISCONNECT_REASONS = {
DONE: 0x00, // not really an error
LOCAL_CLOSED: 0x01, // peer connections only, not really an error
REMOTE_CLOSED: 0x02,
REMOTE_REFUSED: 0x03, // peer connections only
LOST_CONN: 0x04,
INVALID_DATA: 0x05,
UNABLE_TO_CONNECT: 0x06,
RETRYING: 0x07 // peer connections only
};
var GLOBAL_ERRORS = {
BAD_SNAC_HEADER: 0x01,
SERVER_RATE_LIMIT: 0x02,
CLIENT_RATE_LIMIT: 0x03,
RECIPIENT_UNAVAIL: 0x04,
SERVICE_UNAVAIL: 0x05,
SERVICE_UNDEFINED: 0x06,
SNAC_OBSOLETE: 0x07,
SERVER_UNSUPPORTED: 0x08,
CLIENT_UNSUPPORTED: 0x09,
CLIENT_REFUSED: 0x0A,
REPLY_OVERSIZED: 0x0B,
RESPONSES_LOST: 0x0C,
REQUEST_DENIED: 0x0D,
BAD_SNAC_FORMAT: 0x0E,
NOT_PRIVILEGED: 0x0F,
RECIPIENT_BLOCKED: 0x10,
EVIL_SENDER: 0x11,
EVIL_RECEIVER: 0x12,
USER_TEMP_UNAVAIL: 0x13,
NO_MATCH: 0x14,
LIST_OVERFLOW: 0x15,
REQUEST_VAGUE: 0x16,
SERVER_QUEUE_FULL: 0x17,
NOT_ON_AOL: 0x18
};
var GLOBAL_ERRORS_TEXT = {};
GLOBAL_ERRORS_TEXT[GLOBAL_ERRORS.BAD_SNAC_HEADER] = 'Invalid SNAC header';
GLOBAL_ERRORS_TEXT[GLOBAL_ERRORS.SERVER_RATE_LIMIT] = 'Server rate limit exceeded';
GLOBAL_ERRORS_TEXT[GLOBAL_ERRORS.CLIENT_RATE_LIMIT] = 'Client rate limit exceeded';
GLOBAL_ERRORS_TEXT[GLOBAL_ERRORS.RECIPIENT_UNAVAIL] = 'Recipient is not logged in';
GLOBAL_ERRORS_TEXT[GLOBAL_ERRORS.SERVICE_UNAVAIL] = 'Requested service unavailable';
GLOBAL_ERRORS_TEXT[GLOBAL_ERRORS.SERVICE_UNDEFINED] = 'Requested service not defined';
GLOBAL_ERRORS_TEXT[GLOBAL_ERRORS.SNAC_OBSOLETE] = 'You sent an obsolete SNAC';
GLOBAL_ERRORS_TEXT[GLOBAL_ERRORS.SERVER_UNSUPPORTED] = 'Not supported by server';
GLOBAL_ERRORS_TEXT[GLOBAL_ERRORS.CLIENT_UNSUPPORTED] = 'Not supported by client';
GLOBAL_ERRORS_TEXT[GLOBAL_ERRORS.CLIENT_REFUSED] = 'Refused by client';
GLOBAL_ERRORS_TEXT[GLOBAL_ERRORS.REPLY_OVERSIZED] = 'Reply too big';
GLOBAL_ERRORS_TEXT[GLOBAL_ERRORS.RESPONSES_LOST] = 'Responses lost';
GLOBAL_ERRORS_TEXT[GLOBAL_ERRORS.REQUEST_DENIED] = 'Request denied';
GLOBAL_ERRORS_TEXT[GLOBAL_ERRORS.BAD_SNAC_FORMAT] = 'Incorrect SNAC format';
GLOBAL_ERRORS_TEXT[GLOBAL_ERRORS.NOT_PRIVILEGED] = 'Insufficient rights';
GLOBAL_ERRORS_TEXT[GLOBAL_ERRORS.RECIPIENT_BLOCKED] = 'In local permit/deny (recipient blocked)';
GLOBAL_ERRORS_TEXT[GLOBAL_ERRORS.EVIL_SENDER] = 'Sender too evil';
GLOBAL_ERRORS_TEXT[GLOBAL_ERRORS.EVIL_RECEIVER] = 'Receiver too evil';
GLOBAL_ERRORS_TEXT[GLOBAL_ERRORS.USER_TEMP_UNAVAIL] = 'User temporarily unavailable';
GLOBAL_ERRORS_TEXT[GLOBAL_ERRORS.NO_MATCH] = 'No match';
GLOBAL_ERRORS_TEXT[GLOBAL_ERRORS.LIST_OVERFLOW] = 'List overflow';
GLOBAL_ERRORS_TEXT[GLOBAL_ERRORS.REQUEST_VAGUE] = 'Request ambiguous';
GLOBAL_ERRORS_TEXT[GLOBAL_ERRORS.SERVER_QUEUE_FULL] = 'Server queue full';
GLOBAL_ERRORS_TEXT[GLOBAL_ERRORS.NOT_ON_AOL] = 'Not while on AOL';
var DEFAULT_RATE_GROUP = 1;
var RATE_UPDATES = {
INVALID: 0x0000,
CHANGED: 0x0001,
WARNING: 0x0002,
LIMIT: 0x0003,
LIMIT_CLEARED: 0x0004
};
var RATE_UPDATES_TEXT = {};
RATE_UPDATES_TEXT[RATE_UPDATES.INVALID] = 'Invalid rate limit change';
RATE_UPDATES_TEXT[RATE_UPDATES.CHANGED] = 'Rate limits have changed';
RATE_UPDATES_TEXT[RATE_UPDATES.WARNING] = 'Rate limit warning in effect';
RATE_UPDATES_TEXT[RATE_UPDATES.LIMIT] = 'Rate limit in effect';
RATE_UPDATES_TEXT[RATE_UPDATES.LIMIT_CLEARED] = 'Rate limit no longer in effect';
var AUTH_ERRORS = {
LOGIN_INVALID1: 0x01,
SERVICE_DOWN1: 0x02,
OTHER: 0x03,
LOGIN_INVALID2: 0x04,
LOGIN_INVALID3: 0x05,
BAD_INPUT: 0x06,
ACCOUNT_INVALID: 0x07,
ACCOUNT_DELETED: 0x08,
ACCOUNT_EXPIRED: 0x09,
NO_DB_ACCESS: 0x0A,
NO_RESOLVER_ACCESS: 0x0B,
DB_FIELDS_INVALID: 0x0C,
BAD_DB_STATUS: 0x0D,
BAD_RESOLVER_STATUS: 0x0E,
INTERNAL: 0x0F,
SERVICE_DOWN2: 0x10,
ACCOUNT_SUSPENDED: 0x11,
DB_SEND: 0x12,
DB_LINK: 0x13,
RESERVATION_MAP: 0x14,
RESERVATION_LINK: 0x15,
MAX_IP_CONN: 0x16,
MAX_IP_CONN_RESERVATION: 0x17,
RATE_RESERVATION: 0x18,
HEAVILY_WARNED: 0x19,
TIMEOUT_RESERVATION: 0x1A,
CLIENT_UPGRADE_REQ: 0x1B,
CLINET_UPGRADE_REC: 0x1C,
RATE_LIMIT_EXCEED: 0x1D,
CANNOT_REGISTER: 0x1E,
INVALID_SECURID: 0x20,
ACCOUNT_SUSPENDED_AGE: 0x22
};
var AUTH_ERRORS_TEXT = {};
AUTH_ERRORS_TEXT[AUTH_ERRORS.LOGIN_INVALID1] = 'Invalid nick or password';
AUTH_ERRORS_TEXT[AUTH_ERRORS.SERVICE_DOWN1] = 'Service temporarily unavailable';
AUTH_ERRORS_TEXT[AUTH_ERRORS.OTHER] = 'All other errors';
AUTH_ERRORS_TEXT[AUTH_ERRORS.LOGIN_INVALID2] = 'Incorrect nick or password';
AUTH_ERRORS_TEXT[AUTH_ERRORS.LOGIN_INVALID3] = 'Mismatch nick or password';
AUTH_ERRORS_TEXT[AUTH_ERRORS.BAD_INPUT] = 'Internal client error (bad input to authorizer)';
AUTH_ERRORS_TEXT[AUTH_ERRORS.ACCOUNT_INVALID] = 'Invalid account';
AUTH_ERRORS_TEXT[AUTH_ERRORS.ACCOUNT_DELETED] = 'Deleted account';
AUTH_ERRORS_TEXT[AUTH_ERRORS.ACCOUNT_EXPIRED] = 'Expired account';
AUTH_ERRORS_TEXT[AUTH_ERRORS.NO_DB_ACCESS] = 'No access to database';
AUTH_ERRORS_TEXT[AUTH_ERRORS.NO_RESOLVER_ACCESS] = 'No access to resolver';
AUTH_ERRORS_TEXT[AUTH_ERRORS.DB_FIELDS_INVALID] = 'Invalid database fields';
AUTH_ERRORS_TEXT[AUTH_ERRORS.BAD_DB_STATUS] = 'Bad database status';
AUTH_ERRORS_TEXT[AUTH_ERRORS.BAD_RESOLVER_STATUS] = 'Bad resolver status';
AUTH_ERRORS_TEXT[AUTH_ERRORS.INTERNAL] = 'Internal error';
AUTH_ERRORS_TEXT[AUTH_ERRORS.SERVICE_DOWN2] = 'Service temporarily offline';
AUTH_ERRORS_TEXT[AUTH_ERRORS.ACCOUNT_SUSPENDED] = 'Suspended account';
AUTH_ERRORS_TEXT[AUTH_ERRORS.DB_SEND] = 'DB send error';
AUTH_ERRORS_TEXT[AUTH_ERRORS.DB_LINK] = 'DB link error';
AUTH_ERRORS_TEXT[AUTH_ERRORS.RESERVATION_MAP] = 'Reservation map error';
AUTH_ERRORS_TEXT[AUTH_ERRORS.RESERVATION_LINK] = 'Reservation link error';
AUTH_ERRORS_TEXT[AUTH_ERRORS.MAX_IP_CONN] = 'The number of users connected from this IP has reached the maximum';
AUTH_ERRORS_TEXT[AUTH_ERRORS.MAX_IP_CONN_RESERVATION] = 'The number of users connected from this IP has reached the maximum (reservation)';
AUTH_ERRORS_TEXT[AUTH_ERRORS.RATE_RESERVATION] = 'Rate limit exceeded (reservation). Please try to reconnect in a few minutes';
AUTH_ERRORS_TEXT[AUTH_ERRORS.HEAVILY_WARNED] = 'User too heavily warned';
AUTH_ERRORS_TEXT[AUTH_ERRORS.TIMEOUT_RESERVATION] = 'Reservation timeout';
AUTH_ERRORS_TEXT[AUTH_ERRORS.CLIENT_UPGRADE_REQ] = 'You are using an older version of ICQ. Upgrade required';
AUTH_ERRORS_TEXT[AUTH_ERRORS.CLINET_UPGRADE_REC] = 'You are using an older version of ICQ. Upgrade recommended';
AUTH_ERRORS_TEXT[AUTH_ERRORS.RATE_LIMIT_EXCEED] = 'Rate limit exceeded. Please try to reconnect in a few minutes';
AUTH_ERRORS_TEXT[AUTH_ERRORS.CANNOT_REGISTER] = 'Can\'t register on the ICQ network. Reconnect in a few minutes';
AUTH_ERRORS_TEXT[AUTH_ERRORS.INVALID_SECURID] = 'Invalid SecurID';
AUTH_ERRORS_TEXT[AUTH_ERRORS.ACCOUNT_SUSPENDED_AGE] = 'Account suspended because of your age (age < 13)';
var MOTD_TYPES = {
MAND_UPGRADE: 0x01, // Mandatory upgrade needed notice
REC_UPGRADE: 0x02, // Recommended upgrade notice
SYS_ANNOUNCE: 0x03, // AIM/ICQ service system announcements
NORMAL: 0x04, // Standard notice
NEWS: 0x06 // Some news from AOL service
};
var DC_TYPES = { // ICQ only
DC_DISABLED: 0x00, // Direct connection disabled / auth required
DC_HTTPS: 0x01, // Direct connection through firewall or https proxy
DC_SOCKS: 0x02, // Direct connection through socks4/5 proxy server
DC_NORMAL: 0x04, // Normal direct connection (no proxy/firewall)
DC_WEB: 0x06 // Web client - no direct connection possible
};
var DC_PROTOCOLS = { // ICQ only
DCP_ICQ98: 0x04, // ICQ98
DCP_ICQ99: 0x06, // ICQ99
DCP_ICQ2000: 0x07, // ICQ2000
DCP_ICQ2001: 0x08, // ICQ2001
DCP_ICQLITE: 0x09, // ICQ Lite
DCP_ICQ2003B: 0x0A // ICQ2003B
};
var USER_CLASSES = {
UNCONFIRMED: 0x0001, // AOL unconfirmed user flag
ADMIN: 0x0002, // AOL administrator flag
STAFF: 0x0004, // AOL staff user flag
COMMERCIAL: 0x0008, // AOL commercial account flag
FREE: 0x0010, // AOL non-commercial account flag
AWAY: 0x0020, // Away status flag
ICQ: 0x0040, // ICQ user sign
WIRELESS: 0x0080, // Mobile device user
UNKNOWN100: 0x0100, // Unknown bit
UNKNOWN200: 0x0200, // Unknown bit
BOT: 0x0400, // Bot like ActiveBuddy (or SmarterChild?)
UNKNOWN800: 0x0800 // Unknown bit
};
var USER_STATUSES = { // 1st two bytes of user status field
ONLINE: 0x0000,
AWAY: 0x0001,
DND: 0x0002,
NA: 0x0004,
OCCUPIED: 0x0010,
FREE4CHAT: 0x0020,
INVISIBLE: 0x0100,
EVIL: 0x3000,
DEPRESSION: 0x4000,
ATHOME: 0x5000,
ATWORK: 0x6000,
LUNCH: 0x2001,
OFFLINE: 0xFFFF
};
var USER_FLAGS = { // 2nd two bytes of user status field
WEBAWARE: 0x0001, // Status webaware flag
SHOWIP: 0x0002, // Status show ip flag
BIRTHDAY: 0x0008, // User birthday flag
WEBFRONT: 0x0020, // User active webfront flag
DCDISABLED: 0x0100, // Direct connection not supported
HOMEPAGE: 0x0200, // Homepage (ICQ-only)
DCAUTH: 0x1000, // Direct connection upon authorization
DCCONT: 0x2000 // Direct connection only with contact users
};
var MESSAGE_TYPES = {
PLAIN: 0x01, // Plain text (simple) message
CHAT: 0x02, // Chat request message
FILEREQ: 0x03, // File request / file ok message
URL: 0x04, // URL message (0xFE formatted)
AUTHREQ: 0x06, // Authorization request message (0xFE formatted)
AUTHDENY: 0x07, // Authorization denied message (0xFE formatted)
AUTHOK: 0x08, // Authorization given message (empty)
SERVER: 0x09, // Message from OSCAR server (0xFE formatted)
ADDED: 0x0C, // 'You-were-added' message (0xFE formatted)
WWP: 0x0D, // Web pager message (0xFE formatted)
EEXPRESS: 0x0E, // Email express message (0xFE formatted)
CONTACTS: 0x13, // Contact list message
PLUGIN: 0x1A, // Plugin message described by text string
AUTOAWAY: 0xE8, // Auto away message
AUTOBUSY: 0xE9, // Auto occupied message
AUTONA: 0xEA, // Auto not available message
AUTODND: 0xEB, // Auto do not disturb message
AUTOFFC: 0xEC // Auto free for chat message
};
var MESSAGE_FLAGS = {
NORMAL: 0x01, // Normal message
AUTO: 0x03, // Auto-message flag
MULTI: 0x80 // This is multiple recipients message
};
var ICBM_FLAGS = {
CHANNEL_MSGS_ALLOWED: 0x00000001,
MISSED_CALLS_ENABLED: 0x00000002,
TYPING_NOTIFICATIONS: 0x00000004,
EVENTS_ALLOWED: 0x00000008,
SMS_SUPPORTED: 0x00000010,
OFFLINE_MSGS_ALLOWED: 0x00000100,
USE_HTML_FOR_ICQ: 0x00000400
};
var ICBM_RENDEZVOUS_STATUSES = {
REQUEST: 0x0000,
CANCEL: 0x0001,
ACCEPT: 0x0002
};
var ICBM_MISSED_REASONS = {
INVALID: 0x0000,
TOO_BIG: 0x0001,
RATE_EXCEEDED: 0x0002,
SENDER_EVIL: 0x0003,
SELF_EVIL: 0x0004
};
var ICBM_MSG_FLAGS = {
AWAY: 0x0001, // auto-reply
ACK: 0x0002, // request msg ack
REQ_ICON: 0x0010, // icon requested
HAS_ICON: 0x0020, // user has an icon
SUBENC_MACINTOSH: 0x0040, // ???
CUSTOM_FEATURES: 0x0080, // features field present
OFFLINE: 0x0800 // offline message
};
var ICBM_MSG_CHARSETS = {
ASCII: 0x0000, // ISO 646
UNICODE: 0x0002, // ISO 10646 (UTF-16/UCS-2BE)
LATIN1: 0x0003 // ISO 8859-1
};
var ICBM_ERRORS = {
USER_OFFLINE: 0x04,
USER_UNSUPPORTED_MSG: 0x09,
MSG_INVALID: 0x0E,
BLOCKED: 0x10
};
var ICBM_SUBCODE_ERRORS = {
REMOTE_IM_OFF: 0x01,
REMOTE_RESTRICTED_BY_PC: 0x02,
SMS_NEED_LEGAL: 0x03,
SMS_NO_DISCLAIMER: 0x04,
SMS_COUNTRY_UNALLOWED: 0x05,
SMS_UNKNOWN_COUNTRY: 0x08,
CANNOT_INIT_IM: 0x09,
IM_UNALLOWED: 0x0A,
USAGE_LIMIT: 0x0B,
DAILY_USAGE_LIMIT: 0x0C,
MONTHLY_USAGE_LIMIT: 0x0D,
OFFLINE_IM_UNACCEPTED: 0x0E,
OFFLINE_IM_EXCEED_MAX: 0x0F
};
var ICBM_ERRORS_TEXT = {};
ICBM_ERRORS_TEXT[ICBM_ERRORS.USER_OFFLINE] = 'You are trying to send a message to an offline user';
ICBM_ERRORS_TEXT[ICBM_ERRORS.USER_UNSUPPORTED_MSG] = 'This type of message is not supported by that user';
ICBM_ERRORS_TEXT[ICBM_ERRORS.MSG_INVALID] = 'Message is invalid (incorrect format)';
ICBM_ERRORS_TEXT[ICBM_ERRORS.BLOCKED] = 'Receiver/Sender is blocked';
var ICBM_SUBCODE_ERRORS_TEXT = {};
ICBM_SUBCODE_ERRORS_TEXT[ICBM_SUBCODE_ERRORS.REMOTE_IM_OFF] = 'User is not accepting incoming IMs';
ICBM_SUBCODE_ERRORS_TEXT[ICBM_SUBCODE_ERRORS.REMOTE_RESTRICTED_BY_PC] = 'The user denied the IM because of parental controls';
ICBM_SUBCODE_ERRORS_TEXT[ICBM_SUBCODE_ERRORS.SMS_NEED_LEGAL] = 'User tried to send a message to an SMS user and is required to accept the legal text first';
ICBM_SUBCODE_ERRORS_TEXT[ICBM_SUBCODE_ERRORS.SMS_NO_DISCLAIMER] = 'Client tried to send a message to an SMS user without the character counter being displayed';
ICBM_SUBCODE_ERRORS_TEXT[ICBM_SUBCODE_ERRORS.SMS_COUNTRY_UNALLOWED] = 'Client tried to send a message to an SMS user but the SMS matrix said the country code combination not permitted';
ICBM_SUBCODE_ERRORS_TEXT[ICBM_SUBCODE_ERRORS.SMS_UNKNOWN_COUNTRY] = 'Client tried to send to an SMS user but the server could not determine the country';
ICBM_SUBCODE_ERRORS_TEXT[ICBM_SUBCODE_ERRORS.CANNOT_INIT_IM] = 'An IM cannot be initiated by a bot';
ICBM_SUBCODE_ERRORS_TEXT[ICBM_SUBCODE_ERRORS.IM_UNALLOWED] = 'An IM is not allowed by a consumer bot to a user';
ICBM_SUBCODE_ERRORS_TEXT[ICBM_SUBCODE_ERRORS.USAGE_LIMIT] = 'An IM is not allowed by a consumer bot due to reaching a generic usage limit (not common)';
ICBM_SUBCODE_ERRORS_TEXT[ICBM_SUBCODE_ERRORS.DAILY_USAGE_LIMIT] = 'An IM is not allowed by a consumer bot due to reaching the daily usage limit';
ICBM_SUBCODE_ERRORS_TEXT[ICBM_SUBCODE_ERRORS.MONTHLY_USAGE_LIMIT] = 'An IM is not allowed by consumer bot due to reaching the monthly usage limit';
ICBM_SUBCODE_ERRORS_TEXT[ICBM_SUBCODE_ERRORS.OFFLINE_IM_UNACCEPTED] = 'User does not accept offline IMs';
ICBM_SUBCODE_ERRORS_TEXT[ICBM_SUBCODE_ERRORS.OFFLINE_IM_EXCEED_MAX] = 'User exceeded max offline IM storage limit';
var CAPABILITIES = {
INTEROPERATE: [0x09, 0x46, 0x13, 0x4D, 0x4C, 0x7F, 0x11, 0xD1, // AIM<->ICQ support
0x82, 0x22, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00],
XHTML_IM: [0x09, 0x46, 0x00, 0x02, 0x4C, 0x7F, 0x11, 0xD1,
0x82, 0x22, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00],
SEND_FILE: [0x09, 0x46, 0x13, 0x43, 0x4C, 0x7F, 0x11, 0xD1,
0x82, 0x22, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00],
CHAT: [0x74, 0x8F, 0x24, 0x20, 0x62, 0x87, 0x11, 0xD1,
0x82, 0x22, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00],
ICQ_UTF8: [0x09, 0x46, 0x13, 0x4E, 0x4C, 0x7F, 0x11, 0xD1,
0x82, 0x22, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00],
BUDDY_ICON: [0x09, 0x46, 0x13, 0x46, 0x4C, 0x7F, 0x11, 0xD1,
0x82, 0x22, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00],
SEND_CONTACT_LIST: [0x09, 0x46, 0x13, 0x4B, 0x4C, 0x7F, 0x11, 0xD1,
0x82, 0x22, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00],
TYPING: [0x56, 0x3F, 0xC8, 0x09, 0x0B, 0x6F, 0x41, 0xBD, // typing notifications?
0x9F, 0x79, 0x42, 0x26, 0x09, 0xDF, 0xA2, 0xF3]
};
var SSI_ACK_RESULTS = {
SUCCESS: 0x0000,
DB_ERROR: 0x0001,
NOT_FOUND: 0x0002,
EXISTS: 0x0003,
UNAVAILABLE: 0x0004,
BAD_REQUEST: 0x000A,
DB_TIMEOUT: 0x000B,
MAX_REACHED: 0x000C,
NOT_EXECUTED: 0x000D,
AUTH_REQUIRED: 0x000E,
BAD_LOGINID: 0x0010,
OVER_CONTACT_LIMIT: 0x0011,
INSERT_SMART_GROUP: 0x0014,
TIMEOUT: 0x001A
};
var SSI_ACK_RESULTS_TEXT = {};
SSI_ACK_RESULTS_TEXT[SSI_ACK_RESULTS.DB_ERROR] = 'A database error occurred';
SSI_ACK_RESULTS_TEXT[SSI_ACK_RESULTS.NOT_FOUND] = 'The item to be modified or deleted could not be found';
SSI_ACK_RESULTS_TEXT[SSI_ACK_RESULTS.EXISTS] = 'The item to be added already exists';
SSI_ACK_RESULTS_TEXT[SSI_ACK_RESULTS.UNAVAILABLE] = 'Server or database is not available';
SSI_ACK_RESULTS_TEXT[SSI_ACK_RESULTS.BAD_REQUEST] = 'The request was malformed';
SSI_ACK_RESULTS_TEXT[SSI_ACK_RESULTS.DB_TIMEOUT] = 'The database timed out';
SSI_ACK_RESULTS_TEXT[SSI_ACK_RESULTS.MAX_REACHED] = 'The maximum number of this item type has been reached';
SSI_ACK_RESULTS_TEXT[SSI_ACK_RESULTS.NOT_EXECUTED] = 'The action failed due to another error in the same request';
SSI_ACK_RESULTS_TEXT[SSI_ACK_RESULTS.AUTH_REQUIRED] = 'This contact requires authorization before adding';
SSI_ACK_RESULTS_TEXT[SSI_ACK_RESULTS.BAD_LOGINID] = 'Bad loginId';
SSI_ACK_RESULTS_TEXT[SSI_ACK_RESULTS.OVER_CONTACT_LIMIT] = 'Too many contacts';
SSI_ACK_RESULTS_TEXT[SSI_ACK_RESULTS.INSERT_SMART_GROUP] = 'Attempted to add a contact to a smart group';
SSI_ACK_RESULTS_TEXT[SSI_ACK_RESULTS.TIMEOUT] = 'The request timed out';
var SSI_ROOT_GROUP = { name: '', group: 0x00, item: 0x00, type: 0x01 };
var SSI_PREFS = {
PERMIT_ALL: 0x01,
DENY_ALL: 0x02,
PERMIT_SOME: 0x03,
DENY_SOME: 0x04,
PERMIT_ON_LIST: 0x05
};
var CHAT_PERMS = {
NONE: 0x00,
CREATE_ROOM: 0x01,
CREATE_EXCHG: 0x02
};
var CHAT_FLAGS = {
EVILABLE: 0x01,
NAV_ONLY: 0x02,
CAN_INSTANCE: 0x03,
CAN_PEEK: 0x04
};
var TYPING_NOTIFY = {
FINISH: 0x0000,
TEXT_ENTERED: 0x0001,
START: 0x0002,
CLOSED: 0x000F // IM window was closed
};
var NO_FLAGS = 0x0000;
var MAX_SN_LEN = 97;
var MAX_MSG_LEN = 2544;
var MAX_ICON_LEN = 7168;
var KEEPALIVE_INTERVAL = 60*1000;
var SERVER_AOL = 'login.oscar.aol.com';
var SERVER_ICQ = 'login.icq.com';
// End Constants -----------------------------------------------------------------------------
exports.OscarConnection = OscarConnection;
exports.SERVER_AOL = SERVER_AOL;
exports.SERVER_ICQ = SERVER_ICQ;
exports.GENERAL_ERRORS = GLOBAL_ERRORS;
exports.RATE_UPDATES = RATE_UPDATES;
exports.MSG_ERRORS = ICBM_ERRORS;
exports.MSG_SUBERRORS = ICBM_SUBCODE_ERRORS;
exports.AUTH_ERRORS = AUTH_ERRORS;
exports.USER_FLAGS = USER_FLAGS;
exports.USER_STATUSES = USER_STATUSES;
exports.USER_CLASSES = USER_CLASSES;
exports.SSI_RESULTS = SSI_ACK_RESULTS;
exports.CAPABILITIES = CAPABILITIES;
exports.TYPING_NOTIFY = TYPING_NOTIFY;
exports.MOTD_TYPES = MOTD_TYPES;
exports.IM_FLAGS = ICBM_MSG_FLAGS;
exports.IM_MISSED_REASONS = ICBM_MISSED_REASONS;
| {
"content_hash": "4845a85141ad82374a79e3ac0250a6d3",
"timestamp": "",
"source": "github",
"line_count": 3723,
"max_line_length": 267,
"avg_line_length": 41.939564867042705,
"alnum_prop": 0.5787077064960516,
"repo_name": "mscdex/node-oscar",
"id": "ed5d40e5626b912983f3e85e466b070e247f6dfe",
"size": "156141",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "oscar.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "JavaScript",
"bytes": "166080"
}
],
"symlink_target": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.