repo_name
stringlengths 4
116
| path
stringlengths 4
379
| size
stringlengths 1
7
| content
stringlengths 3
1.05M
| license
stringclasses 15
values |
---|---|---|---|---|
leonardinius/rust-guide | 2.12-arr-vec-slice/src/main.rs | 904 | fn _12_1(){
println!("guide 12-1");
let a = [1i32, 2i32, 3i32];
let mut m = [2i32, 3i32, 4i32];
if false {
println!("{:?} {:?}", a, m);
}
let b = [0i32; 20]; // shorthand for array of 20 elements all initialized to 0
println!("{:?}", b);
m = [5i32, 6i32, 7i32];
println!("{:?}", m);
for i in m.iter() {
println!("elem {}", i);
}
let names = ["Emilija", "Anzelika"];
println!("{} -> {}", names[1], names[0]);
}
fn _12_2(){
println!("guide 12-2");
let mut v = vec![1i32, 2, 3];
v.push(4);
println!("{:?}, len is {}", v, v.len());
}
fn _12_3(){
println!("guide 12-3");
let mut a = vec![0i32, 1, 2, 3, 4];
let middle = a.as_mut_slice();
middle[0] = 10i32;
for e in middle.iter() {
println!("{}", e);
}
}
fn main(){
println!("guide 12");
_12_1();
_12_2();
_12_3();
}
| mit |
AlloyTeam/Nuclear | site/docs/static/js/34.e3dce69a.chunk.js | 1023 | webpackJsonp([34],{43:function(n,e){n.exports="## Installation \n\nSimply download and include with `<script>`. Omi will be registered as a global variable.\n\n* [Omi Development Version](https://unpkg.com/omi@latest/dist/omi.js)\n* [Omi Production Version](https://unpkg.com/omi@latest/dist/omi.min.js)\n\nInstall via npm:\n\n```\nnpm i omi\n```\n\n\n## CLI\n\nOmi provides the official CLI. You don't need to learn how to configure webpack, Babel or TypeScript. CLI helps you configure everything and provides various templates for different project types.\n\n### New Project by Omi\n\n```bash\n$ npx omi-cli init my-app\n$ cd my-app \n$ npm start # develop\n$ npm run build # release\n```\n\n\n### New Component by Omi\n\n```bash\n$ npx omi-cli init-component my-component\n$ cd my-app \n$ npm start # develop\n$ npm run build # release\n```\n\n### Update to the latest version\n\n```bash\n$ npm i omi-cli -g \n```\n"}});
//# sourceMappingURL=34.e3dce69a.chunk.js.map | mit |
vankatalp360/Programming-Fundamentals-2017 | Data Types and Variables - Exercises/07.From Terabytes to Bits/Properties/AssemblyInfo.cs | 1426 | 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("07.From Terabytes to Bits")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("07.From Terabytes to Bits")]
[assembly: AssemblyCopyright("Copyright © 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("00099ca9-f3d8-4415-8b9f-09bb342fb674")]
// 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")]
| mit |
ghiringh/Wegas | wegas-app/src/main/webapp/wegas-lobby/src/app/commons/behaviours/autocomplete.js | 414 | angular.module('wegas.behaviours.autocomplete', [])
.directive('autoComplete', function($timeout) {
"use strict";
return function(scope, iElement, iAttrs) {
iElement.autocomplete({
source: scope[iAttrs.uiItems],
select: function() {
$timeout(function() {
iElement.trigger('input');
}, 0);
}
});
};
})
; | mit |
alexsilveira/BairralMVC | app/Controllers/Time.php | 3250 | <?php
namespace Controllers;
use Helpers\Url;
use Core\View;
use Core\Controller;
/*
* Time controller
*
* @author Alex Souza Silveira
* @version 1.0
* @date 11/07/2015
* @date updated 11/05/2015
*/
class Time extends Controller
{
private $_campeonato;
private $_classificacao;
private $_tabela;
private $_times;
private $_atleta;
/**
* Call the parent construct
*/
public function __construct()
{
parent::__construct();
$this->language->load('Time');
$this->_atleta = new \dao\atletaDAO();
$this->_campeonato = new \dao\campeonatoDAO();
$this->_classificacao = new \dao\classificacaoDAO();
$this->_tabela = new \dao\tabelaDAO();
$this->_times = new \dao\timeDAO();
}
public function index($idcampeonato,$idtime){
//var_dump($this->_time);die;
//var_dump($this->tab_classificacao(59));die;
$data['titulo'] = $this->language->get('titulo');
$data['title'] = $this->language->get('titulo');
$data['campeonato'] = $this->_campeonato->getCampeonato($idcampeonato);
$data['time'] = $this->_times->getTime($idtime);
$data['tabela'] = $this->_tabela->getTabela($idcampeonato);
$data['idtime'] = $idtime;
$data['elenco'] = $this->_atleta->getAtletasInfo($idcampeonato,$idtime);
$data['formacao'] = $this->_times->getFormacaoTatica($idcampeonato,$idtime);
$data['jogos'] = $this->_classificacao->getJogos($idcampeonato,$idtime);
$data['vitorias'] = $this->_classificacao->getVitorias($idcampeonato,$idtime);
$data['empates'] = $this->_classificacao->getEmpates($idcampeonato,$idtime);
$data['derrotas'] = $this->_classificacao->getDerrotas($idcampeonato,$idtime);
$data['gols'] = $this->_classificacao->getGols($idcampeonato,$idtime);
$data['sofridos'] = $this->_classificacao->getSofridos($idcampeonato,$idtime);
$data['pontos'] = $this->_classificacao->getPontos($idcampeonato,$idtime);
$data['js'] = "<script src='" . Url::templatePath() . "js/time.js'></script>";
View::renderTemplate('header', $data);
View::render('time/index', $data);
View::renderTemplate('footer', $data);
}
public function tab_classificacao($idcampeonato){
$classificacao = $this->_classificacao->getClassificacao($idcampeonato);
echo json_encode($classificacao);
}
public function tab_tabela($idcampeonato){
$tabela = $this->_tabela->getTabela($idcampeonato);
echo json_encode($tabela);
}
public function tab_proximarodada($idcampeonato){
$proxima = $this->_tabela->getProximaRodada($idcampeonato);
echo json_encode($proxima);
}
public function tab_times($idcampeonato){
$times = $this->_times->getTimesCampeonato($idcampeonato);
echo json_encode($times);
}
public function tab_timesatletas($idcampeonato){
$atletas = $this->_times->getAtletasCampeonato($idcampeonato);
echo json_encode($atletas);
}
public function tab_homemdojogo($idcampeonato){
$homemdojogo = $this->_atleta->getHomemDoJogo($idcampeonato);
echo json_encode($homemdojogo);
}
}
| mit |
kzganesan/quickstart | app/payees/payee-main.component.ts | 972 | import { Component, OnInit, OnDestroy } from '@angular/core';
import { Payee } from './Payee';
import { PayeeDAO } from './payee-dao.service';
import { Subscribable } from 'rxjs/Observable';
import { Subscription } from 'rxjs';
@Component( {
selector : 'payee-main',
templateUrl: 'app/payees/payee-main.component.html'
} )
export class PayeeMain implements OnInit, OnDestroy {
lastSubscription: Subscription;
payees: Payee[];
selectedPayee: Payee;
constructor( private dao: PayeeDAO ) {
}
ngOnInit() {
console.log( 'PayeeMain.onInit()' );
this.dao.getAll().then( payees => this.payees = payees )
}
pickedPayee( payee: Payee ) {
console.log( 'You picked ', payee );
this.lastSubscription = this.dao.get( payee.payeeId )
.subscribe( payee => {
this.selectedPayee = payee;
}, error => {
console.error( 'Error! ', error );
} );
}
ngOnDestroy() {
this.lastSubscription.unsubscribe();
}
}
| mit |
liordoe/portfolio | modules/users/client/users.client.module.js | 395 | (function (app) {
'use strict';
app.registerModule('users', ['core']);
app.registerModule('users.admin');
app.registerModule('users.admin.routes', ['ui.router', 'core.routes', 'users.admin.services']);
app.registerModule('users.admin.services');
app.registerModule('users.routes', ['ui.router', 'core.routes']);
app.registerModule('users.services');
}(ApplicationConfiguration));
| mit |
mastein109/phase-0 | week-7/group_project_solution.js | 2002 | /*
Release 1: Tests to User Stories (Sydney)
INSTRUCTIONS:
Based on the tests, write user stories that describe what the
code needs to do. User stories take the following format:
As a user, I want to...
The user stories should be easily translated into
pseudocode by the next person in your group. However, a user
story is NOT pseudocode -- it should describe the experience
of someone using the function. Words like array or loop or any
word not known to a non-technical person should not be used. You
can specify the function name.
ANSWER:
As a user, I want to be able to use a command called "sum" to
add up all the values within a set, whether the set has an even
number of values in it or an odd number of values in it.
As a user, I want to be able to use a command called "mean" to
find the average of all the values within a set, whether the
set has an even number of values in it or an odd number of values
in it.
As a user, I want to be able to use a command called "median" to
find the median of all the values within a set, whether the set
has an even number of values in it or an odd number of values in it.
*/
//Release 3: Pseudocode to code (Mollie)
//SUM
var list = [2,5,8,5,4,3,3];
function addList(array){
var sum = 0;
for(var i = 0; i < array.length; i++) {
sum += array[i]
}
return sum;
}
console.log(addList(list));
//AVERAGE
var list = [2,5,8,5,4,3,3];
function avgList(array){
var sum = 0;
for(var i = 0; i < array.length; i++) {
sum += array[i]
}
var avg = sum/(array.length) ;
return Math.round(avg);
}
console.log(avgList(list));
//MEDIAN
var list = [2,5,8,5,4,4,3,2];
function medianList(array){
var median = [];
for(var i = 0; i < array.length; i++) {
median = array.sort(i);
}
var length = (median.length/2);
var odd = Math.round(median.length/2);
if (median.length % 2 != 0)
return (median[odd]);
else (median.length % 2 == 0)
return (median[length] + median[length-1])/2
}
console.log(medianList(list));
| mit |
PioBeat/GravSupport | src/main/java/net/offbeatpioneer/intellij/plugins/grav/errorreporting/GravErrorBean.java | 2395 | package net.offbeatpioneer.intellij.plugins.grav.errorreporting;
import com.intellij.openapi.diagnostic.Attachment;
import com.intellij.util.ExceptionUtil;
import java.util.Collections;
import java.util.List;
/**
* Copy of the deprecated {@code com.intellij.errorreport.bean.ErrorBean} class of IntelliJ.
* Kept for compatibility reasons.
*/
public class GravErrorBean {
private final String stackTrace;
private final String lastAction;
private String message;
private String description;
private String pluginName;
private String pluginVersion;
private List<Attachment> attachments = Collections.emptyList();
private Integer assigneeId;
private Integer previousException;
public GravErrorBean(Throwable throwable, String lastAction) {
this.stackTrace = throwable != null ? ExceptionUtil.getThrowableText(throwable) : null;
this.lastAction = lastAction;
if (throwable != null) {
setMessage(throwable.getMessage());
}
}
public String getStackTrace() {
return stackTrace;
}
public String getLastAction() {
return lastAction;
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getPluginName() {
return pluginName;
}
public void setPluginName(String pluginName) {
this.pluginName = pluginName;
}
public String getPluginVersion() {
return pluginVersion;
}
public void setPluginVersion(String pluginVersion) {
this.pluginVersion = pluginVersion;
}
public List<Attachment> getAttachments() {
return attachments;
}
public void setAttachments(List<Attachment> attachments) {
this.attachments = attachments;
}
public Integer getAssigneeId() {
return assigneeId;
}
public void setAssigneeId(Integer assigneeId) {
this.assigneeId = assigneeId;
}
public Integer getPreviousException() {
return previousException;
}
public void setPreviousException(Integer previousException) {
this.previousException = previousException;
}
} | mit |
selsamman/persistor | lib/index.js | 5300 | /* Copyright 2012-2015 Sam Elsamman
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.
*/
/**
* SUMMARY: persistObjectTemplate is basically a factory for creating persistable objects
* persistObjectTemplate is a sublclass for remoteObjectTemplate which allows objects to be
* persisted in some data store. The key functions which can only be executed on the server are:
*
* - Save an object to a document / table which will either
* - create a new document
* - update and existing document
*
* - Retrieve an object from persistence given either
* - A primary key (object id)
* - A search criteria
* - A primary key reference driven by a relationship with another object
*
* All objects have unique ids dispensed by remoteObjectTemplate and these are the
* id's that are exposed to the client. The database unique id's are never
* transported to or from the client to ensure they are not manipulated.
*
* The save operation will synchronize a set of related objects. It does this by
* determining whether the related objects are dirty, new or removed and performs
* all appropriate key management and save operations.
*
*/
/**
*
* @param objectTemplate
* @param RemoteObjectTemplate
* @param baseClassForPersist
*/
var nextId = 1;
var objectTemplate;
var supertype = require('supertype');
module.exports = function (_ObjectTemplate, _RemoteObjectTemplate, baseClassForPersist) { //@TODO: Why is ObjectTemplate and RemoteObjectTemplate here?
var PersistObjectTemplate = baseClassForPersist._createObject();
PersistObjectTemplate.__id__ = nextId++;
PersistObjectTemplate._superClass = baseClassForPersist; // @TODO: This is not used
PersistObjectTemplate.DB_Knex = 'knex'; // @TODO: both of these are going to always be the same thing!!!!
PersistObjectTemplate.DB_Mongo = 'mongo';
PersistObjectTemplate.dirtyObjects = {};
PersistObjectTemplate.savedObjects = {};
require('./api.js')(PersistObjectTemplate, baseClassForPersist);
require('./schema.js')(PersistObjectTemplate);
require('./util.js')(PersistObjectTemplate);
require('./mongo/query.js')(PersistObjectTemplate);
require('./mongo/update.js')(PersistObjectTemplate);
require('./mongo/db.js')(PersistObjectTemplate);
require('./knex/query.js')(PersistObjectTemplate);
require('./knex/update.js')(PersistObjectTemplate);
require('./knex/db.js')(PersistObjectTemplate);
objectTemplate = PersistObjectTemplate;
return PersistObjectTemplate;
}
module.exports.supertypeClass = function (target) {
if (!objectTemplate) {
throw new Error('Please create PersisObjectTemplate before importing templates');
}
return supertype.supertypeClass(target, objectTemplate)
};
module.exports.Supertype = function () {
if (!objectTemplate) {
throw new Error('Please create PersisObjectTemplate before importing templates');
}
return supertype.Supertype.call(this, objectTemplate);
};
module.exports.Supertype.prototype = supertype.Supertype.prototype;
module.exports.property = function (props) {
if (!objectTemplate) {
throw new Error('Please create PersisObjectTemplate before importing templates');
}
return supertype.property(props, objectTemplate);
}
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
module.exports.Persistable = function (Base) {
return (function (_super) {
__extends(class_1, _super);
function class_1() {
return _super !== null && _super.apply(this, arguments) || this;
}
return class_1;
}(Base));
}
module.exports.Persistor = {
create: function () {return module.exports(require('supertype'), null, require('supertype'))}
}
Object.defineProperty(module.exports.Persistable.prototype, 'persistor', {get: function () {
return this.__objectTemplate__
}});
| mit |
calgamo/di | sample/autoloaders/module_autoloader.php | 491 | <?php
spl_autoload_register(function ($class)
{
switch($class){
case 'Sample\MobileContainerModule':
require __DIR__ . '/../modules/MobileContainerModule.php';
break;
case 'Sample\ImmobileContainerModule':
require __DIR__ . '/../modules/ImmobileContainerModule.php';
break;
case 'Sample\ConstantContainerModule':
require __DIR__ . '/../modules/ConstantContainerModule.php';
break;
}
});
| mit |
ymqy/LearnBook | Webpack/Configuration/output/chunkFilename/c.js | 29 | console.log('c module here'); | mit |
fgrid/iso20022 | RejectedReason8Choice.go | 598 | package iso20022
// Choice of formats for the reason of a rejected status.
type RejectedReason8Choice struct {
// Indicates that there is no reason available or to report.
NoSpecifiedReason *NoReasonCode `xml:"NoSpcfdRsn"`
// Reason for the rejected status.
Reason []*RejectedReason7Choice `xml:"Rsn"`
}
func (r *RejectedReason8Choice) SetNoSpecifiedReason(value string) {
r.NoSpecifiedReason = (*NoReasonCode)(&value)
}
func (r *RejectedReason8Choice) AddReason() *RejectedReason7Choice {
newValue := new(RejectedReason7Choice)
r.Reason = append(r.Reason, newValue)
return newValue
}
| mit |
akyker20/Slogo_IDE | src/commandParsing/floatCommandParsing/Constant.java | 688 | package commandParsing.floatCommandParsing;
import java.util.Iterator;
import java.util.Queue;
import workspaceState.WorkspaceState;
import commandParsing.CommandParser;
import commandParsing.exceptions.SLOGOException;
import drawableobject.DrawableObject;
/**
* This parses constants.
*
* @author Steve Kuznetsov
*
*/
public class Constant extends CommandParser {
public Constant (WorkspaceState someWorkspace) {
super(someWorkspace);
}
@Override
public double parse (Iterator<String> commandStringIterator, Queue<DrawableObject> objectQueue)
throws SLOGOException {
return Double.parseDouble(commandStringIterator.next());
}
}
| mit |
criggil/SimpleWebProject | SWP.Backend/Areas/HelpPage/ModelDescriptions/CollectionModelDescription.cs | 198 | namespace SWP.Backend.Areas.HelpPage.ModelDescriptions
{
public class CollectionModelDescription : ModelDescription
{
public ModelDescription ElementDescription { get; set; }
}
} | mit |
tfulmer1/school | CSC201/U1_Java_Programming_Fulmer_Thomas/U1_Problem2.java | 1100 |
/*
Calculates the chapter and question number for pseudo-randomly asigned book question
Thomas Fulmer (lost)
[email protected]
Last modified: 20 Aug 2016
*/
import java.util.Scanner;
public class U1_Problem2
{
public static final int studentID = 6822048;
public static void main(String[] args)
{
Scanner kb = new Scanner(System.in);
int chapter = (studentID % 4) + 2;
int question;
if (chapter == 2)
question = (studentID % 23) + 1;
else if (chapter == 3)
question = (studentID % 34) + 1;
else if (chapter ==4) {
chapter = 6;
question = (studentID % 38) + 1;
}
else if (chapter == 5)
question = (studentID % 46) + 1;
else
throw new RuntimeException("Your calculations have apparently resulted in an impossible result. Check your code");
System.out.println("You have been assigned Chapter: " + chapter + " Problem: " + question + "\nWhat Page number is associated with this question?");
String page = kb.nextLine();
System.out.println("Please solve programming exercise " + question + " from chapeter " + chapter + ", from page " + page);
}
}
| mit |
eldarGIT/admin-panel-angJS | app/js/app.js | 475 | 'use strict';
var adminApp = angular.module('admin', [
'ngRoute',
'adminController',
'adminService',
]);
adminApp.config(['$routeProvider', function($routeProvider) {
$routeProvider
.when('/list', {templateUrl: 'partials/list.html', controller: 'ListCtrl'})
.when('/new', {templateUrl: 'partials/edit.html', controller: 'NewCtrl'})
.when('/edit/:id', {templateUrl: 'partials/edit.html', controller: 'EditCtrl'})
.otherwise({redirectTo: '/list'});
},
]); | mit |
FinalCondom/bike_pc_lz | UI/menus.php | 3582 | <?php
if (session_status() == PHP_SESSION_NONE) {
session_start();
}
require_once "../BLL/userManager.php";
include_once "../BLL/changeLanguage.php";
$userManager = new UserManager();
//this file display all the menus
?>
<nav class="amber accent-3" role="navigation">
<div class="nav-wrapper container"><a id="logo-container" href="index.php" class="brand-logo"><i class="material-icons">directions_bike</i>Resabike</a>
<ul class="right hide-on-med-and-down">
<li><a href="bookingAdd.php"><?php echo $lang['MENU_BOOK'];?></a></li>
<?php
if(isset($_SESSION['userId'])){
$currentUser = $userManager->getUsersById($_SESSION['userId']);
require_once "../BLL/roleManager.php";
$roleManager = new RoleManager();
switch($roleManager->getRoleById($currentUser->getRoleId())->getName()){
case 'superAdmin';
?>
<li><a href="users.php"><?php echo $lang['MENU_MANAGE_USERS'];?></a></li>
<li><a href="regions.php"><?php echo $lang['MENU_MANAGE_REGIONS'];?></a></li>
<?php
case 'admin';
?>
<?php
case 'driver';
?>
<li><a href="bookings.php"><?php echo $lang['MENU_BOOKINGS'];?></a></li>
<?php
default:
?>
<li><a href="logout.php"><?php echo $lang['LOGOUT'];?></a></li>
<li><?php echo $currentUser->getName() ?></li>
<?php
}
}
else{
?>
<li><a href="login.php"><?php echo $lang['LOGIN'];?></a></li>
<?php
}
?>
</ul>
<ul id="nav-mobile" class="side-nav">
<?php
if(isset($_SESSION['userId'])){
$currentUser = $userManager->getUsersById($_SESSION['userId']);
require_once "../BLL/roleManager.php";
$roleManager = new RoleManager();
switch($roleManager->getRoleById($currentUser->getRoleId())->getName()){
case 'superAdmin';
?>
<li><a href="users.php"><?php echo $lang['MENU_MANAGE_USERS'];?></a></li>
<li><a href="regions.php"><?php echo $lang['MENU_MANAGE_REGIONS'];?></a></li>
<?php
case 'admin';
?>
<?php
case 'driver';
?>
<li><a href="bookings.php"><?php echo $lang['MENU_BOOKINGS'];?></a></li>
<?php
default:
?>
<li><a href="logout.php"><?php echo $lang['FOOTER_LANGUAGES'];?></a></li>
<li><?php echo $currentUser->getName() ?></li>
<?php
}
}
else{
?>
<li><a href="login.php"><?php echo $lang['LOGIN'];?></a></li>
<?php
}
?>
<li><a href="bookingAdd.php"><?php echo $lang['MENU_BOOK'];?></a></li>
</ul>
<a href="#" data-activates="nav-mobile" class="button-collapse"><i class="material-icons">menu</i></a>
</div>
</nav> | mit |
etherisc/flightDelay | util/scanchain.js | 930 | #!/usr/bin/env node
/**
* scan chain for contract creations.
*/
const Web3 = require('web3');
const log = require('./logger');
const web3 = new Web3(new Web3.providers.HttpProvider('http://localhost:8545'));
const scanChain = {};
scanChain.contracts = [];
const getBlockTxR = bn =>
web3.eth.getBlock(bn, true)
.transactions
.map((elem) => {
const txr = web3.eth.getTransactionReceipt(elem.hash);
if (typeof txr.contractAddress !== 'undefined' && txr.contractAddress !== '' && txr.contractAddress !== null) {
log(txr.contractAddress, ' : ', txr.gasUsed);
scanChain.contracts[txr.contractAddress] = txr.gasUsed;
}
return txr;
});
scanChain.getAllBlocks = () => {
const lastBlock = web3.eth.blockNumber;
for (let i = 0; i <= lastBlock; i += 1) {
getBlockTxR(i);
}
};
module.exports = scanChain;
| mit |
jcschultz/doggy-door | sfdc/src/aura/DDA_RecentDataDispatcherComponent/DDA_RecentDataDispatcherComponentHelper.js | 5648 | ({
DAYS : ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
EVENT_TYPE_ERROR : 'ERROR',
EVENT_SHOW : 'SHOW',
handleScriptsLoaded : function(component, event, helper) {
var action = component.get('c.getActivitiesByDateRange');
var endOfToday = moment().endOf('day').valueOf();
var startOfMonth = moment().subtract(30, 'days').startOf('day').valueOf();
action.setParams({
'fromTimeStamp' : startOfMonth,
'toTimeStamp' : endOfToday
});
action.setCallback(this, function(res){
var returnValue = res.getReturnValue();
var state = res.getState();
if (state === 'SUCCESS') {
helper.parseResults(helper, returnValue);
}
else {
helper.showError(component, event, helper, res.getError());
}
// console.log('recentDataDispatcher callback', returnValue);
});
$A.enqueueAction(action);
},
parseResults : function(helper, records) {
var todayStart = moment().startOf('day').valueOf();
var todayEnd = moment().endOf('day').valueOf();
var weekStart = moment().subtract(6, 'days').startOf('day').valueOf();
var monthStart = moment().subtract(29, 'days').startOf('day').valueOf();
var dispatcherEvent = $A.get('e.c:DDA_RecentDataDispatcherEvent');
var todayHours = [];
var weekDays = [];
var monthDates = {};
var monthTimestamps = [];
var eventParams = {
'todayCount' : 0,
'todayHighlightLabel' : 'Busiest Hour',
'todayHighlightValue' : '',
'todayBusyHour' : 0,
'todayBusyHourAmPm' : '',
'todayBusyHourCount' : 0,
'weekCount' : 0,
'weekHighlightLabel' : 'Busiest Day',
'weekHighlightValue' : '',
'weekDayCount' : [],
'weekDayLabels' : [],
'weekDayBusiestCount' : 0,
'monthCount' : 0,
'monthHighlightLabel' : 'Busiest Date',
'monthHighlightValue' : '',
'monthDayCount' : [],
'monthDayBusiestCount' : 0
};
var highHourIndex = 0;
var highHourValue = 0;
var highDayIndex = 0;
var highDayValue = 0;
var highDateTimestamp = 0;
var highDateValue = 0;
for (var i = 0; i < 30; i++) {
if (i < 7) {
weekDays[i] = 0;
}
if (i < 24) {
todayHours[i] = 0;
}
var monthTimestamp = moment().subtract(30, 'days').startOf('day').add(i, 'days').startOf('day').valueOf();
monthDates[monthTimestamp] = 0;
monthTimestamps[i] = monthTimestamp;
}
if (records && records.length) {
for (var i = 0; i < records.length; i++) {
if (records[i]) {
// if record is from today, aggregate the hour
if (records[i].Timestamp__c >= todayStart && records[i].Timestamp__c <= todayEnd) {
eventParams.todayCount++;
todayHours[records[i].Hour__c]++;
}
// if record is from the last 7 days, aggregate the day of week
if (records[i].Timestamp__c >= weekStart && records[i].Timestamp__c <= todayEnd) {
eventParams.weekCount++;
var idx = helper.DAYS.indexOf(records[i].Day__c);
if (idx > -1) {
weekDays[idx]++;
}
}
// if record is from the last 30 days, aggregate the date
if (records[i].Timestamp__c >= monthStart && records[i].Timestamp__c <= todayEnd) {
eventParams.monthCount++;
monthDates[moment(records[i].Timestamp__c).startOf('day').valueOf()]++;
}
}
}
// loop through results to find the highest values.
// get busiest hour of today and figure out 12 hour conversion
for (var i = 0; i < todayHours.length; i++) {
if (todayHours[i] > highHourValue) {
highHourValue = todayHours[i];
highHourIndex = i;
}
}
eventParams.todayHighlightValue = highHourIndex;
eventParams.todayBusyHourCount = highHourValue;
if (highHourIndex === 0) {
eventParams.todayHighlightValue = '12am';
eventParams.todayBusyHour = 12;
eventParams.todayBusyHourAmPm = 'am';
}
if (highHourIndex > 0 && highHourIndex < 12) {
eventParams.todayHighlightValue += 'am';
eventParams.todayBusyHour = highHourIndex;
eventParams.todayBusyHourAmPm = 'am';
}
if (highHourIndex > 12) {
eventParams.todayHighlightValue = eventParams.todayHighlightValue - 12;
eventParams.todayBusyHour = eventParams.todayHighlightValue;
}
if (highHourIndex > 11) {
eventParams.todayHighlightValue += 'pm';
eventParams.todayBusyHourAmPm = 'pm';
}
// get busiest day of the last 7 days
for (var i = 0; i < weekDays.length; i++) {
if (weekDays[i] > highDayValue) {
highDayValue = weekDays[i];
highDayIndex = i;
}
}
eventParams.weekDayCount = weekDays;
eventParams.weekDayLabels = helper.DAYS;
eventParams.weekHighlightValue = helper.DAYS[highDayIndex];
eventParams.weekDayBusiestCount = highDayValue;
// get busiest day of the last 30 days
for (var i = 0; i < monthTimestamps.length; i++) {
if (monthDates[monthTimestamps[i]] > highDateValue) {
highDateValue = monthDates[monthTimestamps[i]];
highDateTimestamp = monthTimestamps[i];
}
eventParams.monthDayCount[i] = monthDates[monthTimestamps[i]];
}
eventParams.monthHighlightValue = moment(highDateTimestamp).format('ddd MMM Do');
eventParams.monthDayBusiestCount = highDateValue;
dispatcherEvent.setParams(eventParams);
dispatcherEvent.fire();
}
},
showError : function(component, event, helper, error) {
var layoutUpdateRequestEvent = $A.get('e.c:DDA_LayoutUpdateRequestEvent');
layoutUpdateRequestEvent.setParams({
'eventType' : helper.EVENT_TYPE_ERROR,
'showOrHide' : helper.EVENT_SHOW,
'message' : 'There was an error retrieving the recent Doggy Door Activity records. Error: ' + error
});
layoutUpdateRequestEvent.fire();
},
}) | mit |
RBC1B/ROMS | src/main/java/uk/org/rbc1b/roms/db/circuit/HibernateCircuitDao.java | 2254 | /*
* The MIT License
*
* Copyright 2013 RBC1B.
*
* 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.
*/
package uk.org.rbc1b.roms.db.circuit;
import java.util.List;
import org.hibernate.Criteria;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
/**
* @author oliver.elder.esq
*/
@Repository
public class HibernateCircuitDao implements CircuitDao {
@Autowired
private SessionFactory sessionFactory;
@Override
public Circuit findCircuit(final Integer circuitId) {
return (Circuit) this.sessionFactory.getCurrentSession().get(Circuit.class, circuitId);
}
@SuppressWarnings("unchecked")
@Override
public List<Circuit> findCircuits() {
Criteria criteria = this.sessionFactory.getCurrentSession().createCriteria(Circuit.class);
// TODO: support search criteria
return criteria.list();
}
@Override
public void createCircuit(Circuit circuit) {
this.sessionFactory.getCurrentSession().save(circuit);
}
@Override
public void updateCircuit(Circuit circuit) {
this.sessionFactory.getCurrentSession().merge(circuit);
}
}
| mit |
ofek/hatch | backend/src/hatchling/metadata/plugin/hooks.py | 149 | from ...plugin import hookimpl
from ..custom import CustomMetadataHook
@hookimpl
def hatch_register_metadata_hook():
return CustomMetadataHook
| mit |
CodeWall-EStudio/SWall | client/android/TRA3/generated/com/codewalle/tra/widget/ExpiredActivitiesFragment_.java | 2283 | //
// DO NOT EDIT THIS FILE, IT HAS BEEN GENERATED USING AndroidAnnotations 3.0.1.
//
package com.codewalle.tra.widget;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.codewalle.tra.R.layout;
import org.androidannotations.api.view.HasViews;
import org.androidannotations.api.view.OnViewChangedNotifier;
public final class ExpiredActivitiesFragment_
extends ExpiredActivitiesFragment
implements HasViews
{
private final OnViewChangedNotifier onViewChangedNotifier_ = new OnViewChangedNotifier();
private View contentView_;
@Override
public void onCreate(Bundle savedInstanceState) {
OnViewChangedNotifier previousNotifier = OnViewChangedNotifier.replaceNotifier(onViewChangedNotifier_);
init_(savedInstanceState);
super.onCreate(savedInstanceState);
OnViewChangedNotifier.replaceNotifier(previousNotifier);
}
public View findViewById(int id) {
if (contentView_ == null) {
return null;
}
return contentView_.findViewById(id);
}
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
contentView_ = super.onCreateView(inflater, container, savedInstanceState);
if (contentView_ == null) {
contentView_ = inflater.inflate(layout.activity_list, container, false);
}
return contentView_;
}
private void init_(Bundle savedInstanceState) {
}
@Override
public void onViewCreated(View view, Bundle savedInstanceState) {
super.onViewCreated(view, savedInstanceState);
onViewChangedNotifier_.notifyViewChanged(this);
}
public static ExpiredActivitiesFragment_.FragmentBuilder_ builder() {
return new ExpiredActivitiesFragment_.FragmentBuilder_();
}
public static class FragmentBuilder_ {
private Bundle args_;
private FragmentBuilder_() {
args_ = new Bundle();
}
public ExpiredActivitiesFragment build() {
ExpiredActivitiesFragment_ fragment_ = new ExpiredActivitiesFragment_();
fragment_.setArguments(args_);
return fragment_;
}
}
}
| mit |
ZhangMYihua/skyprep_rubySDK | spec/spec_helper.rb | 85 | $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'skyprep_rubySDK'
| mit |
wipu/iwant | essential/iwant-core/src/main/java/org/fluentjava/iwant/core/NextPhase.java | 1035 | package org.fluentjava.iwant.core;
public class NextPhase {
private final Target<JavaClasses> classes;
private final String className;
public static NextPhaseBuilder at(Target<JavaClasses> classes) {
return new NextPhaseBuilder(classes);
}
public static class NextPhaseBuilder {
private final Target<JavaClasses> classes;
private NextPhaseBuilder(Target<JavaClasses> classes) {
this.classes = classes;
}
public NextPhase named(String className) {
return new NextPhase(classes, className);
}
}
private NextPhase(Target<JavaClasses> classes, String className) {
this.classes = classes;
this.className = className;
}
public Target<JavaClasses> classes() {
return classes;
}
public String className() {
return className;
}
@Override
public String toString() {
StringBuilder b = new StringBuilder();
b.append("NextPhase {\n");
b.append(" at:").append(classes).append("\n");
b.append(" className:").append(className).append("\n");
b.append("}\n");
return b.toString();
}
}
| mit |
letuananh/pysemcor | pysemcor/semcorxml.py | 14579 | # -*- coding: utf-8 -*-
'''
Semcor data in XML format
Latest version can be found at https://github.com/letuananh/pysemcor
References:
Python documentation:
https://docs.python.org/
PEP 0008 - Style Guide for Python Code
https://www.python.org/dev/peps/pep-0008/
PEP 257 - Python Docstring Conventions:
https://www.python.org/dev/peps/pep-0257/
@author: Le Tuan Anh <[email protected]>
'''
# Copyright (c) 2017, Le Tuan Anh <[email protected]>
#
# 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.
__author__ = "Le Tuan Anh"
__email__ = "<[email protected]>"
__copyright__ = "Copyright 2017, pysemcor"
__license__ = "MIT"
__maintainer__ = "Le Tuan Anh"
__version__ = "0.1"
__status__ = "Prototype"
__credits__ = []
########################################################################
import os
import logging
import json
from lxml import etree
from bs4 import BeautifulSoup
from chirptext import FileHelper
from chirptext.leutile import StringTool
from chirptext import ttl
from yawlib import SynsetID
from yawlib.helpers import get_wn
# -------------------------------------------------------------------------------
# Configuration
# -------------------------------------------------------------------------------
wn = get_wn()
def getLogger():
return logging.getLogger(__name__)
# -------------------------------------------------------------------------------
# Data structures
# -------------------------------------------------------------------------------
class TokenInfo:
def __init__(self, text, **kwargs):
self.text = text
self.__data = dict(kwargs)
def __contains__(self, key):
return key in self.__data
def __getitem__(self, key):
return self.__data[key]
def get(self, key, default=None):
return self[key] if key in self else default
def __setitem__(self, key, value):
self.__data[key] = value
@property
def data(self):
return self.__data.items()
@property
def lemma(self):
return self['lemma'] if 'lemma' in self else self.text
def to_json(self):
data = dict(self.__data)
data['text'] = self.text
return data
def __repr__(self):
return "{}:{}".format(self.text, self.__data)
def __str__(self):
return "{}:{}".format(self.text, self.__data)
class FileSet(object):
def __init__(self, root):
self.root = root
self.__files = []
@property
def root(self):
return self.__root
@root.setter
def root(self, value):
self.__root = FileHelper.abspath(value)
def add_all(self, path):
folderpath = os.path.join(self.root, path)
if not os.path.isdir(folderpath):
getLogger().warning("Folder {} does not exist".format(path))
else:
files = FileHelper.get_child_files(folderpath)
for f in files:
self.add(os.path.join(path, f))
def add(self, path):
self.__files.append(path)
def __getitem__(self, idx):
return self.__files[idx]
def __len__(self):
return len(self.__files)
def abspaths(self):
return [os.path.join(self.root, p) for p in self]
def abspath(self, path):
return path if os.path.isabs(path) else os.path.join(self.root, path)
class SemcorXML(object):
def __init__(self, root):
self.files = FileSet(root)
if not os.path.isdir(root):
getLogger().warning("Root {} does not exist".format(root))
self.files.add_all('brown1/tagfiles')
self.files.add_all('brown2/tagfiles')
self.files.add_all('brownv/tagfiles')
@property
def root(self):
return self.files.root
def iterparse(self, path):
tree = etree.iterparse(self.files.abspath(path), events=('start', 'end'))
filename = 'n/a'
para = 'n/a'
for event, element in tree:
if event == 'start':
if element.tag == 'context':
filename = element.get('filename')
elif element.tag == 'p':
para = element.get('pnum')
if event == 'end':
if element.tag == 's':
# found a sentence
snum = element.get('snum')
tokens = []
for token in element:
token_data = dict(token.attrib)
token_data['tag'] = token.tag
text = fix_token_text(token.text)
if token.tag == 'wf':
# create sensekey
lemma = StringTool.strip(token.get('lemma'))
lexsn = StringTool.strip(token.get('lexsn'))
sk = lemma + '%' + lexsn if lemma and lexsn else ''
sk = StringTool.strip(sk.replace('\t', ' ').replace('|', ' '))
if sk:
token_data['sk'] = sk
tokens.append(TokenInfo(text, **token_data))
elif token.tag == 'punc':
tokens.append(TokenInfo(text, **token_data))
element.clear()
s = {'para': para,
'filename': filename,
'snum': snum,
'sid': "{}-{}-{}".format(filename, para, snum),
'tokens': tokens}
yield s
elif element.tag == 'p':
para = 'n/a'
element.clear()
elif element.tag == 'context':
filename = 'n/a'
element.clear()
def iter_ttl(self, limit=None, with_nonsense=True):
sk_map = {}
# Convert sentence by sentence to TTL
with wn.ctx() as wnctx:
for f in self.files[:limit] if limit else self.files:
for sj in self.iterparse(f):
s = to_ttl(sj, with_nonsense=with_nonsense, sk_map=sk_map, wnctx=wnctx)
yield s
def convert_to_ttl(self, ttlset, limit=None, with_nonsense=True):
sk_map = {}
with wn.ctx() as wnctx:
for f in self.files[:limit] if limit else self.files:
xml2ttl(f, self, ttlset, with_nonsense=with_nonsense, sk_map=sk_map, wnctx=wnctx)
# -------------------------------------------------------------------------------
# Application logic
# -------------------------------------------------------------------------------
def xml2json(inpath, scxml, scjson):
new_name = FileHelper.getfilename(inpath) + ".json"
dir_name = os.path.dirname(inpath)
outpath = scjson.abspath(os.path.join(dir_name, new_name))
if os.path.isfile(outpath):
print("SKIPPED: {} (output file exists)".format(outpath))
return
else:
print("Generating: {} => {}".format(inpath, outpath))
dirpath = os.path.dirname(outpath)
if not os.path.exists(dirpath):
os.makedirs(dirpath)
with open(outpath, 'wt') as outfile:
for sj in scxml.iterparse(inpath):
sj['tokens'] = [t.to_json() for t in sj['tokens']]
outfile.write(json.dumps(sj))
outfile.write("\n")
def xml2ttl(inpath, scxml, scttl, with_nonsense=True, sk_map=None, wnctx=None):
''' convert all semcor files in XML format to ttl format '''
new_name = FileHelper.getfilename(inpath) + ".json"
dir_name = os.path.dirname(inpath)
outpath = scttl.abspath(os.path.join(dir_name, new_name))
if os.path.isfile(outpath):
print("SKIPPED: {} (output file exists)".format(outpath))
return
else:
print("Generating: {} => {}".format(inpath, outpath))
dirpath = os.path.dirname(outpath)
if not os.path.exists(dirpath):
os.makedirs(dirpath)
with open(outpath, 'wt') as outfile:
for sj in scxml.iterparse(inpath):
s = to_ttl(sj, with_nonsense=with_nonsense, sk_map=sk_map, wnctx=wnctx)
outfile.write(json.dumps(s.to_json(), ensure_ascii=False))
outfile.write("\n")
def to_ttl(sent, with_nonsense=True, sk_map=None, wnctx=None):
tokens = sent['tokens']
text = detokenize(tokens)
s = ttl.Sentence(text=text)
s.new_tag(sent['sid'], tagtype='origid')
s.import_tokens((t.text for t in tokens))
for tinfo, tk in zip(tokens, s):
for k, v in tinfo.data:
if (k, v) == ('tag', 'wf') or k == 'sk':
continue
if k == 'lemma':
tk.lemma = v
elif k == 'pos':
tk.pos = v
else:
tk.new_tag(label=v, tagtype=k)
# if sensekey exists, add it as a concept
lemma = tinfo.lemma
sk = fix_sensekey(tinfo.get('sk'))
rdf = tinfo.get('rdf')
comment = None
if sk and (with_nonsense or not is_nonsense(lemma, sk, rdf)):
sensetag = sk
if sk_map is not None and sk in sk_map:
sensetag = sk_map[sk]
elif wnctx is not None:
# try to determine synsetID
ss = wnctx.senses.select_single('sensekey=?', (sk,))
if ss is not None:
sid = str(SynsetID.from_string(ss.synsetid))
if sk_map is not None:
sk_map[sk] = sid
sensetag = sid
else:
# sensekey not found
getLogger().warning("There is no synsetID with sensekey={} | rdf={}".format(sk, rdf))
comment = 'sensekey'
s.new_concept(clemma=lemma, tag=sensetag, tokens=(tk,), comment=comment)
return s
KNOWN_KEYS = {"n't%4:02:00::": "not%4:02:00::"}
def fix_sensekey(sk):
return KNOWN_KEYS[sk] if sk in KNOWN_KEYS else sk
NONSENSE = [('person%1:03:00::', 'person'),
('group%1:03:00::', 'group'),
('location%1:03:00::', 'location')]
def is_nonsense(lemma, sk, rdf):
return ((sk, rdf) in NONSENSE) or lemma == 'be'
def fix_token_text(tk):
tk = StringTool.strip(tk).replace('\t', ' ').replace('|', ' ').replace('_', ' ')
tk = tk.replace(" ' nuff", " 'nuff")
tk = tk.replace("Ol ' ", "Ol' ")
tk = tk.replace("O ' ", "O' ")
tk = tk.replace("ma ' am", "ma'am")
tk = tk.replace("Ma ' am", "Ma'am")
tk = tk.replace("probl ' y", "probl'y")
tk = tk.replace("ai n't", "ain't")
tk = tk.replace("holdin '", "holdin'")
tk = tk.replace("hangin '", "hangin'")
tk = tk.replace("dryin ' ", "dryin' ")
tk = tk.replace("Y ' all", "Y'all")
tk = tk.replace("y ' know", "y'know")
tk = tk.replace("c ' n", "c'n")
tk = tk.replace("l ' identite", "l'identite")
tk = tk.replace("Rue de L ' Arcade", "Rue de l'Arcade")
tk = tk.replace("p ' lite", "p'lite")
tk = tk.replace("rev ' rend", "rev'rend")
tk = tk.replace("coup d ' etat", "coup d'etat")
tk = tk.replace("t ' gethuh", "t'gethuh")
tk = tk.replace('``', "“")
tk = tk.replace("''", "”")
tk = tk.replace(" ,", ",")
tk = tk.replace("( ", "(")
tk = tk.replace(" )", ")")
tk = tk.replace(" ”", "”")
tk = tk.replace(" 's", "'s")
tk = tk.replace("o '", "o'")
tk = tk.replace("s ' ", "s' ")
tk = tk.replace(" , ", ", ")
# tk = tk.replace(" ' ", "' ")
return tk
def detokenize(tokens):
sentence_text = ' '.join([x.text for x in tokens])
sentence_text = sentence_text.replace(" , , ", ", ")
sentence_text = sentence_text.replace(' , ', ', ').replace('“ ', '“').replace(' ”', '”')
sentence_text = sentence_text.replace(' ! ', '! ').replace(" 'll ", "'ll ").replace(" 've ", "'ve ").replace(" 're ", "'re ").replace(" 'd ", "'d ")
sentence_text = sentence_text.replace(" 's ", "'s ")
sentence_text = sentence_text.replace(" 'm ", "'m ")
sentence_text = sentence_text.replace(" ' ", "' ")
sentence_text = sentence_text.replace(" ; ", "; ")
sentence_text = sentence_text.replace("( ", "(")
sentence_text = sentence_text.replace(" )", ")")
sentence_text = sentence_text.replace(" n't ", "n't ")
# sentence_text = sentence_text.replace("Never_mind_''", "Never_mind_”")
# sentence_text = sentence_text.replace("327_U._S._114_''", "327_U._S._114_”")
# sentence_text = sentence_text.replace("``", "“")
# sentence_text = sentence_text.replace("''", "”")
sentence_text = sentence_text.replace(" ", " ")
if sentence_text[-2:] in (' .', ' :', ' ?', ' !'):
sentence_text = sentence_text[:-2] + sentence_text[-1]
sentence_text = sentence_text.strip()
return sentence_text
def fix_3rada(root, output_dir):
ds_3rada = SemcorXML(root)
for f in ds_3rada.files:
inpath = os.path.join(ds_3rada.root, f)
outpath = os.path.join(output_dir, f + ".xml")
fix_malformed_xml_file(inpath, outpath)
def fix_malformed_xml_file(inpath, outpath):
if os.path.isfile(outpath):
print("SKIPPED: {} (output file exists)".format(outpath))
return
print('Fixing the file: %s ==> %s' % (inpath, outpath))
with open(inpath) as infile:
soup = BeautifulSoup(infile.read(), 'lxml')
# create output dir if needed
outdir = os.path.dirname(outpath)
if not os.path.exists(outdir):
os.makedirs(outdir)
with open(outpath, 'w') as outfile:
outfile.write(soup.prettify())
| mit |
anroots/pgca | src/Anroots/Pgca/Rule/Message/NoProfanity.php | 1577 | <?php
namespace Anroots\Pgca\Rule\Message;
use Anroots\Pgca\Git\CommitInterface;
use Anroots\Pgca\Rule\AbstractRule;
use Anroots\Pgca\Rule\ViolationFactoryInterface;
use swearjar\Tester;
/**
* {@inheritdoc}
*/
class NoProfanity extends AbstractRule
{
/**
* @var Tester
*/
private $profanityChecker;
private $message = 'Message contains profanity';
/**
* @param ViolationFactoryInterface $violationFactory
* @param Tester $profanityChecker
*/
public function __construct(ViolationFactoryInterface $violationFactory, Tester $profanityChecker)
{
parent::__construct($violationFactory);
$this->profanityChecker = $profanityChecker;
}
/**
* {@inheritdoc}
*/
public function getName()
{
return 'message.noProfanity';
}
/**
* {@inheritdoc}
*/
public function getMessage()
{
return $this->message;
}
/**
* {@inheritdoc}
*/
protected function run(CommitInterface $commit)
{
$profane = false;
$message = null;
$this->profanityChecker->scan($commit->getMessage(), function ($word, $types) use (&$profane, &$message) {
$profane = true;
$message = sprintf(
'The word "%s" is considered profane (%s)',
mb_strtolower($word),
implode(',', $types)
);
return false;
});
if ($profane) {
$this->message = $message;
$this->addViolation($commit);
}
}
}
| mit |
tbian7/pst | cracking_ref/Chapter 8/Question8_8/Player.java | 397 | package Question8_8;
public class Player {
private Color color;
public Player(Color c) {
color = c;
}
public int getScore() {
return Game.getInstance().getBoard().getScoreForColor(color);
}
public boolean playPiece(int row, int column) {
return Game.getInstance().getBoard().placeColor(row, column, color);
}
public Color getColor() {
return color;
}
}
| mit |
arunchaganty/contextual-comparatives | applesoranges/cc/migrations/0009_auto_20160217_2215.py | 3533 | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
import django.contrib.postgres.fields
class Migration(migrations.Migration):
dependencies = [
('cc', '0008_numericexpressionresponse_approval'),
]
operations = [
migrations.AlterField(
model_name='numericdata',
name='name',
field=models.TextField(help_text='Name of the object'),
),
migrations.AlterField(
model_name='numericdata',
name='qualifiers',
field=models.TextField(blank=True, default='', help_text='Information that qualifies this figure'),
),
migrations.AlterField(
model_name='numericdata',
name='relation',
field=models.TextField(help_text='Relation of the object to value'),
),
migrations.AlterField(
model_name='numericdata',
name='unit',
field=models.CharField(max_length=128, help_text='Value of measurement'),
),
migrations.AlterField(
model_name='numericdata',
name='value',
field=models.FloatField(help_text='Value of measurement'),
),
migrations.AlterField(
model_name='numericexpression',
name='arguments',
field=django.contrib.postgres.fields.ArrayField(size=None, base_field=models.IntegerField(), help_text='Arguments to this expression (always multiplied)'),
),
migrations.AlterField(
model_name='numericexpression',
name='multiplier',
field=models.FloatField(help_text='multiplier for expression'),
),
migrations.AlterField(
model_name='numericexpression',
name='unit',
field=models.TextField(help_text='unit for expression'),
),
migrations.AlterField(
model_name='numericexpression',
name='value',
field=models.FloatField(help_text='value for expression'),
),
migrations.AlterField(
model_name='numericexpressionresponse',
name='description',
field=models.TextField(help_text='description returned by the turker'),
),
migrations.AlterField(
model_name='numericexpressionresponse',
name='expression',
field=models.ForeignKey(to='cc.NumericExpression', help_text='expression'),
),
migrations.AlterField(
model_name='numericexpressionresponse',
name='prompt',
field=models.TextField(help_text='prompt given to the turker'),
),
migrations.AlterField(
model_name='numericmention',
name='sentence',
field=models.ForeignKey(to='javanlp.Sentence', help_text='Sentence mention was extracted from'),
),
migrations.AlterField(
model_name='numericmention',
name='type',
field=models.CharField(max_length=128, help_text='Broad category of unit'),
),
migrations.AlterField(
model_name='numericmention',
name='unit',
field=models.CharField(max_length=128, help_text='Stores the unit of the mention'),
),
migrations.AlterField(
model_name='numericmention',
name='value',
field=models.FloatField(help_text='Stores the absolute value of the mention'),
),
]
| mit |
WikiEducationFoundation/Wiki-Playlist | app/react/utils/Popup.js | 849 | export default function PopupCenter(url, title, w, h) {
var dualScreenLeft, dualScreenTop, height, left, newWindow, top, width;
dualScreenLeft = window.screenLeft !== void 0 ? window.screenLeft : screen.left;
dualScreenTop = window.screenTop !== void 0 ? window.screenTop : screen.top;
width = window.innerWidth ? window.innerWidth : document.documentElement.clientWidth ? document.documentElement.clientWidth : screen.width;
height = window.innerHeight ? window.innerHeight : document.documentElement.clientHeight ? document.documentElement.clientHeight : screen.height;
left = width / 2 - (w / 2) + dualScreenLeft;
top = height / 2 - (h / 2) + dualScreenTop;
newWindow = window.open(url, title, 'scrollbars=yes, width=' + w + ', height=' + h + ', top=' + top + ', left=' + left);
if (window.focus) {
newWindow.focus();
}
}; | mit |
sinned/forwardly | public/dist/application.js | 38590 | 'use strict';
// Init the application configuration module for AngularJS application
var ApplicationConfiguration = (function() {
// Init module configuration options
var applicationModuleName = 'forwardly';
var applicationModuleVendorDependencies = ['ngResource', 'ngCookies', 'ngAnimate', 'ngTouch', 'ngSanitize', 'ui.router', 'ui.bootstrap', 'ui.utils', 'textAngular'];
// Add a new vertical module
var registerModule = function(moduleName, dependencies) {
// Create angular module
angular.module(moduleName, dependencies || []);
// Add the module to the AngularJS configuration file
angular.module(applicationModuleName).requires.push(moduleName);
};
return {
applicationModuleName: applicationModuleName,
applicationModuleVendorDependencies: applicationModuleVendorDependencies,
registerModule: registerModule
};
})();
'use strict';
//Start by defining the main module and adding the module dependencies
angular.module(ApplicationConfiguration.applicationModuleName, ApplicationConfiguration.applicationModuleVendorDependencies);
// Setting HTML5 Location Mode
angular.module(ApplicationConfiguration.applicationModuleName).config(['$locationProvider',
function($locationProvider) {
$locationProvider.hashPrefix('!');
}
]);
//Then define the init function for starting up the application
angular.element(document).ready(function() {
//Fixing facebook bug with redirect
if (window.location.hash === '#_=_') window.location.hash = '#!';
//Then init the app
angular.bootstrap(document, [ApplicationConfiguration.applicationModuleName]);
});
'use strict';
// Use applicaion configuration module to register a new module
ApplicationConfiguration.registerModule('companies');
'use strict';
// Use applicaion configuration module to register a new module
ApplicationConfiguration.registerModule('contacts');
'use strict';
// Use Applicaion configuration module to register a new module
ApplicationConfiguration.registerModule('core');
'use strict';
// Use application configuration module to register a new module
ApplicationConfiguration.registerModule('integrations');
'use strict';
// Use applicaion configuration module to register a new module
ApplicationConfiguration.registerModule('listings');
'use strict';
// Use applicaion configuration module to register a new module
ApplicationConfiguration.registerModule('referrals');
'use strict';
// Use applicaion configuration module to register a new module
ApplicationConfiguration.registerModule('submissions');
'use strict';
// Use Applicaion configuration module to register a new module
ApplicationConfiguration.registerModule('users');
'use strict';
// Configuring the Articles module
angular.module('companies').run(['Menus',
function(Menus) {
// Set top bar menu items
Menus.addMenuItem('topbar', 'Companies', 'companies', 'dropdown', '/companies(/create)?');
Menus.addSubMenuItem('topbar', 'companies', 'List Companies', 'companies');
Menus.addSubMenuItem('topbar', 'companies', 'New Company', 'companies/create');
}
]);
'use strict';
//Setting up route
angular.module('companies').config(['$stateProvider',
function($stateProvider) {
// Companies state routing
$stateProvider.
state('listCompanies', {
url: '/companies',
templateUrl: 'modules/companies/views/list-companies.client.view.html'
}).
state('createCompany', {
url: '/companies/create',
templateUrl: 'modules/companies/views/create-company.client.view.html'
}).
state('viewCompany', {
url: '/companies/:companyId',
templateUrl: 'modules/companies/views/view-company.client.view.html'
}).
state('editCompany', {
url: '/companies/:companyId/edit',
templateUrl: 'modules/companies/views/edit-company.client.view.html'
});
}
]);
'use strict';
// Companies controller
angular.module('companies').controller('CompaniesController', ['$scope', '$stateParams', '$location', 'Authentication', 'Companies',
function($scope, $stateParams, $location, Authentication, Companies ) {
$scope.authentication = Authentication;
// Create new Company
$scope.create = function() {
// Create new Company object
var company = new Companies ({
name: this.name,
description: this.description,
url: this.url,
imageUrl: this.imageUrl
});
// Redirect after save
company.$save(function(response) {
$location.path('companies/' + response._id);
// Clear form fields
$scope.name = '';
}, function(errorResponse) {
$scope.error = errorResponse.data.message;
});
};
// Remove existing Company
$scope.remove = function( company ) {
if ( company ) { company.$remove();
for (var i in $scope.companies ) {
if ($scope.companies [i] === company ) {
$scope.companies.splice(i, 1);
}
}
} else {
$scope.company.$remove(function() {
$location.path('companies');
});
}
};
// Update existing Company
$scope.update = function() {
var company = $scope.company ;
company.$update(function() {
$location.path('companies/' + company._id);
}, function(errorResponse) {
$scope.error = errorResponse.data.message;
});
};
// Find a list of Companies
$scope.find = function() {
$scope.companies = Companies.query();
};
// Find existing Company
$scope.findOne = function() {
$scope.company = Companies.get({
companyId: $stateParams.companyId
});
};
}
]);
'use strict';
//Companies service used to communicate Companies REST endpoints
angular.module('companies').factory('Companies', ['$resource',
function($resource) {
return $resource('companies/:companyId', { companyId: '@_id'
}, {
update: {
method: 'PUT'
}
});
}
]);
'use strict';
angular.module('contacts').config(['$stateProvider',
function($stateProvider) {
$stateProvider.
state('listContacts', {
url: '/contacts',
templateUrl: 'modules/contacts/views/list-contacts.client.view.html',
controller: 'ContactsController'
});
}
]);
/* globals S3Upload,_ */
'use strict';
angular.module('contacts').controller('ContactsController', ['$scope', '$stateParams', '$location',
'Authentication', 'Contacts',
function($scope, $stateParams, $location, Authentication, Contacts) {
$scope.authentication = Authentication;
$scope.data = {
jobsOnly: false
};
Contacts.query().$promise.then(function (contacts) {
_.forEach(contacts, function(contact) {
if (contact.pipl) {
var dataRest = _.cloneDeep(contact.pipl.data);
//delete stuff we don't care about
delete dataRest['@http_status_code'];
delete dataRest['@visible_sources'];
delete dataRest['@available_sources'];
delete dataRest['@search_id'];
delete dataRest.query;
if (dataRest.person) {
//delete stuff we don't care about
delete dataRest.person['@id'];
delete dataRest.person['@match'];
delete dataRest.person.emails;
delete dataRest.person.user_ids;
//delete stuff we already show
delete dataRest.person.gender;
delete dataRest.person.dob;
delete dataRest.person.names;
delete dataRest.person.usernames;
delete dataRest.person.phones;
delete dataRest.person.addresses;
delete dataRest.person.jobs;
delete dataRest.person.educations;
delete dataRest.person.relationships;
delete dataRest.person.images;
delete dataRest.person.urls;
if (Object.keys(dataRest.person).length === 0) {
delete dataRest.person;
}
}
// sort of show.
delete dataRest.possible_persons;
if (Object.keys(dataRest).length !== 0) {
contact.pipl.dataRest = dataRest;
}
}
});
$scope.contacts = contacts;
});
}
]);
'use strict';
//Submissions service used to communicate Submissions REST endpoints
angular.module('contacts').factory('Contacts', ['$resource',
function($resource) {
return $resource('contacts');
}
]);
'use strict';
// Setting up route
angular.module('core').config(['$stateProvider', '$urlRouterProvider',
function($stateProvider, $urlRouterProvider) {
// Redirect to home view when route not found
$urlRouterProvider.otherwise('/');
// Home state routing
$stateProvider.
state('home', {
url: '/',
templateUrl: 'modules/core/views/home.client.view.html'
});
}
]);
'use strict';
angular.module('core').controller('HeaderController', ['$scope', 'Authentication', 'Menus',
function($scope, Authentication, Menus) {
$scope.authentication = Authentication;
$scope.isCollapsed = false;
$scope.menu = Menus.getMenu('topbar');
$scope.toggleCollapsibleMenu = function() {
$scope.isCollapsed = !$scope.isCollapsed;
};
// Collapsing the menu after navigation
$scope.$on('$stateChangeSuccess', function() {
$scope.isCollapsed = false;
});
}
]);
'use strict';
angular.module('core').controller('HomeController', ['$scope', 'Authentication', 'Random',
function($scope, Authentication, Random) {
// This provides Authentication context.
$scope.authentication = Authentication;
}
]);
'use strict';
//Menu service used for managing menus
angular.module('core').service('Menus', [
function() {
// Define a set of default roles
this.defaultRoles = ['*'];
// Define the menus object
this.menus = {};
// A private function for rendering decision
var shouldRender = function(user) {
if (user) {
if (!!~this.roles.indexOf('*')) {
return true;
} else {
for (var userRoleIndex in user.roles) {
for (var roleIndex in this.roles) {
if (this.roles[roleIndex] === user.roles[userRoleIndex]) {
return true;
}
}
}
}
} else {
return this.isPublic;
}
return false;
};
// Validate menu existance
this.validateMenuExistance = function(menuId) {
if (menuId && menuId.length) {
if (this.menus[menuId]) {
return true;
} else {
throw new Error('Menu does not exists');
}
} else {
throw new Error('MenuId was not provided');
}
return false;
};
// Get the menu object by menu id
this.getMenu = function(menuId) {
// Validate that the menu exists
this.validateMenuExistance(menuId);
// Return the menu object
return this.menus[menuId];
};
// Add new menu object by menu id
this.addMenu = function(menuId, isPublic, roles) {
// Create the new menu
this.menus[menuId] = {
isPublic: isPublic || false,
roles: roles || this.defaultRoles,
items: [],
shouldRender: shouldRender
};
// Return the menu object
return this.menus[menuId];
};
// Remove existing menu object by menu id
this.removeMenu = function(menuId) {
// Validate that the menu exists
this.validateMenuExistance(menuId);
// Return the menu object
delete this.menus[menuId];
};
// Add menu item object
this.addMenuItem = function(menuId, menuItemTitle, menuItemURL, menuItemType, menuItemUIRoute, isPublic, roles, position) {
// Validate that the menu exists
this.validateMenuExistance(menuId);
// Push new menu item
this.menus[menuId].items.push({
title: menuItemTitle,
link: menuItemURL,
menuItemType: menuItemType || 'item',
menuItemClass: menuItemType,
uiRoute: menuItemUIRoute || ('/' + menuItemURL),
isPublic: ((isPublic === null || typeof isPublic === 'undefined') ? this.menus[menuId].isPublic : isPublic),
roles: ((roles === null || typeof roles === 'undefined') ? this.menus[menuId].roles : roles),
position: position || 0,
items: [],
shouldRender: shouldRender
});
// Return the menu object
return this.menus[menuId];
};
// Add submenu item object
this.addSubMenuItem = function(menuId, rootMenuItemURL, menuItemTitle, menuItemURL, menuItemUIRoute, isPublic, roles, position) {
// Validate that the menu exists
this.validateMenuExistance(menuId);
// Search for menu item
for (var itemIndex in this.menus[menuId].items) {
if (this.menus[menuId].items[itemIndex].link === rootMenuItemURL) {
// Push new submenu item
this.menus[menuId].items[itemIndex].items.push({
title: menuItemTitle,
link: menuItemURL,
uiRoute: menuItemUIRoute || ('/' + menuItemURL),
isPublic: ((isPublic === null || typeof isPublic === 'undefined') ? this.menus[menuId].items[itemIndex].isPublic : isPublic),
roles: ((roles === null || typeof roles === 'undefined') ? this.menus[menuId].items[itemIndex].roles : roles),
position: position || 0,
shouldRender: shouldRender
});
}
}
// Return the menu object
return this.menus[menuId];
};
// Remove existing menu object by menu id
this.removeMenuItem = function(menuId, menuItemURL) {
// Validate that the menu exists
this.validateMenuExistance(menuId);
// Search for menu item to remove
for (var itemIndex in this.menus[menuId].items) {
if (this.menus[menuId].items[itemIndex].link === menuItemURL) {
this.menus[menuId].items.splice(itemIndex, 1);
}
}
// Return the menu object
return this.menus[menuId];
};
// Remove existing menu object by menu id
this.removeSubMenuItem = function(menuId, submenuItemURL) {
// Validate that the menu exists
this.validateMenuExistance(menuId);
// Search for menu item to remove
for (var itemIndex in this.menus[menuId].items) {
for (var subitemIndex in this.menus[menuId].items[itemIndex].items) {
if (this.menus[menuId].items[itemIndex].items[subitemIndex].link === submenuItemURL) {
this.menus[menuId].items[itemIndex].items.splice(subitemIndex, 1);
}
}
}
// Return the menu object
return this.menus[menuId];
};
//Adding the topbar menu
this.addMenu('topbar');
}
]);
'use strict';
angular.module('core').service('Random', [
function() {
var chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghiklmnopqrstuvwxyz';
this.generateString = function(length) {
length = length ? length : 32;
var string = '';
for (var i = 0; i < length; i++) {
var randomNumber = Math.floor(Math.random() * chars.length);
string += chars.substring(randomNumber, randomNumber + 1);
}
return string;
};
}
]);
'use strict';
//Setting up route
angular.module('integrations').config(['$stateProvider',
function ($stateProvider) {
// Listings state routing
$stateProvider
.state('linkedInFriends', {
url: '/linkedin/friends',
templateUrl: 'modules/integrations/views/linkedin.friends.client.view.html',
controller:'LinkedInFriendsController'
})
.state('googleContacts', {
url: '/google/contacts',
templateUrl: 'modules/integrations/views/google.contacts.client.view.html',
controller:'GoogleContactsController'
});
}
]);
/* global _,lunr */
'use strict';
angular.module('integrations').controller('GoogleContactsController', ['$scope', '$state', '$stateParams', '$location', '$resource', 'Authentication',
function($scope, $state, $stateParams, $location, $resource, Authentication) {
$scope.authentication = Authentication;
$scope.contacts = $resource('google/contacts').query();
}
]);
/* global _,lunr */
'use strict';
angular.module('integrations').controller('LinkedInFriendsController', ['$scope', '$state', '$stateParams', '$location', '$resource', 'Authentication',
function($scope, $state, $stateParams, $location, $resource, Authentication) {
$scope.authentication = Authentication;
$resource('linkedin/friends').query().$promise.then(function(friends) {
$scope.friends = friends;
var index = lunr(function() {
this.field('name');
this.field('headline', {boost: 5});
this.field('locationName');
for(var i = 0; i < 10; i++) {
this.field('position'+i+'CompanyName');
this.field('position'+i+'Summary');
this.field('position'+i+'Title');
}
});
_.forEach(friends, function(item) {
item.name = item.firstName + ' ' + item.lastName;
item.locationName = item.location.name;
_.forEach(item.positions.values, function(position, index) {
item['position'+index+'CompanyName'] = position.company.name;
item['position'+index+'Summary'] = position.summary;
item['position'+index+'Title'] = position.title;
});
index.add(item);
});
$scope.friendIndex = index;
});
}
]);
/* global _,lunr */
'use strict';
angular.module('integrations').filter('lunrFilter', [
function() {
return function (items, text, index) {
if (!text) {
return items;
}
var results = index.search(text);
var mapResults = _.map(results, function(result) {
var item = _.findWhere(items, {id: result.ref});
item.score = result.score;
return item;
});
return mapResults;
};
}
]);
'use strict';
// Configuring the Articles module
angular.module('listings').run(['Menus',
function(Menus) {
// Set top bar menu items
Menus.addMenuItem('topbar', 'Listings', 'listings', 'dropdown', '/listings(/create)?');
Menus.addSubMenuItem('topbar', 'listings', 'List Listings', 'listings');
Menus.addSubMenuItem('topbar', 'listings', 'New Listing', 'listings/create');
}
]);
'use strict';
//Setting up route
angular.module('listings').config(['$stateProvider',
function($stateProvider) {
// Listings state routing
$stateProvider.
state('listListings', {
url: '/listings',
templateUrl: 'modules/listings/views/list-listings.client.view.html'
}).
state('createListing', {
url: '/listings/create',
templateUrl: 'modules/listings/views/create-listing.client.view.html'
}).
state('viewListing', {
url: '/listings/:listingId',
templateUrl: 'modules/listings/views/view-listing.client.view.html'
}).
state('editListing', {
url: '/listings/:listingId/edit',
templateUrl: 'modules/listings/views/edit-listing.client.view.html'
}).
state('viewListingStats', {
url: '/listings/:listingId/stats',
templateUrl: 'modules/listings/views/view-listing-stats.client.view.html'
}).
state('applyListing', {
url: '/listings/:listingId/apply',
templateUrl: 'modules/listings/views/apply-listing.client.view.html'
}).
state('viewListingReferral', {
url: '/listings/:listingId/referrals/:referralId',
templateUrl: 'modules/listings/views/view-listing.client.view.html'
}).
state('applyListingReferral', {
url: '/listings/:listingId/apply/:referralId',
templateUrl: 'modules/listings/views/apply-listing.client.view.html'
})
;
}
]);
'use strict';
// Listings controller
angular.module('listings').controller('ListingsController', ['$scope', '$state', '$stateParams', '$location', 'Authentication', 'Listings', 'Companies', 'Referrals',
function($scope, $state, $stateParams, $location, Authentication, Listings, Companies, Referrals ) {
$scope.authentication = Authentication;
// Create new Listing
$scope.create = function() {
// Create new Listing object
console.log(this);
var listing = new Listings ({
company: this.company,
headline: this.headline,
description: this.description,
location: this.location,
role: this.role,
tags: this.tags,
referralFee: this.referralFee
});
// Redirect after save
listing.$save(function(response) {
$location.path('listings/' + response._id);
// Clear form fields
$scope.name = '';
}, function(errorResponse) {
$scope.error = errorResponse.data.message;
});
};
// Create new root Referral (with no parent, gets email and name from user object)
$scope.create_referral = function() {
// TODO: find the referral ID for this email address and this listings ID
Referrals.query({email: Authentication.user.email, listing: $stateParams.listingId}).$promise.then(
function (referrals) {
console.log('found referrals for this email/listing ', referrals[0]);
if (referrals.length) {
var destination = 'referrals/create/' + referrals[0]._id;
$location.path(destination);
} else {
// Create new Referral object
var referral = new Referrals ({
listing: $stateParams.listingId,
email: Authentication.user.email,
firstName: Authentication.user.firstName,
lastName: Authentication.user.lastName,
sendEmail: false
});
// Redirect after save
referral.$save(function(response) {
// with the response, we redirect to the new parent referral page
var destination = 'referrals/create/' + response._id;
$location.path(destination);
// Clear form fields
$scope.name = '';
}, function(errorResponse) {
$scope.error = errorResponse.data.message;
});
}
});
};
$scope.apply = function() {
if ($scope.referral) {
$state.go('createSubmissionFromReferral', {referralId: $scope.referral._id});
} else {
$state.go('createSubmissionFromListing', {listingId: $scope.listing._id});
}
};
// Remove existing Listing
$scope.remove = function( listing ) {
if ( listing ) { listing.$remove();
for (var i in $scope.listings ) {
if ($scope.listings [i] === listing ) {
$scope.listings.splice(i, 1);
}
}
} else {
$scope.listing.$remove(function() {
$location.path('listings');
});
}
};
// Update existing Listing
$scope.update = function() {
var listing = $scope.listing ;
listing.$update(function() {
$location.path('listings/' + listing._id);
}, function(errorResponse) {
$scope.error = errorResponse.data.message;
});
};
// Find a list of Listings
$scope.find = function() {
$scope.listings = Listings.query();
};
// Find existing Listing
$scope.findOne = function() {
$scope.listing = Listings.get({
listingId: $stateParams.listingId
});
if ($stateParams.referralId) {
$scope.referral = Referrals.get({
referralId: $stateParams.referralId
});
}
};
// the list of roles
$scope.roles = [
{name: 'Software Engineer'},
{name: 'Backend Developer'},
{name: 'Data Scientist'},
{name: 'DevOps'},
{name: 'Frontend Developer'},
{name: 'Full-Stack Developer'},
{name: 'Mobile Developer'},
{name: 'Attorney'},
{name: 'UI/UX Designer'},
{name: 'Finance/Accounting'},
{name: 'Hardware Engineer'},
{name: 'H.R.'},
{name: 'Marketing'},
{name: 'Office Manager'},
{name: 'Operations'},
{name: 'Product Manager'},
{name: 'Sales' }
];
// the list of companies
$scope.companies = Companies.query();
}
]);
'use strict';
//Listings service used to communicate Listings REST endpoints
angular.module('listings').factory('Listings', ['$resource',
function($resource) {
return $resource('listings/:listingId', { listingId: '@_id'
}, {
update: {
method: 'PUT'
}
});
}
]);
'use strict';
//Setting up route
angular.module('referrals').config(['$stateProvider',
function($stateProvider) {
// Referrals state routing
$stateProvider.
state('listReferrals', {
url: '/referrals',
templateUrl: 'modules/referrals/views/list-referrals.client.view.html'
}).
state('createReferral', {
url: '/referrals/create/:referralId',
templateUrl: 'modules/referrals/views/create-referral.client.view.html'
}).
state('viewReferral', {
url: '/referrals/:referralId',
templateUrl: 'modules/referrals/views/view-referral.client.view.html'
}).
state('editReferral', {
url: '/referrals/:referralId/edit',
templateUrl: 'modules/referrals/views/edit-referral.client.view.html'
});
}
]);
'use strict';
// Referrals controller
angular.module('referrals').controller('ReferralsController', ['$scope', '$stateParams', '$location', 'Authentication', 'Referrals',
function($scope, $stateParams, $location, Authentication, Referrals ) {
$scope.authentication = Authentication;
// Create new Referral
$scope.create = function() {
// Create new Referral object
var referral = new Referrals ({
listing: this.referral.listing._id,
parentReferral: this.referral._id,
email: this.email,
firstName: this.firstName,
lastName: this.lastName,
customMessage: this.customMessage,
sendEmail:true
});
console.log('creating referral', referral);
// Redirect after save
referral.$save(function(response) {
// with the response, we redirect back to the referral with the parent referral so they can view it again and send another
console.log('Referral Created: ', response._id);
var destination = 'referrals/' + response._id;
// TODO: Put a success flash message here
$location.path(destination);
// Clear form fields
$scope.name = '';
}, function(errorResponse) {
$scope.error = errorResponse.data.message;
});
};
// Remove existing Referral
$scope.remove = function( referral ) {
if ( referral ) { referral.$remove();
for (var i in $scope.referrals ) {
if ($scope.referrals [i] === referral ) {
$scope.referrals.splice(i, 1);
}
}
} else {
$scope.referral.$remove(function() {
$location.path('referrals');
});
}
};
// Update existing Referral
$scope.update = function() {
var referral = $scope.referral ;
referral.$update(function() {
$location.path('referrals/' + referral._id);
}, function(errorResponse) {
$scope.error = errorResponse.data.message;
});
};
// Find a list of Referrals
$scope.find = function() {
$scope.referrals = Referrals.query();
};
// Find existing Referral
$scope.findOne = function() {
$scope.referral = Referrals.get({
referralId: $stateParams.referralId
});
};
}
]);
'use strict';
//Referrals service used to communicate Referrals REST endpoints
angular.module('referrals').factory('Referrals', ['$resource',
function($resource) {
return $resource('referrals/:referralId', { referralId: '@_id'
}, {
update: {
method: 'PUT'
}
});
}
]);
'use strict';
//Setting up route
angular.module('submissions').config(['$stateProvider',
function($stateProvider) {
// Submissions state routing
$stateProvider.
state('listSubmissions', {
url: '/submissions',
templateUrl: 'modules/submissions/views/list-submissions.client.view.html'
}).
state('createSubmissionFromReferral', {
url: '/submissions/create/referral/:referralId',
templateUrl: 'modules/submissions/views/create-submission.client.view.html'
}).
state('createSubmissionFromListing', {
url: '/submissions/create/listing/:listingId',
templateUrl: 'modules/submissions/views/create-submission.client.view.html'
}).
state('viewSubmission', {
url: '/submissions/:submissionId',
templateUrl: 'modules/submissions/views/view-submission.client.view.html'
});
}
]);
/* globals S3Upload */
'use strict';
// Submissions controller
angular.module('submissions').controller('SubmissionsController', ['$scope', '$stateParams', '$location',
'Authentication', 'Submissions', 'Referrals', 'Listings', 'Random',
function($scope, $stateParams, $location, Authentication, Submissions, Referrals, Listings, Random ) {
$scope.authentication = Authentication;
$scope.initCreate = function() {
if ($stateParams.referralId) {
Referrals.get({
referralId: $stateParams.referralId
}).$promise.then(function(referral) {
$scope.referral = referral;
$scope.listing = referral.listing;
});
} else {
$scope.listing = Listings.get({
listingId: $stateParams.listingId
});
}
};
$scope.create = function() {
var data = {
listing: $scope.listing._id,
email: this.email,
firstName: this.firstName,
lastName: this.lastName
};
if (!this.linkedInUrl && !$scope.upload.url) {
$scope.errorLinkedInOrUpload = true;
return;
}
if (this.linkedInUrl) {
data.linkedInUrl = this.linkedInUrl;
}
if ($scope.upload.url) {
data.uploadedResumeUrl = $scope.upload.url;
}
if ($scope.referral) {
data.referral = $scope.referral._id;
}
console.log(JSON.stringify(data, null, ' '));
var submission = new Submissions (data);
// Redirect after save
submission.$save(function(response) {
$location.path('submissions/' + response._id);
}, function(errorResponse) {
$scope.error = errorResponse.data.message;
});
};
$scope.upload = {
progressing: false,
percent:0,
complete:false,
url:'',
error:false,
errorMessage:''
};
$scope.s3_upload = function(target) {
$scope.upload = {
progressing: false,
percent:0,
complete:false,
url:'',
error:false,
errorMessage:''
};
var namePrefix = $scope.firstName+$scope.lastName;
if (!namePrefix) {
namePrefix = 'Candidate';
}
if (!target.files[0] || !target.files[0].type) {
$scope.$apply(function() {
$scope.upload.error = true;
$scope.upload.errorMessage = 'Unable to read content type of resume';
});
return;
}
var type = target.files[0].type;
var suffix = '';
if (type === 'application/pdf') {
suffix = '.pdf';
} else if (type === 'application/msword') {
suffix = '.doc';
} else if (type === 'application/rtf') {
suffix = '.rtf';
} else if (type === 'text/plain') {
suffix = '.txt';
} else {
$scope.$apply(function() {
$scope.upload.error = true;
$scope.upload.errorMessage = 'Resume must be pdf, doc, rtf, or txt file';
});
return;
}
var name = Random.generateString(24)+'/'+namePrefix+'Resume'+suffix;
var s3upload = new S3Upload({
s3_object_name: name,
file_dom_selector: 'files',
s3_sign_put_url: '/sign_s3',
onProgress: function(percent, message) {
$scope.$apply(function() {
$scope.upload.progressing = true;
$scope.upload.percent = percent;
});
},
onFinishS3Put: function(public_url) {
$scope.$apply(function() {
$scope.upload.progressing = false;
$scope.upload.complete = true;
$scope.upload.url = public_url;
});
},
onError: function(status) {
$scope.$apply(function() {
$scope.upload.progressing = false;
$scope.upload.complete = false;
$scope.upload.error = true;
$scope.upload.errorMessage = status;
});
}
});
};
// Remove existing Submission
$scope.remove = function( submission ) {
if ( submission ) { submission.$remove();
for (var i in $scope.submissions ) {
if ($scope.submissions [i] === submission ) {
$scope.submissions.splice(i, 1);
}
}
} else {
$scope.submission.$remove(function() {
$location.path('submissions');
});
}
};
// Update existing Submission
$scope.update = function() {
var submission = $scope.submission ;
submission.$update(function() {
$location.path('submissions/' + submission._id);
}, function(errorResponse) {
$scope.error = errorResponse.data.message;
});
};
// Find a list of Submissions
$scope.find = function() {
$scope.submissions = Submissions.query();
};
// Find existing Submission
$scope.findOne = function() {
$scope.submission = Submissions.get({
submissionId: $stateParams.submissionId
});
};
}
]);
'use strict';
//Submissions service used to communicate Submissions REST endpoints
angular.module('submissions').factory('Submissions', ['$resource',
function($resource) {
return $resource('submissions/:submissionId', { submissionId: '@_id'
}, {
update: {
method: 'PUT'
}
});
}
]);
'use strict';
// Config HTTP Error Handling
angular.module('users').config(['$httpProvider',
function($httpProvider) {
// Set the httpProvider "not authorized" interceptor
$httpProvider.interceptors.push(['$q', '$location', 'Authentication',
function($q, $location, Authentication) {
return {
responseError: function(rejection) {
switch (rejection.status) {
case 401:
// Deauthenticate the global user
Authentication.user = null;
// Redirect to signin page
$location.path('signin');
break;
case 403:
// Add unauthorized behaviour
break;
}
return $q.reject(rejection);
}
};
}
]);
}
]);
'use strict';
// Setting up route
angular.module('users').config(['$stateProvider',
function($stateProvider) {
// Users state routing
$stateProvider.
state('profile', {
url: '/settings/profile',
templateUrl: 'modules/users/views/settings/edit-profile.client.view.html'
}).
state('password', {
url: '/settings/password',
templateUrl: 'modules/users/views/settings/change-password.client.view.html'
}).
state('accounts', {
url: '/settings/accounts',
templateUrl: 'modules/users/views/settings/social-accounts.client.view.html'
}).
state('signup', {
url: '/signup',
templateUrl: 'modules/users/views/authentication/signup.client.view.html'
}).
state('signin', {
url: '/signin',
templateUrl: 'modules/users/views/authentication/signin.client.view.html'
}).
state('forgot', {
url: '/password/forgot',
templateUrl: 'modules/users/views/password/forgot-password.client.view.html'
}).
state('reset-invlaid', {
url: '/password/reset/invalid',
templateUrl: 'modules/users/views/password/reset-password-invalid.client.view.html'
}).
state('reset-success', {
url: '/password/reset/success',
templateUrl: 'modules/users/views/password/reset-password-success.client.view.html'
}).
state('reset', {
url: '/password/reset/:token',
templateUrl: 'modules/users/views/password/reset-password.client.view.html'
});
}
]);
'use strict';
angular.module('users').controller('AuthenticationController', ['$scope', '$http', '$location', 'Authentication',
function($scope, $http, $location, Authentication) {
$scope.authentication = Authentication;
// If user is signed in then redirect back home
if ($scope.authentication.user) $location.path('/');
$scope.signup = function() {
$http.post('/auth/signup', $scope.credentials).success(function(response) {
// If successful we assign the response to the global user model
$scope.authentication.user = response;
// And redirect to the index page
$location.path('/');
}).error(function(response) {
$scope.error = response.message;
});
};
$scope.signin = function() {
$http.post('/auth/signin', $scope.credentials).success(function(response) {
// If successful we assign the response to the global user model
$scope.authentication.user = response;
// And redirect to the index page
$location.path('/');
}).error(function(response) {
$scope.error = response.message;
});
};
}
]);
'use strict';
angular.module('users').controller('PasswordController', ['$scope', '$stateParams', '$http', '$location', 'Authentication',
function($scope, $stateParams, $http, $location, Authentication) {
$scope.authentication = Authentication;
//If user is signed in then redirect back home
if ($scope.authentication.user) $location.path('/');
// Submit forgotten password account id
$scope.askForPasswordReset = function() {
$scope.success = $scope.error = null;
$http.post('/auth/forgot', $scope.credentials).success(function(response) {
// Show user success message and clear form
$scope.credentials = null;
$scope.success = response.message;
}).error(function(response) {
// Show user error message and clear form
$scope.credentials = null;
$scope.error = response.message;
});
};
// Change user password
$scope.resetUserPassword = function() {
$scope.success = $scope.error = null;
$http.post('/auth/reset/' + $stateParams.token, $scope.passwordDetails).success(function(response) {
// If successful show success message and clear form
$scope.passwordDetails = null;
// Attach user profile
Authentication.user = response;
// And redirect to the index page
$location.path('/password/reset/success');
}).error(function(response) {
$scope.error = response.message;
});
};
}
]);
'use strict';
angular.module('users').controller('SettingsController', ['$scope', '$http', '$location', 'Users', 'Authentication',
function($scope, $http, $location, Users, Authentication) {
$scope.user = Authentication.user;
// If user is not signed in then redirect back home
if (!$scope.user) $location.path('/');
// Check if there are additional accounts
$scope.hasConnectedAdditionalSocialAccounts = function(provider) {
for (var i in $scope.user.additionalProvidersData) {
return true;
}
return false;
};
// Check if provider is already in use with current user
$scope.isConnectedSocialAccount = function(provider) {
return $scope.user.provider === provider || ($scope.user.additionalProvidersData && $scope.user.additionalProvidersData[provider]);
};
// Remove a user social account
$scope.removeUserSocialAccount = function(provider) {
$scope.success = $scope.error = null;
$http.delete('/users/accounts', {
params: {
provider: provider
}
}).success(function(response) {
// If successful show success message and clear form
$scope.success = true;
$scope.user = Authentication.user = response;
}).error(function(response) {
$scope.error = response.message;
});
};
// Update a user profile
$scope.updateUserProfile = function(isValid) {
if (isValid){
$scope.success = $scope.error = null;
var user = new Users($scope.user);
user.$update(function(response) {
$scope.success = true;
Authentication.user = response;
}, function(response) {
$scope.error = response.data.message;
});
} else {
$scope.submitted = true;
}
};
// Change user password
$scope.changeUserPassword = function() {
$scope.success = $scope.error = null;
$http.post('/users/password', $scope.passwordDetails).success(function(response) {
// If successful show success message and clear form
$scope.success = true;
$scope.passwordDetails = null;
}).error(function(response) {
$scope.error = response.message;
});
};
}
]);
'use strict';
// Authentication service for user variables
angular.module('users').factory('Authentication', [
function() {
var _this = this;
_this._data = {
user: window.user
};
return _this._data;
}
]);
'use strict';
// Users service used for communicating with the users REST endpoint
angular.module('users').factory('Users', ['$resource',
function($resource) {
return $resource('users', {}, {
update: {
method: 'PUT'
}
});
}
]); | mit |
blockstack/opendig | src/auth/protocolEchoDetection.ts | 2404 | /**
* This logic is in a separate file with no dependencies so that it can be
* loaded and executed as soon as possible to fulfill the purpose of the protocol
* detection technique. The effectiveness of this is obviously subject to how web
* apps bundle/consume the blockstack.js lib.
*/
const GLOBAL_DETECTION_CACHE_KEY = '_blockstackDidCheckEchoReply'
const ECHO_REPLY_PARAM = 'echoReply'
const AUTH_CONTINUATION_PARAM = 'authContinuation'
/**
* Checks if the current window location URL contains an 'echoReply' parameter
* which indicates that this page was only opened to signal back to the originating
* tab that the protocol handler is installed.
* If found, then localStorage events are used to notify the other tab,
* and this page is redirected back to the Blockstack authenticator URL.
* This function caches its result and will not trigger multiple redirects when
* invoked multiple times.
* @returns True if detected and the page will be automatically redirected.
* @hidden
*/
export function protocolEchoReplyDetection(): boolean {
// Check that the `window` APIs exist
if (typeof window !== 'object' || !window.location || !window.localStorage) {
// Exit detection function - we are not running in a browser environment.
return false
}
// Avoid performing the check twice and triggered multiple redirect timers.
const existingDetection = (window as any)[GLOBAL_DETECTION_CACHE_KEY]
if (typeof existingDetection === 'boolean') {
return existingDetection
}
const searchParams = new window.URLSearchParams(window.location.search)
const echoReplyParam = searchParams.get(ECHO_REPLY_PARAM)
if (echoReplyParam) {
(window as any)[GLOBAL_DETECTION_CACHE_KEY] = true
// Use localStorage to notify originated tab that protocol handler is available and working.
const echoReplyKey = `echo-reply-${echoReplyParam}`
// Set the echo-reply result in localStorage for the other window to see.
window.localStorage.setItem(echoReplyKey, 'success')
// Redirect back to the localhost auth url, as opposed to another protocol launch.
// This will re-use the same tab rather than creating another useless one.
window.setTimeout(() => {
const authContinuationParam = searchParams.get(AUTH_CONTINUATION_PARAM)
window.location.href = authContinuationParam
}, 10)
return true
}
return false
}
| mit |
jfernandez89/Ionic-template | myApp/www/js/landing/landing.routes.js | 671 | /**
* @Date: 09/02/2016
* @author: Javier Fernandez - jfernandez
*
* Landing Routes
* @param {type} angular
* @returns {angular.module}
*/
(function () {
define(['./landing.module', 'text!./landing.html'], function (module, landingTemplate) {
'use strict';
module.config(config);
config.$inject = ['$stateProvider'];
function config($stateProvider) {
$stateProvider
.state('landing', {
url: '/landing',
template: landingTemplate,
resolve: {//the stateProvider resolve this
},
controller: 'LandingController',
controllerAs: 'LandingCtrl'
});
}
});
})();
| mit |
rjmccluskey/roomies | server/app/models/expense.rb | 638 | class Expense < ActiveRecord::Base
attr_accessor :amount_string
before_save :set_amount
belongs_to :user
belongs_to :house
has_many :charges
validates_presence_of :note, :amount_string, :user_id, :house_id
validates_format_of :amount_string, with: /\A[$]?[0-9]{1,3}(?:,?[0-9]{3})*(?:\.[0-9]{1,2})?\z/, message: "is not a valid amount"
validates_length_of :note, in: 1..140
private
def set_amount
remove_unnecessary_chars_from_amount_string
self.amount = amount_string.to_f.abs
end
def remove_unnecessary_chars_from_amount_string
self.amount_string = amount_string.gsub(/[,]?[$]?/,"")
end
end
| mit |
petems/riot_api | lib/riot_api/model/champion_stat.rb | 262 | require 'riot_api/model/statistic'
module RiotApi
module Model
class ChampionStat < Base
attribute :id, Integer
attribute :name, String
attribute :stats, Array[RiotApi::Model::Statistic]
alias :statistics :stats
end
end
end
| mit |
kinkinweb/lhvb | vendor/sonata-project/ecommerce/src/OrderBundle/DependencyInjection/SonataOrderExtension.php | 5060 | <?php
/*
* This file is part of the Sonata package.
*
* (c) Thomas Rabaix <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sonata\OrderBundle\DependencyInjection;
use Sonata\EasyExtendsBundle\Mapper\DoctrineCollector;
use Symfony\Component\Config\Definition\Processor;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
/**
* @author Thomas Rabaix <[email protected]>
*/
class SonataOrderExtension extends Extension
{
/**
* Loads the order configuration.
*
* @param array $configs An array of configuration settings
* @param ContainerBuilder $container A ContainerBuilder instance
*/
public function load(array $configs, ContainerBuilder $container)
{
$processor = new Processor();
$configuration = new Configuration();
$config = $processor->processConfiguration($configuration, $configs);
$bundles = $container->getParameter('kernel.bundles');
$loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
$loader->load('block.xml');
$loader->load('orm.xml');
$loader->load('form.xml');
$loader->load('twig.xml');
if (isset($bundles['FOSRestBundle']) && isset($bundles['NelmioApiDocBundle'])) {
$loader->load('api_controllers.xml');
$loader->load('serializer.xml');
}
if (isset($bundles['SonataAdminBundle'])) {
$loader->load('admin.xml');
}
if (isset($bundles['SonataSeoBundle'])) {
$loader->load('seo_block.xml');
}
$this->registerDoctrineMapping($config);
$this->registerParameters($container, $config);
}
/**
* @param \Symfony\Component\DependencyInjection\ContainerBuilder $container
* @param array $config
*/
public function registerParameters(ContainerBuilder $container, array $config)
{
$container->setParameter('sonata.order.order.class', $config['class']['order']);
$container->setParameter('sonata.order.order_element.class', $config['class']['order_element']);
$container->setParameter('sonata.order.admin.order.entity', $config['class']['order']);
$container->setParameter('sonata.order.admin.order_element.entity', $config['class']['order_element']);
}
/**
* @param array $config
*/
public function registerDoctrineMapping(array $config)
{
if (!class_exists($config['class']['order'])) {
return;
}
$collector = DoctrineCollector::getInstance();
$collector->addAssociation($config['class']['order'], 'mapOneToMany', array(
'fieldName' => 'orderElements',
'targetEntity' => $config['class']['order_element'],
'cascade' => array(
'persist',
),
'mappedBy' => 'order',
'orphanRemoval' => false,
));
$collector->addAssociation($config['class']['order'], 'mapManyToOne', array(
'fieldName' => 'customer',
'targetEntity' => $config['class']['customer'],
'cascade' => array(),
'mappedBy' => null,
'inversedBy' => 'orders',
'joinColumns' => array(
array(
'name' => 'customer_id',
'referencedColumnName' => 'id',
'onDelete' => 'SET NULL',
),
),
'orphanRemoval' => false,
));
$collector->addAssociation($config['class']['order_element'], 'mapManyToOne', array(
'fieldName' => 'order',
'targetEntity' => $config['class']['order'],
'cascade' => array(),
'mappedBy' => null,
'inversedBy' => null,
'joinColumns' => array(
array(
'name' => 'order_id',
'referencedColumnName' => 'id',
'onDelete' => 'CASCADE',
),
),
'orphanRemoval' => false,
));
$collector->addIndex($config['class']['order_element'], 'product_type', array(
'product_type',
));
$collector->addIndex($config['class']['order_element'], 'order_element_status', array(
'status',
));
$collector->addIndex($config['class']['order'], 'order_status', array(
'status',
));
$collector->addIndex($config['class']['order'], 'payment_status', array(
'payment_status',
));
}
}
| mit |
yogeshsaroya/new-cdnjs | ajax/libs/gsap/1.9.8/plugins/BezierPlugin.min.js | 129 | version https://git-lfs.github.com/spec/v1
oid sha256:28e77db835108e7a406019be04742ffc0fbc33b2d0edee1f63d020eb16b16f70
size 8033
| mit |
takuya-takeuchi/Demo | Xamarin.Forms.Portable4/Xamarin.Forms.Portable4/Xamarin.Forms.Portable4.Droid/Resources/Resource.Designer.cs | 242381 | #pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// このコードはツールによって生成されました。
// ランタイム バージョン:4.0.30319.42000
//
// このファイルへの変更は、以下の状況下で不正な動作の原因になったり、
// コードが再生成されるときに損失したりします。
// </auto-generated>
//------------------------------------------------------------------------------
[assembly: global::Android.Runtime.ResourceDesignerAttribute("Xamarin.Forms.Portable4.Droid.Resource", IsApplication=true)]
namespace Xamarin.Forms.Portable4.Droid
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "1.0.0.0")]
public partial class Resource
{
static Resource()
{
global::Android.Runtime.ResourceIdManager.UpdateIdValues();
}
public static void UpdateIdValues()
{
global::Xamarin.Forms.Platform.Resource.Animation.abc_fade_in = global::Xamarin.Forms.Portable4.Droid.Resource.Animation.abc_fade_in;
global::Xamarin.Forms.Platform.Resource.Animation.abc_fade_out = global::Xamarin.Forms.Portable4.Droid.Resource.Animation.abc_fade_out;
global::Xamarin.Forms.Platform.Resource.Animation.abc_grow_fade_in_from_bottom = global::Xamarin.Forms.Portable4.Droid.Resource.Animation.abc_grow_fade_in_from_bottom;
global::Xamarin.Forms.Platform.Resource.Animation.abc_popup_enter = global::Xamarin.Forms.Portable4.Droid.Resource.Animation.abc_popup_enter;
global::Xamarin.Forms.Platform.Resource.Animation.abc_popup_exit = global::Xamarin.Forms.Portable4.Droid.Resource.Animation.abc_popup_exit;
global::Xamarin.Forms.Platform.Resource.Animation.abc_shrink_fade_out_from_bottom = global::Xamarin.Forms.Portable4.Droid.Resource.Animation.abc_shrink_fade_out_from_bottom;
global::Xamarin.Forms.Platform.Resource.Animation.abc_slide_in_bottom = global::Xamarin.Forms.Portable4.Droid.Resource.Animation.abc_slide_in_bottom;
global::Xamarin.Forms.Platform.Resource.Animation.abc_slide_in_top = global::Xamarin.Forms.Portable4.Droid.Resource.Animation.abc_slide_in_top;
global::Xamarin.Forms.Platform.Resource.Animation.abc_slide_out_bottom = global::Xamarin.Forms.Portable4.Droid.Resource.Animation.abc_slide_out_bottom;
global::Xamarin.Forms.Platform.Resource.Animation.abc_slide_out_top = global::Xamarin.Forms.Portable4.Droid.Resource.Animation.abc_slide_out_top;
global::Xamarin.Forms.Platform.Resource.Animation.design_fab_in = global::Xamarin.Forms.Portable4.Droid.Resource.Animation.design_fab_in;
global::Xamarin.Forms.Platform.Resource.Animation.design_fab_out = global::Xamarin.Forms.Portable4.Droid.Resource.Animation.design_fab_out;
global::Xamarin.Forms.Platform.Resource.Animation.design_snackbar_in = global::Xamarin.Forms.Portable4.Droid.Resource.Animation.design_snackbar_in;
global::Xamarin.Forms.Platform.Resource.Animation.design_snackbar_out = global::Xamarin.Forms.Portable4.Droid.Resource.Animation.design_snackbar_out;
global::Xamarin.Forms.Platform.Resource.Attribute.actionBarDivider = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.actionBarDivider;
global::Xamarin.Forms.Platform.Resource.Attribute.actionBarItemBackground = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.actionBarItemBackground;
global::Xamarin.Forms.Platform.Resource.Attribute.actionBarPopupTheme = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.actionBarPopupTheme;
global::Xamarin.Forms.Platform.Resource.Attribute.actionBarSize = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.actionBarSize;
global::Xamarin.Forms.Platform.Resource.Attribute.actionBarSplitStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.actionBarSplitStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.actionBarStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.actionBarStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.actionBarTabBarStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.actionBarTabBarStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.actionBarTabStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.actionBarTabStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.actionBarTabTextStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.actionBarTabTextStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.actionBarTheme = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.actionBarTheme;
global::Xamarin.Forms.Platform.Resource.Attribute.actionBarWidgetTheme = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.actionBarWidgetTheme;
global::Xamarin.Forms.Platform.Resource.Attribute.actionButtonStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.actionButtonStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.actionDropDownStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.actionDropDownStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.actionLayout = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.actionLayout;
global::Xamarin.Forms.Platform.Resource.Attribute.actionMenuTextAppearance = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.actionMenuTextAppearance;
global::Xamarin.Forms.Platform.Resource.Attribute.actionMenuTextColor = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.actionMenuTextColor;
global::Xamarin.Forms.Platform.Resource.Attribute.actionModeBackground = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.actionModeBackground;
global::Xamarin.Forms.Platform.Resource.Attribute.actionModeCloseButtonStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.actionModeCloseButtonStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.actionModeCloseDrawable = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.actionModeCloseDrawable;
global::Xamarin.Forms.Platform.Resource.Attribute.actionModeCopyDrawable = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.actionModeCopyDrawable;
global::Xamarin.Forms.Platform.Resource.Attribute.actionModeCutDrawable = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.actionModeCutDrawable;
global::Xamarin.Forms.Platform.Resource.Attribute.actionModeFindDrawable = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.actionModeFindDrawable;
global::Xamarin.Forms.Platform.Resource.Attribute.actionModePasteDrawable = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.actionModePasteDrawable;
global::Xamarin.Forms.Platform.Resource.Attribute.actionModePopupWindowStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.actionModePopupWindowStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.actionModeSelectAllDrawable = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.actionModeSelectAllDrawable;
global::Xamarin.Forms.Platform.Resource.Attribute.actionModeShareDrawable = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.actionModeShareDrawable;
global::Xamarin.Forms.Platform.Resource.Attribute.actionModeSplitBackground = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.actionModeSplitBackground;
global::Xamarin.Forms.Platform.Resource.Attribute.actionModeStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.actionModeStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.actionModeWebSearchDrawable = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.actionModeWebSearchDrawable;
global::Xamarin.Forms.Platform.Resource.Attribute.actionOverflowButtonStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.actionOverflowButtonStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.actionOverflowMenuStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.actionOverflowMenuStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.actionProviderClass = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.actionProviderClass;
global::Xamarin.Forms.Platform.Resource.Attribute.actionViewClass = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.actionViewClass;
global::Xamarin.Forms.Platform.Resource.Attribute.activityChooserViewStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.activityChooserViewStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.alertDialogButtonGroupStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.alertDialogButtonGroupStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.alertDialogCenterButtons = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.alertDialogCenterButtons;
global::Xamarin.Forms.Platform.Resource.Attribute.alertDialogStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.alertDialogStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.alertDialogTheme = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.alertDialogTheme;
global::Xamarin.Forms.Platform.Resource.Attribute.arrowHeadLength = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.arrowHeadLength;
global::Xamarin.Forms.Platform.Resource.Attribute.arrowShaftLength = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.arrowShaftLength;
global::Xamarin.Forms.Platform.Resource.Attribute.autoCompleteTextViewStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.autoCompleteTextViewStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.background = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.background;
global::Xamarin.Forms.Platform.Resource.Attribute.backgroundSplit = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.backgroundSplit;
global::Xamarin.Forms.Platform.Resource.Attribute.backgroundStacked = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.backgroundStacked;
global::Xamarin.Forms.Platform.Resource.Attribute.backgroundTint = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.backgroundTint;
global::Xamarin.Forms.Platform.Resource.Attribute.backgroundTintMode = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.backgroundTintMode;
global::Xamarin.Forms.Platform.Resource.Attribute.barLength = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.barLength;
global::Xamarin.Forms.Platform.Resource.Attribute.behavior_overlapTop = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.behavior_overlapTop;
global::Xamarin.Forms.Platform.Resource.Attribute.borderWidth = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.borderWidth;
global::Xamarin.Forms.Platform.Resource.Attribute.borderlessButtonStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.borderlessButtonStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.buttonBarButtonStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.buttonBarButtonStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.buttonBarNegativeButtonStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.buttonBarNegativeButtonStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.buttonBarNeutralButtonStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.buttonBarNeutralButtonStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.buttonBarPositiveButtonStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.buttonBarPositiveButtonStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.buttonBarStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.buttonBarStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.buttonPanelSideLayout = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.buttonPanelSideLayout;
global::Xamarin.Forms.Platform.Resource.Attribute.buttonStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.buttonStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.buttonStyleSmall = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.buttonStyleSmall;
global::Xamarin.Forms.Platform.Resource.Attribute.buttonTint = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.buttonTint;
global::Xamarin.Forms.Platform.Resource.Attribute.buttonTintMode = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.buttonTintMode;
global::Xamarin.Forms.Platform.Resource.Attribute.cardBackgroundColor = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.cardBackgroundColor;
global::Xamarin.Forms.Platform.Resource.Attribute.cardCornerRadius = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.cardCornerRadius;
global::Xamarin.Forms.Platform.Resource.Attribute.cardElevation = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.cardElevation;
global::Xamarin.Forms.Platform.Resource.Attribute.cardMaxElevation = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.cardMaxElevation;
global::Xamarin.Forms.Platform.Resource.Attribute.cardPreventCornerOverlap = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.cardPreventCornerOverlap;
global::Xamarin.Forms.Platform.Resource.Attribute.cardUseCompatPadding = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.cardUseCompatPadding;
global::Xamarin.Forms.Platform.Resource.Attribute.checkboxStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.checkboxStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.checkedTextViewStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.checkedTextViewStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.closeIcon = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.closeIcon;
global::Xamarin.Forms.Platform.Resource.Attribute.closeItemLayout = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.closeItemLayout;
global::Xamarin.Forms.Platform.Resource.Attribute.collapseContentDescription = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.collapseContentDescription;
global::Xamarin.Forms.Platform.Resource.Attribute.collapseIcon = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.collapseIcon;
global::Xamarin.Forms.Platform.Resource.Attribute.collapsedTitleGravity = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.collapsedTitleGravity;
global::Xamarin.Forms.Platform.Resource.Attribute.collapsedTitleTextAppearance = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.collapsedTitleTextAppearance;
global::Xamarin.Forms.Platform.Resource.Attribute.color = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.color;
global::Xamarin.Forms.Platform.Resource.Attribute.colorAccent = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.colorAccent;
global::Xamarin.Forms.Platform.Resource.Attribute.colorButtonNormal = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.colorButtonNormal;
global::Xamarin.Forms.Platform.Resource.Attribute.colorControlActivated = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.colorControlActivated;
global::Xamarin.Forms.Platform.Resource.Attribute.colorControlHighlight = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.colorControlHighlight;
global::Xamarin.Forms.Platform.Resource.Attribute.colorControlNormal = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.colorControlNormal;
global::Xamarin.Forms.Platform.Resource.Attribute.colorPrimary = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.colorPrimary;
global::Xamarin.Forms.Platform.Resource.Attribute.colorPrimaryDark = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.colorPrimaryDark;
global::Xamarin.Forms.Platform.Resource.Attribute.colorSwitchThumbNormal = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.colorSwitchThumbNormal;
global::Xamarin.Forms.Platform.Resource.Attribute.commitIcon = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.commitIcon;
global::Xamarin.Forms.Platform.Resource.Attribute.contentInsetEnd = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.contentInsetEnd;
global::Xamarin.Forms.Platform.Resource.Attribute.contentInsetLeft = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.contentInsetLeft;
global::Xamarin.Forms.Platform.Resource.Attribute.contentInsetRight = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.contentInsetRight;
global::Xamarin.Forms.Platform.Resource.Attribute.contentInsetStart = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.contentInsetStart;
global::Xamarin.Forms.Platform.Resource.Attribute.contentPadding = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.contentPadding;
global::Xamarin.Forms.Platform.Resource.Attribute.contentPaddingBottom = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.contentPaddingBottom;
global::Xamarin.Forms.Platform.Resource.Attribute.contentPaddingLeft = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.contentPaddingLeft;
global::Xamarin.Forms.Platform.Resource.Attribute.contentPaddingRight = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.contentPaddingRight;
global::Xamarin.Forms.Platform.Resource.Attribute.contentPaddingTop = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.contentPaddingTop;
global::Xamarin.Forms.Platform.Resource.Attribute.contentScrim = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.contentScrim;
global::Xamarin.Forms.Platform.Resource.Attribute.controlBackground = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.controlBackground;
global::Xamarin.Forms.Platform.Resource.Attribute.customNavigationLayout = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.customNavigationLayout;
global::Xamarin.Forms.Platform.Resource.Attribute.defaultQueryHint = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.defaultQueryHint;
global::Xamarin.Forms.Platform.Resource.Attribute.dialogPreferredPadding = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.dialogPreferredPadding;
global::Xamarin.Forms.Platform.Resource.Attribute.dialogTheme = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.dialogTheme;
global::Xamarin.Forms.Platform.Resource.Attribute.displayOptions = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.displayOptions;
global::Xamarin.Forms.Platform.Resource.Attribute.divider = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.divider;
global::Xamarin.Forms.Platform.Resource.Attribute.dividerHorizontal = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.dividerHorizontal;
global::Xamarin.Forms.Platform.Resource.Attribute.dividerPadding = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.dividerPadding;
global::Xamarin.Forms.Platform.Resource.Attribute.dividerVertical = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.dividerVertical;
global::Xamarin.Forms.Platform.Resource.Attribute.drawableSize = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.drawableSize;
global::Xamarin.Forms.Platform.Resource.Attribute.drawerArrowStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.drawerArrowStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.dropDownListViewStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.dropDownListViewStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.dropdownListPreferredItemHeight = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.dropdownListPreferredItemHeight;
global::Xamarin.Forms.Platform.Resource.Attribute.editTextBackground = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.editTextBackground;
global::Xamarin.Forms.Platform.Resource.Attribute.editTextColor = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.editTextColor;
global::Xamarin.Forms.Platform.Resource.Attribute.editTextStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.editTextStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.elevation = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.elevation;
global::Xamarin.Forms.Platform.Resource.Attribute.errorEnabled = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.errorEnabled;
global::Xamarin.Forms.Platform.Resource.Attribute.errorTextAppearance = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.errorTextAppearance;
global::Xamarin.Forms.Platform.Resource.Attribute.expandActivityOverflowButtonDrawable = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.expandActivityOverflowButtonDrawable;
global::Xamarin.Forms.Platform.Resource.Attribute.expanded = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.expanded;
global::Xamarin.Forms.Platform.Resource.Attribute.expandedTitleGravity = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.expandedTitleGravity;
global::Xamarin.Forms.Platform.Resource.Attribute.expandedTitleMargin = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.expandedTitleMargin;
global::Xamarin.Forms.Platform.Resource.Attribute.expandedTitleMarginBottom = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.expandedTitleMarginBottom;
global::Xamarin.Forms.Platform.Resource.Attribute.expandedTitleMarginEnd = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.expandedTitleMarginEnd;
global::Xamarin.Forms.Platform.Resource.Attribute.expandedTitleMarginStart = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.expandedTitleMarginStart;
global::Xamarin.Forms.Platform.Resource.Attribute.expandedTitleMarginTop = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.expandedTitleMarginTop;
global::Xamarin.Forms.Platform.Resource.Attribute.expandedTitleTextAppearance = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.expandedTitleTextAppearance;
global::Xamarin.Forms.Platform.Resource.Attribute.fabSize = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.fabSize;
global::Xamarin.Forms.Platform.Resource.Attribute.gapBetweenBars = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.gapBetweenBars;
global::Xamarin.Forms.Platform.Resource.Attribute.goIcon = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.goIcon;
global::Xamarin.Forms.Platform.Resource.Attribute.headerLayout = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.headerLayout;
global::Xamarin.Forms.Platform.Resource.Attribute.height = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.height;
global::Xamarin.Forms.Platform.Resource.Attribute.hideOnContentScroll = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.hideOnContentScroll;
global::Xamarin.Forms.Platform.Resource.Attribute.hintAnimationEnabled = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.hintAnimationEnabled;
global::Xamarin.Forms.Platform.Resource.Attribute.hintTextAppearance = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.hintTextAppearance;
global::Xamarin.Forms.Platform.Resource.Attribute.homeAsUpIndicator = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.homeAsUpIndicator;
global::Xamarin.Forms.Platform.Resource.Attribute.homeLayout = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.homeLayout;
global::Xamarin.Forms.Platform.Resource.Attribute.icon = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.icon;
global::Xamarin.Forms.Platform.Resource.Attribute.iconifiedByDefault = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.iconifiedByDefault;
global::Xamarin.Forms.Platform.Resource.Attribute.indeterminateProgressStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.indeterminateProgressStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.initialActivityCount = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.initialActivityCount;
global::Xamarin.Forms.Platform.Resource.Attribute.insetForeground = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.insetForeground;
global::Xamarin.Forms.Platform.Resource.Attribute.isLightTheme = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.isLightTheme;
global::Xamarin.Forms.Platform.Resource.Attribute.itemBackground = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.itemBackground;
global::Xamarin.Forms.Platform.Resource.Attribute.itemIconTint = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.itemIconTint;
global::Xamarin.Forms.Platform.Resource.Attribute.itemPadding = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.itemPadding;
global::Xamarin.Forms.Platform.Resource.Attribute.itemTextAppearance = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.itemTextAppearance;
global::Xamarin.Forms.Platform.Resource.Attribute.itemTextColor = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.itemTextColor;
global::Xamarin.Forms.Platform.Resource.Attribute.keylines = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.keylines;
global::Xamarin.Forms.Platform.Resource.Attribute.layout = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.layout;
global::Xamarin.Forms.Platform.Resource.Attribute.layout_anchor = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.layout_anchor;
global::Xamarin.Forms.Platform.Resource.Attribute.layout_anchorGravity = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.layout_anchorGravity;
global::Xamarin.Forms.Platform.Resource.Attribute.layout_behavior = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.layout_behavior;
global::Xamarin.Forms.Platform.Resource.Attribute.layout_collapseMode = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.layout_collapseMode;
global::Xamarin.Forms.Platform.Resource.Attribute.layout_collapseParallaxMultiplier = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.layout_collapseParallaxMultiplier;
global::Xamarin.Forms.Platform.Resource.Attribute.layout_keyline = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.layout_keyline;
global::Xamarin.Forms.Platform.Resource.Attribute.layout_scrollFlags = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.layout_scrollFlags;
global::Xamarin.Forms.Platform.Resource.Attribute.layout_scrollInterpolator = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.layout_scrollInterpolator;
global::Xamarin.Forms.Platform.Resource.Attribute.listChoiceBackgroundIndicator = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.listChoiceBackgroundIndicator;
global::Xamarin.Forms.Platform.Resource.Attribute.listDividerAlertDialog = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.listDividerAlertDialog;
global::Xamarin.Forms.Platform.Resource.Attribute.listItemLayout = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.listItemLayout;
global::Xamarin.Forms.Platform.Resource.Attribute.listLayout = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.listLayout;
global::Xamarin.Forms.Platform.Resource.Attribute.listPopupWindowStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.listPopupWindowStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.listPreferredItemHeight = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.listPreferredItemHeight;
global::Xamarin.Forms.Platform.Resource.Attribute.listPreferredItemHeightLarge = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.listPreferredItemHeightLarge;
global::Xamarin.Forms.Platform.Resource.Attribute.listPreferredItemHeightSmall = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.listPreferredItemHeightSmall;
global::Xamarin.Forms.Platform.Resource.Attribute.listPreferredItemPaddingLeft = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.listPreferredItemPaddingLeft;
global::Xamarin.Forms.Platform.Resource.Attribute.listPreferredItemPaddingRight = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.listPreferredItemPaddingRight;
global::Xamarin.Forms.Platform.Resource.Attribute.logo = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.logo;
global::Xamarin.Forms.Platform.Resource.Attribute.logoDescription = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.logoDescription;
global::Xamarin.Forms.Platform.Resource.Attribute.maxActionInlineWidth = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.maxActionInlineWidth;
global::Xamarin.Forms.Platform.Resource.Attribute.maxButtonHeight = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.maxButtonHeight;
global::Xamarin.Forms.Platform.Resource.Attribute.measureWithLargestChild = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.measureWithLargestChild;
global::Xamarin.Forms.Platform.Resource.Attribute.menu = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.menu;
global::Xamarin.Forms.Platform.Resource.Attribute.multiChoiceItemLayout = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.multiChoiceItemLayout;
global::Xamarin.Forms.Platform.Resource.Attribute.navigationContentDescription = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.navigationContentDescription;
global::Xamarin.Forms.Platform.Resource.Attribute.navigationIcon = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.navigationIcon;
global::Xamarin.Forms.Platform.Resource.Attribute.navigationMode = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.navigationMode;
global::Xamarin.Forms.Platform.Resource.Attribute.overlapAnchor = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.overlapAnchor;
global::Xamarin.Forms.Platform.Resource.Attribute.paddingEnd = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.paddingEnd;
global::Xamarin.Forms.Platform.Resource.Attribute.paddingStart = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.paddingStart;
global::Xamarin.Forms.Platform.Resource.Attribute.panelBackground = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.panelBackground;
global::Xamarin.Forms.Platform.Resource.Attribute.panelMenuListTheme = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.panelMenuListTheme;
global::Xamarin.Forms.Platform.Resource.Attribute.panelMenuListWidth = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.panelMenuListWidth;
global::Xamarin.Forms.Platform.Resource.Attribute.popupMenuStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.popupMenuStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.popupTheme = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.popupTheme;
global::Xamarin.Forms.Platform.Resource.Attribute.popupWindowStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.popupWindowStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.preserveIconSpacing = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.preserveIconSpacing;
global::Xamarin.Forms.Platform.Resource.Attribute.pressedTranslationZ = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.pressedTranslationZ;
global::Xamarin.Forms.Platform.Resource.Attribute.progressBarPadding = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.progressBarPadding;
global::Xamarin.Forms.Platform.Resource.Attribute.progressBarStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.progressBarStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.queryBackground = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.queryBackground;
global::Xamarin.Forms.Platform.Resource.Attribute.queryHint = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.queryHint;
global::Xamarin.Forms.Platform.Resource.Attribute.radioButtonStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.radioButtonStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.ratingBarStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.ratingBarStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.rippleColor = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.rippleColor;
global::Xamarin.Forms.Platform.Resource.Attribute.searchHintIcon = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.searchHintIcon;
global::Xamarin.Forms.Platform.Resource.Attribute.searchIcon = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.searchIcon;
global::Xamarin.Forms.Platform.Resource.Attribute.searchViewStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.searchViewStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.selectableItemBackground = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.selectableItemBackground;
global::Xamarin.Forms.Platform.Resource.Attribute.selectableItemBackgroundBorderless = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.selectableItemBackgroundBorderless;
global::Xamarin.Forms.Platform.Resource.Attribute.showAsAction = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.showAsAction;
global::Xamarin.Forms.Platform.Resource.Attribute.showDividers = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.showDividers;
global::Xamarin.Forms.Platform.Resource.Attribute.showText = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.showText;
global::Xamarin.Forms.Platform.Resource.Attribute.singleChoiceItemLayout = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.singleChoiceItemLayout;
global::Xamarin.Forms.Platform.Resource.Attribute.spinBars = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.spinBars;
global::Xamarin.Forms.Platform.Resource.Attribute.spinnerDropDownItemStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.spinnerDropDownItemStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.spinnerStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.spinnerStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.splitTrack = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.splitTrack;
global::Xamarin.Forms.Platform.Resource.Attribute.state_above_anchor = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.state_above_anchor;
global::Xamarin.Forms.Platform.Resource.Attribute.statusBarBackground = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.statusBarBackground;
global::Xamarin.Forms.Platform.Resource.Attribute.statusBarScrim = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.statusBarScrim;
global::Xamarin.Forms.Platform.Resource.Attribute.submitBackground = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.submitBackground;
global::Xamarin.Forms.Platform.Resource.Attribute.subtitle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.subtitle;
global::Xamarin.Forms.Platform.Resource.Attribute.subtitleTextAppearance = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.subtitleTextAppearance;
global::Xamarin.Forms.Platform.Resource.Attribute.subtitleTextColor = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.subtitleTextColor;
global::Xamarin.Forms.Platform.Resource.Attribute.subtitleTextStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.subtitleTextStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.suggestionRowLayout = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.suggestionRowLayout;
global::Xamarin.Forms.Platform.Resource.Attribute.switchMinWidth = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.switchMinWidth;
global::Xamarin.Forms.Platform.Resource.Attribute.switchPadding = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.switchPadding;
global::Xamarin.Forms.Platform.Resource.Attribute.switchStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.switchStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.switchTextAppearance = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.switchTextAppearance;
global::Xamarin.Forms.Platform.Resource.Attribute.tabBackground = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.tabBackground;
global::Xamarin.Forms.Platform.Resource.Attribute.tabContentStart = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.tabContentStart;
global::Xamarin.Forms.Platform.Resource.Attribute.tabGravity = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.tabGravity;
global::Xamarin.Forms.Platform.Resource.Attribute.tabIndicatorColor = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.tabIndicatorColor;
global::Xamarin.Forms.Platform.Resource.Attribute.tabIndicatorHeight = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.tabIndicatorHeight;
global::Xamarin.Forms.Platform.Resource.Attribute.tabMaxWidth = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.tabMaxWidth;
global::Xamarin.Forms.Platform.Resource.Attribute.tabMinWidth = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.tabMinWidth;
global::Xamarin.Forms.Platform.Resource.Attribute.tabMode = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.tabMode;
global::Xamarin.Forms.Platform.Resource.Attribute.tabPadding = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.tabPadding;
global::Xamarin.Forms.Platform.Resource.Attribute.tabPaddingBottom = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.tabPaddingBottom;
global::Xamarin.Forms.Platform.Resource.Attribute.tabPaddingEnd = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.tabPaddingEnd;
global::Xamarin.Forms.Platform.Resource.Attribute.tabPaddingStart = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.tabPaddingStart;
global::Xamarin.Forms.Platform.Resource.Attribute.tabPaddingTop = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.tabPaddingTop;
global::Xamarin.Forms.Platform.Resource.Attribute.tabSelectedTextColor = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.tabSelectedTextColor;
global::Xamarin.Forms.Platform.Resource.Attribute.tabTextAppearance = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.tabTextAppearance;
global::Xamarin.Forms.Platform.Resource.Attribute.tabTextColor = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.tabTextColor;
global::Xamarin.Forms.Platform.Resource.Attribute.textAllCaps = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.textAllCaps;
global::Xamarin.Forms.Platform.Resource.Attribute.textAppearanceLargePopupMenu = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.textAppearanceLargePopupMenu;
global::Xamarin.Forms.Platform.Resource.Attribute.textAppearanceListItem = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.textAppearanceListItem;
global::Xamarin.Forms.Platform.Resource.Attribute.textAppearanceListItemSmall = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.textAppearanceListItemSmall;
global::Xamarin.Forms.Platform.Resource.Attribute.textAppearanceSearchResultSubtitle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.textAppearanceSearchResultSubtitle;
global::Xamarin.Forms.Platform.Resource.Attribute.textAppearanceSearchResultTitle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.textAppearanceSearchResultTitle;
global::Xamarin.Forms.Platform.Resource.Attribute.textAppearanceSmallPopupMenu = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.textAppearanceSmallPopupMenu;
global::Xamarin.Forms.Platform.Resource.Attribute.textColorAlertDialogListItem = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.textColorAlertDialogListItem;
global::Xamarin.Forms.Platform.Resource.Attribute.textColorSearchUrl = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.textColorSearchUrl;
global::Xamarin.Forms.Platform.Resource.Attribute.theme = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.theme;
global::Xamarin.Forms.Platform.Resource.Attribute.thickness = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.thickness;
global::Xamarin.Forms.Platform.Resource.Attribute.thumbTextPadding = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.thumbTextPadding;
global::Xamarin.Forms.Platform.Resource.Attribute.title = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.title;
global::Xamarin.Forms.Platform.Resource.Attribute.titleEnabled = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.titleEnabled;
global::Xamarin.Forms.Platform.Resource.Attribute.titleMarginBottom = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.titleMarginBottom;
global::Xamarin.Forms.Platform.Resource.Attribute.titleMarginEnd = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.titleMarginEnd;
global::Xamarin.Forms.Platform.Resource.Attribute.titleMarginStart = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.titleMarginStart;
global::Xamarin.Forms.Platform.Resource.Attribute.titleMarginTop = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.titleMarginTop;
global::Xamarin.Forms.Platform.Resource.Attribute.titleMargins = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.titleMargins;
global::Xamarin.Forms.Platform.Resource.Attribute.titleTextAppearance = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.titleTextAppearance;
global::Xamarin.Forms.Platform.Resource.Attribute.titleTextColor = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.titleTextColor;
global::Xamarin.Forms.Platform.Resource.Attribute.titleTextStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.titleTextStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.toolbarId = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.toolbarId;
global::Xamarin.Forms.Platform.Resource.Attribute.toolbarNavigationButtonStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.toolbarNavigationButtonStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.toolbarStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.toolbarStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.track = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.track;
global::Xamarin.Forms.Platform.Resource.Attribute.voiceIcon = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.voiceIcon;
global::Xamarin.Forms.Platform.Resource.Attribute.windowActionBar = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.windowActionBar;
global::Xamarin.Forms.Platform.Resource.Attribute.windowActionBarOverlay = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.windowActionBarOverlay;
global::Xamarin.Forms.Platform.Resource.Attribute.windowActionModeOverlay = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.windowActionModeOverlay;
global::Xamarin.Forms.Platform.Resource.Attribute.windowFixedHeightMajor = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.windowFixedHeightMajor;
global::Xamarin.Forms.Platform.Resource.Attribute.windowFixedHeightMinor = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.windowFixedHeightMinor;
global::Xamarin.Forms.Platform.Resource.Attribute.windowFixedWidthMajor = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.windowFixedWidthMajor;
global::Xamarin.Forms.Platform.Resource.Attribute.windowFixedWidthMinor = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.windowFixedWidthMinor;
global::Xamarin.Forms.Platform.Resource.Attribute.windowMinWidthMajor = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.windowMinWidthMajor;
global::Xamarin.Forms.Platform.Resource.Attribute.windowMinWidthMinor = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.windowMinWidthMinor;
global::Xamarin.Forms.Platform.Resource.Attribute.windowNoTitle = global::Xamarin.Forms.Portable4.Droid.Resource.Attribute.windowNoTitle;
global::Xamarin.Forms.Platform.Resource.Boolean.abc_action_bar_embed_tabs = global::Xamarin.Forms.Portable4.Droid.Resource.Boolean.abc_action_bar_embed_tabs;
global::Xamarin.Forms.Platform.Resource.Boolean.abc_action_bar_embed_tabs_pre_jb = global::Xamarin.Forms.Portable4.Droid.Resource.Boolean.abc_action_bar_embed_tabs_pre_jb;
global::Xamarin.Forms.Platform.Resource.Boolean.abc_action_bar_expanded_action_views_exclusive = global::Xamarin.Forms.Portable4.Droid.Resource.Boolean.abc_action_bar_expanded_action_views_exclusive;
global::Xamarin.Forms.Platform.Resource.Boolean.abc_config_actionMenuItemAllCaps = global::Xamarin.Forms.Portable4.Droid.Resource.Boolean.abc_config_actionMenuItemAllCaps;
global::Xamarin.Forms.Platform.Resource.Boolean.abc_config_allowActionMenuItemTextWithIcon = global::Xamarin.Forms.Portable4.Droid.Resource.Boolean.abc_config_allowActionMenuItemTextWithIcon;
global::Xamarin.Forms.Platform.Resource.Boolean.abc_config_closeDialogWhenTouchOutside = global::Xamarin.Forms.Portable4.Droid.Resource.Boolean.abc_config_closeDialogWhenTouchOutside;
global::Xamarin.Forms.Platform.Resource.Boolean.abc_config_showMenuShortcutsWhenKeyboardPresent = global::Xamarin.Forms.Portable4.Droid.Resource.Boolean.abc_config_showMenuShortcutsWhenKeyboardPresent;
global::Xamarin.Forms.Platform.Resource.Color.abc_background_cache_hint_selector_material_dark = global::Xamarin.Forms.Portable4.Droid.Resource.Color.abc_background_cache_hint_selector_material_dark;
global::Xamarin.Forms.Platform.Resource.Color.abc_background_cache_hint_selector_material_light = global::Xamarin.Forms.Portable4.Droid.Resource.Color.abc_background_cache_hint_selector_material_light;
global::Xamarin.Forms.Platform.Resource.Color.abc_color_highlight_material = global::Xamarin.Forms.Portable4.Droid.Resource.Color.abc_color_highlight_material;
global::Xamarin.Forms.Platform.Resource.Color.abc_input_method_navigation_guard = global::Xamarin.Forms.Portable4.Droid.Resource.Color.abc_input_method_navigation_guard;
global::Xamarin.Forms.Platform.Resource.Color.abc_primary_text_disable_only_material_dark = global::Xamarin.Forms.Portable4.Droid.Resource.Color.abc_primary_text_disable_only_material_dark;
global::Xamarin.Forms.Platform.Resource.Color.abc_primary_text_disable_only_material_light = global::Xamarin.Forms.Portable4.Droid.Resource.Color.abc_primary_text_disable_only_material_light;
global::Xamarin.Forms.Platform.Resource.Color.abc_primary_text_material_dark = global::Xamarin.Forms.Portable4.Droid.Resource.Color.abc_primary_text_material_dark;
global::Xamarin.Forms.Platform.Resource.Color.abc_primary_text_material_light = global::Xamarin.Forms.Portable4.Droid.Resource.Color.abc_primary_text_material_light;
global::Xamarin.Forms.Platform.Resource.Color.abc_search_url_text = global::Xamarin.Forms.Portable4.Droid.Resource.Color.abc_search_url_text;
global::Xamarin.Forms.Platform.Resource.Color.abc_search_url_text_normal = global::Xamarin.Forms.Portable4.Droid.Resource.Color.abc_search_url_text_normal;
global::Xamarin.Forms.Platform.Resource.Color.abc_search_url_text_pressed = global::Xamarin.Forms.Portable4.Droid.Resource.Color.abc_search_url_text_pressed;
global::Xamarin.Forms.Platform.Resource.Color.abc_search_url_text_selected = global::Xamarin.Forms.Portable4.Droid.Resource.Color.abc_search_url_text_selected;
global::Xamarin.Forms.Platform.Resource.Color.abc_secondary_text_material_dark = global::Xamarin.Forms.Portable4.Droid.Resource.Color.abc_secondary_text_material_dark;
global::Xamarin.Forms.Platform.Resource.Color.abc_secondary_text_material_light = global::Xamarin.Forms.Portable4.Droid.Resource.Color.abc_secondary_text_material_light;
global::Xamarin.Forms.Platform.Resource.Color.accent_material_dark = global::Xamarin.Forms.Portable4.Droid.Resource.Color.accent_material_dark;
global::Xamarin.Forms.Platform.Resource.Color.accent_material_light = global::Xamarin.Forms.Portable4.Droid.Resource.Color.accent_material_light;
global::Xamarin.Forms.Platform.Resource.Color.background_floating_material_dark = global::Xamarin.Forms.Portable4.Droid.Resource.Color.background_floating_material_dark;
global::Xamarin.Forms.Platform.Resource.Color.background_floating_material_light = global::Xamarin.Forms.Portable4.Droid.Resource.Color.background_floating_material_light;
global::Xamarin.Forms.Platform.Resource.Color.background_material_dark = global::Xamarin.Forms.Portable4.Droid.Resource.Color.background_material_dark;
global::Xamarin.Forms.Platform.Resource.Color.background_material_light = global::Xamarin.Forms.Portable4.Droid.Resource.Color.background_material_light;
global::Xamarin.Forms.Platform.Resource.Color.bright_foreground_disabled_material_dark = global::Xamarin.Forms.Portable4.Droid.Resource.Color.bright_foreground_disabled_material_dark;
global::Xamarin.Forms.Platform.Resource.Color.bright_foreground_disabled_material_light = global::Xamarin.Forms.Portable4.Droid.Resource.Color.bright_foreground_disabled_material_light;
global::Xamarin.Forms.Platform.Resource.Color.bright_foreground_inverse_material_dark = global::Xamarin.Forms.Portable4.Droid.Resource.Color.bright_foreground_inverse_material_dark;
global::Xamarin.Forms.Platform.Resource.Color.bright_foreground_inverse_material_light = global::Xamarin.Forms.Portable4.Droid.Resource.Color.bright_foreground_inverse_material_light;
global::Xamarin.Forms.Platform.Resource.Color.bright_foreground_material_dark = global::Xamarin.Forms.Portable4.Droid.Resource.Color.bright_foreground_material_dark;
global::Xamarin.Forms.Platform.Resource.Color.bright_foreground_material_light = global::Xamarin.Forms.Portable4.Droid.Resource.Color.bright_foreground_material_light;
global::Xamarin.Forms.Platform.Resource.Color.button_material_dark = global::Xamarin.Forms.Portable4.Droid.Resource.Color.button_material_dark;
global::Xamarin.Forms.Platform.Resource.Color.button_material_light = global::Xamarin.Forms.Portable4.Droid.Resource.Color.button_material_light;
global::Xamarin.Forms.Platform.Resource.Color.cardview_dark_background = global::Xamarin.Forms.Portable4.Droid.Resource.Color.cardview_dark_background;
global::Xamarin.Forms.Platform.Resource.Color.cardview_light_background = global::Xamarin.Forms.Portable4.Droid.Resource.Color.cardview_light_background;
global::Xamarin.Forms.Platform.Resource.Color.cardview_shadow_end_color = global::Xamarin.Forms.Portable4.Droid.Resource.Color.cardview_shadow_end_color;
global::Xamarin.Forms.Platform.Resource.Color.cardview_shadow_start_color = global::Xamarin.Forms.Portable4.Droid.Resource.Color.cardview_shadow_start_color;
global::Xamarin.Forms.Platform.Resource.Color.design_fab_shadow_end_color = global::Xamarin.Forms.Portable4.Droid.Resource.Color.design_fab_shadow_end_color;
global::Xamarin.Forms.Platform.Resource.Color.design_fab_shadow_mid_color = global::Xamarin.Forms.Portable4.Droid.Resource.Color.design_fab_shadow_mid_color;
global::Xamarin.Forms.Platform.Resource.Color.design_fab_shadow_start_color = global::Xamarin.Forms.Portable4.Droid.Resource.Color.design_fab_shadow_start_color;
global::Xamarin.Forms.Platform.Resource.Color.design_fab_stroke_end_inner_color = global::Xamarin.Forms.Portable4.Droid.Resource.Color.design_fab_stroke_end_inner_color;
global::Xamarin.Forms.Platform.Resource.Color.design_fab_stroke_end_outer_color = global::Xamarin.Forms.Portable4.Droid.Resource.Color.design_fab_stroke_end_outer_color;
global::Xamarin.Forms.Platform.Resource.Color.design_fab_stroke_top_inner_color = global::Xamarin.Forms.Portable4.Droid.Resource.Color.design_fab_stroke_top_inner_color;
global::Xamarin.Forms.Platform.Resource.Color.design_fab_stroke_top_outer_color = global::Xamarin.Forms.Portable4.Droid.Resource.Color.design_fab_stroke_top_outer_color;
global::Xamarin.Forms.Platform.Resource.Color.design_snackbar_background_color = global::Xamarin.Forms.Portable4.Droid.Resource.Color.design_snackbar_background_color;
global::Xamarin.Forms.Platform.Resource.Color.design_textinput_error_color = global::Xamarin.Forms.Portable4.Droid.Resource.Color.design_textinput_error_color;
global::Xamarin.Forms.Platform.Resource.Color.dim_foreground_disabled_material_dark = global::Xamarin.Forms.Portable4.Droid.Resource.Color.dim_foreground_disabled_material_dark;
global::Xamarin.Forms.Platform.Resource.Color.dim_foreground_disabled_material_light = global::Xamarin.Forms.Portable4.Droid.Resource.Color.dim_foreground_disabled_material_light;
global::Xamarin.Forms.Platform.Resource.Color.dim_foreground_material_dark = global::Xamarin.Forms.Portable4.Droid.Resource.Color.dim_foreground_material_dark;
global::Xamarin.Forms.Platform.Resource.Color.dim_foreground_material_light = global::Xamarin.Forms.Portable4.Droid.Resource.Color.dim_foreground_material_light;
global::Xamarin.Forms.Platform.Resource.Color.foreground_material_dark = global::Xamarin.Forms.Portable4.Droid.Resource.Color.foreground_material_dark;
global::Xamarin.Forms.Platform.Resource.Color.foreground_material_light = global::Xamarin.Forms.Portable4.Droid.Resource.Color.foreground_material_light;
global::Xamarin.Forms.Platform.Resource.Color.highlighted_text_material_dark = global::Xamarin.Forms.Portable4.Droid.Resource.Color.highlighted_text_material_dark;
global::Xamarin.Forms.Platform.Resource.Color.highlighted_text_material_light = global::Xamarin.Forms.Portable4.Droid.Resource.Color.highlighted_text_material_light;
global::Xamarin.Forms.Platform.Resource.Color.hint_foreground_material_dark = global::Xamarin.Forms.Portable4.Droid.Resource.Color.hint_foreground_material_dark;
global::Xamarin.Forms.Platform.Resource.Color.hint_foreground_material_light = global::Xamarin.Forms.Portable4.Droid.Resource.Color.hint_foreground_material_light;
global::Xamarin.Forms.Platform.Resource.Color.material_blue_grey_800 = global::Xamarin.Forms.Portable4.Droid.Resource.Color.material_blue_grey_800;
global::Xamarin.Forms.Platform.Resource.Color.material_blue_grey_900 = global::Xamarin.Forms.Portable4.Droid.Resource.Color.material_blue_grey_900;
global::Xamarin.Forms.Platform.Resource.Color.material_blue_grey_950 = global::Xamarin.Forms.Portable4.Droid.Resource.Color.material_blue_grey_950;
global::Xamarin.Forms.Platform.Resource.Color.material_deep_teal_200 = global::Xamarin.Forms.Portable4.Droid.Resource.Color.material_deep_teal_200;
global::Xamarin.Forms.Platform.Resource.Color.material_deep_teal_500 = global::Xamarin.Forms.Portable4.Droid.Resource.Color.material_deep_teal_500;
global::Xamarin.Forms.Platform.Resource.Color.material_grey_100 = global::Xamarin.Forms.Portable4.Droid.Resource.Color.material_grey_100;
global::Xamarin.Forms.Platform.Resource.Color.material_grey_300 = global::Xamarin.Forms.Portable4.Droid.Resource.Color.material_grey_300;
global::Xamarin.Forms.Platform.Resource.Color.material_grey_50 = global::Xamarin.Forms.Portable4.Droid.Resource.Color.material_grey_50;
global::Xamarin.Forms.Platform.Resource.Color.material_grey_600 = global::Xamarin.Forms.Portable4.Droid.Resource.Color.material_grey_600;
global::Xamarin.Forms.Platform.Resource.Color.material_grey_800 = global::Xamarin.Forms.Portable4.Droid.Resource.Color.material_grey_800;
global::Xamarin.Forms.Platform.Resource.Color.material_grey_850 = global::Xamarin.Forms.Portable4.Droid.Resource.Color.material_grey_850;
global::Xamarin.Forms.Platform.Resource.Color.material_grey_900 = global::Xamarin.Forms.Portable4.Droid.Resource.Color.material_grey_900;
global::Xamarin.Forms.Platform.Resource.Color.primary_dark_material_dark = global::Xamarin.Forms.Portable4.Droid.Resource.Color.primary_dark_material_dark;
global::Xamarin.Forms.Platform.Resource.Color.primary_dark_material_light = global::Xamarin.Forms.Portable4.Droid.Resource.Color.primary_dark_material_light;
global::Xamarin.Forms.Platform.Resource.Color.primary_material_dark = global::Xamarin.Forms.Portable4.Droid.Resource.Color.primary_material_dark;
global::Xamarin.Forms.Platform.Resource.Color.primary_material_light = global::Xamarin.Forms.Portable4.Droid.Resource.Color.primary_material_light;
global::Xamarin.Forms.Platform.Resource.Color.primary_text_default_material_dark = global::Xamarin.Forms.Portable4.Droid.Resource.Color.primary_text_default_material_dark;
global::Xamarin.Forms.Platform.Resource.Color.primary_text_default_material_light = global::Xamarin.Forms.Portable4.Droid.Resource.Color.primary_text_default_material_light;
global::Xamarin.Forms.Platform.Resource.Color.primary_text_disabled_material_dark = global::Xamarin.Forms.Portable4.Droid.Resource.Color.primary_text_disabled_material_dark;
global::Xamarin.Forms.Platform.Resource.Color.primary_text_disabled_material_light = global::Xamarin.Forms.Portable4.Droid.Resource.Color.primary_text_disabled_material_light;
global::Xamarin.Forms.Platform.Resource.Color.ripple_material_dark = global::Xamarin.Forms.Portable4.Droid.Resource.Color.ripple_material_dark;
global::Xamarin.Forms.Platform.Resource.Color.ripple_material_light = global::Xamarin.Forms.Portable4.Droid.Resource.Color.ripple_material_light;
global::Xamarin.Forms.Platform.Resource.Color.secondary_text_default_material_dark = global::Xamarin.Forms.Portable4.Droid.Resource.Color.secondary_text_default_material_dark;
global::Xamarin.Forms.Platform.Resource.Color.secondary_text_default_material_light = global::Xamarin.Forms.Portable4.Droid.Resource.Color.secondary_text_default_material_light;
global::Xamarin.Forms.Platform.Resource.Color.secondary_text_disabled_material_dark = global::Xamarin.Forms.Portable4.Droid.Resource.Color.secondary_text_disabled_material_dark;
global::Xamarin.Forms.Platform.Resource.Color.secondary_text_disabled_material_light = global::Xamarin.Forms.Portable4.Droid.Resource.Color.secondary_text_disabled_material_light;
global::Xamarin.Forms.Platform.Resource.Color.switch_thumb_disabled_material_dark = global::Xamarin.Forms.Portable4.Droid.Resource.Color.switch_thumb_disabled_material_dark;
global::Xamarin.Forms.Platform.Resource.Color.switch_thumb_disabled_material_light = global::Xamarin.Forms.Portable4.Droid.Resource.Color.switch_thumb_disabled_material_light;
global::Xamarin.Forms.Platform.Resource.Color.switch_thumb_material_dark = global::Xamarin.Forms.Portable4.Droid.Resource.Color.switch_thumb_material_dark;
global::Xamarin.Forms.Platform.Resource.Color.switch_thumb_material_light = global::Xamarin.Forms.Portable4.Droid.Resource.Color.switch_thumb_material_light;
global::Xamarin.Forms.Platform.Resource.Color.switch_thumb_normal_material_dark = global::Xamarin.Forms.Portable4.Droid.Resource.Color.switch_thumb_normal_material_dark;
global::Xamarin.Forms.Platform.Resource.Color.switch_thumb_normal_material_light = global::Xamarin.Forms.Portable4.Droid.Resource.Color.switch_thumb_normal_material_light;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_action_bar_content_inset_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_action_bar_content_inset_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_action_bar_default_height_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_action_bar_default_height_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_action_bar_default_padding_end_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_action_bar_default_padding_end_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_action_bar_default_padding_start_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_action_bar_default_padding_start_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_action_bar_icon_vertical_padding_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_action_bar_icon_vertical_padding_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_action_bar_overflow_padding_end_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_action_bar_overflow_padding_end_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_action_bar_overflow_padding_start_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_action_bar_overflow_padding_start_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_action_bar_progress_bar_size = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_action_bar_progress_bar_size;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_action_bar_stacked_max_height = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_action_bar_stacked_max_height;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_action_bar_stacked_tab_max_width = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_action_bar_stacked_tab_max_width;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_action_bar_subtitle_bottom_margin_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_action_bar_subtitle_bottom_margin_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_action_bar_subtitle_top_margin_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_action_bar_subtitle_top_margin_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_action_button_min_height_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_action_button_min_height_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_action_button_min_width_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_action_button_min_width_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_action_button_min_width_overflow_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_action_button_min_width_overflow_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_alert_dialog_button_bar_height = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_alert_dialog_button_bar_height;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_button_inset_horizontal_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_button_inset_horizontal_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_button_inset_vertical_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_button_inset_vertical_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_button_padding_horizontal_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_button_padding_horizontal_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_button_padding_vertical_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_button_padding_vertical_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_config_prefDialogWidth = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_config_prefDialogWidth;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_control_corner_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_control_corner_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_control_inset_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_control_inset_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_control_padding_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_control_padding_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_dialog_list_padding_vertical_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_dialog_list_padding_vertical_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_dialog_min_width_major = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_dialog_min_width_major;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_dialog_min_width_minor = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_dialog_min_width_minor;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_dialog_padding_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_dialog_padding_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_dialog_padding_top_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_dialog_padding_top_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_disabled_alpha_material_dark = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_disabled_alpha_material_dark;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_disabled_alpha_material_light = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_disabled_alpha_material_light;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_dropdownitem_icon_width = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_dropdownitem_icon_width;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_dropdownitem_text_padding_left = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_dropdownitem_text_padding_left;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_dropdownitem_text_padding_right = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_dropdownitem_text_padding_right;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_edit_text_inset_bottom_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_edit_text_inset_bottom_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_edit_text_inset_horizontal_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_edit_text_inset_horizontal_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_edit_text_inset_top_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_edit_text_inset_top_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_floating_window_z = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_floating_window_z;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_list_item_padding_horizontal_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_list_item_padding_horizontal_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_panel_menu_list_width = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_panel_menu_list_width;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_search_view_preferred_width = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_search_view_preferred_width;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_search_view_text_min_width = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_search_view_text_min_width;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_switch_padding = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_switch_padding;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_text_size_body_1_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_text_size_body_1_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_text_size_body_2_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_text_size_body_2_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_text_size_button_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_text_size_button_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_text_size_caption_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_text_size_caption_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_text_size_display_1_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_text_size_display_1_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_text_size_display_2_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_text_size_display_2_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_text_size_display_3_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_text_size_display_3_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_text_size_display_4_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_text_size_display_4_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_text_size_headline_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_text_size_headline_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_text_size_large_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_text_size_large_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_text_size_medium_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_text_size_medium_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_text_size_menu_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_text_size_menu_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_text_size_small_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_text_size_small_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_text_size_subhead_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_text_size_subhead_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_text_size_subtitle_material_toolbar = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_text_size_subtitle_material_toolbar;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_text_size_title_material = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_text_size_title_material;
global::Xamarin.Forms.Platform.Resource.Dimension.abc_text_size_title_material_toolbar = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.abc_text_size_title_material_toolbar;
global::Xamarin.Forms.Platform.Resource.Dimension.cardview_compat_inset_shadow = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.cardview_compat_inset_shadow;
global::Xamarin.Forms.Platform.Resource.Dimension.cardview_default_elevation = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.cardview_default_elevation;
global::Xamarin.Forms.Platform.Resource.Dimension.cardview_default_radius = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.cardview_default_radius;
global::Xamarin.Forms.Platform.Resource.Dimension.design_appbar_elevation = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.design_appbar_elevation;
global::Xamarin.Forms.Platform.Resource.Dimension.design_fab_border_width = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.design_fab_border_width;
global::Xamarin.Forms.Platform.Resource.Dimension.design_fab_content_size = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.design_fab_content_size;
global::Xamarin.Forms.Platform.Resource.Dimension.design_fab_elevation = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.design_fab_elevation;
global::Xamarin.Forms.Platform.Resource.Dimension.design_fab_size_mini = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.design_fab_size_mini;
global::Xamarin.Forms.Platform.Resource.Dimension.design_fab_size_normal = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.design_fab_size_normal;
global::Xamarin.Forms.Platform.Resource.Dimension.design_fab_translation_z_pressed = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.design_fab_translation_z_pressed;
global::Xamarin.Forms.Platform.Resource.Dimension.design_navigation_elevation = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.design_navigation_elevation;
global::Xamarin.Forms.Platform.Resource.Dimension.design_navigation_icon_padding = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.design_navigation_icon_padding;
global::Xamarin.Forms.Platform.Resource.Dimension.design_navigation_icon_size = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.design_navigation_icon_size;
global::Xamarin.Forms.Platform.Resource.Dimension.design_navigation_max_width = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.design_navigation_max_width;
global::Xamarin.Forms.Platform.Resource.Dimension.design_navigation_padding_bottom = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.design_navigation_padding_bottom;
global::Xamarin.Forms.Platform.Resource.Dimension.design_navigation_padding_top_default = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.design_navigation_padding_top_default;
global::Xamarin.Forms.Platform.Resource.Dimension.design_navigation_separator_vertical_padding = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.design_navigation_separator_vertical_padding;
global::Xamarin.Forms.Platform.Resource.Dimension.design_snackbar_action_inline_max_width = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.design_snackbar_action_inline_max_width;
global::Xamarin.Forms.Platform.Resource.Dimension.design_snackbar_background_corner_radius = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.design_snackbar_background_corner_radius;
global::Xamarin.Forms.Platform.Resource.Dimension.design_snackbar_elevation = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.design_snackbar_elevation;
global::Xamarin.Forms.Platform.Resource.Dimension.design_snackbar_extra_spacing_horizontal = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.design_snackbar_extra_spacing_horizontal;
global::Xamarin.Forms.Platform.Resource.Dimension.design_snackbar_max_width = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.design_snackbar_max_width;
global::Xamarin.Forms.Platform.Resource.Dimension.design_snackbar_min_width = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.design_snackbar_min_width;
global::Xamarin.Forms.Platform.Resource.Dimension.design_snackbar_padding_horizontal = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.design_snackbar_padding_horizontal;
global::Xamarin.Forms.Platform.Resource.Dimension.design_snackbar_padding_vertical = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.design_snackbar_padding_vertical;
global::Xamarin.Forms.Platform.Resource.Dimension.design_snackbar_padding_vertical_2lines = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.design_snackbar_padding_vertical_2lines;
global::Xamarin.Forms.Platform.Resource.Dimension.design_snackbar_text_size = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.design_snackbar_text_size;
global::Xamarin.Forms.Platform.Resource.Dimension.design_tab_max_width = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.design_tab_max_width;
global::Xamarin.Forms.Platform.Resource.Dimension.design_tab_min_width = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.design_tab_min_width;
global::Xamarin.Forms.Platform.Resource.Dimension.dialog_fixed_height_major = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.dialog_fixed_height_major;
global::Xamarin.Forms.Platform.Resource.Dimension.dialog_fixed_height_minor = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.dialog_fixed_height_minor;
global::Xamarin.Forms.Platform.Resource.Dimension.dialog_fixed_width_major = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.dialog_fixed_width_major;
global::Xamarin.Forms.Platform.Resource.Dimension.dialog_fixed_width_minor = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.dialog_fixed_width_minor;
global::Xamarin.Forms.Platform.Resource.Dimension.disabled_alpha_material_dark = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.disabled_alpha_material_dark;
global::Xamarin.Forms.Platform.Resource.Dimension.disabled_alpha_material_light = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.disabled_alpha_material_light;
global::Xamarin.Forms.Platform.Resource.Dimension.highlight_alpha_material_colored = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.highlight_alpha_material_colored;
global::Xamarin.Forms.Platform.Resource.Dimension.highlight_alpha_material_dark = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.highlight_alpha_material_dark;
global::Xamarin.Forms.Platform.Resource.Dimension.highlight_alpha_material_light = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.highlight_alpha_material_light;
global::Xamarin.Forms.Platform.Resource.Dimension.notification_large_icon_height = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.notification_large_icon_height;
global::Xamarin.Forms.Platform.Resource.Dimension.notification_large_icon_width = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.notification_large_icon_width;
global::Xamarin.Forms.Platform.Resource.Dimension.notification_subtext_size = global::Xamarin.Forms.Portable4.Droid.Resource.Dimension.notification_subtext_size;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_ab_share_pack_mtrl_alpha = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_ab_share_pack_mtrl_alpha;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_action_bar_item_background_material = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_action_bar_item_background_material;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_btn_borderless_material = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_btn_borderless_material;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_btn_check_material = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_btn_check_material;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_btn_check_to_on_mtrl_000 = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_btn_check_to_on_mtrl_000;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_btn_check_to_on_mtrl_015 = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_btn_check_to_on_mtrl_015;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_btn_colored_material = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_btn_colored_material;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_btn_default_mtrl_shape = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_btn_default_mtrl_shape;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_btn_radio_material = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_btn_radio_material;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_btn_radio_to_on_mtrl_000 = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_btn_radio_to_on_mtrl_000;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_btn_radio_to_on_mtrl_015 = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_btn_radio_to_on_mtrl_015;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_btn_rating_star_off_mtrl_alpha = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_btn_rating_star_off_mtrl_alpha;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_btn_rating_star_on_mtrl_alpha = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_btn_rating_star_on_mtrl_alpha;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_btn_switch_to_on_mtrl_00001 = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_btn_switch_to_on_mtrl_00001;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_btn_switch_to_on_mtrl_00012 = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_btn_switch_to_on_mtrl_00012;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_cab_background_internal_bg = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_cab_background_internal_bg;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_cab_background_top_material = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_cab_background_top_material;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_cab_background_top_mtrl_alpha = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_cab_background_top_mtrl_alpha;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_control_background_material = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_control_background_material;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_dialog_material_background_dark = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_dialog_material_background_dark;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_dialog_material_background_light = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_dialog_material_background_light;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_edit_text_material = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_edit_text_material;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_ic_ab_back_mtrl_am_alpha = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_ic_ab_back_mtrl_am_alpha;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_ic_clear_mtrl_alpha = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_ic_clear_mtrl_alpha;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_ic_commit_search_api_mtrl_alpha = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_ic_commit_search_api_mtrl_alpha;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_ic_go_search_api_mtrl_alpha = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_ic_go_search_api_mtrl_alpha;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_ic_menu_copy_mtrl_am_alpha = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_ic_menu_copy_mtrl_am_alpha;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_ic_menu_cut_mtrl_alpha = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_ic_menu_cut_mtrl_alpha;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_ic_menu_moreoverflow_mtrl_alpha = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_ic_menu_moreoverflow_mtrl_alpha;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_ic_menu_paste_mtrl_am_alpha = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_ic_menu_paste_mtrl_am_alpha;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_ic_menu_selectall_mtrl_alpha = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_ic_menu_selectall_mtrl_alpha;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_ic_menu_share_mtrl_alpha = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_ic_menu_share_mtrl_alpha;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_ic_search_api_mtrl_alpha = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_ic_search_api_mtrl_alpha;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_ic_voice_search_api_mtrl_alpha = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_ic_voice_search_api_mtrl_alpha;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_item_background_holo_dark = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_item_background_holo_dark;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_item_background_holo_light = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_item_background_holo_light;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_list_divider_mtrl_alpha = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_list_divider_mtrl_alpha;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_list_focused_holo = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_list_focused_holo;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_list_longpressed_holo = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_list_longpressed_holo;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_list_pressed_holo_dark = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_list_pressed_holo_dark;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_list_pressed_holo_light = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_list_pressed_holo_light;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_list_selector_background_transition_holo_dark = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_list_selector_background_transition_holo_dark;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_list_selector_background_transition_holo_light = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_list_selector_background_transition_holo_light;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_list_selector_disabled_holo_dark = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_list_selector_disabled_holo_dark;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_list_selector_disabled_holo_light = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_list_selector_disabled_holo_light;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_list_selector_holo_dark = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_list_selector_holo_dark;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_list_selector_holo_light = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_list_selector_holo_light;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_menu_hardkey_panel_mtrl_mult = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_menu_hardkey_panel_mtrl_mult;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_popup_background_mtrl_mult = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_popup_background_mtrl_mult;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_ratingbar_full_material = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_ratingbar_full_material;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_spinner_mtrl_am_alpha = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_spinner_mtrl_am_alpha;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_spinner_textfield_background_material = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_spinner_textfield_background_material;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_switch_thumb_material = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_switch_thumb_material;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_switch_track_mtrl_alpha = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_switch_track_mtrl_alpha;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_tab_indicator_material = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_tab_indicator_material;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_tab_indicator_mtrl_alpha = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_tab_indicator_mtrl_alpha;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_text_cursor_material = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_text_cursor_material;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_textfield_activated_mtrl_alpha = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_textfield_activated_mtrl_alpha;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_textfield_default_mtrl_alpha = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_textfield_default_mtrl_alpha;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_textfield_search_activated_mtrl_alpha = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_textfield_search_activated_mtrl_alpha;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_textfield_search_default_mtrl_alpha = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_textfield_search_default_mtrl_alpha;
global::Xamarin.Forms.Platform.Resource.Drawable.abc_textfield_search_material = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.abc_textfield_search_material;
global::Xamarin.Forms.Platform.Resource.Drawable.design_fab_background = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.design_fab_background;
global::Xamarin.Forms.Platform.Resource.Drawable.design_snackbar_background = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.design_snackbar_background;
global::Xamarin.Forms.Platform.Resource.Drawable.notification_template_icon_bg = global::Xamarin.Forms.Portable4.Droid.Resource.Drawable.notification_template_icon_bg;
global::Xamarin.Forms.Platform.Resource.Id.action0 = global::Xamarin.Forms.Portable4.Droid.Resource.Id.action0;
global::Xamarin.Forms.Platform.Resource.Id.action_bar = global::Xamarin.Forms.Portable4.Droid.Resource.Id.action_bar;
global::Xamarin.Forms.Platform.Resource.Id.action_bar_activity_content = global::Xamarin.Forms.Portable4.Droid.Resource.Id.action_bar_activity_content;
global::Xamarin.Forms.Platform.Resource.Id.action_bar_container = global::Xamarin.Forms.Portable4.Droid.Resource.Id.action_bar_container;
global::Xamarin.Forms.Platform.Resource.Id.action_bar_root = global::Xamarin.Forms.Portable4.Droid.Resource.Id.action_bar_root;
global::Xamarin.Forms.Platform.Resource.Id.action_bar_spinner = global::Xamarin.Forms.Portable4.Droid.Resource.Id.action_bar_spinner;
global::Xamarin.Forms.Platform.Resource.Id.action_bar_subtitle = global::Xamarin.Forms.Portable4.Droid.Resource.Id.action_bar_subtitle;
global::Xamarin.Forms.Platform.Resource.Id.action_bar_title = global::Xamarin.Forms.Portable4.Droid.Resource.Id.action_bar_title;
global::Xamarin.Forms.Platform.Resource.Id.action_context_bar = global::Xamarin.Forms.Portable4.Droid.Resource.Id.action_context_bar;
global::Xamarin.Forms.Platform.Resource.Id.action_divider = global::Xamarin.Forms.Portable4.Droid.Resource.Id.action_divider;
global::Xamarin.Forms.Platform.Resource.Id.action_menu_divider = global::Xamarin.Forms.Portable4.Droid.Resource.Id.action_menu_divider;
global::Xamarin.Forms.Platform.Resource.Id.action_menu_presenter = global::Xamarin.Forms.Portable4.Droid.Resource.Id.action_menu_presenter;
global::Xamarin.Forms.Platform.Resource.Id.action_mode_bar = global::Xamarin.Forms.Portable4.Droid.Resource.Id.action_mode_bar;
global::Xamarin.Forms.Platform.Resource.Id.action_mode_bar_stub = global::Xamarin.Forms.Portable4.Droid.Resource.Id.action_mode_bar_stub;
global::Xamarin.Forms.Platform.Resource.Id.action_mode_close_button = global::Xamarin.Forms.Portable4.Droid.Resource.Id.action_mode_close_button;
global::Xamarin.Forms.Platform.Resource.Id.activity_chooser_view_content = global::Xamarin.Forms.Portable4.Droid.Resource.Id.activity_chooser_view_content;
global::Xamarin.Forms.Platform.Resource.Id.alertTitle = global::Xamarin.Forms.Portable4.Droid.Resource.Id.alertTitle;
global::Xamarin.Forms.Platform.Resource.Id.always = global::Xamarin.Forms.Portable4.Droid.Resource.Id.always;
global::Xamarin.Forms.Platform.Resource.Id.beginning = global::Xamarin.Forms.Portable4.Droid.Resource.Id.beginning;
global::Xamarin.Forms.Platform.Resource.Id.bottom = global::Xamarin.Forms.Portable4.Droid.Resource.Id.bottom;
global::Xamarin.Forms.Platform.Resource.Id.buttonPanel = global::Xamarin.Forms.Portable4.Droid.Resource.Id.buttonPanel;
global::Xamarin.Forms.Platform.Resource.Id.cancel_action = global::Xamarin.Forms.Portable4.Droid.Resource.Id.cancel_action;
global::Xamarin.Forms.Platform.Resource.Id.center = global::Xamarin.Forms.Portable4.Droid.Resource.Id.center;
global::Xamarin.Forms.Platform.Resource.Id.center_horizontal = global::Xamarin.Forms.Portable4.Droid.Resource.Id.center_horizontal;
global::Xamarin.Forms.Platform.Resource.Id.center_vertical = global::Xamarin.Forms.Portable4.Droid.Resource.Id.center_vertical;
global::Xamarin.Forms.Platform.Resource.Id.checkbox = global::Xamarin.Forms.Portable4.Droid.Resource.Id.checkbox;
global::Xamarin.Forms.Platform.Resource.Id.chronometer = global::Xamarin.Forms.Portable4.Droid.Resource.Id.chronometer;
global::Xamarin.Forms.Platform.Resource.Id.clip_horizontal = global::Xamarin.Forms.Portable4.Droid.Resource.Id.clip_horizontal;
global::Xamarin.Forms.Platform.Resource.Id.clip_vertical = global::Xamarin.Forms.Portable4.Droid.Resource.Id.clip_vertical;
global::Xamarin.Forms.Platform.Resource.Id.collapseActionView = global::Xamarin.Forms.Portable4.Droid.Resource.Id.collapseActionView;
global::Xamarin.Forms.Platform.Resource.Id.contentPanel = global::Xamarin.Forms.Portable4.Droid.Resource.Id.contentPanel;
global::Xamarin.Forms.Platform.Resource.Id.custom = global::Xamarin.Forms.Portable4.Droid.Resource.Id.custom;
global::Xamarin.Forms.Platform.Resource.Id.customPanel = global::Xamarin.Forms.Portable4.Droid.Resource.Id.customPanel;
global::Xamarin.Forms.Platform.Resource.Id.decor_content_parent = global::Xamarin.Forms.Portable4.Droid.Resource.Id.decor_content_parent;
global::Xamarin.Forms.Platform.Resource.Id.default_activity_button = global::Xamarin.Forms.Portable4.Droid.Resource.Id.default_activity_button;
global::Xamarin.Forms.Platform.Resource.Id.disableHome = global::Xamarin.Forms.Portable4.Droid.Resource.Id.disableHome;
global::Xamarin.Forms.Platform.Resource.Id.edit_query = global::Xamarin.Forms.Portable4.Droid.Resource.Id.edit_query;
global::Xamarin.Forms.Platform.Resource.Id.end = global::Xamarin.Forms.Portable4.Droid.Resource.Id.end;
global::Xamarin.Forms.Platform.Resource.Id.end_padder = global::Xamarin.Forms.Portable4.Droid.Resource.Id.end_padder;
global::Xamarin.Forms.Platform.Resource.Id.enterAlways = global::Xamarin.Forms.Portable4.Droid.Resource.Id.enterAlways;
global::Xamarin.Forms.Platform.Resource.Id.enterAlwaysCollapsed = global::Xamarin.Forms.Portable4.Droid.Resource.Id.enterAlwaysCollapsed;
global::Xamarin.Forms.Platform.Resource.Id.exitUntilCollapsed = global::Xamarin.Forms.Portable4.Droid.Resource.Id.exitUntilCollapsed;
global::Xamarin.Forms.Platform.Resource.Id.expand_activities_button = global::Xamarin.Forms.Portable4.Droid.Resource.Id.expand_activities_button;
global::Xamarin.Forms.Platform.Resource.Id.expanded_menu = global::Xamarin.Forms.Portable4.Droid.Resource.Id.expanded_menu;
global::Xamarin.Forms.Platform.Resource.Id.fill = global::Xamarin.Forms.Portable4.Droid.Resource.Id.fill;
global::Xamarin.Forms.Platform.Resource.Id.fill_horizontal = global::Xamarin.Forms.Portable4.Droid.Resource.Id.fill_horizontal;
global::Xamarin.Forms.Platform.Resource.Id.fill_vertical = global::Xamarin.Forms.Portable4.Droid.Resource.Id.fill_vertical;
global::Xamarin.Forms.Platform.Resource.Id.@fixed = global::Xamarin.Forms.Portable4.Droid.Resource.Id.@fixed;
global::Xamarin.Forms.Platform.Resource.Id.home = global::Xamarin.Forms.Portable4.Droid.Resource.Id.home;
global::Xamarin.Forms.Platform.Resource.Id.homeAsUp = global::Xamarin.Forms.Portable4.Droid.Resource.Id.homeAsUp;
global::Xamarin.Forms.Platform.Resource.Id.icon = global::Xamarin.Forms.Portable4.Droid.Resource.Id.icon;
global::Xamarin.Forms.Platform.Resource.Id.ifRoom = global::Xamarin.Forms.Portable4.Droid.Resource.Id.ifRoom;
global::Xamarin.Forms.Platform.Resource.Id.image = global::Xamarin.Forms.Portable4.Droid.Resource.Id.image;
global::Xamarin.Forms.Platform.Resource.Id.info = global::Xamarin.Forms.Portable4.Droid.Resource.Id.info;
global::Xamarin.Forms.Platform.Resource.Id.left = global::Xamarin.Forms.Portable4.Droid.Resource.Id.left;
global::Xamarin.Forms.Platform.Resource.Id.line1 = global::Xamarin.Forms.Portable4.Droid.Resource.Id.line1;
global::Xamarin.Forms.Platform.Resource.Id.line3 = global::Xamarin.Forms.Portable4.Droid.Resource.Id.line3;
global::Xamarin.Forms.Platform.Resource.Id.listMode = global::Xamarin.Forms.Portable4.Droid.Resource.Id.listMode;
global::Xamarin.Forms.Platform.Resource.Id.list_item = global::Xamarin.Forms.Portable4.Droid.Resource.Id.list_item;
global::Xamarin.Forms.Platform.Resource.Id.media_actions = global::Xamarin.Forms.Portable4.Droid.Resource.Id.media_actions;
global::Xamarin.Forms.Platform.Resource.Id.middle = global::Xamarin.Forms.Portable4.Droid.Resource.Id.middle;
global::Xamarin.Forms.Platform.Resource.Id.mini = global::Xamarin.Forms.Portable4.Droid.Resource.Id.mini;
global::Xamarin.Forms.Platform.Resource.Id.multiply = global::Xamarin.Forms.Portable4.Droid.Resource.Id.multiply;
global::Xamarin.Forms.Platform.Resource.Id.never = global::Xamarin.Forms.Portable4.Droid.Resource.Id.never;
global::Xamarin.Forms.Platform.Resource.Id.none = global::Xamarin.Forms.Portable4.Droid.Resource.Id.none;
global::Xamarin.Forms.Platform.Resource.Id.normal = global::Xamarin.Forms.Portable4.Droid.Resource.Id.normal;
global::Xamarin.Forms.Platform.Resource.Id.parallax = global::Xamarin.Forms.Portable4.Droid.Resource.Id.parallax;
global::Xamarin.Forms.Platform.Resource.Id.parentPanel = global::Xamarin.Forms.Portable4.Droid.Resource.Id.parentPanel;
global::Xamarin.Forms.Platform.Resource.Id.pin = global::Xamarin.Forms.Portable4.Droid.Resource.Id.pin;
global::Xamarin.Forms.Platform.Resource.Id.progress_circular = global::Xamarin.Forms.Portable4.Droid.Resource.Id.progress_circular;
global::Xamarin.Forms.Platform.Resource.Id.progress_horizontal = global::Xamarin.Forms.Portable4.Droid.Resource.Id.progress_horizontal;
global::Xamarin.Forms.Platform.Resource.Id.radio = global::Xamarin.Forms.Portable4.Droid.Resource.Id.radio;
global::Xamarin.Forms.Platform.Resource.Id.right = global::Xamarin.Forms.Portable4.Droid.Resource.Id.right;
global::Xamarin.Forms.Platform.Resource.Id.screen = global::Xamarin.Forms.Portable4.Droid.Resource.Id.screen;
global::Xamarin.Forms.Platform.Resource.Id.scroll = global::Xamarin.Forms.Portable4.Droid.Resource.Id.scroll;
global::Xamarin.Forms.Platform.Resource.Id.scrollView = global::Xamarin.Forms.Portable4.Droid.Resource.Id.scrollView;
global::Xamarin.Forms.Platform.Resource.Id.scrollable = global::Xamarin.Forms.Portable4.Droid.Resource.Id.scrollable;
global::Xamarin.Forms.Platform.Resource.Id.search_badge = global::Xamarin.Forms.Portable4.Droid.Resource.Id.search_badge;
global::Xamarin.Forms.Platform.Resource.Id.search_bar = global::Xamarin.Forms.Portable4.Droid.Resource.Id.search_bar;
global::Xamarin.Forms.Platform.Resource.Id.search_button = global::Xamarin.Forms.Portable4.Droid.Resource.Id.search_button;
global::Xamarin.Forms.Platform.Resource.Id.search_close_btn = global::Xamarin.Forms.Portable4.Droid.Resource.Id.search_close_btn;
global::Xamarin.Forms.Platform.Resource.Id.search_edit_frame = global::Xamarin.Forms.Portable4.Droid.Resource.Id.search_edit_frame;
global::Xamarin.Forms.Platform.Resource.Id.search_go_btn = global::Xamarin.Forms.Portable4.Droid.Resource.Id.search_go_btn;
global::Xamarin.Forms.Platform.Resource.Id.search_mag_icon = global::Xamarin.Forms.Portable4.Droid.Resource.Id.search_mag_icon;
global::Xamarin.Forms.Platform.Resource.Id.search_plate = global::Xamarin.Forms.Portable4.Droid.Resource.Id.search_plate;
global::Xamarin.Forms.Platform.Resource.Id.search_src_text = global::Xamarin.Forms.Portable4.Droid.Resource.Id.search_src_text;
global::Xamarin.Forms.Platform.Resource.Id.search_voice_btn = global::Xamarin.Forms.Portable4.Droid.Resource.Id.search_voice_btn;
global::Xamarin.Forms.Platform.Resource.Id.select_dialog_listview = global::Xamarin.Forms.Portable4.Droid.Resource.Id.select_dialog_listview;
global::Xamarin.Forms.Platform.Resource.Id.shortcut = global::Xamarin.Forms.Portable4.Droid.Resource.Id.shortcut;
global::Xamarin.Forms.Platform.Resource.Id.showCustom = global::Xamarin.Forms.Portable4.Droid.Resource.Id.showCustom;
global::Xamarin.Forms.Platform.Resource.Id.showHome = global::Xamarin.Forms.Portable4.Droid.Resource.Id.showHome;
global::Xamarin.Forms.Platform.Resource.Id.showTitle = global::Xamarin.Forms.Portable4.Droid.Resource.Id.showTitle;
global::Xamarin.Forms.Platform.Resource.Id.snackbar_action = global::Xamarin.Forms.Portable4.Droid.Resource.Id.snackbar_action;
global::Xamarin.Forms.Platform.Resource.Id.snackbar_text = global::Xamarin.Forms.Portable4.Droid.Resource.Id.snackbar_text;
global::Xamarin.Forms.Platform.Resource.Id.split_action_bar = global::Xamarin.Forms.Portable4.Droid.Resource.Id.split_action_bar;
global::Xamarin.Forms.Platform.Resource.Id.src_atop = global::Xamarin.Forms.Portable4.Droid.Resource.Id.src_atop;
global::Xamarin.Forms.Platform.Resource.Id.src_in = global::Xamarin.Forms.Portable4.Droid.Resource.Id.src_in;
global::Xamarin.Forms.Platform.Resource.Id.src_over = global::Xamarin.Forms.Portable4.Droid.Resource.Id.src_over;
global::Xamarin.Forms.Platform.Resource.Id.start = global::Xamarin.Forms.Portable4.Droid.Resource.Id.start;
global::Xamarin.Forms.Platform.Resource.Id.status_bar_latest_event_content = global::Xamarin.Forms.Portable4.Droid.Resource.Id.status_bar_latest_event_content;
global::Xamarin.Forms.Platform.Resource.Id.submit_area = global::Xamarin.Forms.Portable4.Droid.Resource.Id.submit_area;
global::Xamarin.Forms.Platform.Resource.Id.tabMode = global::Xamarin.Forms.Portable4.Droid.Resource.Id.tabMode;
global::Xamarin.Forms.Platform.Resource.Id.text = global::Xamarin.Forms.Portable4.Droid.Resource.Id.text;
global::Xamarin.Forms.Platform.Resource.Id.text2 = global::Xamarin.Forms.Portable4.Droid.Resource.Id.text2;
global::Xamarin.Forms.Platform.Resource.Id.textSpacerNoButtons = global::Xamarin.Forms.Portable4.Droid.Resource.Id.textSpacerNoButtons;
global::Xamarin.Forms.Platform.Resource.Id.time = global::Xamarin.Forms.Portable4.Droid.Resource.Id.time;
global::Xamarin.Forms.Platform.Resource.Id.title = global::Xamarin.Forms.Portable4.Droid.Resource.Id.title;
global::Xamarin.Forms.Platform.Resource.Id.title_template = global::Xamarin.Forms.Portable4.Droid.Resource.Id.title_template;
global::Xamarin.Forms.Platform.Resource.Id.top = global::Xamarin.Forms.Portable4.Droid.Resource.Id.top;
global::Xamarin.Forms.Platform.Resource.Id.topPanel = global::Xamarin.Forms.Portable4.Droid.Resource.Id.topPanel;
global::Xamarin.Forms.Platform.Resource.Id.up = global::Xamarin.Forms.Portable4.Droid.Resource.Id.up;
global::Xamarin.Forms.Platform.Resource.Id.useLogo = global::Xamarin.Forms.Portable4.Droid.Resource.Id.useLogo;
global::Xamarin.Forms.Platform.Resource.Id.view_offset_helper = global::Xamarin.Forms.Portable4.Droid.Resource.Id.view_offset_helper;
global::Xamarin.Forms.Platform.Resource.Id.withText = global::Xamarin.Forms.Portable4.Droid.Resource.Id.withText;
global::Xamarin.Forms.Platform.Resource.Id.wrap_content = global::Xamarin.Forms.Portable4.Droid.Resource.Id.wrap_content;
global::Xamarin.Forms.Platform.Resource.Integer.abc_config_activityDefaultDur = global::Xamarin.Forms.Portable4.Droid.Resource.Integer.abc_config_activityDefaultDur;
global::Xamarin.Forms.Platform.Resource.Integer.abc_config_activityShortDur = global::Xamarin.Forms.Portable4.Droid.Resource.Integer.abc_config_activityShortDur;
global::Xamarin.Forms.Platform.Resource.Integer.abc_max_action_buttons = global::Xamarin.Forms.Portable4.Droid.Resource.Integer.abc_max_action_buttons;
global::Xamarin.Forms.Platform.Resource.Integer.cancel_button_image_alpha = global::Xamarin.Forms.Portable4.Droid.Resource.Integer.cancel_button_image_alpha;
global::Xamarin.Forms.Platform.Resource.Integer.design_snackbar_text_max_lines = global::Xamarin.Forms.Portable4.Droid.Resource.Integer.design_snackbar_text_max_lines;
global::Xamarin.Forms.Platform.Resource.Integer.status_bar_notification_info_maxnum = global::Xamarin.Forms.Portable4.Droid.Resource.Integer.status_bar_notification_info_maxnum;
global::Xamarin.Forms.Platform.Resource.Layout.abc_action_bar_title_item = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.abc_action_bar_title_item;
global::Xamarin.Forms.Platform.Resource.Layout.abc_action_bar_up_container = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.abc_action_bar_up_container;
global::Xamarin.Forms.Platform.Resource.Layout.abc_action_bar_view_list_nav_layout = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.abc_action_bar_view_list_nav_layout;
global::Xamarin.Forms.Platform.Resource.Layout.abc_action_menu_item_layout = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.abc_action_menu_item_layout;
global::Xamarin.Forms.Platform.Resource.Layout.abc_action_menu_layout = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.abc_action_menu_layout;
global::Xamarin.Forms.Platform.Resource.Layout.abc_action_mode_bar = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.abc_action_mode_bar;
global::Xamarin.Forms.Platform.Resource.Layout.abc_action_mode_close_item_material = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.abc_action_mode_close_item_material;
global::Xamarin.Forms.Platform.Resource.Layout.abc_activity_chooser_view = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.abc_activity_chooser_view;
global::Xamarin.Forms.Platform.Resource.Layout.abc_activity_chooser_view_list_item = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.abc_activity_chooser_view_list_item;
global::Xamarin.Forms.Platform.Resource.Layout.abc_alert_dialog_material = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.abc_alert_dialog_material;
global::Xamarin.Forms.Platform.Resource.Layout.abc_dialog_title_material = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.abc_dialog_title_material;
global::Xamarin.Forms.Platform.Resource.Layout.abc_expanded_menu_layout = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.abc_expanded_menu_layout;
global::Xamarin.Forms.Platform.Resource.Layout.abc_list_menu_item_checkbox = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.abc_list_menu_item_checkbox;
global::Xamarin.Forms.Platform.Resource.Layout.abc_list_menu_item_icon = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.abc_list_menu_item_icon;
global::Xamarin.Forms.Platform.Resource.Layout.abc_list_menu_item_layout = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.abc_list_menu_item_layout;
global::Xamarin.Forms.Platform.Resource.Layout.abc_list_menu_item_radio = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.abc_list_menu_item_radio;
global::Xamarin.Forms.Platform.Resource.Layout.abc_popup_menu_item_layout = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.abc_popup_menu_item_layout;
global::Xamarin.Forms.Platform.Resource.Layout.abc_screen_content_include = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.abc_screen_content_include;
global::Xamarin.Forms.Platform.Resource.Layout.abc_screen_simple = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.abc_screen_simple;
global::Xamarin.Forms.Platform.Resource.Layout.abc_screen_simple_overlay_action_mode = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.abc_screen_simple_overlay_action_mode;
global::Xamarin.Forms.Platform.Resource.Layout.abc_screen_toolbar = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.abc_screen_toolbar;
global::Xamarin.Forms.Platform.Resource.Layout.abc_search_dropdown_item_icons_2line = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.abc_search_dropdown_item_icons_2line;
global::Xamarin.Forms.Platform.Resource.Layout.abc_search_view = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.abc_search_view;
global::Xamarin.Forms.Platform.Resource.Layout.abc_select_dialog_material = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.abc_select_dialog_material;
global::Xamarin.Forms.Platform.Resource.Layout.design_layout_snackbar = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.design_layout_snackbar;
global::Xamarin.Forms.Platform.Resource.Layout.design_layout_snackbar_include = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.design_layout_snackbar_include;
global::Xamarin.Forms.Platform.Resource.Layout.design_layout_tab_icon = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.design_layout_tab_icon;
global::Xamarin.Forms.Platform.Resource.Layout.design_layout_tab_text = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.design_layout_tab_text;
global::Xamarin.Forms.Platform.Resource.Layout.design_navigation_item = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.design_navigation_item;
global::Xamarin.Forms.Platform.Resource.Layout.design_navigation_item_header = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.design_navigation_item_header;
global::Xamarin.Forms.Platform.Resource.Layout.design_navigation_item_separator = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.design_navigation_item_separator;
global::Xamarin.Forms.Platform.Resource.Layout.design_navigation_item_subheader = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.design_navigation_item_subheader;
global::Xamarin.Forms.Platform.Resource.Layout.design_navigation_menu = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.design_navigation_menu;
global::Xamarin.Forms.Platform.Resource.Layout.notification_media_action = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.notification_media_action;
global::Xamarin.Forms.Platform.Resource.Layout.notification_media_cancel_action = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.notification_media_cancel_action;
global::Xamarin.Forms.Platform.Resource.Layout.notification_template_big_media = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.notification_template_big_media;
global::Xamarin.Forms.Platform.Resource.Layout.notification_template_big_media_narrow = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.notification_template_big_media_narrow;
global::Xamarin.Forms.Platform.Resource.Layout.notification_template_lines = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.notification_template_lines;
global::Xamarin.Forms.Platform.Resource.Layout.notification_template_media = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.notification_template_media;
global::Xamarin.Forms.Platform.Resource.Layout.notification_template_part_chronometer = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.notification_template_part_chronometer;
global::Xamarin.Forms.Platform.Resource.Layout.notification_template_part_time = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.notification_template_part_time;
global::Xamarin.Forms.Platform.Resource.Layout.select_dialog_item_material = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.select_dialog_item_material;
global::Xamarin.Forms.Platform.Resource.Layout.select_dialog_multichoice_material = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.select_dialog_multichoice_material;
global::Xamarin.Forms.Platform.Resource.Layout.select_dialog_singlechoice_material = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.select_dialog_singlechoice_material;
global::Xamarin.Forms.Platform.Resource.Layout.support_simple_spinner_dropdown_item = global::Xamarin.Forms.Portable4.Droid.Resource.Layout.support_simple_spinner_dropdown_item;
global::Xamarin.Forms.Platform.Resource.String.ApplicationName = global::Xamarin.Forms.Portable4.Droid.Resource.String.ApplicationName;
global::Xamarin.Forms.Platform.Resource.String.Hello = global::Xamarin.Forms.Portable4.Droid.Resource.String.Hello;
global::Xamarin.Forms.Platform.Resource.String.abc_action_bar_home_description = global::Xamarin.Forms.Portable4.Droid.Resource.String.abc_action_bar_home_description;
global::Xamarin.Forms.Platform.Resource.String.abc_action_bar_home_description_format = global::Xamarin.Forms.Portable4.Droid.Resource.String.abc_action_bar_home_description_format;
global::Xamarin.Forms.Platform.Resource.String.abc_action_bar_home_subtitle_description_format = global::Xamarin.Forms.Portable4.Droid.Resource.String.abc_action_bar_home_subtitle_description_format;
global::Xamarin.Forms.Platform.Resource.String.abc_action_bar_up_description = global::Xamarin.Forms.Portable4.Droid.Resource.String.abc_action_bar_up_description;
global::Xamarin.Forms.Platform.Resource.String.abc_action_menu_overflow_description = global::Xamarin.Forms.Portable4.Droid.Resource.String.abc_action_menu_overflow_description;
global::Xamarin.Forms.Platform.Resource.String.abc_action_mode_done = global::Xamarin.Forms.Portable4.Droid.Resource.String.abc_action_mode_done;
global::Xamarin.Forms.Platform.Resource.String.abc_activity_chooser_view_see_all = global::Xamarin.Forms.Portable4.Droid.Resource.String.abc_activity_chooser_view_see_all;
global::Xamarin.Forms.Platform.Resource.String.abc_activitychooserview_choose_application = global::Xamarin.Forms.Portable4.Droid.Resource.String.abc_activitychooserview_choose_application;
global::Xamarin.Forms.Platform.Resource.String.abc_search_hint = global::Xamarin.Forms.Portable4.Droid.Resource.String.abc_search_hint;
global::Xamarin.Forms.Platform.Resource.String.abc_searchview_description_clear = global::Xamarin.Forms.Portable4.Droid.Resource.String.abc_searchview_description_clear;
global::Xamarin.Forms.Platform.Resource.String.abc_searchview_description_query = global::Xamarin.Forms.Portable4.Droid.Resource.String.abc_searchview_description_query;
global::Xamarin.Forms.Platform.Resource.String.abc_searchview_description_search = global::Xamarin.Forms.Portable4.Droid.Resource.String.abc_searchview_description_search;
global::Xamarin.Forms.Platform.Resource.String.abc_searchview_description_submit = global::Xamarin.Forms.Portable4.Droid.Resource.String.abc_searchview_description_submit;
global::Xamarin.Forms.Platform.Resource.String.abc_searchview_description_voice = global::Xamarin.Forms.Portable4.Droid.Resource.String.abc_searchview_description_voice;
global::Xamarin.Forms.Platform.Resource.String.abc_shareactionprovider_share_with = global::Xamarin.Forms.Portable4.Droid.Resource.String.abc_shareactionprovider_share_with;
global::Xamarin.Forms.Platform.Resource.String.abc_shareactionprovider_share_with_application = global::Xamarin.Forms.Portable4.Droid.Resource.String.abc_shareactionprovider_share_with_application;
global::Xamarin.Forms.Platform.Resource.String.abc_toolbar_collapse_description = global::Xamarin.Forms.Portable4.Droid.Resource.String.abc_toolbar_collapse_description;
global::Xamarin.Forms.Platform.Resource.String.appbar_scrolling_view_behavior = global::Xamarin.Forms.Portable4.Droid.Resource.String.appbar_scrolling_view_behavior;
global::Xamarin.Forms.Platform.Resource.String.status_bar_notification_info_overflow = global::Xamarin.Forms.Portable4.Droid.Resource.String.status_bar_notification_info_overflow;
global::Xamarin.Forms.Platform.Resource.Style.AlertDialog_AppCompat = global::Xamarin.Forms.Portable4.Droid.Resource.Style.AlertDialog_AppCompat;
global::Xamarin.Forms.Platform.Resource.Style.AlertDialog_AppCompat_Light = global::Xamarin.Forms.Portable4.Droid.Resource.Style.AlertDialog_AppCompat_Light;
global::Xamarin.Forms.Platform.Resource.Style.Animation_AppCompat_Dialog = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Animation_AppCompat_Dialog;
global::Xamarin.Forms.Platform.Resource.Style.Animation_AppCompat_DropDownUp = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Animation_AppCompat_DropDownUp;
global::Xamarin.Forms.Platform.Resource.Style.Base_AlertDialog_AppCompat = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_AlertDialog_AppCompat;
global::Xamarin.Forms.Platform.Resource.Style.Base_AlertDialog_AppCompat_Light = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_AlertDialog_AppCompat_Light;
global::Xamarin.Forms.Platform.Resource.Style.Base_Animation_AppCompat_Dialog = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Animation_AppCompat_Dialog;
global::Xamarin.Forms.Platform.Resource.Style.Base_Animation_AppCompat_DropDownUp = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Animation_AppCompat_DropDownUp;
global::Xamarin.Forms.Platform.Resource.Style.Base_DialogWindowTitle_AppCompat = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_DialogWindowTitle_AppCompat;
global::Xamarin.Forms.Platform.Resource.Style.Base_DialogWindowTitleBackground_AppCompat = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_DialogWindowTitleBackground_AppCompat;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_Body1 = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_Body1;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_Body2 = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_Body2;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_Button = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_Button;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_Caption = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_Caption;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_Display1 = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_Display1;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_Display2 = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_Display2;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_Display3 = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_Display3;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_Display4 = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_Display4;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_Headline = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_Headline;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_Inverse = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_Inverse;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_Large = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_Large;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_Large_Inverse = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_Large_Inverse;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_Light_Widget_PopupMenu_Large = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_Light_Widget_PopupMenu_Large;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_Light_Widget_PopupMenu_Small = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_Light_Widget_PopupMenu_Small;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_Medium = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_Medium;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_Medium_Inverse = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_Medium_Inverse;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_Menu = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_Menu;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_SearchResult = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_SearchResult;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_SearchResult_Subtitle = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_SearchResult_Subtitle;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_SearchResult_Title = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_SearchResult_Title;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_Small = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_Small;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_Small_Inverse = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_Small_Inverse;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_Subhead = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_Subhead;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_Subhead_Inverse = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_Subhead_Inverse;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_Title = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_Title;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_Title_Inverse = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_Title_Inverse;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_Widget_ActionBar_Menu = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_Widget_ActionBar_Menu;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_Widget_ActionBar_Subtitle = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_Widget_ActionBar_Subtitle;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_Widget_ActionBar_Title = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_Widget_ActionBar_Title;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_Widget_ActionMode_Subtitle = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_Widget_ActionMode_Subtitle;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_Widget_ActionMode_Title = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_Widget_ActionMode_Title;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_Widget_Button = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_Widget_Button;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_Widget_Button_Inverse = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_Widget_Button_Inverse;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_Widget_DropDownItem = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_Widget_DropDownItem;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_Widget_PopupMenu_Large = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_Widget_PopupMenu_Large;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_Widget_PopupMenu_Small = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_Widget_PopupMenu_Small;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_Widget_Switch = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_Widget_Switch;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_AppCompat_Widget_TextView_SpinnerItem = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_AppCompat_Widget_TextView_SpinnerItem;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_Widget_AppCompat_ExpandedMenu_Item = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_Widget_AppCompat_ExpandedMenu_Item;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_Widget_AppCompat_Toolbar_Subtitle = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_Widget_AppCompat_Toolbar_Subtitle;
global::Xamarin.Forms.Platform.Resource.Style.Base_TextAppearance_Widget_AppCompat_Toolbar_Title = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_TextAppearance_Widget_AppCompat_Toolbar_Title;
global::Xamarin.Forms.Platform.Resource.Style.Base_Theme_AppCompat = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Theme_AppCompat;
global::Xamarin.Forms.Platform.Resource.Style.Base_Theme_AppCompat_CompactMenu = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Theme_AppCompat_CompactMenu;
global::Xamarin.Forms.Platform.Resource.Style.Base_Theme_AppCompat_Dialog = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Theme_AppCompat_Dialog;
global::Xamarin.Forms.Platform.Resource.Style.Base_Theme_AppCompat_Dialog_Alert = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Theme_AppCompat_Dialog_Alert;
global::Xamarin.Forms.Platform.Resource.Style.Base_Theme_AppCompat_Dialog_FixedSize = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Theme_AppCompat_Dialog_FixedSize;
global::Xamarin.Forms.Platform.Resource.Style.Base_Theme_AppCompat_Dialog_MinWidth = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Theme_AppCompat_Dialog_MinWidth;
global::Xamarin.Forms.Platform.Resource.Style.Base_Theme_AppCompat_DialogWhenLarge = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Theme_AppCompat_DialogWhenLarge;
global::Xamarin.Forms.Platform.Resource.Style.Base_Theme_AppCompat_Light = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Theme_AppCompat_Light;
global::Xamarin.Forms.Platform.Resource.Style.Base_Theme_AppCompat_Light_DarkActionBar = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Theme_AppCompat_Light_DarkActionBar;
global::Xamarin.Forms.Platform.Resource.Style.Base_Theme_AppCompat_Light_Dialog = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Theme_AppCompat_Light_Dialog;
global::Xamarin.Forms.Platform.Resource.Style.Base_Theme_AppCompat_Light_Dialog_Alert = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Theme_AppCompat_Light_Dialog_Alert;
global::Xamarin.Forms.Platform.Resource.Style.Base_Theme_AppCompat_Light_Dialog_FixedSize = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Theme_AppCompat_Light_Dialog_FixedSize;
global::Xamarin.Forms.Platform.Resource.Style.Base_Theme_AppCompat_Light_Dialog_MinWidth = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Theme_AppCompat_Light_Dialog_MinWidth;
global::Xamarin.Forms.Platform.Resource.Style.Base_Theme_AppCompat_Light_DialogWhenLarge = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Theme_AppCompat_Light_DialogWhenLarge;
global::Xamarin.Forms.Platform.Resource.Style.Base_ThemeOverlay_AppCompat = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_ThemeOverlay_AppCompat;
global::Xamarin.Forms.Platform.Resource.Style.Base_ThemeOverlay_AppCompat_ActionBar = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_ThemeOverlay_AppCompat_ActionBar;
global::Xamarin.Forms.Platform.Resource.Style.Base_ThemeOverlay_AppCompat_Dark = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_ThemeOverlay_AppCompat_Dark;
global::Xamarin.Forms.Platform.Resource.Style.Base_ThemeOverlay_AppCompat_Dark_ActionBar = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_ThemeOverlay_AppCompat_Dark_ActionBar;
global::Xamarin.Forms.Platform.Resource.Style.Base_ThemeOverlay_AppCompat_Light = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_ThemeOverlay_AppCompat_Light;
global::Xamarin.Forms.Platform.Resource.Style.Base_V11_Theme_AppCompat_Dialog = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_V11_Theme_AppCompat_Dialog;
global::Xamarin.Forms.Platform.Resource.Style.Base_V11_Theme_AppCompat_Light_Dialog = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_V11_Theme_AppCompat_Light_Dialog;
global::Xamarin.Forms.Platform.Resource.Style.Base_V12_Widget_AppCompat_AutoCompleteTextView = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_V12_Widget_AppCompat_AutoCompleteTextView;
global::Xamarin.Forms.Platform.Resource.Style.Base_V12_Widget_AppCompat_EditText = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_V12_Widget_AppCompat_EditText;
global::Xamarin.Forms.Platform.Resource.Style.Base_V21_Theme_AppCompat = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_V21_Theme_AppCompat;
global::Xamarin.Forms.Platform.Resource.Style.Base_V21_Theme_AppCompat_Dialog = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_V21_Theme_AppCompat_Dialog;
global::Xamarin.Forms.Platform.Resource.Style.Base_V21_Theme_AppCompat_Light = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_V21_Theme_AppCompat_Light;
global::Xamarin.Forms.Platform.Resource.Style.Base_V21_Theme_AppCompat_Light_Dialog = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_V21_Theme_AppCompat_Light_Dialog;
global::Xamarin.Forms.Platform.Resource.Style.Base_V22_Theme_AppCompat = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_V22_Theme_AppCompat;
global::Xamarin.Forms.Platform.Resource.Style.Base_V22_Theme_AppCompat_Light = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_V22_Theme_AppCompat_Light;
global::Xamarin.Forms.Platform.Resource.Style.Base_V23_Theme_AppCompat = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_V23_Theme_AppCompat;
global::Xamarin.Forms.Platform.Resource.Style.Base_V23_Theme_AppCompat_Light = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_V23_Theme_AppCompat_Light;
global::Xamarin.Forms.Platform.Resource.Style.Base_V7_Theme_AppCompat = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_V7_Theme_AppCompat;
global::Xamarin.Forms.Platform.Resource.Style.Base_V7_Theme_AppCompat_Dialog = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_V7_Theme_AppCompat_Dialog;
global::Xamarin.Forms.Platform.Resource.Style.Base_V7_Theme_AppCompat_Light = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_V7_Theme_AppCompat_Light;
global::Xamarin.Forms.Platform.Resource.Style.Base_V7_Theme_AppCompat_Light_Dialog = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_V7_Theme_AppCompat_Light_Dialog;
global::Xamarin.Forms.Platform.Resource.Style.Base_V7_Widget_AppCompat_AutoCompleteTextView = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_V7_Widget_AppCompat_AutoCompleteTextView;
global::Xamarin.Forms.Platform.Resource.Style.Base_V7_Widget_AppCompat_EditText = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_V7_Widget_AppCompat_EditText;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_ActionBar = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_ActionBar;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_ActionBar_Solid = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_ActionBar_Solid;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_ActionBar_TabBar = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_ActionBar_TabBar;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_ActionBar_TabText = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_ActionBar_TabText;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_ActionBar_TabView = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_ActionBar_TabView;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_ActionButton = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_ActionButton;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_ActionButton_CloseMode = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_ActionButton_CloseMode;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_ActionButton_Overflow = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_ActionButton_Overflow;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_ActionMode = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_ActionMode;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_ActivityChooserView = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_ActivityChooserView;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_AutoCompleteTextView = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_AutoCompleteTextView;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_Button = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_Button;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_Button_Borderless = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_Button_Borderless;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_Button_Borderless_Colored = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_Button_Borderless_Colored;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_Button_ButtonBar_AlertDialog = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_Button_ButtonBar_AlertDialog;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_Button_Colored = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_Button_Colored;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_Button_Small = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_Button_Small;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_ButtonBar = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_ButtonBar;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_ButtonBar_AlertDialog = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_ButtonBar_AlertDialog;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_CompoundButton_CheckBox = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_CompoundButton_CheckBox;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_CompoundButton_RadioButton = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_CompoundButton_RadioButton;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_CompoundButton_Switch = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_CompoundButton_Switch;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_DrawerArrowToggle = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_DrawerArrowToggle;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_DrawerArrowToggle_Common = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_DrawerArrowToggle_Common;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_DropDownItem_Spinner = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_DropDownItem_Spinner;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_EditText = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_EditText;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_Light_ActionBar = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_Light_ActionBar;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_Light_ActionBar_Solid = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_Light_ActionBar_Solid;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_Light_ActionBar_TabBar = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_Light_ActionBar_TabBar;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_Light_ActionBar_TabText = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_Light_ActionBar_TabText;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_Light_ActionBar_TabText_Inverse = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_Light_ActionBar_TabText_Inverse;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_Light_ActionBar_TabView = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_Light_ActionBar_TabView;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_Light_PopupMenu = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_Light_PopupMenu;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_Light_PopupMenu_Overflow = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_Light_PopupMenu_Overflow;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_ListPopupWindow = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_ListPopupWindow;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_ListView = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_ListView;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_ListView_DropDown = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_ListView_DropDown;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_ListView_Menu = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_ListView_Menu;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_PopupMenu = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_PopupMenu;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_PopupMenu_Overflow = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_PopupMenu_Overflow;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_PopupWindow = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_PopupWindow;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_ProgressBar = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_ProgressBar;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_ProgressBar_Horizontal = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_ProgressBar_Horizontal;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_RatingBar = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_RatingBar;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_SearchView = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_SearchView;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_SearchView_ActionBar = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_SearchView_ActionBar;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_Spinner = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_Spinner;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_Spinner_Underlined = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_Spinner_Underlined;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_TextView_SpinnerItem = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_TextView_SpinnerItem;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_Toolbar = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_Toolbar;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_AppCompat_Toolbar_Button_Navigation = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_AppCompat_Toolbar_Button_Navigation;
global::Xamarin.Forms.Platform.Resource.Style.Base_Widget_Design_TabLayout = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Base_Widget_Design_TabLayout;
global::Xamarin.Forms.Platform.Resource.Style.CardView = global::Xamarin.Forms.Portable4.Droid.Resource.Style.CardView;
global::Xamarin.Forms.Platform.Resource.Style.CardView_Dark = global::Xamarin.Forms.Portable4.Droid.Resource.Style.CardView_Dark;
global::Xamarin.Forms.Platform.Resource.Style.CardView_Light = global::Xamarin.Forms.Portable4.Droid.Resource.Style.CardView_Light;
global::Xamarin.Forms.Platform.Resource.Style.Platform_AppCompat = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Platform_AppCompat;
global::Xamarin.Forms.Platform.Resource.Style.Platform_AppCompat_Light = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Platform_AppCompat_Light;
global::Xamarin.Forms.Platform.Resource.Style.Platform_ThemeOverlay_AppCompat = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Platform_ThemeOverlay_AppCompat;
global::Xamarin.Forms.Platform.Resource.Style.Platform_ThemeOverlay_AppCompat_Dark = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Platform_ThemeOverlay_AppCompat_Dark;
global::Xamarin.Forms.Platform.Resource.Style.Platform_ThemeOverlay_AppCompat_Light = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Platform_ThemeOverlay_AppCompat_Light;
global::Xamarin.Forms.Platform.Resource.Style.Platform_V11_AppCompat = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Platform_V11_AppCompat;
global::Xamarin.Forms.Platform.Resource.Style.Platform_V11_AppCompat_Light = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Platform_V11_AppCompat_Light;
global::Xamarin.Forms.Platform.Resource.Style.Platform_V14_AppCompat = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Platform_V14_AppCompat;
global::Xamarin.Forms.Platform.Resource.Style.Platform_V14_AppCompat_Light = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Platform_V14_AppCompat_Light;
global::Xamarin.Forms.Platform.Resource.Style.Platform_Widget_AppCompat_Spinner = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Platform_Widget_AppCompat_Spinner;
global::Xamarin.Forms.Platform.Resource.Style.RtlOverlay_DialogWindowTitle_AppCompat = global::Xamarin.Forms.Portable4.Droid.Resource.Style.RtlOverlay_DialogWindowTitle_AppCompat;
global::Xamarin.Forms.Platform.Resource.Style.RtlOverlay_Widget_AppCompat_ActionBar_TitleItem = global::Xamarin.Forms.Portable4.Droid.Resource.Style.RtlOverlay_Widget_AppCompat_ActionBar_TitleItem;
global::Xamarin.Forms.Platform.Resource.Style.RtlOverlay_Widget_AppCompat_ActionButton_Overflow = global::Xamarin.Forms.Portable4.Droid.Resource.Style.RtlOverlay_Widget_AppCompat_ActionButton_Overflow;
global::Xamarin.Forms.Platform.Resource.Style.RtlOverlay_Widget_AppCompat_DialogTitle_Icon = global::Xamarin.Forms.Portable4.Droid.Resource.Style.RtlOverlay_Widget_AppCompat_DialogTitle_Icon;
global::Xamarin.Forms.Platform.Resource.Style.RtlOverlay_Widget_AppCompat_PopupMenuItem = global::Xamarin.Forms.Portable4.Droid.Resource.Style.RtlOverlay_Widget_AppCompat_PopupMenuItem;
global::Xamarin.Forms.Platform.Resource.Style.RtlOverlay_Widget_AppCompat_PopupMenuItem_InternalGroup = global::Xamarin.Forms.Portable4.Droid.Resource.Style.RtlOverlay_Widget_AppCompat_PopupMenuItem_InternalGroup;
global::Xamarin.Forms.Platform.Resource.Style.RtlOverlay_Widget_AppCompat_PopupMenuItem_Text = global::Xamarin.Forms.Portable4.Droid.Resource.Style.RtlOverlay_Widget_AppCompat_PopupMenuItem_Text;
global::Xamarin.Forms.Platform.Resource.Style.RtlOverlay_Widget_AppCompat_Search_DropDown = global::Xamarin.Forms.Portable4.Droid.Resource.Style.RtlOverlay_Widget_AppCompat_Search_DropDown;
global::Xamarin.Forms.Platform.Resource.Style.RtlOverlay_Widget_AppCompat_Search_DropDown_Icon1 = global::Xamarin.Forms.Portable4.Droid.Resource.Style.RtlOverlay_Widget_AppCompat_Search_DropDown_Icon1;
global::Xamarin.Forms.Platform.Resource.Style.RtlOverlay_Widget_AppCompat_Search_DropDown_Icon2 = global::Xamarin.Forms.Portable4.Droid.Resource.Style.RtlOverlay_Widget_AppCompat_Search_DropDown_Icon2;
global::Xamarin.Forms.Platform.Resource.Style.RtlOverlay_Widget_AppCompat_Search_DropDown_Query = global::Xamarin.Forms.Portable4.Droid.Resource.Style.RtlOverlay_Widget_AppCompat_Search_DropDown_Query;
global::Xamarin.Forms.Platform.Resource.Style.RtlOverlay_Widget_AppCompat_Search_DropDown_Text = global::Xamarin.Forms.Portable4.Droid.Resource.Style.RtlOverlay_Widget_AppCompat_Search_DropDown_Text;
global::Xamarin.Forms.Platform.Resource.Style.RtlOverlay_Widget_AppCompat_SearchView_MagIcon = global::Xamarin.Forms.Portable4.Droid.Resource.Style.RtlOverlay_Widget_AppCompat_SearchView_MagIcon;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Body1 = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Body1;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Body2 = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Body2;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Button = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Button;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Caption = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Caption;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Display1 = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Display1;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Display2 = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Display2;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Display3 = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Display3;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Display4 = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Display4;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Headline = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Headline;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Inverse = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Inverse;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Large = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Large;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Large_Inverse = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Large_Inverse;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Light_SearchResult_Subtitle = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Light_SearchResult_Subtitle;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Light_SearchResult_Title = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Light_SearchResult_Title;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Light_Widget_PopupMenu_Large = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Light_Widget_PopupMenu_Large;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Light_Widget_PopupMenu_Small = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Light_Widget_PopupMenu_Small;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Medium = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Medium;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Medium_Inverse = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Medium_Inverse;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Menu = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Menu;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_SearchResult_Subtitle = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_SearchResult_Subtitle;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_SearchResult_Title = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_SearchResult_Title;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Small = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Small;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Small_Inverse = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Small_Inverse;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Subhead = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Subhead;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Subhead_Inverse = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Subhead_Inverse;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Title = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Title;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Title_Inverse = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Title_Inverse;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Widget_ActionBar_Menu = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Widget_ActionBar_Menu;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Widget_ActionBar_Subtitle = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Widget_ActionBar_Subtitle;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Widget_ActionBar_Title = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Widget_ActionBar_Title;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Widget_ActionMode_Subtitle = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Widget_ActionMode_Subtitle;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Widget_ActionMode_Subtitle_Inverse = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Widget_ActionMode_Subtitle_Inverse;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Widget_ActionMode_Title = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Widget_ActionMode_Title;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Widget_ActionMode_Title_Inverse = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Widget_ActionMode_Title_Inverse;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Widget_Button = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Widget_Button;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Widget_Button_Inverse = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Widget_Button_Inverse;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Widget_DropDownItem = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Widget_DropDownItem;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Widget_PopupMenu_Large = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Widget_PopupMenu_Large;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Widget_PopupMenu_Small = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Widget_PopupMenu_Small;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Widget_Switch = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Widget_Switch;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Widget_TextView_SpinnerItem = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_AppCompat_Widget_TextView_SpinnerItem;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_Design_CollapsingToolbar_Expanded = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_Design_CollapsingToolbar_Expanded;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_Design_Error = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_Design_Error;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_Design_Hint = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_Design_Hint;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_Design_Snackbar_Message = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_Design_Snackbar_Message;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_Design_Tab = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_Design_Tab;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_StatusBar_EventContent = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_StatusBar_EventContent;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_StatusBar_EventContent_Info = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_StatusBar_EventContent_Info;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_StatusBar_EventContent_Line2 = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_StatusBar_EventContent_Line2;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_StatusBar_EventContent_Time = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_StatusBar_EventContent_Time;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_StatusBar_EventContent_Title = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_StatusBar_EventContent_Title;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_Widget_AppCompat_ExpandedMenu_Item = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_Widget_AppCompat_ExpandedMenu_Item;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_Widget_AppCompat_Toolbar_Subtitle = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_Widget_AppCompat_Toolbar_Subtitle;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_Widget_AppCompat_Toolbar_Title = global::Xamarin.Forms.Portable4.Droid.Resource.Style.TextAppearance_Widget_AppCompat_Toolbar_Title;
global::Xamarin.Forms.Platform.Resource.Style.Theme_AppCompat = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Theme_AppCompat;
global::Xamarin.Forms.Platform.Resource.Style.Theme_AppCompat_CompactMenu = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Theme_AppCompat_CompactMenu;
global::Xamarin.Forms.Platform.Resource.Style.Theme_AppCompat_Dialog = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Theme_AppCompat_Dialog;
global::Xamarin.Forms.Platform.Resource.Style.Theme_AppCompat_Dialog_Alert = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Theme_AppCompat_Dialog_Alert;
global::Xamarin.Forms.Platform.Resource.Style.Theme_AppCompat_Dialog_MinWidth = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Theme_AppCompat_Dialog_MinWidth;
global::Xamarin.Forms.Platform.Resource.Style.Theme_AppCompat_DialogWhenLarge = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Theme_AppCompat_DialogWhenLarge;
global::Xamarin.Forms.Platform.Resource.Style.Theme_AppCompat_Light = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Theme_AppCompat_Light;
global::Xamarin.Forms.Platform.Resource.Style.Theme_AppCompat_Light_DarkActionBar = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Theme_AppCompat_Light_DarkActionBar;
global::Xamarin.Forms.Platform.Resource.Style.Theme_AppCompat_Light_Dialog = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Theme_AppCompat_Light_Dialog;
global::Xamarin.Forms.Platform.Resource.Style.Theme_AppCompat_Light_Dialog_Alert = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Theme_AppCompat_Light_Dialog_Alert;
global::Xamarin.Forms.Platform.Resource.Style.Theme_AppCompat_Light_Dialog_MinWidth = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Theme_AppCompat_Light_Dialog_MinWidth;
global::Xamarin.Forms.Platform.Resource.Style.Theme_AppCompat_Light_DialogWhenLarge = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Theme_AppCompat_Light_DialogWhenLarge;
global::Xamarin.Forms.Platform.Resource.Style.Theme_AppCompat_Light_NoActionBar = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Theme_AppCompat_Light_NoActionBar;
global::Xamarin.Forms.Platform.Resource.Style.Theme_AppCompat_NoActionBar = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Theme_AppCompat_NoActionBar;
global::Xamarin.Forms.Platform.Resource.Style.ThemeOverlay_AppCompat = global::Xamarin.Forms.Portable4.Droid.Resource.Style.ThemeOverlay_AppCompat;
global::Xamarin.Forms.Platform.Resource.Style.ThemeOverlay_AppCompat_ActionBar = global::Xamarin.Forms.Portable4.Droid.Resource.Style.ThemeOverlay_AppCompat_ActionBar;
global::Xamarin.Forms.Platform.Resource.Style.ThemeOverlay_AppCompat_Dark = global::Xamarin.Forms.Portable4.Droid.Resource.Style.ThemeOverlay_AppCompat_Dark;
global::Xamarin.Forms.Platform.Resource.Style.ThemeOverlay_AppCompat_Dark_ActionBar = global::Xamarin.Forms.Portable4.Droid.Resource.Style.ThemeOverlay_AppCompat_Dark_ActionBar;
global::Xamarin.Forms.Platform.Resource.Style.ThemeOverlay_AppCompat_Light = global::Xamarin.Forms.Portable4.Droid.Resource.Style.ThemeOverlay_AppCompat_Light;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_ActionBar = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_ActionBar;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_ActionBar_Solid = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_ActionBar_Solid;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_ActionBar_TabBar = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_ActionBar_TabBar;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_ActionBar_TabText = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_ActionBar_TabText;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_ActionBar_TabView = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_ActionBar_TabView;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_ActionButton = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_ActionButton;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_ActionButton_CloseMode = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_ActionButton_CloseMode;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_ActionButton_Overflow = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_ActionButton_Overflow;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_ActionMode = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_ActionMode;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_ActivityChooserView = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_ActivityChooserView;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_AutoCompleteTextView = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_AutoCompleteTextView;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_Button = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_Button;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_Button_Borderless = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_Button_Borderless;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_Button_Borderless_Colored = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_Button_Borderless_Colored;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_Button_ButtonBar_AlertDialog = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_Button_ButtonBar_AlertDialog;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_Button_Colored = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_Button_Colored;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_Button_Small = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_Button_Small;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_ButtonBar = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_ButtonBar;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_ButtonBar_AlertDialog = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_ButtonBar_AlertDialog;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_CompoundButton_CheckBox = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_CompoundButton_CheckBox;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_CompoundButton_RadioButton = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_CompoundButton_RadioButton;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_CompoundButton_Switch = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_CompoundButton_Switch;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_DrawerArrowToggle = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_DrawerArrowToggle;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_DropDownItem_Spinner = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_DropDownItem_Spinner;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_EditText = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_EditText;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_Light_ActionBar = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_Light_ActionBar;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_Light_ActionBar_Solid = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_Light_ActionBar_Solid;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_Light_ActionBar_Solid_Inverse = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_Light_ActionBar_Solid_Inverse;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_Light_ActionBar_TabBar = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_Light_ActionBar_TabBar;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_Light_ActionBar_TabBar_Inverse = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_Light_ActionBar_TabBar_Inverse;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_Light_ActionBar_TabText = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_Light_ActionBar_TabText;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_Light_ActionBar_TabText_Inverse = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_Light_ActionBar_TabText_Inverse;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_Light_ActionBar_TabView = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_Light_ActionBar_TabView;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_Light_ActionBar_TabView_Inverse = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_Light_ActionBar_TabView_Inverse;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_Light_ActionButton = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_Light_ActionButton;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_Light_ActionButton_CloseMode = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_Light_ActionButton_CloseMode;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_Light_ActionButton_Overflow = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_Light_ActionButton_Overflow;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_Light_ActionMode_Inverse = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_Light_ActionMode_Inverse;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_Light_ActivityChooserView = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_Light_ActivityChooserView;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_Light_AutoCompleteTextView = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_Light_AutoCompleteTextView;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_Light_DropDownItem_Spinner = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_Light_DropDownItem_Spinner;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_Light_ListPopupWindow = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_Light_ListPopupWindow;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_Light_ListView_DropDown = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_Light_ListView_DropDown;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_Light_PopupMenu = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_Light_PopupMenu;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_Light_PopupMenu_Overflow = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_Light_PopupMenu_Overflow;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_Light_SearchView = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_Light_SearchView;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_Light_Spinner_DropDown_ActionBar = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_Light_Spinner_DropDown_ActionBar;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_ListPopupWindow = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_ListPopupWindow;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_ListView = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_ListView;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_ListView_DropDown = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_ListView_DropDown;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_ListView_Menu = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_ListView_Menu;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_PopupMenu = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_PopupMenu;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_PopupMenu_Overflow = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_PopupMenu_Overflow;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_PopupWindow = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_PopupWindow;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_ProgressBar = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_ProgressBar;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_ProgressBar_Horizontal = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_ProgressBar_Horizontal;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_RatingBar = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_RatingBar;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_SearchView = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_SearchView;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_SearchView_ActionBar = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_SearchView_ActionBar;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_Spinner = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_Spinner;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_Spinner_DropDown = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_Spinner_DropDown;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_Spinner_DropDown_ActionBar = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_Spinner_DropDown_ActionBar;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_Spinner_Underlined = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_Spinner_Underlined;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_TextView_SpinnerItem = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_TextView_SpinnerItem;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_Toolbar = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_Toolbar;
global::Xamarin.Forms.Platform.Resource.Style.Widget_AppCompat_Toolbar_Button_Navigation = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_AppCompat_Toolbar_Button_Navigation;
global::Xamarin.Forms.Platform.Resource.Style.Widget_Design_AppBarLayout = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_Design_AppBarLayout;
global::Xamarin.Forms.Platform.Resource.Style.Widget_Design_CollapsingToolbar = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_Design_CollapsingToolbar;
global::Xamarin.Forms.Platform.Resource.Style.Widget_Design_CoordinatorLayout = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_Design_CoordinatorLayout;
global::Xamarin.Forms.Platform.Resource.Style.Widget_Design_FloatingActionButton = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_Design_FloatingActionButton;
global::Xamarin.Forms.Platform.Resource.Style.Widget_Design_NavigationView = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_Design_NavigationView;
global::Xamarin.Forms.Platform.Resource.Style.Widget_Design_ScrimInsetsFrameLayout = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_Design_ScrimInsetsFrameLayout;
global::Xamarin.Forms.Platform.Resource.Style.Widget_Design_Snackbar = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_Design_Snackbar;
global::Xamarin.Forms.Platform.Resource.Style.Widget_Design_TabLayout = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_Design_TabLayout;
global::Xamarin.Forms.Platform.Resource.Style.Widget_Design_TextInputLayout = global::Xamarin.Forms.Portable4.Droid.Resource.Style.Widget_Design_TextInputLayout;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionBar = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionBar;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionBar_background = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionBar_background;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionBar_backgroundSplit = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionBar_backgroundSplit;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionBar_backgroundStacked = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionBar_backgroundStacked;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionBar_contentInsetEnd = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionBar_contentInsetEnd;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionBar_contentInsetLeft = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionBar_contentInsetLeft;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionBar_contentInsetRight = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionBar_contentInsetRight;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionBar_contentInsetStart = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionBar_contentInsetStart;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionBar_customNavigationLayout = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionBar_customNavigationLayout;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionBar_displayOptions = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionBar_displayOptions;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionBar_divider = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionBar_divider;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionBar_elevation = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionBar_elevation;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionBar_height = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionBar_height;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionBar_hideOnContentScroll = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionBar_hideOnContentScroll;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionBar_homeAsUpIndicator = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionBar_homeAsUpIndicator;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionBar_homeLayout = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionBar_homeLayout;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionBar_icon = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionBar_icon;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionBar_indeterminateProgressStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionBar_indeterminateProgressStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionBar_itemPadding = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionBar_itemPadding;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionBar_logo = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionBar_logo;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionBar_navigationMode = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionBar_navigationMode;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionBar_popupTheme = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionBar_popupTheme;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionBar_progressBarPadding = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionBar_progressBarPadding;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionBar_progressBarStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionBar_progressBarStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionBar_subtitle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionBar_subtitle;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionBar_subtitleTextStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionBar_subtitleTextStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionBar_title = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionBar_title;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionBar_titleTextStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionBar_titleTextStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionBarLayout = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionBarLayout;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionBarLayout_android_layout_gravity = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionBarLayout_android_layout_gravity;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionMenuItemView = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionMenuItemView;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionMenuItemView_android_minWidth = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionMenuItemView_android_minWidth;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionMenuView = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionMenuView;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionMode = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionMode;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionMode_background = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionMode_background;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionMode_backgroundSplit = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionMode_backgroundSplit;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionMode_closeItemLayout = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionMode_closeItemLayout;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionMode_height = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionMode_height;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionMode_subtitleTextStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionMode_subtitleTextStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.ActionMode_titleTextStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActionMode_titleTextStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.ActivityChooserView = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActivityChooserView;
global::Xamarin.Forms.Platform.Resource.Styleable.ActivityChooserView_expandActivityOverflowButtonDrawable = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActivityChooserView_expandActivityOverflowButtonDrawable;
global::Xamarin.Forms.Platform.Resource.Styleable.ActivityChooserView_initialActivityCount = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ActivityChooserView_initialActivityCount;
global::Xamarin.Forms.Platform.Resource.Styleable.AlertDialog = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.AlertDialog;
global::Xamarin.Forms.Platform.Resource.Styleable.AlertDialog_android_layout = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.AlertDialog_android_layout;
global::Xamarin.Forms.Platform.Resource.Styleable.AlertDialog_buttonPanelSideLayout = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.AlertDialog_buttonPanelSideLayout;
global::Xamarin.Forms.Platform.Resource.Styleable.AlertDialog_listItemLayout = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.AlertDialog_listItemLayout;
global::Xamarin.Forms.Platform.Resource.Styleable.AlertDialog_listLayout = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.AlertDialog_listLayout;
global::Xamarin.Forms.Platform.Resource.Styleable.AlertDialog_multiChoiceItemLayout = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.AlertDialog_multiChoiceItemLayout;
global::Xamarin.Forms.Platform.Resource.Styleable.AlertDialog_singleChoiceItemLayout = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.AlertDialog_singleChoiceItemLayout;
global::Xamarin.Forms.Platform.Resource.Styleable.AppBarLayout = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.AppBarLayout;
global::Xamarin.Forms.Platform.Resource.Styleable.AppBarLayout_android_background = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.AppBarLayout_android_background;
global::Xamarin.Forms.Platform.Resource.Styleable.AppBarLayout_elevation = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.AppBarLayout_elevation;
global::Xamarin.Forms.Platform.Resource.Styleable.AppBarLayout_expanded = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.AppBarLayout_expanded;
global::Xamarin.Forms.Platform.Resource.Styleable.AppBarLayout_LayoutParams = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.AppBarLayout_LayoutParams;
global::Xamarin.Forms.Platform.Resource.Styleable.AppBarLayout_LayoutParams_layout_scrollFlags = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.AppBarLayout_LayoutParams_layout_scrollFlags;
global::Xamarin.Forms.Platform.Resource.Styleable.AppBarLayout_LayoutParams_layout_scrollInterpolator = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.AppBarLayout_LayoutParams_layout_scrollInterpolator;
global::Xamarin.Forms.Platform.Resource.Styleable.AppCompatTextView = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.AppCompatTextView;
global::Xamarin.Forms.Platform.Resource.Styleable.AppCompatTextView_android_textAppearance = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.AppCompatTextView_android_textAppearance;
global::Xamarin.Forms.Platform.Resource.Styleable.AppCompatTextView_textAllCaps = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.AppCompatTextView_textAllCaps;
global::Xamarin.Forms.Platform.Resource.Styleable.CardView = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CardView;
global::Xamarin.Forms.Platform.Resource.Styleable.CardView_cardBackgroundColor = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CardView_cardBackgroundColor;
global::Xamarin.Forms.Platform.Resource.Styleable.CardView_cardCornerRadius = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CardView_cardCornerRadius;
global::Xamarin.Forms.Platform.Resource.Styleable.CardView_cardElevation = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CardView_cardElevation;
global::Xamarin.Forms.Platform.Resource.Styleable.CardView_cardMaxElevation = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CardView_cardMaxElevation;
global::Xamarin.Forms.Platform.Resource.Styleable.CardView_cardPreventCornerOverlap = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CardView_cardPreventCornerOverlap;
global::Xamarin.Forms.Platform.Resource.Styleable.CardView_cardUseCompatPadding = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CardView_cardUseCompatPadding;
global::Xamarin.Forms.Platform.Resource.Styleable.CardView_contentPadding = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CardView_contentPadding;
global::Xamarin.Forms.Platform.Resource.Styleable.CardView_contentPaddingBottom = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CardView_contentPaddingBottom;
global::Xamarin.Forms.Platform.Resource.Styleable.CardView_contentPaddingLeft = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CardView_contentPaddingLeft;
global::Xamarin.Forms.Platform.Resource.Styleable.CardView_contentPaddingRight = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CardView_contentPaddingRight;
global::Xamarin.Forms.Platform.Resource.Styleable.CardView_contentPaddingTop = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CardView_contentPaddingTop;
global::Xamarin.Forms.Platform.Resource.Styleable.CollapsingAppBarLayout_LayoutParams = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CollapsingAppBarLayout_LayoutParams;
global::Xamarin.Forms.Platform.Resource.Styleable.CollapsingAppBarLayout_LayoutParams_layout_collapseMode = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CollapsingAppBarLayout_LayoutParams_layout_collapseMode;
global::Xamarin.Forms.Platform.Resource.Styleable.CollapsingAppBarLayout_LayoutParams_layout_collapseParallaxMultiplier = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CollapsingAppBarLayout_LayoutParams_layout_collapseParallaxMultiplier;
global::Xamarin.Forms.Platform.Resource.Styleable.CollapsingToolbarLayout = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CollapsingToolbarLayout;
global::Xamarin.Forms.Platform.Resource.Styleable.CollapsingToolbarLayout_collapsedTitleGravity = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CollapsingToolbarLayout_collapsedTitleGravity;
global::Xamarin.Forms.Platform.Resource.Styleable.CollapsingToolbarLayout_collapsedTitleTextAppearance = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CollapsingToolbarLayout_collapsedTitleTextAppearance;
global::Xamarin.Forms.Platform.Resource.Styleable.CollapsingToolbarLayout_contentScrim = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CollapsingToolbarLayout_contentScrim;
global::Xamarin.Forms.Platform.Resource.Styleable.CollapsingToolbarLayout_expandedTitleGravity = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CollapsingToolbarLayout_expandedTitleGravity;
global::Xamarin.Forms.Platform.Resource.Styleable.CollapsingToolbarLayout_expandedTitleMargin = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CollapsingToolbarLayout_expandedTitleMargin;
global::Xamarin.Forms.Platform.Resource.Styleable.CollapsingToolbarLayout_expandedTitleMarginBottom = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CollapsingToolbarLayout_expandedTitleMarginBottom;
global::Xamarin.Forms.Platform.Resource.Styleable.CollapsingToolbarLayout_expandedTitleMarginEnd = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CollapsingToolbarLayout_expandedTitleMarginEnd;
global::Xamarin.Forms.Platform.Resource.Styleable.CollapsingToolbarLayout_expandedTitleMarginStart = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CollapsingToolbarLayout_expandedTitleMarginStart;
global::Xamarin.Forms.Platform.Resource.Styleable.CollapsingToolbarLayout_expandedTitleMarginTop = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CollapsingToolbarLayout_expandedTitleMarginTop;
global::Xamarin.Forms.Platform.Resource.Styleable.CollapsingToolbarLayout_expandedTitleTextAppearance = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CollapsingToolbarLayout_expandedTitleTextAppearance;
global::Xamarin.Forms.Platform.Resource.Styleable.CollapsingToolbarLayout_statusBarScrim = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CollapsingToolbarLayout_statusBarScrim;
global::Xamarin.Forms.Platform.Resource.Styleable.CollapsingToolbarLayout_title = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CollapsingToolbarLayout_title;
global::Xamarin.Forms.Platform.Resource.Styleable.CollapsingToolbarLayout_titleEnabled = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CollapsingToolbarLayout_titleEnabled;
global::Xamarin.Forms.Platform.Resource.Styleable.CollapsingToolbarLayout_toolbarId = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CollapsingToolbarLayout_toolbarId;
global::Xamarin.Forms.Platform.Resource.Styleable.CompoundButton = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CompoundButton;
global::Xamarin.Forms.Platform.Resource.Styleable.CompoundButton_android_button = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CompoundButton_android_button;
global::Xamarin.Forms.Platform.Resource.Styleable.CompoundButton_buttonTint = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CompoundButton_buttonTint;
global::Xamarin.Forms.Platform.Resource.Styleable.CompoundButton_buttonTintMode = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CompoundButton_buttonTintMode;
global::Xamarin.Forms.Platform.Resource.Styleable.CoordinatorLayout = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CoordinatorLayout;
global::Xamarin.Forms.Platform.Resource.Styleable.CoordinatorLayout_keylines = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CoordinatorLayout_keylines;
global::Xamarin.Forms.Platform.Resource.Styleable.CoordinatorLayout_statusBarBackground = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CoordinatorLayout_statusBarBackground;
global::Xamarin.Forms.Platform.Resource.Styleable.CoordinatorLayout_LayoutParams = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CoordinatorLayout_LayoutParams;
global::Xamarin.Forms.Platform.Resource.Styleable.CoordinatorLayout_LayoutParams_android_layout_gravity = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CoordinatorLayout_LayoutParams_android_layout_gravity;
global::Xamarin.Forms.Platform.Resource.Styleable.CoordinatorLayout_LayoutParams_layout_anchor = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CoordinatorLayout_LayoutParams_layout_anchor;
global::Xamarin.Forms.Platform.Resource.Styleable.CoordinatorLayout_LayoutParams_layout_anchorGravity = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CoordinatorLayout_LayoutParams_layout_anchorGravity;
global::Xamarin.Forms.Platform.Resource.Styleable.CoordinatorLayout_LayoutParams_layout_behavior = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CoordinatorLayout_LayoutParams_layout_behavior;
global::Xamarin.Forms.Platform.Resource.Styleable.CoordinatorLayout_LayoutParams_layout_keyline = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.CoordinatorLayout_LayoutParams_layout_keyline;
global::Xamarin.Forms.Platform.Resource.Styleable.DrawerArrowToggle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.DrawerArrowToggle;
global::Xamarin.Forms.Platform.Resource.Styleable.DrawerArrowToggle_arrowHeadLength = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.DrawerArrowToggle_arrowHeadLength;
global::Xamarin.Forms.Platform.Resource.Styleable.DrawerArrowToggle_arrowShaftLength = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.DrawerArrowToggle_arrowShaftLength;
global::Xamarin.Forms.Platform.Resource.Styleable.DrawerArrowToggle_barLength = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.DrawerArrowToggle_barLength;
global::Xamarin.Forms.Platform.Resource.Styleable.DrawerArrowToggle_color = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.DrawerArrowToggle_color;
global::Xamarin.Forms.Platform.Resource.Styleable.DrawerArrowToggle_drawableSize = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.DrawerArrowToggle_drawableSize;
global::Xamarin.Forms.Platform.Resource.Styleable.DrawerArrowToggle_gapBetweenBars = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.DrawerArrowToggle_gapBetweenBars;
global::Xamarin.Forms.Platform.Resource.Styleable.DrawerArrowToggle_spinBars = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.DrawerArrowToggle_spinBars;
global::Xamarin.Forms.Platform.Resource.Styleable.DrawerArrowToggle_thickness = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.DrawerArrowToggle_thickness;
global::Xamarin.Forms.Platform.Resource.Styleable.FloatingActionButton = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.FloatingActionButton;
global::Xamarin.Forms.Platform.Resource.Styleable.FloatingActionButton_android_background = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.FloatingActionButton_android_background;
global::Xamarin.Forms.Platform.Resource.Styleable.FloatingActionButton_backgroundTint = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.FloatingActionButton_backgroundTint;
global::Xamarin.Forms.Platform.Resource.Styleable.FloatingActionButton_backgroundTintMode = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.FloatingActionButton_backgroundTintMode;
global::Xamarin.Forms.Platform.Resource.Styleable.FloatingActionButton_borderWidth = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.FloatingActionButton_borderWidth;
global::Xamarin.Forms.Platform.Resource.Styleable.FloatingActionButton_elevation = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.FloatingActionButton_elevation;
global::Xamarin.Forms.Platform.Resource.Styleable.FloatingActionButton_fabSize = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.FloatingActionButton_fabSize;
global::Xamarin.Forms.Platform.Resource.Styleable.FloatingActionButton_pressedTranslationZ = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.FloatingActionButton_pressedTranslationZ;
global::Xamarin.Forms.Platform.Resource.Styleable.FloatingActionButton_rippleColor = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.FloatingActionButton_rippleColor;
global::Xamarin.Forms.Platform.Resource.Styleable.LinearLayoutCompat = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.LinearLayoutCompat;
global::Xamarin.Forms.Platform.Resource.Styleable.LinearLayoutCompat_android_baselineAligned = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.LinearLayoutCompat_android_baselineAligned;
global::Xamarin.Forms.Platform.Resource.Styleable.LinearLayoutCompat_android_baselineAlignedChildIndex = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.LinearLayoutCompat_android_baselineAlignedChildIndex;
global::Xamarin.Forms.Platform.Resource.Styleable.LinearLayoutCompat_android_gravity = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.LinearLayoutCompat_android_gravity;
global::Xamarin.Forms.Platform.Resource.Styleable.LinearLayoutCompat_android_orientation = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.LinearLayoutCompat_android_orientation;
global::Xamarin.Forms.Platform.Resource.Styleable.LinearLayoutCompat_android_weightSum = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.LinearLayoutCompat_android_weightSum;
global::Xamarin.Forms.Platform.Resource.Styleable.LinearLayoutCompat_divider = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.LinearLayoutCompat_divider;
global::Xamarin.Forms.Platform.Resource.Styleable.LinearLayoutCompat_dividerPadding = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.LinearLayoutCompat_dividerPadding;
global::Xamarin.Forms.Platform.Resource.Styleable.LinearLayoutCompat_measureWithLargestChild = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.LinearLayoutCompat_measureWithLargestChild;
global::Xamarin.Forms.Platform.Resource.Styleable.LinearLayoutCompat_showDividers = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.LinearLayoutCompat_showDividers;
global::Xamarin.Forms.Platform.Resource.Styleable.LinearLayoutCompat_Layout = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.LinearLayoutCompat_Layout;
global::Xamarin.Forms.Platform.Resource.Styleable.LinearLayoutCompat_Layout_android_layout_gravity = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.LinearLayoutCompat_Layout_android_layout_gravity;
global::Xamarin.Forms.Platform.Resource.Styleable.LinearLayoutCompat_Layout_android_layout_height = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.LinearLayoutCompat_Layout_android_layout_height;
global::Xamarin.Forms.Platform.Resource.Styleable.LinearLayoutCompat_Layout_android_layout_weight = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.LinearLayoutCompat_Layout_android_layout_weight;
global::Xamarin.Forms.Platform.Resource.Styleable.LinearLayoutCompat_Layout_android_layout_width = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.LinearLayoutCompat_Layout_android_layout_width;
global::Xamarin.Forms.Platform.Resource.Styleable.ListPopupWindow = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ListPopupWindow;
global::Xamarin.Forms.Platform.Resource.Styleable.ListPopupWindow_android_dropDownHorizontalOffset = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ListPopupWindow_android_dropDownHorizontalOffset;
global::Xamarin.Forms.Platform.Resource.Styleable.ListPopupWindow_android_dropDownVerticalOffset = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ListPopupWindow_android_dropDownVerticalOffset;
global::Xamarin.Forms.Platform.Resource.Styleable.MenuGroup = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.MenuGroup;
global::Xamarin.Forms.Platform.Resource.Styleable.MenuGroup_android_checkableBehavior = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.MenuGroup_android_checkableBehavior;
global::Xamarin.Forms.Platform.Resource.Styleable.MenuGroup_android_enabled = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.MenuGroup_android_enabled;
global::Xamarin.Forms.Platform.Resource.Styleable.MenuGroup_android_id = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.MenuGroup_android_id;
global::Xamarin.Forms.Platform.Resource.Styleable.MenuGroup_android_menuCategory = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.MenuGroup_android_menuCategory;
global::Xamarin.Forms.Platform.Resource.Styleable.MenuGroup_android_orderInCategory = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.MenuGroup_android_orderInCategory;
global::Xamarin.Forms.Platform.Resource.Styleable.MenuGroup_android_visible = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.MenuGroup_android_visible;
global::Xamarin.Forms.Platform.Resource.Styleable.MenuItem = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.MenuItem;
global::Xamarin.Forms.Platform.Resource.Styleable.MenuItem_actionLayout = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.MenuItem_actionLayout;
global::Xamarin.Forms.Platform.Resource.Styleable.MenuItem_actionProviderClass = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.MenuItem_actionProviderClass;
global::Xamarin.Forms.Platform.Resource.Styleable.MenuItem_actionViewClass = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.MenuItem_actionViewClass;
global::Xamarin.Forms.Platform.Resource.Styleable.MenuItem_android_alphabeticShortcut = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.MenuItem_android_alphabeticShortcut;
global::Xamarin.Forms.Platform.Resource.Styleable.MenuItem_android_checkable = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.MenuItem_android_checkable;
global::Xamarin.Forms.Platform.Resource.Styleable.MenuItem_android_checked = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.MenuItem_android_checked;
global::Xamarin.Forms.Platform.Resource.Styleable.MenuItem_android_enabled = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.MenuItem_android_enabled;
global::Xamarin.Forms.Platform.Resource.Styleable.MenuItem_android_icon = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.MenuItem_android_icon;
global::Xamarin.Forms.Platform.Resource.Styleable.MenuItem_android_id = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.MenuItem_android_id;
global::Xamarin.Forms.Platform.Resource.Styleable.MenuItem_android_menuCategory = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.MenuItem_android_menuCategory;
global::Xamarin.Forms.Platform.Resource.Styleable.MenuItem_android_numericShortcut = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.MenuItem_android_numericShortcut;
global::Xamarin.Forms.Platform.Resource.Styleable.MenuItem_android_onClick = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.MenuItem_android_onClick;
global::Xamarin.Forms.Platform.Resource.Styleable.MenuItem_android_orderInCategory = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.MenuItem_android_orderInCategory;
global::Xamarin.Forms.Platform.Resource.Styleable.MenuItem_android_title = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.MenuItem_android_title;
global::Xamarin.Forms.Platform.Resource.Styleable.MenuItem_android_titleCondensed = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.MenuItem_android_titleCondensed;
global::Xamarin.Forms.Platform.Resource.Styleable.MenuItem_android_visible = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.MenuItem_android_visible;
global::Xamarin.Forms.Platform.Resource.Styleable.MenuItem_showAsAction = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.MenuItem_showAsAction;
global::Xamarin.Forms.Platform.Resource.Styleable.MenuView = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.MenuView;
global::Xamarin.Forms.Platform.Resource.Styleable.MenuView_android_headerBackground = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.MenuView_android_headerBackground;
global::Xamarin.Forms.Platform.Resource.Styleable.MenuView_android_horizontalDivider = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.MenuView_android_horizontalDivider;
global::Xamarin.Forms.Platform.Resource.Styleable.MenuView_android_itemBackground = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.MenuView_android_itemBackground;
global::Xamarin.Forms.Platform.Resource.Styleable.MenuView_android_itemIconDisabledAlpha = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.MenuView_android_itemIconDisabledAlpha;
global::Xamarin.Forms.Platform.Resource.Styleable.MenuView_android_itemTextAppearance = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.MenuView_android_itemTextAppearance;
global::Xamarin.Forms.Platform.Resource.Styleable.MenuView_android_verticalDivider = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.MenuView_android_verticalDivider;
global::Xamarin.Forms.Platform.Resource.Styleable.MenuView_android_windowAnimationStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.MenuView_android_windowAnimationStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.MenuView_preserveIconSpacing = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.MenuView_preserveIconSpacing;
global::Xamarin.Forms.Platform.Resource.Styleable.NavigationView = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.NavigationView;
global::Xamarin.Forms.Platform.Resource.Styleable.NavigationView_android_background = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.NavigationView_android_background;
global::Xamarin.Forms.Platform.Resource.Styleable.NavigationView_android_fitsSystemWindows = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.NavigationView_android_fitsSystemWindows;
global::Xamarin.Forms.Platform.Resource.Styleable.NavigationView_android_maxWidth = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.NavigationView_android_maxWidth;
global::Xamarin.Forms.Platform.Resource.Styleable.NavigationView_elevation = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.NavigationView_elevation;
global::Xamarin.Forms.Platform.Resource.Styleable.NavigationView_headerLayout = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.NavigationView_headerLayout;
global::Xamarin.Forms.Platform.Resource.Styleable.NavigationView_itemBackground = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.NavigationView_itemBackground;
global::Xamarin.Forms.Platform.Resource.Styleable.NavigationView_itemIconTint = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.NavigationView_itemIconTint;
global::Xamarin.Forms.Platform.Resource.Styleable.NavigationView_itemTextAppearance = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.NavigationView_itemTextAppearance;
global::Xamarin.Forms.Platform.Resource.Styleable.NavigationView_itemTextColor = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.NavigationView_itemTextColor;
global::Xamarin.Forms.Platform.Resource.Styleable.NavigationView_menu = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.NavigationView_menu;
global::Xamarin.Forms.Platform.Resource.Styleable.PopupWindow = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.PopupWindow;
global::Xamarin.Forms.Platform.Resource.Styleable.PopupWindow_android_popupBackground = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.PopupWindow_android_popupBackground;
global::Xamarin.Forms.Platform.Resource.Styleable.PopupWindow_overlapAnchor = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.PopupWindow_overlapAnchor;
global::Xamarin.Forms.Platform.Resource.Styleable.PopupWindowBackgroundState = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.PopupWindowBackgroundState;
global::Xamarin.Forms.Platform.Resource.Styleable.PopupWindowBackgroundState_state_above_anchor = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.PopupWindowBackgroundState_state_above_anchor;
global::Xamarin.Forms.Platform.Resource.Styleable.ScrimInsetsFrameLayout = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ScrimInsetsFrameLayout;
global::Xamarin.Forms.Platform.Resource.Styleable.ScrimInsetsFrameLayout_insetForeground = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ScrimInsetsFrameLayout_insetForeground;
global::Xamarin.Forms.Platform.Resource.Styleable.ScrollingViewBehavior_Params = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ScrollingViewBehavior_Params;
global::Xamarin.Forms.Platform.Resource.Styleable.ScrollingViewBehavior_Params_behavior_overlapTop = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ScrollingViewBehavior_Params_behavior_overlapTop;
global::Xamarin.Forms.Platform.Resource.Styleable.SearchView = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.SearchView;
global::Xamarin.Forms.Platform.Resource.Styleable.SearchView_android_focusable = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.SearchView_android_focusable;
global::Xamarin.Forms.Platform.Resource.Styleable.SearchView_android_imeOptions = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.SearchView_android_imeOptions;
global::Xamarin.Forms.Platform.Resource.Styleable.SearchView_android_inputType = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.SearchView_android_inputType;
global::Xamarin.Forms.Platform.Resource.Styleable.SearchView_android_maxWidth = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.SearchView_android_maxWidth;
global::Xamarin.Forms.Platform.Resource.Styleable.SearchView_closeIcon = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.SearchView_closeIcon;
global::Xamarin.Forms.Platform.Resource.Styleable.SearchView_commitIcon = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.SearchView_commitIcon;
global::Xamarin.Forms.Platform.Resource.Styleable.SearchView_defaultQueryHint = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.SearchView_defaultQueryHint;
global::Xamarin.Forms.Platform.Resource.Styleable.SearchView_goIcon = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.SearchView_goIcon;
global::Xamarin.Forms.Platform.Resource.Styleable.SearchView_iconifiedByDefault = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.SearchView_iconifiedByDefault;
global::Xamarin.Forms.Platform.Resource.Styleable.SearchView_layout = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.SearchView_layout;
global::Xamarin.Forms.Platform.Resource.Styleable.SearchView_queryBackground = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.SearchView_queryBackground;
global::Xamarin.Forms.Platform.Resource.Styleable.SearchView_queryHint = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.SearchView_queryHint;
global::Xamarin.Forms.Platform.Resource.Styleable.SearchView_searchHintIcon = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.SearchView_searchHintIcon;
global::Xamarin.Forms.Platform.Resource.Styleable.SearchView_searchIcon = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.SearchView_searchIcon;
global::Xamarin.Forms.Platform.Resource.Styleable.SearchView_submitBackground = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.SearchView_submitBackground;
global::Xamarin.Forms.Platform.Resource.Styleable.SearchView_suggestionRowLayout = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.SearchView_suggestionRowLayout;
global::Xamarin.Forms.Platform.Resource.Styleable.SearchView_voiceIcon = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.SearchView_voiceIcon;
global::Xamarin.Forms.Platform.Resource.Styleable.SnackbarLayout = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.SnackbarLayout;
global::Xamarin.Forms.Platform.Resource.Styleable.SnackbarLayout_android_maxWidth = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.SnackbarLayout_android_maxWidth;
global::Xamarin.Forms.Platform.Resource.Styleable.SnackbarLayout_elevation = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.SnackbarLayout_elevation;
global::Xamarin.Forms.Platform.Resource.Styleable.SnackbarLayout_maxActionInlineWidth = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.SnackbarLayout_maxActionInlineWidth;
global::Xamarin.Forms.Platform.Resource.Styleable.Spinner = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Spinner;
global::Xamarin.Forms.Platform.Resource.Styleable.Spinner_android_dropDownWidth = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Spinner_android_dropDownWidth;
global::Xamarin.Forms.Platform.Resource.Styleable.Spinner_android_popupBackground = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Spinner_android_popupBackground;
global::Xamarin.Forms.Platform.Resource.Styleable.Spinner_android_prompt = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Spinner_android_prompt;
global::Xamarin.Forms.Platform.Resource.Styleable.Spinner_popupTheme = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Spinner_popupTheme;
global::Xamarin.Forms.Platform.Resource.Styleable.SwitchCompat = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.SwitchCompat;
global::Xamarin.Forms.Platform.Resource.Styleable.SwitchCompat_android_textOff = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.SwitchCompat_android_textOff;
global::Xamarin.Forms.Platform.Resource.Styleable.SwitchCompat_android_textOn = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.SwitchCompat_android_textOn;
global::Xamarin.Forms.Platform.Resource.Styleable.SwitchCompat_android_thumb = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.SwitchCompat_android_thumb;
global::Xamarin.Forms.Platform.Resource.Styleable.SwitchCompat_showText = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.SwitchCompat_showText;
global::Xamarin.Forms.Platform.Resource.Styleable.SwitchCompat_splitTrack = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.SwitchCompat_splitTrack;
global::Xamarin.Forms.Platform.Resource.Styleable.SwitchCompat_switchMinWidth = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.SwitchCompat_switchMinWidth;
global::Xamarin.Forms.Platform.Resource.Styleable.SwitchCompat_switchPadding = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.SwitchCompat_switchPadding;
global::Xamarin.Forms.Platform.Resource.Styleable.SwitchCompat_switchTextAppearance = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.SwitchCompat_switchTextAppearance;
global::Xamarin.Forms.Platform.Resource.Styleable.SwitchCompat_thumbTextPadding = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.SwitchCompat_thumbTextPadding;
global::Xamarin.Forms.Platform.Resource.Styleable.SwitchCompat_track = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.SwitchCompat_track;
global::Xamarin.Forms.Platform.Resource.Styleable.TabLayout = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.TabLayout;
global::Xamarin.Forms.Platform.Resource.Styleable.TabLayout_tabBackground = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.TabLayout_tabBackground;
global::Xamarin.Forms.Platform.Resource.Styleable.TabLayout_tabContentStart = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.TabLayout_tabContentStart;
global::Xamarin.Forms.Platform.Resource.Styleable.TabLayout_tabGravity = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.TabLayout_tabGravity;
global::Xamarin.Forms.Platform.Resource.Styleable.TabLayout_tabIndicatorColor = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.TabLayout_tabIndicatorColor;
global::Xamarin.Forms.Platform.Resource.Styleable.TabLayout_tabIndicatorHeight = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.TabLayout_tabIndicatorHeight;
global::Xamarin.Forms.Platform.Resource.Styleable.TabLayout_tabMaxWidth = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.TabLayout_tabMaxWidth;
global::Xamarin.Forms.Platform.Resource.Styleable.TabLayout_tabMinWidth = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.TabLayout_tabMinWidth;
global::Xamarin.Forms.Platform.Resource.Styleable.TabLayout_tabMode = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.TabLayout_tabMode;
global::Xamarin.Forms.Platform.Resource.Styleable.TabLayout_tabPadding = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.TabLayout_tabPadding;
global::Xamarin.Forms.Platform.Resource.Styleable.TabLayout_tabPaddingBottom = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.TabLayout_tabPaddingBottom;
global::Xamarin.Forms.Platform.Resource.Styleable.TabLayout_tabPaddingEnd = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.TabLayout_tabPaddingEnd;
global::Xamarin.Forms.Platform.Resource.Styleable.TabLayout_tabPaddingStart = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.TabLayout_tabPaddingStart;
global::Xamarin.Forms.Platform.Resource.Styleable.TabLayout_tabPaddingTop = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.TabLayout_tabPaddingTop;
global::Xamarin.Forms.Platform.Resource.Styleable.TabLayout_tabSelectedTextColor = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.TabLayout_tabSelectedTextColor;
global::Xamarin.Forms.Platform.Resource.Styleable.TabLayout_tabTextAppearance = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.TabLayout_tabTextAppearance;
global::Xamarin.Forms.Platform.Resource.Styleable.TabLayout_tabTextColor = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.TabLayout_tabTextColor;
global::Xamarin.Forms.Platform.Resource.Styleable.TextAppearance = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.TextAppearance;
global::Xamarin.Forms.Platform.Resource.Styleable.TextAppearance_android_textColor = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.TextAppearance_android_textColor;
global::Xamarin.Forms.Platform.Resource.Styleable.TextAppearance_android_textSize = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.TextAppearance_android_textSize;
global::Xamarin.Forms.Platform.Resource.Styleable.TextAppearance_android_textStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.TextAppearance_android_textStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.TextAppearance_android_typeface = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.TextAppearance_android_typeface;
global::Xamarin.Forms.Platform.Resource.Styleable.TextAppearance_textAllCaps = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.TextAppearance_textAllCaps;
global::Xamarin.Forms.Platform.Resource.Styleable.TextInputLayout = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.TextInputLayout;
global::Xamarin.Forms.Platform.Resource.Styleable.TextInputLayout_android_hint = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.TextInputLayout_android_hint;
global::Xamarin.Forms.Platform.Resource.Styleable.TextInputLayout_android_textColorHint = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.TextInputLayout_android_textColorHint;
global::Xamarin.Forms.Platform.Resource.Styleable.TextInputLayout_errorEnabled = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.TextInputLayout_errorEnabled;
global::Xamarin.Forms.Platform.Resource.Styleable.TextInputLayout_errorTextAppearance = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.TextInputLayout_errorTextAppearance;
global::Xamarin.Forms.Platform.Resource.Styleable.TextInputLayout_hintAnimationEnabled = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.TextInputLayout_hintAnimationEnabled;
global::Xamarin.Forms.Platform.Resource.Styleable.TextInputLayout_hintTextAppearance = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.TextInputLayout_hintTextAppearance;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_actionBarDivider = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_actionBarDivider;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_actionBarItemBackground = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_actionBarItemBackground;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_actionBarPopupTheme = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_actionBarPopupTheme;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_actionBarSize = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_actionBarSize;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_actionBarSplitStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_actionBarSplitStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_actionBarStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_actionBarStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_actionBarTabBarStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_actionBarTabBarStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_actionBarTabStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_actionBarTabStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_actionBarTabTextStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_actionBarTabTextStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_actionBarTheme = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_actionBarTheme;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_actionBarWidgetTheme = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_actionBarWidgetTheme;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_actionButtonStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_actionButtonStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_actionDropDownStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_actionDropDownStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_actionMenuTextAppearance = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_actionMenuTextAppearance;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_actionMenuTextColor = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_actionMenuTextColor;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_actionModeBackground = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_actionModeBackground;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_actionModeCloseButtonStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_actionModeCloseButtonStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_actionModeCloseDrawable = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_actionModeCloseDrawable;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_actionModeCopyDrawable = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_actionModeCopyDrawable;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_actionModeCutDrawable = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_actionModeCutDrawable;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_actionModeFindDrawable = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_actionModeFindDrawable;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_actionModePasteDrawable = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_actionModePasteDrawable;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_actionModePopupWindowStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_actionModePopupWindowStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_actionModeSelectAllDrawable = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_actionModeSelectAllDrawable;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_actionModeShareDrawable = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_actionModeShareDrawable;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_actionModeSplitBackground = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_actionModeSplitBackground;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_actionModeStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_actionModeStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_actionModeWebSearchDrawable = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_actionModeWebSearchDrawable;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_actionOverflowButtonStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_actionOverflowButtonStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_actionOverflowMenuStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_actionOverflowMenuStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_activityChooserViewStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_activityChooserViewStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_alertDialogButtonGroupStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_alertDialogButtonGroupStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_alertDialogCenterButtons = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_alertDialogCenterButtons;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_alertDialogStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_alertDialogStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_alertDialogTheme = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_alertDialogTheme;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_android_windowAnimationStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_android_windowAnimationStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_android_windowIsFloating = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_android_windowIsFloating;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_autoCompleteTextViewStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_autoCompleteTextViewStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_borderlessButtonStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_borderlessButtonStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_buttonBarButtonStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_buttonBarButtonStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_buttonBarNegativeButtonStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_buttonBarNegativeButtonStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_buttonBarNeutralButtonStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_buttonBarNeutralButtonStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_buttonBarPositiveButtonStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_buttonBarPositiveButtonStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_buttonBarStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_buttonBarStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_buttonStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_buttonStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_buttonStyleSmall = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_buttonStyleSmall;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_checkboxStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_checkboxStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_checkedTextViewStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_checkedTextViewStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_colorAccent = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_colorAccent;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_colorButtonNormal = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_colorButtonNormal;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_colorControlActivated = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_colorControlActivated;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_colorControlHighlight = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_colorControlHighlight;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_colorControlNormal = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_colorControlNormal;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_colorPrimary = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_colorPrimary;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_colorPrimaryDark = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_colorPrimaryDark;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_colorSwitchThumbNormal = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_colorSwitchThumbNormal;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_controlBackground = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_controlBackground;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_dialogPreferredPadding = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_dialogPreferredPadding;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_dialogTheme = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_dialogTheme;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_dividerHorizontal = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_dividerHorizontal;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_dividerVertical = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_dividerVertical;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_dropDownListViewStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_dropDownListViewStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_dropdownListPreferredItemHeight = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_dropdownListPreferredItemHeight;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_editTextBackground = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_editTextBackground;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_editTextColor = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_editTextColor;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_editTextStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_editTextStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_homeAsUpIndicator = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_homeAsUpIndicator;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_listChoiceBackgroundIndicator = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_listChoiceBackgroundIndicator;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_listDividerAlertDialog = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_listDividerAlertDialog;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_listPopupWindowStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_listPopupWindowStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_listPreferredItemHeight = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_listPreferredItemHeight;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_listPreferredItemHeightLarge = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_listPreferredItemHeightLarge;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_listPreferredItemHeightSmall = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_listPreferredItemHeightSmall;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_listPreferredItemPaddingLeft = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_listPreferredItemPaddingLeft;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_listPreferredItemPaddingRight = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_listPreferredItemPaddingRight;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_panelBackground = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_panelBackground;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_panelMenuListTheme = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_panelMenuListTheme;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_panelMenuListWidth = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_panelMenuListWidth;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_popupMenuStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_popupMenuStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_popupWindowStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_popupWindowStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_radioButtonStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_radioButtonStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_ratingBarStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_ratingBarStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_searchViewStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_searchViewStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_selectableItemBackground = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_selectableItemBackground;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_selectableItemBackgroundBorderless = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_selectableItemBackgroundBorderless;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_spinnerDropDownItemStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_spinnerDropDownItemStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_spinnerStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_spinnerStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_switchStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_switchStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_textAppearanceLargePopupMenu = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_textAppearanceLargePopupMenu;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_textAppearanceListItem = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_textAppearanceListItem;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_textAppearanceListItemSmall = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_textAppearanceListItemSmall;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_textAppearanceSearchResultSubtitle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_textAppearanceSearchResultSubtitle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_textAppearanceSearchResultTitle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_textAppearanceSearchResultTitle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_textAppearanceSmallPopupMenu = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_textAppearanceSmallPopupMenu;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_textColorAlertDialogListItem = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_textColorAlertDialogListItem;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_textColorSearchUrl = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_textColorSearchUrl;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_toolbarNavigationButtonStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_toolbarNavigationButtonStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_toolbarStyle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_toolbarStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_windowActionBar = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_windowActionBar;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_windowActionBarOverlay = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_windowActionBarOverlay;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_windowActionModeOverlay = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_windowActionModeOverlay;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_windowFixedHeightMajor = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_windowFixedHeightMajor;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_windowFixedHeightMinor = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_windowFixedHeightMinor;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_windowFixedWidthMajor = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_windowFixedWidthMajor;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_windowFixedWidthMinor = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_windowFixedWidthMinor;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_windowMinWidthMajor = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_windowMinWidthMajor;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_windowMinWidthMinor = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_windowMinWidthMinor;
global::Xamarin.Forms.Platform.Resource.Styleable.Theme_windowNoTitle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Theme_windowNoTitle;
global::Xamarin.Forms.Platform.Resource.Styleable.Toolbar = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Toolbar;
global::Xamarin.Forms.Platform.Resource.Styleable.Toolbar_android_gravity = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Toolbar_android_gravity;
global::Xamarin.Forms.Platform.Resource.Styleable.Toolbar_android_minHeight = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Toolbar_android_minHeight;
global::Xamarin.Forms.Platform.Resource.Styleable.Toolbar_collapseContentDescription = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Toolbar_collapseContentDescription;
global::Xamarin.Forms.Platform.Resource.Styleable.Toolbar_collapseIcon = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Toolbar_collapseIcon;
global::Xamarin.Forms.Platform.Resource.Styleable.Toolbar_contentInsetEnd = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Toolbar_contentInsetEnd;
global::Xamarin.Forms.Platform.Resource.Styleable.Toolbar_contentInsetLeft = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Toolbar_contentInsetLeft;
global::Xamarin.Forms.Platform.Resource.Styleable.Toolbar_contentInsetRight = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Toolbar_contentInsetRight;
global::Xamarin.Forms.Platform.Resource.Styleable.Toolbar_contentInsetStart = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Toolbar_contentInsetStart;
global::Xamarin.Forms.Platform.Resource.Styleable.Toolbar_logo = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Toolbar_logo;
global::Xamarin.Forms.Platform.Resource.Styleable.Toolbar_logoDescription = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Toolbar_logoDescription;
global::Xamarin.Forms.Platform.Resource.Styleable.Toolbar_maxButtonHeight = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Toolbar_maxButtonHeight;
global::Xamarin.Forms.Platform.Resource.Styleable.Toolbar_navigationContentDescription = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Toolbar_navigationContentDescription;
global::Xamarin.Forms.Platform.Resource.Styleable.Toolbar_navigationIcon = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Toolbar_navigationIcon;
global::Xamarin.Forms.Platform.Resource.Styleable.Toolbar_popupTheme = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Toolbar_popupTheme;
global::Xamarin.Forms.Platform.Resource.Styleable.Toolbar_subtitle = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Toolbar_subtitle;
global::Xamarin.Forms.Platform.Resource.Styleable.Toolbar_subtitleTextAppearance = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Toolbar_subtitleTextAppearance;
global::Xamarin.Forms.Platform.Resource.Styleable.Toolbar_subtitleTextColor = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Toolbar_subtitleTextColor;
global::Xamarin.Forms.Platform.Resource.Styleable.Toolbar_title = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Toolbar_title;
global::Xamarin.Forms.Platform.Resource.Styleable.Toolbar_titleMarginBottom = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Toolbar_titleMarginBottom;
global::Xamarin.Forms.Platform.Resource.Styleable.Toolbar_titleMarginEnd = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Toolbar_titleMarginEnd;
global::Xamarin.Forms.Platform.Resource.Styleable.Toolbar_titleMarginStart = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Toolbar_titleMarginStart;
global::Xamarin.Forms.Platform.Resource.Styleable.Toolbar_titleMarginTop = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Toolbar_titleMarginTop;
global::Xamarin.Forms.Platform.Resource.Styleable.Toolbar_titleMargins = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Toolbar_titleMargins;
global::Xamarin.Forms.Platform.Resource.Styleable.Toolbar_titleTextAppearance = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Toolbar_titleTextAppearance;
global::Xamarin.Forms.Platform.Resource.Styleable.Toolbar_titleTextColor = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.Toolbar_titleTextColor;
global::Xamarin.Forms.Platform.Resource.Styleable.View = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.View;
global::Xamarin.Forms.Platform.Resource.Styleable.View_android_focusable = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.View_android_focusable;
global::Xamarin.Forms.Platform.Resource.Styleable.View_android_theme = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.View_android_theme;
global::Xamarin.Forms.Platform.Resource.Styleable.View_paddingEnd = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.View_paddingEnd;
global::Xamarin.Forms.Platform.Resource.Styleable.View_paddingStart = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.View_paddingStart;
global::Xamarin.Forms.Platform.Resource.Styleable.View_theme = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.View_theme;
global::Xamarin.Forms.Platform.Resource.Styleable.ViewBackgroundHelper = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ViewBackgroundHelper;
global::Xamarin.Forms.Platform.Resource.Styleable.ViewBackgroundHelper_android_background = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ViewBackgroundHelper_android_background;
global::Xamarin.Forms.Platform.Resource.Styleable.ViewBackgroundHelper_backgroundTint = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ViewBackgroundHelper_backgroundTint;
global::Xamarin.Forms.Platform.Resource.Styleable.ViewBackgroundHelper_backgroundTintMode = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ViewBackgroundHelper_backgroundTintMode;
global::Xamarin.Forms.Platform.Resource.Styleable.ViewStubCompat = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ViewStubCompat;
global::Xamarin.Forms.Platform.Resource.Styleable.ViewStubCompat_android_id = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ViewStubCompat_android_id;
global::Xamarin.Forms.Platform.Resource.Styleable.ViewStubCompat_android_inflatedId = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ViewStubCompat_android_inflatedId;
global::Xamarin.Forms.Platform.Resource.Styleable.ViewStubCompat_android_layout = global::Xamarin.Forms.Portable4.Droid.Resource.Styleable.ViewStubCompat_android_layout;
}
public partial class Attribute
{
static Attribute()
{
global::Android.Runtime.ResourceIdManager.UpdateIdValues();
}
private Attribute()
{
}
}
public partial class Drawable
{
// aapt resource value: 0x7f020000
public const int icon = 2130837504;
static Drawable()
{
global::Android.Runtime.ResourceIdManager.UpdateIdValues();
}
private Drawable()
{
}
}
public partial class String
{
// aapt resource value: 0x7f030001
public const int ApplicationName = 2130903041;
// aapt resource value: 0x7f030000
public const int Hello = 2130903040;
static String()
{
global::Android.Runtime.ResourceIdManager.UpdateIdValues();
}
private String()
{
}
}
}
}
#pragma warning restore 1591
| mit |
GGAlanSmithee/phaser | v3/src/tween/Timeline.js | 848 | var Class = require('../utils/Class');
var TweenBuilder = require('./TweenBuilder');
var Timeline = new Class({
initialize:
function Timeline (manager)
{
this.manager = manager;
this.tweens = [];
this.paused = true;
this.callbacks = {
onStart: { callback: null, scope: null, params: null },
onUpdate: { callback: null, scope: null, params: null },
onRepeat: { callback: null, scope: null, params: null },
onComplete: { callback: null, scope: null, params: null }
};
this.callbackScope;
},
add: function (config)
{
TweenBuilder(this, config);
return this;
},
queue: function (tween)
{
// Add to this timeline
this.tweens.push(tween);
}
});
module.exports = Timeline;
| mit |
dicksonlabs/mushroom_sightings | test/unit/extension_test.rb | 4999 | # encoding: utf-8
require File.expand_path(File.dirname(__FILE__) + '/../boot.rb')
class ExtensionTest < UnitTestCase
##############################################################################
#
# :section: Symbol Tests
#
##############################################################################
# def test_localize_postprocessing
# # Note these tests work because Symbol#localize makes a special check in
# # TEST mode to see if :x is in the args, and if so, bypasses Globalite.
# assert_equal('', :x.test_localize(:x => ''))
# assert_equal('blah', :x.test_localize(:x => 'blah'))
# assert_equal("one\n\ntwo", :x.test_localize(:x => 'one\n\ntwo'))
# assert_equal('bob', :x.test_localize(:x => '[user]', :user => 'bob'))
# assert_equal('bob and fred', :x.test_localize(:x => '[bob] and [fred]', :bob => 'bob', :fred => 'fred'))
# assert_equal('user', :x.test_localize(:x => '[:user]'))
# assert_equal('Show Name', :x.test_localize(:x => '[:show_object(type=:name)]'))
# assert_equal('Show Str', :x.test_localize(:x => "[:show_object(type='str')]"))
# assert_equal('Show Str', :x.test_localize(:x => '[:show_object(type="str")]'))
# assert_equal('Show 1', :x.test_localize(:x => '[:show_object(type=1)]'))
# assert_equal('Show 12.34', :x.test_localize(:x => '[:show_object(type=12.34)]'))
# assert_equal('Show -0.23', :x.test_localize(:x => '[:show_object(type=-0.23)]'))
# assert_equal('Show Xxx', :x.test_localize(:x => '[:show_object(type=id)]', :id => 'xxx'))
# assert_equal('Show Image', :x.test_localize(:x => '[:show_object(type=id)]', :id => :image))
# assert_equal('Show < ! >', :x.test_localize(:x => '[:show_object(type="< ! >",blah="ignore")]'))
#
# # Test capitalization and number.
# assert_equal('name', :name.test_localize)
# assert_equal('Name', :Name.test_localize)
# assert_equal('Name', :NAME.test_localize)
# assert_equal('species list', :species_list.test_localize)
# assert_equal('Species list', :Species_list.test_localize)
# assert_equal('Species List', :SPECIES_LIST.test_localize)
# assert_equal('species list', :x.test_localize(:x => '[type]', :type => :species_list))
# assert_equal('Species list', :x.test_localize(:x => '[Type]', :type => :species_list))
# assert_equal('Species list', :x.test_localize(:x => '[tYpE]', :type => :species_list))
# assert_equal('Species List', :x.test_localize(:x => '[TYPE]', :type => :species_list))
# assert_equal('species list', :x.test_localize(:x => '[:species_list]'))
# assert_equal('Species list', :x.test_localize(:x => '[:Species_list]'))
# assert_equal('Species list', :x.test_localize(:x => '[:sPeCiEs_lIsT]'))
# assert_equal('Species List', :x.test_localize(:x => '[:SPECIES_LIST]'))
#
# # Test recursion:
# # :x --> [:y]
# # :y --> 'one'
# assert_equal('one', :x.test_localize(:x => '[:y]', :y => 'one'))
#
# # Test recursion two deep:
# # :x --> [:y]
# # :y --> [:z]
# # :z --> 'two'
# assert_equal('two', :x.test_localize(:x => '[:y]', :y => '[:z]', :z => 'two'))
#
# # Test recursion three deep: (should bail at :z)
# # :x --> [:y]
# # :y --> [:z]
# # :z --> [:a]
# # :a --> 'three'
# assert_equal('three', :x.test_localize(:x => '[:y]', :y => '[:z]', :z => '[:a]',
# :a => 'three'))
#
# # Test recursion absurdly deep. Should bail... I don't know...
# # somewhere long before it meets Bob..
# assert_not_equal('bob', :a.test_localize(
# :a => '[:b]',
# :b => '[:c]',
# :c => '[:d]',
# :d => '[:e]',
# :e => '[:f]',
# :f => '[:g]',
# :g => '[:h]',
# :h => '[:i]',
# :i => '[:j]',
# :j => '[:k]',
# :k => '[:l]',
# :l => '[:m]',
# :m => '[:n]',
# :n => '[:o]',
# :o => '[:p]',
# :p => '[:q]',
# :q => '[:r]',
# :r => '[:s]',
# :s => '[:t]',
# :t => '[:u]',
# :u => '[:v]',
# :v => '[:w]',
# :w => '[:x]',
# :x => '[:y]',
# :y => '[:z]',
# :z => 'bob'
# ))
# end
##############################################################################
#
# :section: String Tests
#
##############################################################################
def test_string_truncate_html
assert_equal('123', '123'.truncate_html(5))
assert_equal('12345', '12345'.truncate_html(5))
assert_equal('1234...', '123456'.truncate_html(5))
assert_equal('<i>1234...</i>', '<i>123456</i>'.truncate_html(5))
assert_equal('<i>12<b>3</b>4...</i>', '<i>12<b>3</b>456</i>'.truncate_html(5))
assert_equal('<i>12<b>3<hr/></b>4...</i>', '<i>12<b>3<hr/></b>456</i>'.truncate_html(5))
assert_equal('<i>12</i>3<b>4...</b>', '<i>12</i>3<b>456</b>'.truncate_html(5))
end
end
| mit |
ampatspell/ember-cli-documents | addon/document/attachments/internal/attachment.js | 1234 | import Base from '../../internal/-base';
export default class Attachment extends Base {
static get type() {
return 'attachment';
}
constructor(store, attachments, content) {
super(store, attachments);
content.attachment = this;
this.content = content;
}
_createModel() {
return this.store._createAttachmentModel(this);
}
_createContent(value) {
return this.store._createInternalAttachmentContent(value);
}
_replaceModelContent() {
let model = this.model(false);
if(!model) {
return;
}
let content = this.content;
model.set('content', content.model(true));
this.parent.contentDidChange(this);
}
_setContent(content) {
let current = this.content;
if(current === content) {
return;
}
current.destroy();
this.content = content;
this._replaceModelContent();
}
_deserialize(value) {
let content = this.content;
if(!content.deserialize(value)) {
content = this._createContent(value);
this._setContent(content);
}
}
_serialize(type) {
return this.content.serialize(type);
}
//
remove() {
if(this.isDetached()) {
return;
}
this.parent.removeAttachment(this);
}
}
| mit |
tmc/grpcutil | protoc-gen-tstypes/testdata/output/wo-namespace/grpc.testing.auth_sample.d.ts | 585 | // Code generated by protoc-gen-tstypes. DO NOT EDIT.
// Unary request.
export interface Request {
// Whether Response should include username.
fill_username?: boolean;
// Whether Response should include OAuth scope.
fill_oauth_scope?: boolean;
}
// Unary response, as configured by the request.
export interface Response {
// The user the request came from, for verifying authentication was
// successful.
username?: string;
// OAuth scope.
oauth_scope?: string;
}
export interface TestServiceService {
UnaryCall: (r:Request) => Response;
}
| mit |
gesh123/MyLibrary | src/client/app/poker/connection/protocol/generated/serializers/GameWinnerHandDataSerializer.ts | 3210 |
import { ArrayBufferBuilder } from "../../../../utils/ArrayBufferBuilder";
import { BitsReader } from "../../../../utils/BitsReader";
import { SerializerUtils } from "../../../../utils/SerializerUtils";
import { GameWinnerHandData } from "../data/GameWinnerHandData";
import { BinaryCard } from "../../core/data/BinaryCard";
import { OptimizedBinaryNumberSerializer } from "../../core/serializers/OptimizedBinaryNumberSerializer";
import { BinaryCardSerializer } from "../../core/serializers/BinaryCardSerializer";
export class GameWinnerHandDataSerializer {
public static serialize(buffer: ArrayBufferBuilder, data: GameWinnerHandData): void {
var bitsReader = new BitsReader( buffer );
bitsReader.setBits( data.seatID, 4 );
bitsReader.setBit( data.isRealMoney );
bitsReader.setBit( data.showFractal );
bitsReader.setBit( data.formatAsPromoBucks );
OptimizedBinaryNumberSerializer.serialize( buffer, data.winnerMoney );
bitsReader.setBits( data.sidePotID, 4 );
bitsReader.setBit( data.isLow );
bitsReader.setBit( data.hasSidePots );
bitsReader.setBits( data.kickerType, 2 );
buffer.setUint8( data.handType );
for (let i = 0, l = data.usedCards.length , t = buffer.setUint8( l ); i < l; i++){
let temp = data.usedCards[i];
BinaryCardSerializer.serialize(buffer, temp);
}
for (let i = 0, l = data.unUsedCards.length , t = buffer.setUint8( l ); i < l; i++){
let temp = data.unUsedCards[i];
BinaryCardSerializer.serialize(buffer, temp);
}
if (data.kickerType == 1){
buffer.setUint8( data.kicker1 );
}
if (data.kickerType == 2){
buffer.setUint8( data.kicker1 );
}
}
public static deserialize(buffer: ArrayBufferBuilder, data: GameWinnerHandData): void {
var bitsReader = new BitsReader( buffer );
data.seatID = bitsReader.getBits( 4 );
data.isRealMoney = bitsReader.getBit() != 0;
data.showFractal = bitsReader.getBit() != 0;
data.formatAsPromoBucks = bitsReader.getBit() != 0;
data.winnerMoney = OptimizedBinaryNumberSerializer.deserialize( buffer );
data.sidePotID = bitsReader.getBits( 4 );
data.isLow = bitsReader.getBit() != 0;
data.hasSidePots = bitsReader.getBit() != 0;
data.kickerType = bitsReader.getBits( 2 );
data.handType = buffer.getUint8();
data.usedCards = [];
for (let i = 0, l = buffer.getUint8(); i < l; i++){
let temp = new BinaryCard(data);
BinaryCardSerializer.deserialize(buffer, temp);
data.usedCards.push( temp );
}
data.unUsedCards = [];
for (let i = 0, l = buffer.getUint8(); i < l; i++){
let temp = new BinaryCard(data);
BinaryCardSerializer.deserialize(buffer, temp);
data.unUsedCards.push( temp );
}
if (data.kickerType == 1){
data.kicker1 = buffer.getUint8();
}
if (data.kickerType == 2){
data.kicker1 = buffer.getUint8();
}
}
}
| mit |
kenmoore/sketch-artboard | Artboard.sketchplugin/Contents/Sketch/Previous Artboard.js | 4656 | // Previous Artboard
// Move the previous artboard into view:
// - maintains vertical scroll offset between artboards
// - zooms to width of the new artboard
// - supports random access (select artboard in layers list and invoke Next Artboard)
var view;
var scrollOrigin;
var zoomValue;
var viewportWidth;
var viewportHeight;
var artboards;
var previousArtboard = function(context) {
var doc = context.document;
var selection = context.selection;
var page = [doc currentPage];
artboards = [page artboards];
view = [doc contentDrawView];
scrollOrigin = [doc scrollOrigin];
zoomValue = [doc zoomValue];
var viewportFrame = [view frame];
viewportWidth = viewportFrame.size.width;
viewportHeight = viewportFrame.size.height;
// First warn the user to turn off "Animate Zoom" preference
var defs = [[NSUserDefaultsController sharedUserDefaultsController] defaults];
var animateZoom = defs.valueForKey("animateZoom");
var defsStandard = [NSUserDefaults standardUserDefaults]
var warningSeen = defsStandard.valueForKey("com.kenmooredesign.sketchplugin.NextArtboard.animateZoomWarningSeen")
if (animateZoom && !warningSeen) {
var app = [NSApplication sharedApplication];
[app displayDialog:"For best results with the Next / Previous Artboard plugins, uncheck 'Animate Zoom' in Sketch > Preferences > General." withTitle:"Next Artboard"]
[defsStandard setObject: true forKey: "com.kenmooredesign.sketchplugin.NextArtboard.animateZoomWarningSeen"]
}
var currentArtboardIndex = getInViewArtboardIndex(zoomValue)
var currentArtboard = [artboards objectAtIndex: currentArtboardIndex];
var currentArtboardRect = [currentArtboard absoluteRect];
var prevArtboardIndex = (currentArtboardIndex + 1) % [artboards count];
var prevArtboard;
if (currentArtboard == [page currentArtboard] || [page currentArtboard] == null) {
// If the current artboard is the one that's in view, prev = prev in sequence
prevArtboard = [artboards objectAtIndex: prevArtboardIndex];
} else {
// If user has manually selected an artboard that's not the current in-view artboard,
// use the selected one as prev
prevArtboard = [page currentArtboard];
}
var prevArtboardRect = [prevArtboard absoluteRect];
context.api().selectedDocument.selectedPage.selectedLayers.clear();
[prevArtboard select:true byExpandingSelection:true]
var newX = [prevArtboardRect x];
var newWidth = [prevArtboardRect width];
var newZoomValue = viewportWidth / newWidth;
var newY = Math.max([prevArtboardRect y], [prevArtboardRect y] - ([currentArtboardRect y] + scrollOrigin.y / zoomValue));
if (newY > [prevArtboardRect y] + [prevArtboardRect height]) {
// Ensure that the transition doesn't leave the user viewing an empty patch of artboard
newY = [prevArtboardRect y] + [prevArtboardRect height] - viewportHeight;
}
var newHeight = viewportHeight / newZoomValue;
var newRect = NSMakeRect(newX, newY, newWidth, newHeight);
// center new rect without animation
view.zoomToFitRect(newRect);
}
// Get the in-view artboard index (closest to the center of the viewport)
function getInViewArtboardIndex() {
// Calculate the coordinates of the midpoint of the viewport (in Viewport coordinate space)
viewportCenterX = (viewportWidth / 2 - scrollOrigin.x) / zoomValue;
viewportCenterY = (viewportHeight / 2 - scrollOrigin.y) / zoomValue;
// See which artboard (if any) includes the center point of the viewport
var inViewArtboardIndex = 0; // initialize to the first artboard
var minDistance = 1000000; // to calculate closest artboard in case none include the center point of the viewport
for(var i = 0; i < [artboards count]; i++) {
artboard = [artboards objectAtIndex: i];
artboardRect = [artboard absoluteRect];
// If artboard contains center point, we're done searching
if ([artboardRect x] < viewportCenterX && [artboardRect x] + [artboardRect width] > viewportCenterX && [artboardRect y] < viewportCenterY && [artboardRect y] + [artboardRect height] > viewportCenterY) {
inViewArtboardIndex = i;
break;
} else {
// Calculate sum of x offset and y offset from the center of the artboard to the center of the viewport
distance = Math.abs(viewportCenterX - ([artboardRect x] + [artboardRect width] / 2)) + Math.abs(viewportCenterY - ([artboardRect y] + [artboardRect height] / 2));
// If it's shorter than the current minimum, then it's the new choice for nearest
if (distance < minDistance) {
inViewArtboardIndex = i;
minDistance = distance;
}
}
}
return inViewArtboardIndex;
}
| mit |
soli/chromium-vim | content_scripts/utils.js | 10495 | function isValidB64(a) {
try {
window.atob(a);
} catch(e) {
return false;
}
return true;
}
function reverseImagePost(url) {
return '<html><head><title>cVim reverse image search</title></head><body><form id="f" method="POST" action="https://www.google.com/searchbyimage/upload" enctype="multipart/form-data"><input type="hidden" name="image_content" value="' + url.substring(url.indexOf(",") + 1).replace(/\+/g, "-").replace(/\//g, "_").replace(/\./g, "=") + '"><input type="hidden" name="filename" value=""><input type="hidden" name="image_url" value=""><input type="hidden" name="sbisrc" value=""></form><script>document.getElementById("f").submit();\x3c/script></body></html>';
}
// Based off of the "Search by Image" Chrome Extension by Google
function googleReverseImage(url, source, c, d) {
if (void 0 !== url && url.indexOf("data:") === 0) {
if (url.search(/data:image\/(bmp|gif|jpe?g|png|webp|tiff|x-ico)/i) === 0) {
var commaIndex = url.indexOf(",");
if (commaIndex !== -1 && isValidB64(url.substring(commaIndex + 1))) {
return "data:text/html;charset=utf-8;base64," + window.btoa(reverseImagePost(url, source));
}
}
} else {
if (url.indexOf("file://") === 0 || url.indexOf("chrome") === 0) {
chrome.runtime.sendMessage({action: "urlToBase64", url: url});
return;
}
return "https://www.google.com/searchbyimage?image_url=" + url;
}
}
HTMLElement.prototype.isInput = function() {
return (
(this.localName === "textarea" || this.localName === "input" || this.getAttribute("contenteditable") === "true") && !this.disabled &&
!/button|radio|file|image|checkbox|submit/i.test(this.getAttribute("type"))
);
};
function getVisibleBoundingRect(node) {
var computedStyle = getComputedStyle(node);
if (computedStyle.opacity === "0" || computedStyle.visibility !== "visible" || computedStyle.display === "none") {
return false;
}
var boundingRect = node.getClientRects()[0] || node.getBoundingClientRect();
if (boundingRect.top > window.innerHeight || boundingRect.left > window.innerWidth) {
return false;
}
if (boundingRect.top + boundingRect.height > 10 && boundingRect.left + boundingRect.width > -10) {
return boundingRect;
}
if (boundingRect.width === 0 || boundingRect.height === 0) {
var children = node.children;
var visibleChildNode = false;
for (var i = 0, l = children.length; i < l; ++i) {
boundingRect = children[i].getClientRects()[0] || children[i].getBoundingClientRect();
if (boundingRect.width || boundingRect.height) {
visibleChildNode = true;
break;
}
}
if (visibleChildNode === false) {
return false;
}
}
if (boundingRect.top + boundingRect.height < 10 || boundingRect.left + boundingRect.width < -10) {
return false;
}
return boundingRect;
}
function isClickable(node, type) {
var name = node.localName, t;
if (type) {
if (type.indexOf("yank") !== -1) {
return name === "a";
} else if (type.indexOf("image") !== -1) {
return name === "img";
}
}
if (name === "a" || name === "button" || name === "select" || name === "textarea" || name === "input" || name === "area") {
return true;
}
if (node.getAttribute("onclick") ||
node.getAttribute("tabindex") || node.getAttribute("aria-haspopup") ||
node.getAttribute("data-cmd") || node.getAttribute("jsaction") ||
((t = node.getAttribute("role")) && (t === "button" || t === "checkbox" || t === "menu"))) {
return true;
}
}
HTMLCollection.prototype.toArray = function() {
var nodes = [];
for (var i = 0, l = this.length; i < l; ++i) {
nodes.push(this[i]);
}
return nodes;
};
HTMLElement.prototype.isVisible = function() {
return this.offsetParent && !this.disabled &&
this.getAttribute("type") !== "hidden" &&
getComputedStyle(this).visibility !== "hidden" &&
this.getAttribute("display") !== "none";
};
Array.prototype.unique = function() {
var a = [];
for (var i = 0, l = this.length; i < l; ++i) {
if (a.indexOf(this[i]) === -1)
a.push(this[i]);
}
return a;
};
String.prototype.trimAround = function() {
return this.replace(/^(\s+)?(.*\S)?(\s+)?$/g, "$2");
};
String.prototype.escape = function() {
return this.replace(/&/g, "&")
.replace(/"/g, """)
.replace(/</g, "<")
.replace(/>/g, ">");
};
String.prototype.isBoolean = function() {
return /^(true|false|0|1)$/i.test(this);
};
// Stolen from https://gist.github.com/alisterlf/3490957
String.prototype.removeDiacritics = function() {
var strAccents = this.split("");
var strAccentsOut = [];
var strAccentsLen = strAccents.length;
var accents = "ÀÁÂÃÄÅàáâãäåÒÓÔÕÕÖØòóôõöøÈÉÊËèéêëðÇçÐÌÍÎÏìíîïÙÚÛÜùúûüÑñŠšŸÿýŽž";
var accentsOut = "AAAAAAaaaaaaOOOOOOOooooooEEEEeeeeeCcDIIIIiiiiUUUUuuuuNnSsYyyZz";
for (var y = 0; y < strAccentsLen; y++) {
if (accents.indexOf(strAccents[y]) !== -1) {
strAccentsOut[y] = accentsOut.substr(accents.indexOf(strAccents[y]), 1);
} else
strAccentsOut[y] = strAccents[y];
}
strAccentsOut = strAccentsOut.join("");
return strAccentsOut;
};
Number.prototype.mod = function(n) {
return ((this % n) + n) % n;
};
Object.clone = function(obj) {
var old = history.state;
history.replaceState(obj);
var clone = history.state;
history.replaceState(old);
return clone;
};
Object.extend = function() {
var _ret = {};
for (var i = 0, l = arguments.length; i < l; ++i) {
for (var key in arguments[i]) {
_ret[key] = arguments[i][key];
}
}
return _ret;
};
function sameType(a, b) {
return a.constructor === b.constructor;
}
Object.flatten = function() {
var _ret = {};
for (var key in this) {
if (this.hasOwnProperty(key)) {
if (key !== "qmarks" && key !== "searchengines" && typeof this[key] === "object" && !Array.isArray(this[key])) {
var _rec = this[key].flatten();
for (var subKey in _rec) {
if (!_rec.hasOwnProperty(subKey)) {
continue;
}
_ret[subKey] = _rec[subKey];
}
} else {
_ret[key] = this[key];
}
}
}
return _ret;
};
function simulateMouseEvents(element, events) {
for (var i = 0; i < events.length; ++i) {
var ev = document.createEvent("MouseEvents");
ev.initMouseEvent(events[i], true, true, window, 1, 0, 0, 0, 0, false, false, false, false, 0, null);
element.dispatchEvent(ev);
}
}
HTMLElement.prototype.hover = function() {
simulateMouseEvents(this, ["mouseover", "mouseenter"]);
};
HTMLElement.prototype.unhover = function() {
simulateMouseEvents(this, ["mouseout", "mouseleave"]);
};
HTMLElement.prototype.simulateClick = function() {
simulateMouseEvents(this, ["mouseover", "mousedown", "mouseup", "click"]);
};
Node.prototype.isTextNode = function() {
return this.nodeType === 3 && !/script|style|noscript|mark/.test(this.parentNode.localName) && this.data.trim() !== "";
};
String.prototype.rxp = function() {
return new RegExp(this, Array.prototype.slice.call(arguments));
};
String.prototype.parseLocation = function() {
var protocolMatch = "^[a-zA-Z0-9\\-]+:(?=\\/\\/)",
hostnameMatch = "^[a-zA-Z0-9\\-.]+",
pathPattern = "\\/.*";
var urlProtocol = (this.match(protocolMatch.rxp()) || [""])[0] || "",
urlHostname = (this.substring(urlProtocol.length + 2).match(hostnameMatch.rxp("g")) || [""])[0] || "",
urlPath = ((this.substring(urlProtocol.length + 2 + urlHostname.length).match(pathPattern.rxp()) || [""])[0] || "").replace(/[#?].*/, "");
return {
protocol: urlProtocol,
hostname: urlHostname,
pathname: urlPath
};
};
String.prototype.convertLink = function() {
var url = this.trimLeft().trimRight();
if (url.length === 0) {
return "chrome://newtab";
}
if (/^\//.test(url)) {
url = "file://" + url;
}
if (/^(chrome|chrome-extension|file):\/\/\S+$/.test(url)) {
return url;
}
var pattern = new RegExp("^((https?|ftp):\\/\\/)?"+
"((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|"+
"((\\d{1,3}\\.){3}\\d{1,3})|"+
"localhost)" +
"(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*"+
"(\\?[;&a-z\\d%_.~+=-]*)?"+
"(\\#[-a-z\\d_]*)?$","i");
if (pattern.test(url))
return (/:\/\//.test(url) ? "" : "http://") + url;
return "https://www.google.com/search?q=" + url;
};
function matchLocation(url, pattern) { // Uses @match syntax
// See https://code.google.com/p/chromium/codesearch#chromium/src/extensions/common/url_pattern.h&sq=package:chromium
if (typeof pattern !== "string" || !pattern.trim()) {
return false;
}
var urlLocation = url.parseLocation(),
protocol = (pattern.match(/.*:\/\//) || [""])[0].slice(0, -2),
hostname, path, pathMatch, hostMatch;
if (/\*\*/.test(pattern)) {
console.error("cVim Error: Invalid pattern: \"%s\"", pattern);
return false;
}
if (!protocol.length) {
console.error("cVim Error: Invalid protocol in pattern: \"%s\"", pattern);
return false;
}
pattern = pattern.replace(/.*:\/\//, "");
if (protocol !== "*:" && urlLocation.protocol !== protocol) {
return false;
}
if (urlLocation.protocol !== "file:") {
hostname = pattern.match(/^[^\/]+\//g);
if (!hostname) {
console.error("cVim Error: Invalid host in pattern: \"%s\"", pattern);
return false;
}
var origHostname = hostname;
hostname = hostname[0].slice(0, -1).replace(/([.])/g, "\\$1").replace(/\*/g, ".*");
hostMatch = urlLocation.hostname.match(new RegExp(hostname, "i"));
if (!hostMatch || hostMatch[0].length !== urlLocation.hostname.length) {
return false;
}
pattern = "/" + pattern.slice(origHostname[0].length);
}
if (pattern.length) {
path = pattern.replace(/([.&\\\/\(\)\[\]!?])/g, "\\$1").replace(/\*/g, ".*");
pathMatch = urlLocation.pathname.match(new RegExp(path));
if (!pathMatch || pathMatch[0].length !== urlLocation.pathname.length) {
return false;
}
}
return true;
}
function waitForLoad(callback, constructor, fullLoad) {
if (!fullLoad && document.readyState === "complete" || document.readyState === "interactive") {
return callback.call(constructor);
}
document.addEventListener("DOMContentLoaded", function() {
callback.call(constructor);
});
}
Array.prototype.last = function() {
return this[this.length - 1];
};
| mit |
krllus/vitrine-primavera | app/components/landing/landing.component.js | 682 | angular
.module('landing')
.config(LandingConfig)
.controller('LandingController', LandingController)
.component('landing', {
templateUrl:'components/landing/landing.template.html',
controller: 'LandingController'
});
function LandingController($firebaseObject, $firebaseArray){
var ctrl = this;
ctrl.$onInit = function(){
console.log('landing component');
};
const storeRef = firebase.database().ref().child('store');
this.store = $firebaseObject(storeRef);
}
function LandingConfig($stateProvider){
var adminState = {
name: 'landing',
url: '/',
component: 'landing'
};
$stateProvider.state(adminState);
}
| mit |
soomtong/blititor | module/mailgun/lib/middleware.js | 194 | var winston = require('winston');
function exposeLocals(req, res, next) {
winston.verbose('bind locals in mailgun: { }');
next();
}
module.exports = {
exposeLocals: exposeLocals
}; | mit |
nameofname/sleepDiary | application/controllers/Login.php | 3147 | <?php
/**
* Created by JetBrains PhpStorm.
* User: ronald
* Date: 6/17/13
* Time: 8:00 PM
* To change this template use File | Settings | File Templates.
*/
require(__DIR__ . '/Auth_Controller.php');
use Helpers\SessionInstance;
class Login extends Auth_Controller {
public function __construct() {
parent::__construct();
$this->load->model('User_model', 'user_model');
$this->session = SessionInstance::getInstance();
}
/**
* Login is done over ajax (unsecure I know) and returns the user info on success.
*/
public function login () {
$data = $this->_get_data();
$existing_user = $this->user_model->by_login($data);
if ($existing_user) {
// Update the user's session token to a new (unused) token :
$new_token = $this->user_model->get_unused_token();
$existing_user->token = $new_token;
$this->user_model->put($existing_user);
// Set the session on the client machine :
$this->session->set_session($new_token);
return $this->_send_output($existing_user);
} else {
$error = new stdClass();
$error->status = 'login_failed';
$error->message = 'Your login failed. Please try again with different credentials.';
return $this->_send_output($error, 400);
}
}
/**
* Register a new user. First check to see if an existing user with the same email exists :
*/
public function register () {
$data = $this->_get_data();
if ($data === 'missing_data') {
$error = new stdClass();
$error->status = $data;
$error->message = 'An email address and a password are required to create an account.';
return $this->_send_output($error, 400);
}
$existing_user = $this->user_model->by_email($data['email']);
if ($existing_user)
{
$error = new stdClass();
$error->status = 'existing_user';
$error->message = 'A user with this email already exists. Please try again with another email or login.';
return $this->_send_output($error, 400);
}
// The use model "post" method will generate a user with a new (unused) token.
$new_user = $this->user_model->post($data);
// Set the session on the client machine :
$this->session->set_session($new_user->token);
return $this->_send_output($new_user);
}
/**
* Logs the user out by deleting their session token and redirecting them to the login page.
*/
public function logout () {
$this->load->helper('url');
// Set the session on the client machine :
$this->session->destroy_session();
redirect('/');
}
private function _get_data () {
header('Content-type: application/json');
$data = json_decode(file_get_contents('php://input'),true);
if (empty($data['email']) || empty($data['password'])) {
return 'missing_data';
}
return $data ? $data : null;
}
}
| mit |
lucastheis/django-publications | publications/models/customlink.py | 562 | __license__ = 'MIT License <http://www.opensource.org/licenses/mit-license.php>'
__author__ = 'Lucas Theis <[email protected]>'
__docformat__ = 'epytext'
from django.db import models
from publications.models import Publication
class CustomLink(models.Model):
class Meta:
app_label = 'publications'
publication = models.ForeignKey(Publication, on_delete=models.CASCADE)
description = models.CharField(max_length=256)
url = models.URLField(verbose_name='URL')
def __unicode__(self):
return self.description
def __str__(self):
return self.description
| mit |
stas-vilchik/bdd-ml | data/6623.js | 143 | {
try {
originalRemoveChild.call(parent, child);
} catch (ex) {
if (!(parent instanceof OriginalDocumentFragment)) throw ex;
}
}
| mit |
mustaphakd/Document-Splitter | WpfApplication1/GradeSplitter.cs | 20836 | using DocumentFormat.OpenXml.Packaging;
using DocumentFormat.OpenXml.Wordprocessing;
using OpenXmlPowerTools;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using WoroArch.Infrastructure.Desktop;
using System.Xml.Linq;
using DocumentFormat.OpenXml;
using System.Runtime.CompilerServices;
using System.Diagnostics;
namespace GSPDocumentSpliter
{
//public delegate void FileGenerationCompleted(Object sender, Event)
public class GradeSplitter
{
private string FilePath;
private IEnumerable<string> _fileNames;
private CancellationTokenSource _cancelationToken;
private bool _configured;
private ServiceRequestsScheduler scheduler;
private static Object _synch = new object();
/// <summary>
///
/// </summary>
/// <param name="FilePath">absolute path to the source file to be split</param>
/// <param name="generatedFilesNames"> the names of the files to be generated should be ordered to match their position in the source file</param>
public GradeSplitter(string FilePath, IEnumerable<string> generatedFilesNames = null)
{
this.FilePath = FilePath;
_fileNames = generatedFilesNames;
// CreatedFiles = new List<String>();
}
/// <summary>
/// Can be set if engine is not running
/// </summary>
public void SetFilePathAndNames(string path , IEnumerable<string> fileNames )
{
if (Running) return;
FilePath = path;
_fileNames = fileNames;
}
/// <summary>
/// counts the number of pages in a <see cref="WordprocessingDocument"/>
/// </summary>
/// <returns>number of pages identified</returns>
public Int32 Count()
{
var count = 1;
var breakDetected = false;
using(var document = WordprocessingDocument.Open(FilePath, false))
{
var body = document.MainDocumentPart.Document.Body;
var blocks = (from ele in body.ChildElements
where !(ele is SectionProperties)
let pr = ele as Paragraph
let containBreak = pr.FirstChild is Run && pr.FirstChild.GetFirstChild<Break>() != null
select new
{
Element = pr,
ContainBreak = containBreak
}).ToList();
foreach (var block in blocks)
{
if(breakDetected)
{
count++;
breakDetected = false;
}
if (block.ContainBreak)
{
breakDetected = true;
continue;
}
}
}
return count;
}
public String DestinationDirectory { get; set; }
internal PageIndex[] GetPageIndexes()
{
var index = 0;
var createNew = true;
var breakDetected = false;
var lst = new List<PageIndex>();
using (var document = WordprocessingDocument.Open(FilePath, false))
{
var body = document.MainDocumentPart.Document.Body;
var blocks = (from ele in body.ChildElements
where !(ele is SectionProperties)
let pr = ele as Paragraph
let tbl = ele as DocumentFormat.OpenXml.Wordprocessing.Table
let runChild = LocateRunChildContainingBreak(pr, tbl)
let containBreak = (runChild != null) && runChild.Elements<Break>() != null
let childrenCount = (pr != null ) ? pr.ChildElements.Count() : tbl.ChildElements.Count()
select new
{
Element = pr != null ? (OpenXmlCompositeElement)pr : tbl,
ContainBreak = containBreak,
ChildrenCount = childrenCount
}).ToList();
foreach (var block in blocks)
{
var currentIdx = index++;
if (breakDetected)
{
breakDetected = false;
createNew = true;
}
if (block.ContainBreak)
{
breakDetected = true;
if (block.ChildrenCount <= 1) // this is a paragraph that contains only a run with a break
continue;
else
createNew = true;
}
if (createNew)
{
var pgIdx = new PageIndex { Index = currentIdx, Count = 1 };
lst.Add(pgIdx);
createNew = false;
if (breakDetected)
pgIdx.ContainBreak = true;
if ((block.Element is DocumentFormat.OpenXml.Wordprocessing.Table) && (block.ChildrenCount > 1)) // break detected is within a populous table
breakDetected = false;
if (block.Element is DocumentFormat.OpenXml.Wordprocessing.Table)
pgIdx.BlockElementType = BlockElementType.Table;
else if (block.Element is DocumentFormat.OpenXml.Wordprocessing.Paragraph)
pgIdx.BlockElementType = BlockElementType.Paragraph;
}
else
{
var last = lst.LastOrDefault();
if (last != null)
last.Count += 1;
if (breakDetected)
last.ContainBreak = true;
}
}
}
return lst.ToArray();
}
[MethodImpl( MethodImplOptions.Synchronized)]
private static Run LocateRunChildContainingBreak(Paragraph pr, DocumentFormat.OpenXml.Wordprocessing.Table tbl)
{
if(pr != null)
{
var rns = pr.Elements<Run>();
var found = rns.Where(r => r.Descendants<Break>().Count() > 0).FirstOrDefault();
return found;
}
else if( tbl != null)
{
var runs = tbl.Descendants<Run>().Where(rn => rn.Elements<Break>() != null && rn.Elements<Break>().Count() > 0); //.FirstOrDefault();
if (runs != null && runs.Count() > 0)
{
var firsRun = runs.ElementAt(0);
var breaks = runs.ElementAt(0).Elements<Break>();
if (breaks != null && breaks.Count() > 0)
{
var firstBreawk = breaks.ElementAt(0);
if (breaks != null)
return firsRun;
}
}
}
return null; //(pr != null) ? (pr.Elements<Run>() != null && pr.Elements<Run>().Count() > 0) ? pr.Elements<Run>().ElementAt(0) as Run : null : null;
}
public void GenerateFiles()
{
if (!_configured)
ConfigureScheduler();
_cancelationToken = new CancellationTokenSource();
Counter = _fileNames.Count();
var pages = GetPageIndexes();
pages = RemoveEmptyGraphs(pages);
var counter = 0;
UpdateToRunningState();
if(CreatedFiles != null)
CreatedFiles.Clear();
foreach(var fileName in _fileNames)
{
var wmlDoc = new WmlDocument(FilePath);
if(_cancelationToken.IsCancellationRequested)
break;
var currentPage = pages[counter++];
scheduler.EnqueueRequest(() => {
var fileWtExtension = string.Format("{0}.docx", fileName);
var destination = Path.Combine(DestinationDirectory, fileWtExtension);
//var sources = new List<Source>(){new Source(wmlDoc, currentPage.Index, currentPage.Count, true){ DiscardHeadersAndFootersInKeptSections = false, KeepSections = true},}; // true to keep sections : header and footer
// ** var sources = new List<Source>() { new Source(wmlDoc, true) { DiscardHeadersAndFootersInKeptSections = false, KeepSections = true }, }; // true to keep sections : header and footer
//DocumentBuilder.BuildDocument(sources, );
// WmlDocument wmlDc = DocumentBuilder.BuildDocument(sources);
WmlDocument wmlDc = BuildDocument(wmlDoc, currentPage);
if(currentPage.ContainBreak && currentPage.BlockElementType == BlockElementType.Paragraph)
{
RemovePageBreak(wmlDc);
}
RemovePlainParagraphs(wmlDc);
//ApplyHeader(wmlDoc, wmlDc);
wmlDc.SaveAs(destination);
FileCompletionNotifier(fileWtExtension);
}, _cancelationToken.Token);
}
}
private void RemovePlainParagraphs(WmlDocument wmlDc)
{
var updatesMade = false;
using(var mem = new MemoryStream())
{
mem.Write(wmlDc.DocumentByteArray, 0, wmlDc.DocumentByteArray.Length);
using(var wordDoc = WordprocessingDocument.Open(mem, true))
{
var rootBlocks = wordDoc.MainDocumentPart.Document.Body.Elements().Where(el => !(el is SectionProperties) );
var length = rootBlocks.Count();
for (var i = length - 1; i >= 0; i-- )
{
var prgrph = rootBlocks.ElementAt(i) as Paragraph;
if(prgrph != null)
{
var pr_children = prgrph.Elements().Where(el => !( el is ParagraphProperties));
if(pr_children == null || pr_children.Count() < 1)
{
prgrph.Remove();
updatesMade = true;
}
}
}
wordDoc.MainDocumentPart.Document.Save();
}
if (updatesMade)
wmlDc.DocumentByteArray = mem.ToArray();
}
}
private PageIndex[] RemoveEmptyGraphs(PageIndex[] pages)
{
var pgIdxLst = new List<PageIndex>(pages);
var length = pages.Length;
using (var document = WordprocessingDocument.Open(FilePath, false))
{
var body = document.MainDocumentPart.Document.Body;
var blckElements = body.ChildElements;
for (var i = length - 1; i >= 0; i--)
{
var currentPage = pages[i];
if(currentPage.BlockElementType == BlockElementType.Paragraph)
{
var paragraphElement = blckElements[currentPage.Index];
var runs = paragraphElement.Elements<Run>();
if(runs == null || (runs.Count() < 2))
{
if(runs.Count() == 1)
{
var rn = runs.ElementAt(0);
if(rn != null)
{
var txts = rn.Elements<Text>();
if (txts != null && txts.Count() > 0)
continue;
}
}
pgIdxLst.RemoveAt(i);
}
}
}
}
return pgIdxLst.ToArray();
}
[MethodImpl( MethodImplOptions.NoOptimization)]
private WmlDocument BuildDocument(WmlDocument srcDoc, PageIndex pgIndx)
{
WmlDocument doc = new WmlDocument(srcDoc, true);
using(var mem = new MemoryStream())
{
mem.Write(doc.DocumentByteArray, 0, doc.DocumentByteArray.Length);
using(var wordDoc = WordprocessingDocument.Open(mem, true))
{
var elements = wordDoc.MainDocumentPart.Document.Body.Elements().Where(el => !(el is SectionProperties));
var length = elements.Count();
var maxIdx = (pgIndx.Index + pgIndx.Count) - 1;
for (var i = length - 1; i >= 0; i-- )
{
if(i > maxIdx || i < pgIndx.Index)
{
elements.ElementAt(i).Remove();
}
}
wordDoc.MainDocumentPart.Document.Save();
}
doc.DocumentByteArray = mem.ToArray();
}
return doc;
}
/// <summary>
/// apply header from sourceWmlDoc to destWmlDoc; both being of type <see cref="WmlDocument"/>
/// </summary>
/// <param name="sourceWmlDoc">Source WmlDocument from which to pull the header</param>
/// <param name="destWmlDoc"> destination WmlDocument's header being updated</param>
private static void ApplyHeader(WmlDocument sourceWmlDoc, WmlDocument destWmlDoc)
{
using (var sourceStream = new MemoryStream())
{
sourceStream.Write(sourceWmlDoc.DocumentByteArray, 0, sourceWmlDoc.DocumentByteArray.Length);
using (var sourceDoc = WordprocessingDocument.Open(sourceStream, false))
{
var sourceHeader = sourceDoc.MainDocumentPart.HeaderParts.FirstOrDefault();
if (sourceHeader != null)
{
using (var destStream = new MemoryStream())
{
destStream.Write(destWmlDoc.DocumentByteArray, 0, destWmlDoc.DocumentByteArray.Length);
using (var destDoc = WordprocessingDocument.Open(destStream, true))
{
var destMainPart = destDoc.MainDocumentPart;
destMainPart.DeleteParts(destMainPart.HeaderParts);
var newHeader = destMainPart.AddNewPart<HeaderPart>();
var newHeaderId = destMainPart.GetIdOfPart(newHeader);
newHeader.FeedData(sourceHeader.GetStream());
var secPrs = destMainPart.Document.Body.Elements<SectionProperties>();
if (secPrs == null || secPrs.Count() < 1)
{
if (secPrs != null)
{
destMainPart.Document.Body.RemoveAllChildren<SectionProperties>();
}
secPrs = new List<SectionProperties>();
((List<SectionProperties>)secPrs).Add(new SectionProperties());
destMainPart.Document.Body.Append(secPrs);
}
foreach (var secPr in secPrs)
{
secPr.RemoveAllChildren<HeaderReference>();
secPr.PrependChild<HeaderReference>(new HeaderReference() { Id = newHeaderId });
}
destMainPart.Document.Save();
}
//destStream.Flush();
destWmlDoc.DocumentByteArray = destStream.ToArray();
}
}
}
}
}
[MethodImpl( MethodImplOptions.NoOptimization)]
private static void RemovePageBreak(WmlDocument wmlDc)
{
using (var memStream = new MemoryStream())
{
memStream.Write(wmlDc.DocumentByteArray, 0, wmlDc.DocumentByteArray.Length);
XElement rooBreak = null;
using (var wpDoc = WordprocessingDocument.Open(memStream, true))
{
var sDoc = wpDoc.MainDocumentPart.GetXDocument();
var bdy = sDoc.Root.Elements(W.body).ElementAt(0);
var root = bdy.Elements(W.p).FirstOrDefault();
var firstRunNode = root.Elements().ElementAt(0);
if (root != null && firstRunNode != null && firstRunNode.Name == W.r)
{
rooBreak = firstRunNode.Descendants(W.br).FirstOrDefault();
if (rooBreak != null)
{
firstRunNode.Remove();
wpDoc.MainDocumentPart.PutXDocument();
}
}
}
if (rooBreak != null)
wmlDc.DocumentByteArray = memStream.ToArray();
}
}
private void UpdateToRunningState()
{
Running = true;
UpdateStatus(Status.Running);
}
private void UpdateStatus(Status status)
{
var evtHandlrs = StatusUpdated;
if (evtHandlrs != null)
{
evtHandlrs(this, status);
}
}
private void ConfigureScheduler()
{
scheduler = new ServiceRequestsScheduler();
_configured = true;
}
private void FileCompletionNotifier(string fileName)
{
lock (_synch)
{
if (Counter > 0)
Counter--;
else
throw new InvalidOperationException("More pages than file name specied!");
OnFileGenerated(fileName);
if (Counter < 1)
OnFileGenerationCompleted();
}
}
public event EventHandler<String> FileGenerated;
public event EventHandler<Status> StatusUpdated;
private void OnFileGenerationCompleted()
{
Running = false;
UpdateStatus(Status.Completed);
}
private void OnFileGenerated(string fileName)
{
if (CreatedFiles != null)
CreatedFiles.Add(fileName);
var evt = FileGenerated;
if(evt != null)
{
evt(this, fileName);
}
}
public IList<String> CreatedFiles { get; set; }
public void CancelFileGeneration()
{
if (!Running)
return;
//if (_cancelationToken.IsCancellationRequested)
_cancelationToken.Cancel();
Running = false;
UpdateStatus(Status.Stopped);
}
public bool Running { get; private set; }
[DebuggerDisplay("Index: {Index}, BlockType: {BlockElementType}, Count: {Count}, ContainBreak: {ContainBreak}")]
public class PageIndex
{
public Int32 Index { get; set; }
public Int32 Count { get; set; }
public BlockElementType BlockElementType { get; set; }
public bool ContainBreak { get; set; }
}
internal int Counter { get; set; }
}
public enum Status
{
Stopped,
Running,
Completed
}
public enum BlockElementType
{
Table,
Paragraph
}
}
| mit |
isukces/isukces.code | isukces.code/Features/FeatureImplementers/GetHashCodeExpressionData.cs | 1200 | using iSukces.Code.AutoCode;
namespace iSukces.Code.FeatureImplementers
{
public struct GetHashCodeExpressionData
{
public GetHashCodeExpressionData(CsExpression expression, int? min = null, int? max = null)
{
Expression = expression;
Min = min;
Max = max;
}
public static implicit operator GetHashCodeExpressionData(CsExpression code) =>
new GetHashCodeExpressionData(code);
public int GetGethashcodeMultiply(int defaultGethashcodeMultiply)
{
if (Max.HasValue && Min.HasValue)
return Max.Value - Min.Value + 1;
return defaultGethashcodeMultiply;
}
public override string ToString() => ExpressionWithOffset.Code;
public CsExpression Expression { get; }
public CsExpression ExpressionWithOffset
{
get { return Min is null ? Expression : Expression - Min.Value; }
}
public int? Min { get; }
public int? Max { get; }
public bool HasMinMax
{
get { return Min.HasValue && Max.HasValue; }
}
}
} | mit |
chrisblock/Bumblebee | src/Bumblebee.IntegrationTests/Implementation/DateFieldTests.cs | 1070 | using System;
using Bumblebee.Extensions;
using Bumblebee.IntegrationTests.Shared;
using Bumblebee.IntegrationTests.Shared.Hosting;
using Bumblebee.IntegrationTests.Shared.Pages;
using Bumblebee.Setup;
using FluentAssertions;
using NUnit.Framework;
namespace Bumblebee.IntegrationTests.Implementation
{
// ReSharper disable InconsistentNaming
[TestFixture(typeof(HeadlessChrome))]
public class Given_date_field<T> : HostTestFixture
where T : IDriverEnvironment, new()
{
[OneTimeSetUp]
public void TestFixtureSetUp()
{
Threaded<Session>
.With<T>()
.NavigateTo<DateFieldPage>(GetUrl("DateField.html"));
}
[OneTimeTearDown]
public void TestFixtureTearDown()
{
Threaded<Session>
.End();
}
[Test]
public void When_entering_date_Then_text_and_value_work()
{
Threaded<Session>
.CurrentBlock<DateFieldPage>()
.Date.EnterDate(DateTime.Today)
.VerifyThat(x => x.Date.Value
.Should().Be(DateTime.Today))
.VerifyThat(x => x.Date.Text
.Should().Be(DateTime.Today.ToString("yyyy-MM-dd")));
}
}
}
| mit |
voidabhi/reddy | Logger.php | 3078 | <?php
class GhLoggerException extends RuntimeException
{
}
class GhLogger
{
const ERROR_LEVEL = 255;
const DEBUG = 1;
const NOTICE = 2;
const WARNING = 4;
const ERROR = 8;
static protected $instance;
static protected $enabled = false;
static protected $filename;
protected $file;
static public function setFileName($filename)
{
self::$filename = $filename;
}
static public function getFileName()
{
if (self::$filename == null)
{
self::$filename = dirname(__FILE__).'/GhLogger.log';
}
return self::$filename;
}
static public function enableIf($condition = true)
{
if ((bool) $condition)
{
self::$enabled = true;
}
}
static public function disable()
{
self::$enabled = false;
}
static protected function getInstance()
{
if (!self::hasInstance())
{
self::$instance = new self("astreinte.log");
}
return self::$instance;
}
static protected function hasInstance()
{
return self::$instance instanceof self;
}
static public function writeIfEnabled($message, $level = self::DEBUG)
{
if (self::$enabled)
{
self::writeLog($message, $level);
}
}
static public function writeIfEnabledAnd($condition, $message, $level = self::DEBUG)
{
if (self::$enabled)
{
self::writeIf($condition, $message, $level);
}
}
static public function writeLog($message, $level = self::DEBUG)
{
self::getInstance()->writeLine($message, $level);
}
static public function writeIf($condition, $message, $level = self::DEBUG)
{
if ($condition)
{
self::writeLog($message, $level);
}
}
protected function __construct()
{
if (!$this->file = fopen(self::getFileName(), 'a+'))
{
throw new GhLoggerException(sprintf("Could not open file '%s' for writing.", self::getFileName()));
}
$this->writeLine("\n===================== STARTING =====================", 0);
}
public function __destruct()
{
$this->writeLine("\n===================== ENDING =====================", 0);
fclose($this->file);
}
protected function writeLine($message, $level)
{
if ($level & self::ERROR_LEVEL)
{
$date = new DateTime();
$en_tete = $date->format('d/m/Y H:i:s');
switch($level)
{
case self::NOTICE:
$en_tete = sprintf("%s (notice)", $en_tete);
break;
case self::WARNING:
$en_tete = sprintf("%s WARNING", $en_tete);
break;
case self::ERROR:
$en_tete = sprintf("\n%s **ERROR**", $en_tete);
break;
}
$message = sprintf("%s -- %s\n", $en_tete, $message);
fwrite($this->file, $message);
}
}
}
| mit |
FTB-Gamepedia/OreDict | special/OreDictList.php | 7771 | <?php
/**
* OreDictList special page file
*
* @file
* @ingroup Extensions
* @version 1.0.1
* @author Jinbobo <[email protected]>
* @license
*/
class OreDictList extends SpecialPage {
protected $opts;
public function __construct() {
parent::__construct('OreDictList');
}
/**
* Return the group name for this special page.
*
* @access protected
* @return string
*/
protected function getGroupName() {
return 'oredict';
}
public function execute($par) {
global $wgQueryPageDefaultLimit;
$out = $this->getOutput();
$out->enableOOUI();
$this->setHeaders();
$this->outputHeader();
$opts = new FormOptions();
$opts->add( 'limit', $wgQueryPageDefaultLimit );
$opts->add( 'mod', '' );
$opts->add( 'tag', '' );
$opts->add( 'start', '' );
$opts->add( 'from', 1 );
$opts->add( 'page', 0 );
$opts->fetchValuesFromRequest( $this->getRequest() );
$opts->validateIntBounds( 'limit', 0, 5000 );
// Give precedence to subpage syntax
if ( isset($par) ) {
$opts->setValue( 'from', $par );
}
// Bind to member variable
$this->opts = $opts;
$limit = intval($opts->getValue('limit'));
$mod = $opts->getValue('mod');
$tag = $opts->getValue('tag');
$start = $opts->getValue('start');
$from = intval($opts->getValue('from'));
$page = intval($opts->getValue('page'));
// Load data
$dbr = wfGetDB(DB_SLAVE);
$results = $dbr->select(
'ext_oredict_items',
'COUNT(`entry_id`) AS row_count',
array(
'entry_id >= '.$from,
'(mod_name = '.$dbr->addQuotes($mod).' OR '.$dbr->addQuotes($mod).' = \'\' OR'.
'('.$dbr->addQuotes($mod).' = \'none\' AND mod_name = \'\'))',
'(tag_name = '.$dbr->addQuotes($tag).' OR '.$dbr->addQuotes($tag).' = \'\')',
'item_name BETWEEN '.$dbr->addQuotes($start)." AND 'zzzzzzzz'"
),
__METHOD__,
array('LIMIT' => $limit)
);
foreach ($results as $result) {
$maxRows = $result->row_count;
}
if (!isset($maxRows)) {
return;
}
$begin = $page * $limit;
$end = min($begin + $limit, $maxRows);
$order = $start == '' ? 'entry_id ASC' : 'item_name ASC';
$results = $dbr->select(
'ext_oredict_items',
'*',
array(
'entry_id >= '.$from,
'(mod_name = '.$dbr->addQuotes($mod).' OR '.$dbr->addQuotes($mod).' = \'\' OR ('.
$dbr->addQuotes($mod).' = \'none\' AND mod_name = \'\'))',
'(tag_name = '.$dbr->addQuotes($tag).' OR '.$dbr->addQuotes($tag).' = \'\')',
'item_name BETWEEN '.$dbr->addQuotes($start)." AND 'zzzzzzzz'"
),
__METHOD__,
array(
'ORDER BY' => $order,
'LIMIT' => $limit,
'OFFSET' => $begin
)
);
// Output table
$table = "{| class=\"mw-datatable\" style=\"width:100%\"\n";
$msgTagName = wfMessage('oredict-tag-name');
$msgItemName = wfMessage('oredict-item-name');
$msgModName = wfMessage('oredict-mod-name');
$msgGridParams = wfMessage('oredict-grid-params');
$canEdit = in_array("editoredict", $this->getUser()->getRights());
$table .= "!";
if ($canEdit) {
$table .= " !!";
}
$table .= " # !! $msgTagName !! $msgItemName !! $msgModName !! $msgGridParams\n";
$linkStyle = "style=\"width:23px; padding-left:5px; padding-right:5px; text-align:center; font-weight:bold;\"";
$lastID = 0;
foreach ($results as $result) {
$lId = $result->entry_id;
$lTag = $result->tag_name;
$lItem = $result->item_name;
$lMod = $result->mod_name;
$lParams = $result->grid_params;
$table .= "|-\n| ";
// Check user rights
if ($canEdit) {
$msgEdit = wfMessage('oredict-list-edit')->text();
$editLink = "[[Special:OreDictEntryManager/$lId|$msgEdit]]";
$table .= "$linkStyle | $editLink || ";
}
$table .= "$lId || $lTag || $lItem || $lMod || $lParams\n";
$lastID = $lId;
}
$table .= "|}\n";
// Page nav stuff
$pPage = $page-1;
$nPage = $page+1;
$lPage = max(floor(($maxRows - 1) / $limit), 0);
$settings = 'start='.$start.'&mod='.$mod.'&limit='.$limit.'&tag='.$tag.'&from='.$from;
if ($page == 0) {
$prevPage = "'''" . wfMessage('oredict-list-first')->text() . "'''";
} else {
$firstPageArrow = wfMessage('oredict-list-first-arrow')->text();
if ($page == 1) {
$prevPage = '[{{fullurl:{{FULLPAGENAME}}|'.$settings.'}} ' . $firstPageArrow . ']';
} else {
$prevPage = '[{{fullurl:{{FULLPAGENAME}}|'.$settings.
"}} $firstPageArrow] [{{fullurl:{{FULLPAGENAME}}|page={$pPage}&".$settings.
'}} ' . wfMessage('oredict-list-prev')->text() . ']';
}
}
if ($lPage == $page) {
$nextPage = "'''" . wfMessage('oredict-list-last')->text() . "'''";
} else {
$lastPageArrow = wfMessage('oredict-list-last-arrow')->text();
if ($lPage == $page + 1) {
$nextPage = "[{{fullurl:{{FULLPAGENAME}}|page={$nPage}&".$settings.'}} ' . $lastPageArrow . ']';
} else {
$nextPage = "[{{fullurl:{{FULLPAGENAME}}|page={$nPage}&".$settings.
'}} ' . wfMessage('oredict-list-next')->text() . "] [{{fullurl:{{FULLPAGENAME}}|page={$lPage}&".$settings.
'}} ' . $lastPageArrow . ']';
}
}
$pageSelection = '<div style="text-align:center;" class="plainlinks">'.$prevPage.' | '.$nextPage.'</div>';
$this->displayForm($opts);
if ($maxRows == 0) {
$out->addWikiText(wfMessage('oredict-list-display-none')->text());
} else {
// We are currently at the end from the iteration earlier in the function, so we have to go back to get the
// first row's entry ID.
$results->rewind();
$firstID = $results->current()->entry_id;
$out->addWikiText(wfMessage('oredict-list-displaying', $firstID, $lastID, $maxRows)->text());
}
$out->addWikiText(" $pageSelection\n");
$out->addWikitext($table);
// Add modules
$out->addModules( 'ext.oredict.list' );
}
public function displayForm(FormOptions $opts) {
$lang = $this->getLanguage();
$formDescriptor = [
'from' => [
'type' => 'int',
'name' => 'from',
'default' => $opts->getValue('from'),
'min' => 1,
'id' => 'from',
'label-message' => 'oredict-list-from'
],
'start' => [
'type' => 'text',
'name' => 'start',
'default' => $opts->getValue('start'),
'id' => 'start',
'label-message' => 'oredict-list-start'
],
'tag' => [
'type' => 'text',
'name' => 'tag',
'default' => $opts->getValue('tag'),
'id' => 'tag',
'label-message' => 'oredict-list-tag'
],
'mod' => [
'type' => 'text',
'name' => 'mod',
'default' => $opts->getValue('mod'),
'id' => 'mod',
'label-message' => 'oredict-list-mod'
],
'limit' => [
'type' => 'limitselect',
'name' => 'limit',
'label-message' => 'oredict-list-limit',
'options' => [
$lang->formatNum(20) => 20,
$lang->formatNum(50) => 50,
$lang->formatNum(100) => 100,
$lang->formatNum(250) => 250,
$lang->formatNum(500) => 500,
$lang->formatNum(5000) => 5000
],
'default' => $opts->getValue('limit')
]
];
$htmlForm = HTMLForm::factory('ooui', $formDescriptor, $this->getContext());
$htmlForm
->setMethod('get')
->setWrapperLegendMsg('oredict-list-legend')
->setId('ext-oredict-list-filter')
->setSubmitTextMsg('oredict-list-submit')
->setSubmitProgressive()
->prepareForm()
->displayForm(false);
}
}
| mit |
slavatox/lampa | app/js/app.js | 2580 | 'use strict';
// Declare app level module which depends on filters, and services
angular.module('myApp', [
'ngRoute',
'myApp.filters',
'myApp.services',
'myApp.directives',
'myApp.controllers'
]).
config(['$routeProvider', function($routeProvider) {
$routeProvider.when('/О кафедре', {templateUrl: 'partials/Ab_al.html', controller: 'MyCtrl1'});
$routeProvider.when('/Бакалавриат', {templateUrl: 'partials/Bag_k.html', controller: 'MyCtrl1'});
$routeProvider.when('/Контакты', {templateUrl: 'partials/Kont_al.html', controller: 'MyCtrl1'});
$routeProvider.when('/Магистратура', {templateUrl: 'partials/Mg_s.html', controller: 'MyCtrl1'});
$routeProvider.when('/Научная работа', {templateUrl: 'partials/Nayc_k.html', controller: 'MyCtrl1'});
$routeProvider.when('/Специалитет', {templateUrl: 'partials/Spec_s.html', controller: 'MyCtrl1'});
$routeProvider.when('/Преподаватели', {templateUrl: 'partials/Prep_s.html', controller: 'MyCtrl1'});
$routeProvider.when('/Расписание', {templateUrl: 'partials/Raspis.html', controller: 'MyCtrl1'});
$routeProvider.when('/Новости', {templateUrl: 'partials/Novos.html', controller: 'MyCtrl1'});
$routeProvider.when('/Документы', {templateUrl: 'partials/Dock.html', controller: 'MyCtrl1'});
$routeProvider.when('/Направления и специальности', {templateUrl: 'partials/Spec.html', controller: 'MyCtrl1'});
$routeProvider.when('/Лаборатории', {templateUrl: 'partials/Lab.html', controller: 'MyCtrl1'});
$routeProvider.when('/Главная', {templateUrl: 'partials/Glavnaya.html', controller: 'MyCtrl1'});
$routeProvider.when('/Фотогалерея', {templateUrl: 'partials/Foto.html', controller: 'MyCtrl1'});
$routeProvider.otherwise({redirectTo: '/Главная'});
}]);
$(function(){
if ($(window).scrollTop()>="10") $("#ToTop").fadeIn("slow")
$(window).scroll(function(){
if ($(window).scrollTop()<="10") $("#ToTop").fadeOut("slow")
else $("#ToTop").fadeIn("slow")
});
if ($(window).scrollTop()<=$(document).height()-"999") $("#OnBottom").fadeIn("slow")
$(window).scroll(function(){
if ($(window).scrollTop()>=$(document).height()-"999") $("#OnBottom").fadeOut("slow")
else $("#OnBottom").fadeIn("slow")
});
$("#ToTop").click(function(){$("html,body").animate({scrollTop:0},"slow")})
$("#OnBottom").click(function(){$("html,body").animate({scrollTop:$(document).height()},"slow")})
}); | mit |
ahmelessawy/Hospital-Dashboard | Server/app/routes/rating.js | 551 | 'use strict';
const router = require('express').Router();
const Model = require('../models/rating');
router.get('/', function (req, res) {
Model.find({}, (err, data) => {
if (err) throw err;
res.json(data);
})
});
router.get('/:id', function (req, res) {
Model.findById(req.params.id, (err, data) => {
if (err) throw err;
res.json(data);
})
});
router.post('/', function (req, res, next) {
req.body._id = req.user.id;
Model.create(req.body, (err, data) => {
if (err) throw err;
res.json(data);
});
});
module.exports = router; | mit |
skyrideraj/intern_corner | php/classes/Registration.php | 4432 |
<?php
/**
*
*/
require_once("/phpmailer/class.phpmailer.php");
require_once __DIR__.'/../includes/initialize_database.php';
class Registration
{
var $username;
var $full_name;
var $email;
var $account_type;
var $activation_code;
var $hashed_password;
function __construct($username,$full_name,$email,$password,$account_type,$activation_code)
{
# code...
$this->username=$username;
$this->full_name=$full_name;
$this->email=$email;
$this->hashed_password=md5($password);
$this->account_type=$account_type;
$this->activation_code=$activation_code;
}
function generateActivationCode(){
$this->activation_code = rand(1000,9999);
// return $activation_code;
}
function sendActivationCode(){
$mailer = new PHPMailer();
$mailer->IsSMTP();
$mailer->SMTPAuth = true;
$mailer->Host = "smtp.gmail.com";
$mailer->SMTPDebug = 1;
$mailer->SMTPSecure = 'ssl';
$mailer->Port = 465;
$mailer->Username = "[email protected]";
$mailer->Password = "passwordsen";
$mailer->SetFrom('[email protected]','Intern Corner Webmaster');
$mailer->FromName = "Intern Corner";
$mailer->AddAddress($this->email);
$body = "Your Activation code is ".$this->activation_code;
$mailer->Subject = ("Your account confirm code");
$mailer->Body = $body;
$mailer->IsHTML (true);
$mailer->Send();
}
function validateDetails(){
$db = (new Database())->connectToDatabase();
$db->query("SELECT * FROM User WHERE email='$this->email'");
if($db->returned_rows>=1){
return 2;
}
$db->query("SELECT * FROM User WHERE user_name='$this->username'");
if($db->returned_rows>=1){
return 1;
}
return 4;
}
function handleRegistration(){
$valid = $this->validateDetails();
if($valid==1){
//precondition failed... username already exists
return array('status_code'=>412,'detail'=>'username already exists');
}
else if($valid==2){
//precondition failed... email already exists
return array('status_code'=>413,'detail'=>'email exists');
}
else{
$this->generateActivationCode();
$this->sendActivationCode();
//enter details in Activation_Codes table
$db = (new Database())->connectToDatabase();
$db->insert('Activation_Codes',array('user_name'=>$this->username,'full_name'=>$this->full_name,'email'=>$this->email,'account_type'=>$this->account_type,'password'=>$this->hashed_password,'activation_code'=>$this->activation_code));
return array('status_code'=>200);
}
}
function register(){
//called when user enters activation code
//construct an object with username, NULL, NULL, NULL ,NULL
//check if correct activation code
$db = (new Database())->connectToDatabase();
$db->query("SELECT * FROM Activation_Codes WHERE user_name='$this->username' AND activation_code='$this->activation_code'");
if($db->returned_rows==0){
return array('status_code'=>400,'detail'=>"username doesn't exist in the table or wrong activation code");
}
//successful
//move entries to User table
$result = $db->fetch_assoc_all();
$db->insert('User',array('user_name' => $result[0]['user_name'], 'full_name' =>$result[0]['full_name'] ,'email' => $result[0]['email'],'account_type' => $result[0]['account_type'],'password' => $result[0]['password']));
$db->query("DELETE from Activation_Codes WHERE user_name='$this->username'");
switch ($result[0]['account_type']) {
case 2:
# code...
// echo "yup";
$username = $result[0]['user_name'];
$db->query("INSERT INTO Student (user_name,profile_complete) VALUES('$username',0)");
break;
case 1:
//faculty
$username = $result[0]['user_name'];
$db->query("INSERT INTO faculty (user_name) VALUES('$username')");
break;
case 3:
$username = $result[0]['user_name'];
$db->query("INSERT INTO allumni (user_name) VALUES('$username')");
break;
default:
# code...
break;
}
return array('status_code'=>200);
}
}
//testing.....
/*$username = $_POST['username'];
$full_name = $_POST['fullname'];
$password = $_POST['password'];
$email = $_POST['email'];
$account_type = $_POST['category'];
$activation_code;
$reg = new Registration($username,$full_name,$email,$password,$account_type,NULL);
$reg->handleRegistration();*/
// $reg = new Registration('testuser',NULL,NULL,NULL,NULL,73);
// $reg->register();
// session_start();
// print_r($_SESSION['user']);
?>
| mit |
MugFoundation/versioneer | cli/versioneer_gui/App.xaml.cs | 330 | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace versioneer_gui
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
}
}
| mit |
tarora2014/image_scale_api | app/controllers/api/v1/scales_controller.rb | 1162 | module Api
module V1
class ScalesController < ApplicationController
def index
image_dimension = params['image_dimensions'].gsub(/"|\[|\]/, '').split(",")
bounding_box = params['bounding_box'].gsub(/"|\[|\]/, '').split(",")
bound_w = bounding_box[0].to_i
bound_h = bounding_box[1].to_i
new_image_dimension = []
if image_dimension.count%2 == 0 || bounding_box.length == 2
image_dimension = image_dimension.each_slice(2).to_a
image_dimension.each do |pair|
w = pair[0].to_f
h = pair[1].to_f
new_w = w/bound_w
new_h = h/bound_h
if new_w < new_h
new_w = (w/new_h).to_i
new_h = (h/new_h).to_i
else
new_h = (h/new_w).to_i
new_w = (w/new_w).to_i
end
new_image_dimension << [new_w, new_h]
end
new_image_dimension.flatten!
render json: {image_dimension: new_image_dimension, bounding_box: [bound_w,bound_h]}
else
error = "Your Input was not correct. Please check and retry."
render json: error, status: 400
end
end
end
end
end | mit |
DoooReyn/Chromatic4Cpp-Redesign | tests/TestCase_HSV.hpp | 343 | //
// TestCase_HSV.hpp
// SomethingMustBeWrong
//
// Created by Reyn-Mac on 2017/2/26.
// Copyright © 2017年 Reyn-Mac. All rights reserved.
//
#ifndef TestCase_HSV_hpp
#define TestCase_HSV_hpp
void TestCase1_HSV_Constructor();
void TestCase2_HSV_Frame();
void TestCase3_HSV_AsRGB();
void TestCase_HSV();
#endif /* TestCase_HSV_hpp */
| mit |
matudelatower/logiautos | src/CuestionariosBundle/Entity/EncuestaTipoPregunta.php | 4588 | <?php
namespace CuestionariosBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
/**
* EncuestaTipoPregunta
*
* @ORM\Table(name="encuesta_tipos_preguntas")
* @ORM\Entity
*/
class EncuestaTipoPregunta {
/**
* @var integer
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="tipo", type="string", length=255)
*/
private $tipo;
/**
* @var string
*
* @ORM\Column(name="widget_type", type="string", length=255)
*/
private $widgetType;
/**
* @var datetime $creado
*
* @Gedmo\Timestampable(on="create")
* @ORM\Column(name="creado", type="datetime")
*/
private $creado;
/**
* @var datetime $actualizado
*
* @Gedmo\Timestampable(on="update")
* @ORM\Column(name="actualizado",type="datetime")
*/
private $actualizado;
/**
* @var integer $creadoPor
*
* @Gedmo\Blameable(on="create")
* @ORM\ManyToOne(targetEntity="UsuariosBundle\Entity\Usuario")
* @ORM\JoinColumn(name="creado_por", referencedColumnName="id", nullable=true)
*/
private $creadoPor;
/**
* @var integer $actualizadoPor
*
* @Gedmo\Blameable(on="update")
* @ORM\ManyToOne(targetEntity="UsuariosBundle\Entity\Usuario")
* @ORM\JoinColumn(name="actualizado_por", referencedColumnName="id", nullable=true)
*/
private $actualizadoPor;
/**
* Get id
*
* @return integer
*/
public function getId() {
return $this->id;
}
/**
* Set tipo
*
* @param string $tipo
*
* @return EncuestaTipoPregunta
*/
public function setTipo($tipo) {
$this->tipo = $tipo;
return $this;
}
/**
* Get tipo
*
* @return string
*/
public function getTipo() {
return $this->tipo;
}
/**
* Set slug
*
* @param string $slug
*
* @return EncuestaTipoPregunta
*/
public function setSlug($slug) {
$this->slug = $slug;
return $this;
}
/**
* Get slug
*
* @return string
*/
public function getSlug() {
return $this->slug;
}
/**
* Set creado
*
* @param \DateTime $creado
*
* @return EncuestaTipoPregunta
*/
public function setCreado($creado)
{
$this->creado = $creado;
return $this;
}
/**
* Get creado
*
* @return \DateTime
*/
public function getCreado()
{
return $this->creado;
}
/**
* Set actualizado
*
* @param \DateTime $actualizado
*
* @return EncuestaTipoPregunta
*/
public function setActualizado($actualizado)
{
$this->actualizado = $actualizado;
return $this;
}
/**
* Get actualizado
*
* @return \DateTime
*/
public function getActualizado()
{
return $this->actualizado;
}
/**
* Set creadoPor
*
* @param \UsuariosBundle\Entity\Usuario $creadoPor
*
* @return EncuestaTipoPregunta
*/
public function setCreadoPor(\UsuariosBundle\Entity\Usuario $creadoPor = null)
{
$this->creadoPor = $creadoPor;
return $this;
}
/**
* Get creadoPor
*
* @return \UsuariosBundle\Entity\Usuario
*/
public function getCreadoPor()
{
return $this->creadoPor;
}
/**
* Set actualizadoPor
*
* @param \UsuariosBundle\Entity\Usuario $actualizadoPor
*
* @return EncuestaTipoPregunta
*/
public function setActualizadoPor(\UsuariosBundle\Entity\Usuario $actualizadoPor = null)
{
$this->actualizadoPor = $actualizadoPor;
return $this;
}
/**
* Get actualizadoPor
*
* @return \UsuariosBundle\Entity\Usuario
*/
public function getActualizadoPor()
{
return $this->actualizadoPor;
}
/**
* Set widgetType
*
* @param string $widgetType
*
* @return EncuestaTipoPregunta
*/
public function setWidgetType($widgetType)
{
$this->widgetType = $widgetType;
return $this;
}
/**
* Get widgetType
*
* @return string
*/
public function getWidgetType()
{
return $this->widgetType;
}
public function __toString() {
return $this->tipo;
}
}
| mit |
fnxjs/fnx | src/api/mapOf.ts | 1336 | import { descriptionTypes, Diff, Disposable, MapOfDescriptor, Middleware } from '../core'
/**
* Describes a map of the given type.
* https://fnx.js.org/docs/api/mapOf.html
* @param kind The type of items this map contains
*/
export function mapOf<T>(kind: T) {
if (arguments.length === 0) {
throw new Error()
}
if (arguments.length > 1) {
throw new Error()
}
if (typeof kind !== 'object') {
throw new Error()
}
switch ((kind as any).type) {
case descriptionTypes.arrayOf:
case descriptionTypes.boolean:
case descriptionTypes.complex:
case descriptionTypes.mapOf:
case descriptionTypes.number:
case descriptionTypes.object:
case descriptionTypes.oneOf:
case descriptionTypes.string:
break
default:
throw new Error()
}
const descriptor: MapOfDescriptor<T> = {
type: descriptionTypes.mapOf, kind,
readonly: false, optional: false,
}
return descriptor as any as {
applySnapshot?(snapshot: string): boolean
applySnapshot?(snapshot: object, options?: { asJSON: true }): boolean
getSnapshot?(): object
getSnapshot?(options: { asString: true }): string
getSnapshot?(options: { asJSON: true }): object
applyDiffs?(diffs: Diff[]): boolean
use?(middleware: Middleware): Disposable
} & {
[key: string]: T
}
}
| mit |
builtio-contentstack/contentstack-express | test/config/all.js | 263 | module.exports = exports = {
port: '8080',
theme: 'basic',
languages: [
{
'code': 'es-es',
'relative_url_prefix': '/'
}
],
cache: false,
contentstack: {
api_key: 'dummy_key',
access_token: 'dummy_token'
}
}; | mit |
clearvox/constraints-date-php | src/Constraints/Year/SpecificYearConstraint.php | 858 | <?php
namespace Clearvox\DateConstraints\Constraints\Year;
use DateTime;
class SpecificYearConstraint implements YearConstraintInterface
{
/**
* @var mixed[]
*/
protected $years = [];
public function __construct($year)
{
$this->addYear($year);
}
public function addYear($year)
{
$this->years[] = $year;
return $this;
}
/**
* Return set years for this year constraint as an array of
* strings/integers
*
* @return array
*/
public function getYears()
{
return $this->years;
}
/**
* Is the passed in DateTime valid for this constraint?
*
* @param DateTime $dateTime
* @return boolean
*/
public function isValid(DateTime $dateTime)
{
return in_array($dateTime->format('Y'), $this->years);
}
} | mit |
adamholdenyall/SpriterDotNet | SpriterDotNet.Unity/Assets/SpriterDotNet/SpriterDotNetBehaviour.cs | 3318 | // Copyright (c) 2015 The original author or authors
//
// This software may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
using SpriterDotNet;
using System;
using System.Linq;
using System.Collections.Generic;
using UnityEngine;
namespace SpriterDotNetUnity
{
[Serializable]
public class SdnFolder
{
public Sprite[] Files;
}
[ExecuteInEditMode]
public class SpriterDotNetBehaviour : MonoBehaviour
{
public float AnimatorSpeed = 1.0f;
public float MaxSpeed = 5.0f;
public float DeltaSpeed = 0.2f;
[HideInInspector]
public SdnFolder[] Folders;
[HideInInspector]
public GameObject[] Pivots;
[HideInInspector]
public GameObject[] Children;
[HideInInspector]
public SpriterEntity Entity;
private UnitySpriterAnimator animator;
public void Start()
{
animator = new UnitySpriterAnimator(Entity, Pivots, Children);
RegisterSprites();
#if UNITY_EDITOR
if (!UnityEditor.EditorApplication.isPlayingOrWillChangePlaymode) animator.Step(Time.deltaTime);
#endif
}
public void Update()
{
#if UNITY_EDITOR
if (!UnityEditor.EditorApplication.isPlayingOrWillChangePlaymode) return;
#endif
animator.Speed = AnimatorSpeed;
animator.Step(Time.deltaTime * 1000.0f);
if (GetAxisDownPositive("Horizontal")) ChangeAnimation(1);
if (GetAxisDownNegative("Horizontal")) ChangeAnimation(-1);
if (GetAxisDownPositive("Vertical")) ChangeAnimationSpeed(DeltaSpeed);
if (GetAxisDownNegative("Vertical")) ChangeAnimationSpeed(-DeltaSpeed);
if (Input.GetButtonDown("Jump")) ReverseAnimation();
}
private static bool GetAxisDownPositive(string axisName)
{
return Input.GetButtonDown(axisName) && Input.GetAxis(axisName) > 0;
}
private static bool GetAxisDownNegative(string axisName)
{
return Input.GetButtonDown(axisName) && Input.GetAxis(axisName) < 0;
}
private void ChangeAnimation(int delta)
{
List<string> animations = animator.GetAnimations().ToList();
int index = animations.IndexOf(animator.CurrentAnimation.Name);
index += delta;
if (index >= animations.Count) index = 0;
if (index < 0) index = animations.Count - 1;
animator.Play(animations[index]);
}
private void ChangeAnimationSpeed(float delta)
{
var speed = animator.Speed + delta;
speed = Math.Abs(speed) < MaxSpeed ? speed : MaxSpeed * Math.Sign(speed);
AnimatorSpeed = (float)Math.Round(speed, 1, MidpointRounding.AwayFromZero);
}
private void ReverseAnimation()
{
AnimatorSpeed *= -1;
}
private void RegisterSprites()
{
for (int i = 0; i < Folders.Length; ++i)
{
Sprite[] files = Folders[i].Files;
for (int j = 0; j < files.Length; ++j)
{
animator.Register(i, j, files[j]);
}
}
}
}
}
| mit |
opennode/waldur-homeport | src/resource/support/styles.tsx | 597 | export const levelOptions = [
{
itemStyle: {
normal: {
borderColor: '#777',
borderWidth: 0,
gapWidth: 1,
},
},
upperLabel: {
normal: {
show: false,
},
},
},
{
itemStyle: {
normal: {
borderColor: '#555',
borderWidth: 5,
gapWidth: 1,
},
emphasis: {
borderColor: '#ddd',
},
},
},
{
colorSaturation: [0.35, 0.5],
itemStyle: {
normal: {
borderWidth: 5,
gapWidth: 1,
borderColorSaturation: 0.6,
},
},
},
];
| mit |
Tapjoy/slugforge | lib/slugforge/helper/config.rb | 2008 | module Slugforge
module Helper
module Config
def self.included(base)
base.class_option :'aws-access-key-id', :type => :string, :aliases => '-I', :group => :config,
:desc => 'The AWS Access ID to use for hosts and buckets, unless overridden'
base.class_option :'aws-secret-key', :type => :string, :aliases => '-S', :group => :config,
:desc => 'The AWS Secret Key to use for hosts and buckets, unless overridden'
base.class_option :'aws-region', :type => :string, :group => :config,
:desc => 'The AWS region to use for EC2 instances and buckets'
base.class_option :'slug-bucket', :type => :string, :group => :config,
:desc => 'The S3 bucket to store the slugs and tags in'
base.class_option :'aws-session-token', :type => :string, :group => :config,
:desc => 'The AWS Session Token to use for hosts and buckets'
base.class_option :project, :type => :string, :aliases => '-P', :group => :config,
:desc => 'The name of the project as it exists in Slugforge. See the Project Naming section in the main help.'
base.class_option :'ssh-username', :type => :string, :aliases => '-u', :group => :config,
:desc => 'The account used to log in to the host (requires sudo privileges)'
base.class_option :'disable-slugins', :type => :boolean, :group => :config,
:desc => 'Disable slugin loading'
base.class_option :verbose, :type => :boolean, :aliases => '-V', :group => :runtime,
:desc => 'Display verbose output'
base.class_option :json, :type => :boolean, :aliases => '-j', :group => :runtime,
:desc => 'Display JSON output'
# Options intended for slugforge developers
base.class_option :test, :type => :boolean, :group => :runtime, :hide => true,
:desc => 'Test mode. Behaves like --pretend but triggers notifications and side effects as if a real action was taken.'
end
end
end
end
| mit |
eldafito/iPatBot | src/main/java/BotThread.java | 990 | package main.java;
import java.util.List;
import java.util.Random;
import de.raysha.lib.telegram.bot.api.BotAPI;
import de.raysha.lib.telegram.bot.api.TelegramBot;
import de.raysha.lib.telegram.bot.api.exception.BotException;
import de.raysha.lib.telegram.bot.api.model.ChatId;
import de.raysha.lib.telegram.bot.api.model.Update;
public class BotThread extends Thread {
final static String botToken = Config.botToken;
final BotAPI telegramBot = new TelegramBot(botToken);
@Override
public void run(){
try{
int offset = 0;
while(true){
offset++;
List<Update> updates = telegramBot.getUpdates(offset,null,null);
for(Update up : updates){
String msg = up.getMessage().getText();
if(!msg.startsWith("/"))
telegramBot.sendMessage(new ChatId(up.getMessage().getChat().getId()), Logic.reply(msg));
offset = up.getUpdate_id();
}
Thread.sleep(100);
}
}catch(BotException | InterruptedException e){
e.printStackTrace();
}
}
}
| mit |
miniwebkit/miniwebkit_blink | gen/blink/bindings/core/v8/V8ANGLEInstancedArrays.cpp | 10112 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
#include "config.h"
#include "V8ANGLEInstancedArrays.h"
#include "bindings/v8/ExceptionState.h"
#include "bindings/v8/V8DOMConfiguration.h"
#include "bindings/v8/V8HiddenValue.h"
#include "bindings/v8/V8ObjectConstructor.h"
#include "core/dom/ContextFeatures.h"
#include "core/dom/Document.h"
#include "platform/RuntimeEnabledFeatures.h"
#include "platform/TraceEvent.h"
#include "wtf/GetPtr.h"
#include "wtf/RefPtr.h"
namespace blink {
static void initializeScriptWrappableForInterface(ANGLEInstancedArrays* object)
{
if (ScriptWrappable::wrapperCanBeStoredInObject(object))
ScriptWrappable::fromObject(object)->setTypeInfo(&V8ANGLEInstancedArrays::wrapperTypeInfo);
else
ASSERT_NOT_REACHED();
}
} // namespace blink
void webCoreInitializeScriptWrappableForInterface(blink::ANGLEInstancedArrays* object)
{
blink::initializeScriptWrappableForInterface(object);
}
namespace blink {
const WrapperTypeInfo V8ANGLEInstancedArrays::wrapperTypeInfo = { gin::kEmbedderBlink, V8ANGLEInstancedArrays::domTemplate, V8ANGLEInstancedArrays::derefObject, 0, 0, 0, V8ANGLEInstancedArrays::installPerContextEnabledMethods, 0, WrapperTypeObjectPrototype, RefCountedObject };
namespace ANGLEInstancedArraysV8Internal {
template <typename T> void V8_USE(T) { }
static void drawArraysInstancedANGLEMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
{
ExceptionState exceptionState(ExceptionState::ExecutionContext, "drawArraysInstancedANGLE", "ANGLEInstancedArrays", info.Holder(), info.GetIsolate());
if (UNLIKELY(info.Length() < 4)) {
throwMinimumArityTypeError(exceptionState, 4, info.Length());
return;
}
ANGLEInstancedArrays* impl = V8ANGLEInstancedArrays::toNative(info.Holder());
unsigned mode;
int first;
int count;
int primcount;
{
v8::TryCatch block;
V8RethrowTryCatchScope rethrow(block);
TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(mode, toUInt32(info[0], exceptionState), exceptionState);
TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(first, toInt32(info[1], exceptionState), exceptionState);
TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(count, toInt32(info[2], exceptionState), exceptionState);
TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(primcount, toInt32(info[3], exceptionState), exceptionState);
}
impl->drawArraysInstancedANGLE(mode, first, count, primcount);
}
static void drawArraysInstancedANGLEMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
ANGLEInstancedArraysV8Internal::drawArraysInstancedANGLEMethod(info);
TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
}
static void drawElementsInstancedANGLEMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
{
ExceptionState exceptionState(ExceptionState::ExecutionContext, "drawElementsInstancedANGLE", "ANGLEInstancedArrays", info.Holder(), info.GetIsolate());
if (UNLIKELY(info.Length() < 5)) {
throwMinimumArityTypeError(exceptionState, 5, info.Length());
return;
}
ANGLEInstancedArrays* impl = V8ANGLEInstancedArrays::toNative(info.Holder());
unsigned mode;
int count;
unsigned type;
long long offset;
int primcount;
{
v8::TryCatch block;
V8RethrowTryCatchScope rethrow(block);
TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(mode, toUInt32(info[0], exceptionState), exceptionState);
TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(count, toInt32(info[1], exceptionState), exceptionState);
TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(type, toUInt32(info[2], exceptionState), exceptionState);
TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(offset, toInt64(info[3], exceptionState), exceptionState);
TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(primcount, toInt32(info[4], exceptionState), exceptionState);
}
impl->drawElementsInstancedANGLE(mode, count, type, offset, primcount);
}
static void drawElementsInstancedANGLEMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
ANGLEInstancedArraysV8Internal::drawElementsInstancedANGLEMethod(info);
TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
}
static void vertexAttribDivisorANGLEMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
{
ExceptionState exceptionState(ExceptionState::ExecutionContext, "vertexAttribDivisorANGLE", "ANGLEInstancedArrays", info.Holder(), info.GetIsolate());
if (UNLIKELY(info.Length() < 2)) {
throwMinimumArityTypeError(exceptionState, 2, info.Length());
return;
}
ANGLEInstancedArrays* impl = V8ANGLEInstancedArrays::toNative(info.Holder());
unsigned index;
int divisor;
{
v8::TryCatch block;
V8RethrowTryCatchScope rethrow(block);
TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(index, toUInt32(info[0], exceptionState), exceptionState);
TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(divisor, toInt32(info[1], exceptionState), exceptionState);
}
impl->vertexAttribDivisorANGLE(index, divisor);
}
static void vertexAttribDivisorANGLEMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod");
ANGLEInstancedArraysV8Internal::vertexAttribDivisorANGLEMethod(info);
TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
}
} // namespace ANGLEInstancedArraysV8Internal
static const V8DOMConfiguration::MethodConfiguration V8ANGLEInstancedArraysMethods[] = {
{"drawArraysInstancedANGLE", ANGLEInstancedArraysV8Internal::drawArraysInstancedANGLEMethodCallback, 0, 4},
{"drawElementsInstancedANGLE", ANGLEInstancedArraysV8Internal::drawElementsInstancedANGLEMethodCallback, 0, 5},
{"vertexAttribDivisorANGLE", ANGLEInstancedArraysV8Internal::vertexAttribDivisorANGLEMethodCallback, 0, 2},
};
static void configureV8ANGLEInstancedArraysTemplate(v8::Handle<v8::FunctionTemplate> functionTemplate, v8::Isolate* isolate)
{
functionTemplate->ReadOnlyPrototype();
v8::Local<v8::Signature> defaultSignature;
defaultSignature = V8DOMConfiguration::installDOMClassTemplate(functionTemplate, "ANGLEInstancedArrays", v8::Local<v8::FunctionTemplate>(), V8ANGLEInstancedArrays::internalFieldCount,
0, 0,
0, 0,
V8ANGLEInstancedArraysMethods, WTF_ARRAY_LENGTH(V8ANGLEInstancedArraysMethods),
isolate);
v8::Local<v8::ObjectTemplate> instanceTemplate ALLOW_UNUSED = functionTemplate->InstanceTemplate();
v8::Local<v8::ObjectTemplate> prototypeTemplate ALLOW_UNUSED = functionTemplate->PrototypeTemplate();
static const V8DOMConfiguration::ConstantConfiguration V8ANGLEInstancedArraysConstants[] = {
{"VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE", 0x88FE},
};
V8DOMConfiguration::installConstants(functionTemplate, prototypeTemplate, V8ANGLEInstancedArraysConstants, WTF_ARRAY_LENGTH(V8ANGLEInstancedArraysConstants), isolate);
// Custom toString template
functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData::from(isolate)->toStringTemplate());
}
v8::Handle<v8::FunctionTemplate> V8ANGLEInstancedArrays::domTemplate(v8::Isolate* isolate)
{
return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeInfo*>(&wrapperTypeInfo), configureV8ANGLEInstancedArraysTemplate);
}
bool V8ANGLEInstancedArrays::hasInstance(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate)
{
return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Value);
}
v8::Handle<v8::Object> V8ANGLEInstancedArrays::findInstanceInPrototypeChain(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate)
{
return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperTypeInfo, v8Value);
}
ANGLEInstancedArrays* V8ANGLEInstancedArrays::toNativeWithTypeCheck(v8::Isolate* isolate, v8::Handle<v8::Value> value)
{
return hasInstance(value, isolate) ? fromInternalPointer(v8::Handle<v8::Object>::Cast(value)->GetAlignedPointerFromInternalField(v8DOMWrapperObjectIndex)) : 0;
}
v8::Handle<v8::Object> wrap(ANGLEInstancedArrays* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
{
ASSERT(impl);
ASSERT(!DOMDataStore::containsWrapper<V8ANGLEInstancedArrays>(impl, isolate));
return V8ANGLEInstancedArrays::createWrapper(impl, creationContext, isolate);
}
v8::Handle<v8::Object> V8ANGLEInstancedArrays::createWrapper(PassRefPtr<ANGLEInstancedArrays> impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
{
ASSERT(impl);
ASSERT(!DOMDataStore::containsWrapper<V8ANGLEInstancedArrays>(impl.get(), isolate));
if (ScriptWrappable::wrapperCanBeStoredInObject(impl.get())) {
const WrapperTypeInfo* actualInfo = ScriptWrappable::fromObject(impl.get())->typeInfo();
// Might be a XXXConstructor::wrapperTypeInfo instead of an XXX::wrapperTypeInfo. These will both have
// the same object de-ref functions, though, so use that as the basis of the check.
RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(actualInfo->derefObjectFunction == wrapperTypeInfo.derefObjectFunction);
}
v8::Handle<v8::Object> wrapper = V8DOMWrapper::createWrapper(creationContext, &wrapperTypeInfo, toInternalPointer(impl.get()), isolate);
if (UNLIKELY(wrapper.IsEmpty()))
return wrapper;
installPerContextEnabledProperties(wrapper, impl.get(), isolate);
V8DOMWrapper::associateObjectWithWrapper<V8ANGLEInstancedArrays>(impl, &wrapperTypeInfo, wrapper, isolate, WrapperConfiguration::Independent);
return wrapper;
}
void V8ANGLEInstancedArrays::derefObject(void* object)
{
fromInternalPointer(object)->deref();
}
template<>
v8::Handle<v8::Value> toV8NoInline(ANGLEInstancedArrays* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
{
return toV8(impl, creationContext, isolate);
}
} // namespace blink
| mit |
DeborahK/angular.io | public/docs/_examples/upgrade/ts/ng2_initial/app/js/app.module.ts | 1499 | /// <reference path="../../typings/angularjs/angular.d.ts" />
/// <reference path="../../typings/angularjs/angular-resource.d.ts" />
/// <reference path="../../typings/angularjs/angular-route.d.ts" />
// #docregion adapter-import
import {UpgradeAdapter} from 'angular2/upgrade';
// #enddocregion adapter-import
// #docregion adapter-state-import
import upgradeAdapter from './core/upgrade_adapter';
// #enddocregion adapter-state-import
// #docregion http-import
import {HTTP_PROVIDERS} from 'angular2/http';
// #enddocregion http-import
import core from './core/core.module';
import phoneList from './phone_list/phone_list.module';
import phoneDetail from './phone_detail/phone_detail.module';
// #docregion add-http-providers
upgradeAdapter.addProvider(HTTP_PROVIDERS);
// #enddocregion add-http-providers
angular.module('phonecatApp', [
'ngRoute',
core.name,
phoneList.name,
phoneDetail.name
]).config(configure);
configure.$inject = ['$routeProvider'];
function configure($routeProvider) {
$routeProvider.
when('/phones', {
templateUrl: 'js/phone_list/phone_list.html',
controller: 'PhoneListCtrl',
controllerAs: 'vm'
}).
when('/phones/:phoneId', {
templateUrl: 'js/phone_detail/phone_detail.html',
controller: 'PhoneDetailCtrl',
controllerAs: 'vm'
}).
otherwise({
redirectTo: '/phones'
});
}
// #docregion bootstrap
upgradeAdapter.bootstrap(document.documentElement, ['phonecatApp']);
// #enddocregion bootstrap
| mit |
ilangal-amd/CodeXL | CodeXL/Components/PowerProfiling/MiddleTier/AMDTPowerProfilingMidTier/src/PowerProfilerBL.cpp | 34220 | //==================================================================================
// Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved.
//
/// \author AMD Developer Tools Team
/// \file PowerProfilerBL.cpp
///
//==================================================================================
#include <AMDTPowerProfilingMidTier/include/PowerProfilerBL.h>
#include <AMDTPowerProfilingMidTier/include/BackendDataConvertor.h>
#include <AMDTDbAdapter/inc/AMDTProfileDbAdapter.h>
// Infra.
#include <AMDTBaseTools/Include/gtAssert.h>
#include <AMDTBaseTools/Include/gtSet.h>
class PowerProfilerBL::Impl
{
public:
Impl() : m_apuPowerCounterId(-1), m_samplingIntervalMs(0) {}
bool Refresh()
{
return m_dataAdapter.FlushDbAsync();
}
bool CacheSessionSelectedCounters()
{
gtVector<int> pwrCounters;
bool ret = GetSessionCounters(AMDT_PWR_CATEGORY_POWER, pwrCounters);
if (ret)
{
for (int& cid : pwrCounters)
{
m_sessionSelectedPowerCounters.insert(cid);
}
}
return ret;
}
// Note: In 2.1, this should be part of the db migration tool
bool MigrateDatabaseForNewVersion(const gtString& dbName)
{
amdtProfileDbAdapter dbAdapter;
bool ret = false;
ret = dbAdapter.MigrateDb(dbName);
if (ret)
{
gtMap<gtString, int> infoMap;
if (BackendDataConvertor::GetPwrDeviceIdStringMap(infoMap))
{
ret = dbAdapter.UpdateDeviceTypeId(infoMap);
infoMap.clear();
}
if (ret && BackendDataConvertor::GetPwrCategoryIdStringMap(infoMap))
{
ret = dbAdapter.UpdateCounterCategoryId(infoMap);
infoMap.clear();
}
if (ret && BackendDataConvertor::GetPwrAggregationIdStringMap(infoMap))
{
ret = dbAdapter.UpdateCounterAggregationId(infoMap);
infoMap.clear();
}
if (ret && BackendDataConvertor::GetPwrUnitIdStringMap(infoMap))
{
ret = dbAdapter.UpdateCounterUnitId(infoMap);
infoMap.clear();
}
}
dbAdapter.CloseDb();
return ret;
}
bool OpenPowerProfilingDatabaseForRead(const gtString& dbName)
{
// Clear cached values.
m_sessionSelectedPowerCounters.clear();
bool ret = m_dataAdapter.OpenDb(dbName, AMDT_PROFILE_MODE_TIMELINE);
if (! ret)
{
int version = -1;
m_dataAdapter.GetDbVersion(version);
if (version < m_dataAdapter.GetSupportedDbVersion())
{
m_dataAdapter.CloseDb();
ret = MigrateDatabaseForNewVersion(dbName);
ret = ret && m_dataAdapter.OpenDb(dbName, AMDT_PROFILE_MODE_TIMELINE);
}
}
if (ret)
{
// Cache the session Power counters.
ret = CacheSessionSelectedCounters();
GT_ASSERT(ret);
// Cache the APU Power counter ID.
ret = GetApuPowerCounterId(m_apuPowerCounterId);
// Cache the session sampling interval.
ret = GetSessionSamplingIntervalMs(m_samplingIntervalMs);
GT_ASSERT(ret);
}
return ret;
}
bool GetSessionTimeRange(SamplingTimeRange& samplingTimeRange)
{
return m_dataAdapter.GetSessionTimeRange(samplingTimeRange);
}
bool GetFrequencyCountersValueRange(const AMDTDeviceType& devideType, double& minValue, double& maxValue)
{
const double FREQ_COUNTERS_MIN_VALUE_MHZ = 0.0;
const double CPU_FREQ_COUNTERS_MAX_VALUE_MHZ = 4900;
const double GPU_FREQ_COUNTERS_MAX_VALUE_MHZ = 1200;
// Reset the output variables.
minValue = maxValue = FREQ_COUNTERS_MIN_VALUE_MHZ;
bool ret = true;
switch (devideType)
{
case AMDT_PWR_DEVICE_CPU_CORE:
maxValue = CPU_FREQ_COUNTERS_MAX_VALUE_MHZ;
break;
case AMDT_PWR_DEVICE_INTERNAL_GPU:
case AMDT_PWR_DEVICE_EXTERNAL_GPU:
maxValue = GPU_FREQ_COUNTERS_MAX_VALUE_MHZ;
break;
default:
ret = false;
break;
}
return ret;
}
bool GetCurrentCumulativeEnergyConsumptionInJoule(const gtVector<int>& counterIds,
gtMap<int, double>& consumptionPerCounterInJoule, double& otherCumulativeConsumption)
{
//bool ret = m_dataAdapter.GetCurrentCumulativeEnergyConsumptionInJoule(counterIds, consumptionPerCounterInJoule);
bool ret = false;
// First retrieve the data from the DB.
ret = m_dataAdapter.GetSamplesGroupByCounterId(counterIds, consumptionPerCounterInJoule);
if (ret)
{
unsigned currSamplingIntervalMs = 0;
ret = m_dataAdapter.GetSessionSamplingIntervalMs(currSamplingIntervalMs);
if (ret)
{
// Convert the values from Watt to Joule (formula is Sigma(Avg(Watt))*timeInSec=EnergyInJoule).
for (auto& pair : consumptionPerCounterInJoule)
{
pair.second = (pair.second * (currSamplingIntervalMs / 1000.0));
}
}
}
if (ret)
{
int apuPowerCid = -1;
ret = GetApuPowerCounterId(apuPowerCid);
if (ret)
{
// Now add the 'Other' counter's data.
for (const auto& pair : consumptionPerCounterInJoule)
{
if (pair.first == apuPowerCid)
{
otherCumulativeConsumption += pair.second;
}
else
{
otherCumulativeConsumption -= pair.second;
}
}
// This is a workaround until the Backend accuracy issue gets solved.
// The thing is that
if (otherCumulativeConsumption < 0.0)
{
otherCumulativeConsumption = 0.0;
}
}
}
return ret;
}
bool GetCurrentAveragePowerConsumptionInWatt(const gtVector<int>& counterIds, unsigned int samplingIntervalMs, gtMap<int, double>& consumptionPerCounterInWatt, double& otherCounterConsumptionInWatt)
{
//return m_dataAdapter.GetCurrentAveragePowerConsumptionInWatt(counterIds, samplingIntervalMs, consumptionPerCounterInWatt, otherCounterConsumptionInWatt);
bool ret = false;
otherCounterConsumptionInWatt = 0.0;
if (samplingIntervalMs > 0)
{
// First, count the number of samples for each counter.
gtMap<int, int> numOfSamples;
ret = m_dataAdapter.GetSampleCountByCounterId(counterIds, numOfSamples);
GT_IF_WITH_ASSERT(ret)
{
// Get the total power consumed in Watt.
gtMap<int, double> cumulativePowerInWatt;
ret = m_dataAdapter.GetSamplesGroupByCounterId(counterIds, cumulativePowerInWatt);
int counterId = 0;
double avgValueInWatt = 0.0;
GT_IF_WITH_ASSERT(ret)
{
// Get the Total APU Power counter id.
int apuPowerCounterId = -1;
gtString apuName(L"Total APU Power");
bool doesAPUExist = m_dataAdapter.GetCounterIdByName(apuName, apuPowerCounterId);
// Go over the cumulative values, and calculate the average:
for (const auto& pair : cumulativePowerInWatt)
{
counterId = pair.first;
avgValueInWatt = cumulativePowerInWatt[counterId] / numOfSamples[counterId];
consumptionPerCounterInWatt.insert(std::pair<int, double>(counterId, avgValueInWatt));
// Calculate the other counter value, only when there is an APU:
if (doesAPUExist)
{
// Aggregate the 'Other' counter's data.
if (pair.first == apuPowerCounterId)
{
otherCounterConsumptionInWatt += pair.second;
}
else
{
otherCounterConsumptionInWatt -= pair.second;
}
}
}
if (doesAPUExist)
{
// Just to be on the safe side until the Backend accuracy issue is solved.
if (otherCounterConsumptionInWatt < 0.0)
{
otherCounterConsumptionInWatt = 0.0;
}
// Calculate the 'Other' counter's value.
if (otherCounterConsumptionInWatt > 0.0)
{
otherCounterConsumptionInWatt = otherCounterConsumptionInWatt / numOfSamples[apuPowerCounterId];
}
}
}
}
}
return ret;
}
bool GetSampledValuesByRange(const gtVector<int>& counterIds,
SamplingTimeRange& samplingTimeRange, gtMap<int, gtVector<SampledValue>>& sampledValuesPerCounter)
{
return m_dataAdapter.GetSampledValuesByRange(counterIds, samplingTimeRange, sampledValuesPerCounter);
}
bool GetGlobalMinMaxValuesPerCounters(const gtVector<int> counterIds,
SamplingTimeRange& samplingTimeRange, double& minValue, double& maxValue)
{
return m_dataAdapter.GetGlobalMinMaxValuesPerCounters(counterIds, samplingTimeRange, minValue, maxValue);
}
bool GetOverallNubmerOfSamples(const gtVector<int>& counterIds, gtMap<int, int>& numberOfSamplesPerCounter)
{
return m_dataAdapter.GetOverallNubmerOfSamples(counterIds, numberOfSamplesPerCounter);
}
bool GetCurrentFrequenciesHistogram(unsigned int bucketWidth, const gtVector<int>& counterIds,
gtMap<int, gtVector<HistogramBucket>>& bucketPerCounter)
{
// return m_dataAdapter.GetCurrentFrequenciesHistogram(bucketWidth, m_samplingIntervalMs, counterIds, bucketPerCounter);
bool ret = false;
// Make sure our output map is clear.
bucketPerCounter.clear();
if (bucketWidth > 0)
{
// First, fill up the containers with empty buckets.
// This is not required for correctness, only to ensure that even empty buckets are presented.
// If this is the first time, we need to build the empty histograms.
// First, get the range of values for these counters.
double minValue = 0.0;
double maxValue = 0.0;
// Get the device type for this counter id
int deviceType;
ret = m_dataAdapter.GetDeviceTypeByCounterId(counterIds[0], deviceType);
ret = GetFrequencyCountersValueRange((AMDTDeviceType)(deviceType), minValue, maxValue);
GT_IF_WITH_ASSERT(ret)
{
// Currently ignore the minimum value, take zero as the minimum value.
double currentMax = 0.0;
double currentUpperBound = currentMax + bucketWidth;
while ((currentUpperBound < maxValue) || (currentUpperBound - maxValue) < bucketWidth)
{
// Create the current bucket.
HistogramBucket currBucket;
currBucket.m_lowerBound = currentMax;
currBucket.m_upperBound = currentMax + bucketWidth;
currBucket.m_value = 0.0;
// Add the bucket to each of our counters.
for (int cid : counterIds)
{
bucketPerCounter[cid].push_back(currBucket);
}
// Increment our current maximum.
currentMax += bucketWidth;
currentUpperBound = currentMax + bucketWidth;
}
}
gtVector<int> dbCids;
gtVector<double> dbBucketBottoms;
gtVector<int> dbBucketCount;
ret = m_dataAdapter.GetBucketizedSamplesByCounterId(bucketWidth, counterIds, dbCids, dbBucketBottoms, dbBucketCount);
if (ret)
{
// Now, after the DB is released, let's create the histograms.
const size_t numOfResults = dbCids.size();
ret = (numOfResults > 0) && (dbBucketBottoms.size() == numOfResults) && (dbBucketCount.size() == numOfResults);
if (ret)
{
for (size_t i = 0; i < numOfResults; ++i)
{
int currCid = dbCids[i];
double currBucketBottom = dbBucketBottoms[i];
gtVector<HistogramBucket>& currBucketVector = bucketPerCounter[currCid];
for (auto& bucket : currBucketVector)
{
if (bucket.m_lowerBound == currBucketBottom)
{
// Add the amount of seconds to the bucket.
bucket.m_value += (m_samplingIntervalMs * dbBucketCount[i]) / 1000.0;
break;
}
}
}
ret = true;
}
}
}
return ret;
}
bool UpdateCumulativeAndAverageHistograms(const gtMap<int, PPSampledValuesBatch>& newSamples, unsigned currSamplingInterval,
gtMap<int, double>& accumulatedEnergyInJoule, double& cumulativeOtherCounterValue, gtMap<int, double>& averagePowerInWatt, double& averageOtherCounterValueWatt,
gtMap<int, unsigned>& aggregatedQuantizedClockTicks)
{
bool ret = true;
averageOtherCounterValueWatt = 0.0;
cumulativeOtherCounterValue = 0.0;
// First, verify that power counters data is cached.
if (m_sessionSelectedPowerCounters.empty())
{
CacheSessionSelectedCounters();
GT_ASSERT(!m_sessionSelectedPowerCounters.empty());
}
// Update the accumulated energy map.
double currSampleValue = 0.0;
int currCounterId = 0;
for (const auto& samplePerCounter : newSamples)
{
// Take the current sample value.
currSampleValue = samplePerCounter.second.m_sampleValues[0];
currCounterId = samplePerCounter.first;
// First, verify that the current counter is a Power counter.
if (m_sessionSelectedPowerCounters.find(currCounterId) != m_sessionSelectedPowerCounters.end())
{
// Increment the aggregated clock ticks counter.
auto timeMapIter = aggregatedQuantizedClockTicks.find(currCounterId);
if (timeMapIter != aggregatedQuantizedClockTicks.end())
{
aggregatedQuantizedClockTicks[currCounterId] += currSamplingInterval;
}
else
{
aggregatedQuantizedClockTicks[currCounterId] = currSamplingInterval;
}
// Update the accumulated energy.
// Take the buckets vector that is relevant to our counter.
auto accumMapIter = accumulatedEnergyInJoule.find(currCounterId);
if (accumMapIter != accumulatedEnergyInJoule.end())
{
// The formula that we used is:
// Sigma(W)*timeInSeconds=EnergyInJaul.
// timeInSeconds in this case is currentSamplingInterval/1000.0, because currentSamplingInterval
// is in milliseconds and it is the time for which Wi was calculated as the average power.
// Note that the division by 1000.0 is there because currentSamplingInterval is in milliseconds.
// Since timeInSeconds is timeInMS/1000, and since the values are reported by the BE in Watt,
accumulatedEnergyInJoule[currCounterId] += ((currSampleValue * currSamplingInterval) / 1000.0);
}
else
{
accumulatedEnergyInJoule[currCounterId] = ((currSampleValue * currSamplingInterval) / 1000.0);
}
// Update the average power consumption.
// Take the buckets vector that is relevant to our counter.
const unsigned currAggregatedSamplingTimeMs = aggregatedQuantizedClockTicks[currCounterId];
if (currAggregatedSamplingTimeMs > 0)
{
// Watt is Joule to Sec.
// First, get the accumulated value in Watt.
// Then, calculate the average power in Watt by dividing the accumulated value in Watt by the time of the sampling session.
double accumulatedValueInWatt = (accumulatedEnergyInJoule[currCounterId] * 1000.0) / currSamplingInterval;
averagePowerInWatt[currCounterId] = (accumulatedValueInWatt) / (aggregatedQuantizedClockTicks[currCounterId] / currSamplingInterval);
}
}
}
int apuPowerCounterId = 0;
ret = GetApuPowerCounterId(apuPowerCounterId);
if (ret)
{
// Now take care of the 'Other' counters.
for (const auto& pair : averagePowerInWatt)
{
if (pair.first == apuPowerCounterId)
{
averageOtherCounterValueWatt += pair.second;
}
else
{
averageOtherCounterValueWatt -= pair.second;
}
}
for (const auto& pair : accumulatedEnergyInJoule)
{
if (pair.first == apuPowerCounterId)
{
cumulativeOtherCounterValue += pair.second;
}
else
{
cumulativeOtherCounterValue -= pair.second;
}
}
// Just to be on the safe side until the Backend accuracy issue is resolved.
if (cumulativeOtherCounterValue < 0.0)
{
cumulativeOtherCounterValue = 0.0;
}
if (averageOtherCounterValueWatt < 0.0)
{
averageOtherCounterValueWatt = 0.0;
}
}
return ret;
}
bool CalculateOnlineFrequencyHistograms(unsigned int bucketWidth, unsigned int currSamplingIntervalMs, const gtMap<int, PPSampledValuesBatch>& newSamples,
const gtVector<int>& relevantCounterIds, gtMap<int, gtVector<HistogramBucket>>& bucketsPerCounter)
{
bool ret = true;
if (bucketsPerCounter.size() == 0)
{
// If this is the first time, we need to build the empty histograms.
// First, get the range of values for these counters.
double minValue = 0.0;
double maxValue = 0.0;
int deviceType;
ret = m_dataAdapter.GetDeviceTypeByCounterId(relevantCounterIds[0], deviceType);
ret = GetFrequencyCountersValueRange((AMDTDeviceType)deviceType, minValue, maxValue);
GT_IF_WITH_ASSERT(ret)
{
// Currently ignore the minimum value, take zero as the minimum value.
double currentMax = 0.0;
double currentUpperBound = currentMax + bucketWidth;
while ((currentUpperBound < maxValue) || (currentUpperBound - maxValue) < bucketWidth)
{
// Create the current bucket.
HistogramBucket currBucket;
currBucket.m_lowerBound = currentMax;
currBucket.m_upperBound = currentMax + bucketWidth;
currBucket.m_value = 0.0;
// Add the bucket to each of our counters.
for (int cid : relevantCounterIds)
{
bucketsPerCounter[cid].push_back(currBucket);
}
// Increment our current maximum.
currentMax += bucketWidth;
currentUpperBound = currentMax + bucketWidth;
}
// Check if we got a tail (a bucket whose width is smaller than BUCKET_WIDTH).
if (currentMax < maxValue)
{
// Create the current bucket.
HistogramBucket currBucket;
currBucket.m_lowerBound = currentMax;
currBucket.m_upperBound = maxValue;
currBucket.m_value = 0.0;
// Add the bucket to each of our counters.
for (int cid : relevantCounterIds)
{
bucketsPerCounter[cid].push_back(currBucket);
}
}
}
}
// Now handle the values.
double currSampledValue = 0.0;
for (int cid : relevantCounterIds)
{
// Get the relevant buckets vector.
gtVector<HistogramBucket>& currBucketsVector = bucketsPerCounter[cid];
// Get the relevant sample.
const auto iter = newSamples.find(cid);
if (iter != newSamples.end())
{
currSampledValue = iter->second.m_sampleValues[0];
// Increment the relevant bucket.
for (HistogramBucket& bucket : currBucketsVector)
{
if (currSampledValue >= bucket.m_lowerBound && currSampledValue <= bucket.m_upperBound)
{
// Add the number of seconds.
bucket.m_value += currSamplingIntervalMs / 1000.0;
break;
}
}
}
}
return ret;
}
bool GetDeviceType(int deviceId, AMDTDeviceType& deviceType)
{
return m_dataAdapter.GetDeviceType(deviceId, reinterpret_cast<int&>(deviceType));
}
bool GetSessionCounters(AMDTDeviceType deviceType, AMDTPwrCategory counterCategory, gtVector<int>& counterIds)
{
return m_dataAdapter.GetSessionCounters(deviceType, counterCategory, counterIds);
}
bool GetSessionCounters(const gtVector<AMDTDeviceType>& deviceTypes, AMDTPwrCategory counterCategory, gtVector<int>& counterIds)
{
//return m_dataAdapter.GetSessionCounters(deviceTypes, counterCategory, counterIds);
gtVector<int> deviceTypeIds;
for (auto deviceId : deviceTypes)
{
deviceTypeIds.push_back((int)(deviceId));
}
return m_dataAdapter.GetSessionCounters(deviceTypeIds, counterCategory, counterIds);
}
bool GetSessionCounters(AMDTPwrCategory counterCategory, gtVector<int>& counterIds)
{
return m_dataAdapter.GetSessionCounters(counterCategory, counterIds);
}
bool GetSessionInfo(AMDTProfileSessionInfo& sessionInfo)
{
return m_dataAdapter.GetSessionInfo(sessionInfo);
}
bool GetApuPowerCounterId(int& apuPowerCounterId)
{
bool ret = false;
if (m_apuPowerCounterId > -1)
{
apuPowerCounterId = m_apuPowerCounterId;
ret = true;
}
else
{
int counterId = -1;
gtString apuName(L"Total APU Power");
if (m_dataAdapter.GetCounterIdByName(apuName, counterId))
{
apuPowerCounterId = counterId;
ret = true;
}
}
return ret;
}
bool GetSessionSamplingIntervalMs(unsigned& samplingIntervalMs)
{
bool ret = true;
if (m_samplingIntervalMs > 0)
{
samplingIntervalMs = m_samplingIntervalMs;
}
else
{
ret = m_dataAdapter.GetSessionSamplingIntervalMs(samplingIntervalMs);
if (ret)
{
// Cache the sampling interval for future use.
m_samplingIntervalMs = samplingIntervalMs;
}
}
return ret;
}
bool GetSessionCounterIds(gtMap<gtString, int>& counterNames)
{
return m_dataAdapter.GetCounterNames(counterNames);
}
bool GetAllSessionCountersDescription(gtMap<int, AMDTPwrCounterDesc*>& counterDetails)
{
gtMap<int, AMDTProfileCounterDesc> counterDescMap;
bool ret = m_dataAdapter.GetCountersDescription(counterDescMap);
if (ret)
{
for (auto& counterDescPair : counterDescMap)
{
AMDTPwrCounterDesc* pwrCounterDesc = BackendDataConvertor::ConvertToPwrCounterDesc(counterDescPair.second);
counterDetails[counterDescPair.first] = pwrCounterDesc;
}
}
return ret;
}
private:
amdtProfileDbAdapter m_dataAdapter;
// Holds the Power counters which were enabled for this session.
gtSet<int> m_sessionSelectedPowerCounters;
// Holds the APU power counter ID.
int m_apuPowerCounterId;
// Holds the sampling interval.
unsigned int m_samplingIntervalMs;
};
PowerProfilerBL::PowerProfilerBL() : m_pImpl(new PowerProfilerBL::Impl())
{
}
PowerProfilerBL::~PowerProfilerBL()
{
delete m_pImpl;
m_pImpl = NULL;
}
bool PowerProfilerBL::OpenPowerProfilingDatabaseForRead(const gtString& dbName)
{
bool ret = false;
GT_IF_WITH_ASSERT(m_pImpl != NULL)
{
ret = m_pImpl->OpenPowerProfilingDatabaseForRead(dbName);
}
return ret;
}
bool PowerProfilerBL::GetSessionTimeRange(SamplingTimeRange& samplingTimeRange)
{
bool ret = false;
GT_IF_WITH_ASSERT(m_pImpl != NULL)
{
ret = m_pImpl->GetSessionTimeRange(samplingTimeRange);
}
return ret;
}
bool PowerProfilerBL::GetCurrentCumulativeEnergyConsumptionInJoule(const gtVector<int>& counterIds,
gtMap<int, double>& consumptionPerCounterInJoule, double& otherCumulativeConsumption)
{
bool ret = false;
GT_IF_WITH_ASSERT(m_pImpl != NULL)
{
ret = m_pImpl->GetCurrentCumulativeEnergyConsumptionInJoule(counterIds, consumptionPerCounterInJoule, otherCumulativeConsumption);
}
return ret;
}
bool PowerProfilerBL::GetCurrentAveragePowerConsumptionInWatt(const gtVector<int>& counterIds, unsigned int samplingIntervalMs,
gtMap<int, double>& consumptionPerCounterInWatt, double& otherCounterConsumptionInWatt)
{
bool ret = false;
GT_IF_WITH_ASSERT(m_pImpl != NULL)
{
ret = m_pImpl->GetCurrentAveragePowerConsumptionInWatt(counterIds, samplingIntervalMs, consumptionPerCounterInWatt, otherCounterConsumptionInWatt);
}
return ret;
}
bool PowerProfilerBL::GetSampledValuesByRange(const gtVector<int>& counterIds,
SamplingTimeRange& samplingTimeRange, gtMap<int, gtVector<SampledValue>>& sampledValuesPerCounter)
{
bool ret = false;
GT_IF_WITH_ASSERT(m_pImpl != NULL)
{
ret = m_pImpl->GetSampledValuesByRange(counterIds, samplingTimeRange, sampledValuesPerCounter);
}
return ret;
}
bool PowerProfilerBL::GetGlobalMinMaxValuesPerCounters(const gtVector<int> counterIds,
SamplingTimeRange& samplingTimeRange, double& minValue, double& maxValue)
{
bool ret = false;
GT_IF_WITH_ASSERT(m_pImpl != NULL)
{
ret = m_pImpl->GetGlobalMinMaxValuesPerCounters(counterIds, samplingTimeRange, minValue, maxValue);
}
return ret;
}
bool PowerProfilerBL::GetOverallNubmerOfSamples(const gtVector<int>& counterIds, gtMap<int, int>& numberOfSamplesPerCounter)
{
bool ret = false;
GT_IF_WITH_ASSERT(m_pImpl != NULL)
{
ret = m_pImpl->GetOverallNubmerOfSamples(counterIds, numberOfSamplesPerCounter);
}
return ret;
}
bool PowerProfilerBL::Refresh()
{
bool ret = false;
GT_IF_WITH_ASSERT(m_pImpl != NULL)
{
ret = m_pImpl->Refresh();
}
return ret;
}
bool PowerProfilerBL::GetCurrentFrequenciesHistogram(unsigned int bucketWidth, const gtVector<int>& counterIds,
gtMap<int, gtVector<HistogramBucket>>& bucketPerCounter)
{
bool ret = false;
GT_IF_WITH_ASSERT(m_pImpl != NULL)
{
ret = m_pImpl->GetCurrentFrequenciesHistogram(bucketWidth, counterIds, bucketPerCounter);
}
return ret;
}
bool PowerProfilerBL::UpdateCumulativeAndAverageHistograms(const gtMap<int, PPSampledValuesBatch>& newSamples, unsigned currSamplingInterval,
gtMap<int, double>& accumulatedEnergyInJoule, double& cumulativeOtherCounterValue, gtMap<int, double>& averagePowerInWatt, double& averageOtherCounterValueWatt,
gtMap<int, unsigned>& aggregatedQuantizedClockTicks)
{
bool ret = false;
GT_IF_WITH_ASSERT(m_pImpl != NULL)
{
ret = m_pImpl->UpdateCumulativeAndAverageHistograms(newSamples, currSamplingInterval, accumulatedEnergyInJoule,
cumulativeOtherCounterValue, averagePowerInWatt, averageOtherCounterValueWatt, aggregatedQuantizedClockTicks);
}
return ret;
}
bool PowerProfilerBL::GetDeviceType(int deviceId, AMDTDeviceType& deviceType)
{
bool ret = false;
GT_IF_WITH_ASSERT(m_pImpl != NULL)
{
ret = m_pImpl->GetDeviceType(deviceId, deviceType);
}
return ret;
}
const PPDevice* PowerProfilerBL::GetDevice(int deviceID, const PPDevice* pRootDevice)
{
const PPDevice* deviceThatWasFound = NULL;
if (NULL != pRootDevice)
{
// If we found a device with a matching device ID
if (pRootDevice->m_deviceId == deviceID)
{
deviceThatWasFound = pRootDevice;
}
else
{
// Look for a match among the subdevices
for (const PPDevice* pSubDevice : pRootDevice->m_subDevices)
{
deviceThatWasFound = GetDevice(deviceID, pSubDevice);
if (deviceThatWasFound != NULL)
{
break;
}
}
}
}
return deviceThatWasFound;
}
bool PowerProfilerBL::GetSessionCounters(AMDTDeviceType deviceType, AMDTPwrCategory counterCategory, gtVector<int>& counterIds)
{
bool ret = false;
GT_IF_WITH_ASSERT(m_pImpl != NULL)
{
ret = m_pImpl->GetSessionCounters(deviceType, counterCategory, counterIds);
}
return ret;
}
bool PowerProfilerBL::GetSessionCounters(AMDTPwrCategory counterCategory, gtVector<int>& counterIds)
{
bool ret = false;
GT_IF_WITH_ASSERT(m_pImpl != NULL)
{
ret = m_pImpl->GetSessionCounters(counterCategory, counterIds);
}
return ret;
}
bool PowerProfilerBL::GetSessionCounters(const gtVector<AMDTDeviceType>& deviceTypes, AMDTPwrCategory counterCategory, gtVector<int>& counterIds)
{
bool ret = false;
GT_IF_WITH_ASSERT(m_pImpl != NULL)
{
ret = m_pImpl->GetSessionCounters(deviceTypes, counterCategory, counterIds);
}
return ret;
}
bool PowerProfilerBL::GetSessionInfo(AMDTProfileSessionInfo& sessionInfo)
{
bool ret = false;
GT_IF_WITH_ASSERT(m_pImpl != NULL)
{
ret = m_pImpl->GetSessionInfo(sessionInfo);
}
return ret;
}
bool PowerProfilerBL::GetApuPowerCounterId(int& apuPowerCounterId)
{
bool ret = false;
GT_IF_WITH_ASSERT(m_pImpl != NULL)
{
ret = m_pImpl->GetApuPowerCounterId(apuPowerCounterId);
}
return ret;
}
bool PowerProfilerBL::CloseAllConnections()
{
delete m_pImpl;
m_pImpl = new PowerProfilerBL::Impl();
return true;
}
bool PowerProfilerBL::CalculateOnlineFrequencyHistograms(unsigned int bucketWidth, unsigned int currSamplingInterval, const gtMap<int, PPSampledValuesBatch>& newSamples,
const gtVector<int>& relevantCounterIds, gtMap<int, gtVector<HistogramBucket>>& bucketsPerCounter)
{
bool ret = false;
GT_IF_WITH_ASSERT(m_pImpl != NULL)
{
ret = m_pImpl->CalculateOnlineFrequencyHistograms(bucketWidth, currSamplingInterval, newSamples, relevantCounterIds, bucketsPerCounter);
}
return ret;
}
bool PowerProfilerBL::GetSessionSamplingIntervalMs(unsigned& samplingIntervalMs)
{
bool ret = false;
GT_IF_WITH_ASSERT(m_pImpl != NULL)
{
ret = m_pImpl->GetSessionSamplingIntervalMs(samplingIntervalMs);
}
return ret;
}
bool PowerProfilerBL::GetSessionCounterIdByName(gtMap<gtString, int>& counterNames)
{
bool ret = false;
GT_IF_WITH_ASSERT(m_pImpl != NULL)
{
ret = m_pImpl->GetSessionCounterIds(counterNames);
}
return ret;
}
bool PowerProfilerBL::GetAllSessionCountersDescription(gtMap<int, AMDTPwrCounterDesc*>& counterDetails)
{
bool ret = false;
GT_IF_WITH_ASSERT(m_pImpl != NULL)
{
ret = m_pImpl->GetAllSessionCountersDescription(counterDetails);
}
return ret;
}
| mit |
henrytran120282/platform | config/module.php | 116 | <?php
return [
'modules' => [
'ContentManager'=>'contentManager.index',
],
'backend'=>'admin'
]; | mit |
gyphie/swfupload | samples/demos/resizedemo/index.php | 2976 | <?php
session_start();
$_SESSION["file_info"] = array();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>SWFUpload Demos - Resize Demo</title>
<link href="../css/default.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../swfupload/swfupload.js"></script>
<script type="text/javascript" src="js/handlers.js"></script>
<script type="text/javascript">
var swfu;
window.onload = function () {
swfu = new SWFUpload({
// Backend Settings
upload_url: "upload.php",
post_params: {"PHPSESSID": "<?php echo session_id(); ?>"},
// File Upload Settings
file_size_limit : "10 MB",
file_types : "*.jpg;*.png",
file_types_description : "JPG Images; PNG Image",
file_upload_limit : 0,
// Event Handler Settings - these functions as defined in Handlers.js
// The handlers are not part of SWFUpload but are part of my website and control how
// my website reacts to the SWFUpload events.
file_queue_error_handler : fileQueueError,
file_dialog_complete_handler : fileDialogComplete,
upload_progress_handler : uploadProgress,
upload_error_handler : uploadError,
upload_success_handler : uploadSuccess,
upload_complete_handler : uploadComplete,
// Button Settings
button_image_url : "images/SmallSpyGlassWithTransperancy_17x18.png",
button_placeholder_id : "spanButtonPlaceholder",
button_width: 180,
button_height: 18,
button_text : '<span class="button">Select Images <span class="buttonSmall">(2 MB Max)</span></span>',
button_text_style : '.button { font-family: Helvetica, Arial, sans-serif; font-size: 12pt; } .buttonSmall { font-size: 10pt; }',
button_text_top_padding: 0,
button_text_left_padding: 18,
button_window_mode: SWFUpload.WINDOW_MODE.TRANSPARENT,
button_cursor: SWFUpload.CURSOR.HAND,
// Flash Settings
flash_url : "../swfupload/swfupload.swf",
custom_settings : {
upload_target : "divFileProgressContainer"
},
// Debug Settings
debug: false
});
};
</script>
</head>
<body>
<div id="header">
<h1 id="logo"><a href="../">SWFUpload</a></h1>
<div id="version">v2.5.0</div>
</div>
<div id="content">
<h2>Resize Demo</h2>
<p>This demo shows how SWFUpload can resize images on the client side. Images resized before being uploaded to the server. Then some JavaScript is used to download the thumbnail and display the resized image without reloading the page.</p>
<form>
<div style="width: 180px; height: 18px; border: solid 1px #7FAAFF; background-color: #C5D9FF; padding: 2px;">
<span id="spanButtonPlaceholder"></span>
</div>
</form>
<div id="divFileProgressContainer" style="height: 75px;"></div>
<div id="thumbnails"></div>
</div>
</body>
</html>
| mit |
caracolrec/caracol | public/scripts/services/recommendations.js | 1668 | 'use strict';
angular.module('caracolApp.services')
.factory('RecsService', ['$q', 'FetchService', function($q, FetchService) {
var service = {
// store oauth token in here
timeOfLastFetch: null,
maxPageVisited: 0,
currentRecs: [],
lastRecId: 0,
batchSize: 10,
getRecs: function(currentPage) {
var requestSize;
if (service.timeOfLastFetch) {
if (currentPage <= service.maxPageVisited) {
console.log('using already loaded recs');
var d = $q.defer();
d.resolve(service.currentRecs);
return d.promise;
} else {
console.log('need to fetch recs from db');
requestSize = service.batchSize;
}
} else {
console.log('need to fetch recs from db for the first time');
requestSize = service.batchSize + 1;
}
return FetchService.fetch('recs', service.lastRecId, requestSize)
.then(function(data) {
service.updateState(data);
});
},
updateState: function(recs) {
service.timeOfLastFetch = new Date().getTime();
service.currentRecs = service.currentRecs.concat(recs);
if (service.currentRecs.length) {
service.lastRecId = service.currentRecs[service.currentRecs.length - 1].id;
}
console.log('lastId after getting latest batch of recs:', service.lastRecId);
service.maxPageVisited += 1;
},
resetState: function() {
console.log('resetting recommendations state');
service.timeOfLastFetch = null;
service.maxPageVisited = 0;
service.currentRecs = [];
service.lastRecId = 0;
}
};
return service;
}]); | mit |
hogelog/batch-san-console | app/models/batch_config.rb | 102 | class BatchConfig < Settingslogic
source "#{Rails.root}/config/batch.yml"
namespace Rails.env
end
| mit |
mplacona/TwilioParty | TwilioParty/Properties/AssemblyInfo.cs | 1353 | 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("TwilioParty")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("TwilioParty")]
[assembly: AssemblyCopyright("Copyright © 2015")]
[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("12ee91fe-d49d-4630-812d-46c53dfbcdbc")]
// 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 Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
| mit |
accentation/resource-server | src/main/java/com/accenture/banking/resource/dto/OfficeDto.java | 786 | /**
*
*/
package com.accenture.banking.resource.dto;
/**
* DTO class to build Office JSON REST response
* @author j.garcia.sanchez
*
*/
public class OfficeDto {
private Long id;
private String address;
private String phone;
/**
* @return the id
*/
public Long getId() {
return id;
}
/**
* @param id the id to set
*/
public void setId(Long id) {
this.id = id;
}
/**
* @return the address
*/
public String getAddress() {
return address;
}
/**
* @param address the address to set
*/
public void setAddress(String address) {
this.address = address;
}
/**
* @return the phone
*/
public String getPhone() {
return phone;
}
/**
* @param phone the phone to set
*/
public void setPhone(String phone) {
this.phone = phone;
}
}
| mit |
jh-bate/hackathon_sms | parse/accountDataText.go | 1208 | package parse
import (
"log"
"strings"
)
const (
//Account
ACCT_ADD_VEIWER = "ACC_V="
ACCT_ADD_UPLOADER = "ACC_U="
ACCT_NAME = "ACC_N="
)
/*
* Text based message data the contains values we can parse
*/
type AccountData struct {
text, date string
}
func NewAccountDataFromText(text, date string) *AccountData {
return &AccountData{
text: text,
date: date,
}
}
func (self *AccountData) ParseAccountData() []interface{} {
var account []interface{}
raw := strings.Split(self.text, " ")
outer:
for i := range raw {
switch {
case strings.Index(strings.ToUpper(raw[i]), ACCT_NAME) != -1:
log.Println("update account name ", self.text)
//account = append(account, makeBg(raw[i], self.date))
break
case strings.Index(strings.ToUpper(raw[i]), ACCT_ADD_VEIWER) != -1:
log.Println("add acct viewer ", self.text)
//account = append(account, makeCarb(raw[i], self.date))
break
case strings.Index(strings.ToUpper(raw[i]), ACCT_ADD_UPLOADER) != -1:
log.Println("add account uploader ", self.text)
//account = append(account, makeBasal(raw[i], self.date))
break
default:
log.Println("Not valid ", self.text)
break outer
}
}
return account
}
| mit |
boomcms/boom-core | src/views/boomcms/editor/conflict.php | 470 | <p><?= trans('boomcms::editor.conflict.exists') ?></p>
<p><?= trans('boomcms::editor.conflict.options') ?></p>
<div class="buttons">
<?= $button(null, 'conflict-reload', ['id' => 'b-conflict-reload', 'class' => 'b-button-textonly']) ?>
<?= $button(null, 'conflict-overwrite', ['id' => 'b-conflict-overwrite', 'class' => 'b-button-textonly']) ?>
<?= $button(null, 'conflict-inspect', ['id' => 'b-conflict-inspect', 'class' => 'b-button-textonly']) ?>
</div>
| mit |
Mariogs37/Rankme | lib/rankme/stats.rb | 1794 | module Rankme
module Stats
# Modules (Math for access to E)
include Math
extend self
# Constants
E = Math::E
PI = Math::PI
BETA = 25.0 / 6.0
GAMMA = 25.0 / 300.0
EPSILON = 0.08
A1 = 0.254829592
A2 = -0.284496736
A3 = 1.421413741
A4 = -1.453152027
A5 = 1.061405429
P = 0.3275911
# Functions: erf, pdf, cdf, vwin, wwin
def erf(x)
# save the sign of x
sign = 1
if x < 0
sign = -1
end
x = x.abs
# A&S formula 7.1.26
t = 1.0 / (1.0 + P * x)
y = 1.0 - (((( (A5 * t + A4) * t) + A3) * t + A2) * t + A1) * t * E **(-x * x)
sign * y
end
def pdf(x)
1 / (2 * PI) ** 0.5 * E ** (-x ** 2 / 2)
end
def cdf(x)
(1 + erf(x / PI ** 0.5)) / 2
end
def vwin(t, e)
pdf(t - e) / cdf(t - e)
end
def wwin(t, e)
vwin(t, e) * (vwin(t, e) + t - e)
end
# Update mu and sigma values for winner and loser
def calculate_mu_sigma(winner, loser)
muw = winner.score.mu
sigmaw = winner.score.sigma
mul = loser.score.mu
sigmal = loser.score.sigma
c = (2 * BETA ** 2 + sigmaw ** 2 + sigmal ** 2) ** 0.5
t = (muw - mul) / c
e = EPSILON / c
sigmaw_new = (sigmaw ** 2 * (1 - (sigmaw ** 2) / (c ** 2) * wwin(t, e)) + GAMMA ** 2) ** 0.5
sigmal_new = (sigmal ** 2 * (1 - (sigmal ** 2) / (c ** 2) * wwin(t, e)) + GAMMA ** 2) ** 0.5
muw_new = (muw + sigmaw ** 2 / c * vwin(t, e))
mul_new = (mul - sigmal ** 2 / c * vwin(t, e))
winner.score.mu = muw_new
winner.score.sigma = sigmaw_new
winner.count += 1
loser.score.mu = mul_new
loser.score.sigma = sigmal_new
loser.count += 1
[winner, loser]
end
end
end | mit |
GiGurra/leavu3 | src/main/scala/se/gigurra/leavu3/gfx/Colors.scala | 1050 | package se.gigurra.leavu3.gfx
import com.badlogic.gdx.graphics.Color
trait Colors {
def CLEAR = Color.CLEAR
def BLACK = Color.BLACK
def WHITE = Color.WHITE
def LIGHT_GRAY = Color.LIGHT_GRAY
def GRAY = Color.GRAY
def DARK_GRAY = Color.DARK_GRAY
def BLUE = Color.BLUE
def NAVY = Color.NAVY
def ROYAL = Color.ROYAL
def SLATE = Color.SLATE
def SKY = Color.SKY
def CYAN = Color.CYAN
def TEAL = Color.TEAL
def GREEN = Color.GREEN
def CHARTREUSE = Color.CHARTREUSE
def LIME = Color.LIME
def FOREST = Color.FOREST
def OLIVE = Color.OLIVE
def YELLOW = Color.YELLOW
def GOLD = Color.GOLD
def GOLDENROD = Color.GOLDENROD
def ORANGE = Color.ORANGE
def BROWN = Color.BROWN
def TAN = Color.TAN
def FIREBRICK = Color.FIREBRICK
def RED = Color.RED
def SCARLET = Color.SCARLET
def CORAL = Color.CORAL
def SALMON = Color.SALMON
def PINK = Color.PINK
def MAGENTA = Color.MAGENTA
def PURPLE = Color.PURPLE
def VIOLET = Color.VIOLET
def MAROON = Color.MAROON
}
| mit |
yassinehaddioui/event-resa-php | src/Repositories/EventRepository.php | 2876 | <?php
namespace ResaSystem\Repositories;
use MongoDB\Driver\Cursor;
use ResaSystem\Exceptions\SaveFailedException;
use ResaSystem\Models\Event;
class EventRepository extends BaseRepository
{
const COLLECTION_NAME = 'events';
const DB_NAME = 'reservation-service';
const ID_PREFIX = 'e_';
/**
* @return Event[]
*/
public function getAll()
{
return parent::getAll();
}
/**
* Get all events that haven't ended yet.
* @return Event[]
*/
public function getCurrentAndFutureEvents()
{
$filter = [
'dateEnd' => ['$gte' => time()],
];
return $this->normalize($this->getCollection()->find($filter));
}
/**
* Get all events where registration is open.
* @return Event[]
*/
public function getEventsOpenForRegistration()
{
$filter = [
'registrationDateEnd' => ['$gt' => time()],
'registrationDateStart' => ['$lte' => time()],
];
return $this->normalize($this->getCollection()->find($filter));
}
/**
* Get all events that haven't started yet.
* @return Event[]
*/
public function getUpcomingEvents()
{
$filter = [
'dateStart' => ['$gt' => time()],
];
return $this->normalize($this->getCollection()->find($filter));
}
/**
* @param Event $event
*
* @return Event
*/
protected function prepareEvent(Event $event)
{
if (!$event->getId()) {
$event->setId($this->generateEventId());
}
if (!$event->getDateCreated()) {
$event->setDateCreated(time());
}
foreach($event->getSessions() as $session){
if (!$session->getId())
$session->setId($this->generateEventId());
}
$event->setLastUpdate(time());
$event->validate();
return $event;
}
/**
* @param Event $event
*
* @return Event
* @throws SaveFailedException
*/
public function save(Event $event)
{
$event = $this->prepareEvent($event);
$result = $this->getCollection()->replaceOne(
['_id' => $event->getId()],
$event,
['upsert' => true]);
if (!$result->getUpsertedCount() && !$result->getModifiedCount()) {
throw new SaveFailedException();
}
return $event;
}
/**
* @param Cursor $entities
*
* @return Event[]
*/
protected function normalize($entities)
{
$result = [];
foreach ($entities as $entity) {
$result[] = new Event($entity);
}
return $result;
}
/**
* @return string
*/
protected function generateEventId()
{
return uniqid(static::ID_PREFIX);
}
} | mit |
dirtyfilthy/dirtyfilthy-bouncycastle | net/dirtyfilthy/bouncycastle/asn1/pkcs/CertificationRequest.java | 2488 | package net.dirtyfilthy.bouncycastle.asn1.pkcs;
import net.dirtyfilthy.bouncycastle.asn1.ASN1Encodable;
import net.dirtyfilthy.bouncycastle.asn1.ASN1EncodableVector;
import net.dirtyfilthy.bouncycastle.asn1.ASN1Sequence;
import net.dirtyfilthy.bouncycastle.asn1.DERBitString;
import net.dirtyfilthy.bouncycastle.asn1.DERObject;
import net.dirtyfilthy.bouncycastle.asn1.DERSequence;
import net.dirtyfilthy.bouncycastle.asn1.x509.AlgorithmIdentifier;
/**
* PKCS10 Certification request object.
* <pre>
* CertificationRequest ::= SEQUENCE {
* certificationRequestInfo CertificationRequestInfo,
* signatureAlgorithm AlgorithmIdentifier{{ SignatureAlgorithms }},
* signature BIT STRING
* }
* </pre>
*/
public class CertificationRequest
extends ASN1Encodable
{
protected CertificationRequestInfo reqInfo = null;
protected AlgorithmIdentifier sigAlgId = null;
protected DERBitString sigBits = null;
public static CertificationRequest getInstance(Object o)
{
if (o instanceof CertificationRequest)
{
return (CertificationRequest)o;
}
if (o instanceof ASN1Sequence)
{
return new CertificationRequest((ASN1Sequence)o);
}
throw new IllegalArgumentException("Invalid object: " + o.getClass().getName());
}
protected CertificationRequest()
{
}
public CertificationRequest(
CertificationRequestInfo requestInfo,
AlgorithmIdentifier algorithm,
DERBitString signature)
{
this.reqInfo = requestInfo;
this.sigAlgId = algorithm;
this.sigBits = signature;
}
public CertificationRequest(
ASN1Sequence seq)
{
reqInfo = CertificationRequestInfo.getInstance(seq.getObjectAt(0));
sigAlgId = AlgorithmIdentifier.getInstance(seq.getObjectAt(1));
sigBits = (DERBitString)seq.getObjectAt(2);
}
public CertificationRequestInfo getCertificationRequestInfo()
{
return reqInfo;
}
public AlgorithmIdentifier getSignatureAlgorithm()
{
return sigAlgId;
}
public DERBitString getSignature()
{
return sigBits;
}
public DERObject toASN1Object()
{
// Construct the CertificateRequest
ASN1EncodableVector v = new ASN1EncodableVector();
v.add(reqInfo);
v.add(sigAlgId);
v.add(sigBits);
return new DERSequence(v);
}
}
| mit |
drdrwhite/gin | src/test/resources/QuickTriangleTest.java | 1372 |
import static org.junit.Assert.*;
public class QuickTriangleTest {
private void checkClassification(int[][] triangles, int expectedResult) {
for (int[] triangle: triangles) {
int triangleType = QuickTriangle.classifyTriangle(triangle[0], triangle[1], triangle[2]);
assertEquals(expectedResult, triangleType);
}
}
@org.junit.Test
public void testInvalidTriangles() throws Exception {
int[][] invalidTriangles = {{1, 2, 9}, {-1, 1, 1}, {1, -1, 1}, {1, 1, -1}, {100, 80, 10000}};
checkClassification(invalidTriangles, QuickTriangle.INVALID);
}
@org.junit.Test
public void testEqualateralTriangles() throws Exception {
int[][] equalateralTriangles = {{1, 1, 1}, {100, 100, 100}, {99, 99, 99}};
checkClassification(equalateralTriangles, QuickTriangle.EQUALATERAL);
}
@org.junit.Test
public void testIsocelesTriangles() throws Exception {
int[][] isocelesTriangles = {{100, 90, 90}, {1000, 900, 900}, {3,2,2}, {30,16,16}};
checkClassification(isocelesTriangles, QuickTriangle.ISOCELES);
}
@org.junit.Test
public void testScaleneTriangles() throws Exception {
int[][] scaleneTriangles = {{5, 4, 3}, {1000, 900, 101}, {3,20,21}, {999, 501, 600}};
checkClassification(scaleneTriangles, QuickTriangle.SCALENE);
}
} | mit |
franciscop/modern-editor | bower_components/picnic/Gruntfile.js | 1929 | var fs = require('fs');
module.exports = function (grunt) {
grunt.initConfig({
jade: {
compile: {
files: [{
cwd: "web", src: "**/*.html.jade", dest: ".", expand: true, ext: ".html"
}]
}
},
concat: {
options: { separator: '\n\n' },
basic_and_extras: {
files: {
'temp/test.html': ['src/test.html', 'src/plugins/**/test.html'],
'temp/readme.md': ['src/readme.md', 'src/plugins/**/readme.md']
}
}
},
sass: {
dist: {
options: { sourcemap: 'none', style: 'compressed' },
files: {
'web/style/style.min.css': 'web/style/style.scss',
'picnic.min.css': 'src/picnic.scss'
}
}
},
copy: {
main: {
files: [
{ src: 'picnic.min.css', dest: 'releases/picnic.min.css' },
{ src: 'picnic.min.css', dest: 'releases/plugins.min.css' },
]
}
},
usebanner: {
taskName: {
options: {
position: 'top',
banner: '/* Picnic CSS v' + grunt.file.readJSON('package.json').version + ' http://picnicss.com/ */',
linebreak: true
},
files: { src: 'picnic.min.css' }
}
},
watch: {
scripts: {
files: [ 'package.js', 'Gruntfile.js', 'src/**/*.*', 'web/**/*.*' ],
tasks: ['default'],
options: { spawn: false },
}
},
bytesize: {
all: {
src: [
'picnic.min.css'
]
}
}
});
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-contrib-sass');
grunt.loadNpmTasks('grunt-banner');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-contrib-jade');
grunt.loadNpmTasks('grunt-bytesize');
grunt.registerTask('default', ['concat', 'sass', 'usebanner', 'copy', 'jade', 'bytesize']);
};
| mit |
zzzprojects/Z.ExtensionMethods | test/Z.Core.Test/System.Decimal/Decimal.ToMoney.cs | 1006 | // Description: C# Extension Methods | Enhance the .NET Framework and .NET Core with over 1000 extension methods.
// Website & Documentation: https://csharp-extension.com/
// Issues: https://github.com/zzzprojects/Z.ExtensionMethods/issues
// License (MIT): https://github.com/zzzprojects/Z.ExtensionMethods/blob/master/LICENSE
// More projects: https://zzzprojects.com/
// Copyright © ZZZ Projects Inc. All rights reserved.
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Z.Core.Test
{
[TestClass]
public class System_Decimal_ToMoney
{
[TestMethod]
public void ToMoney()
{
// Type
decimal @this1 = 2.311M;
decimal @this2 = 2.3191M;
// Exemples
decimal result1 = @this1.ToMoney(); // return 2.31;
decimal result2 = @this2.ToMoney(); // return 2.32;
// Unit Test
Assert.AreEqual(2.31M, result1);
Assert.AreEqual(2.32M, result2);
}
}
} | mit |
apps-libX/jwt-auth | src/JwtAuth/DataTransferObjects/SuccessResponse.php | 481 | <?php
/**
* Created by anonymous on 06/01/16 5:03.
*/
namespace Onderdelen\JwtAuth\DataTransferObjects;
/**
* Class SuccessResponse
* @package Onderdelen\JwtAuth\DataTransferObjects
*/
class SuccessResponse extends BaseResponse
{
/**
* @param $message
* @param array|null $payload
*/
public function __construct($message, array $payload = null)
{
parent::__construct($message, $payload);
$this->success = true;
}
}
| mit |
garysoed/gs-tools | src/random/random.ts | 544 | import {RandomSeed} from './seed/random-seed';
/**
* Generates random values.
*
* @typeParam T - Type of generated values.
* @thModule random
*/
export class Random {
constructor(
private readonly seed: RandomSeed,
) { }
iterable(): Iterable<number> {
return (function*(random: Random): Generator<number> {
while (true) {
yield random.next();
}
})(this);
}
next(): number {
return this.seed.next();
}
}
export function fromSeed(seed: RandomSeed): Random {
return new Random(seed);
}
| mit |
jrissler/wafflemix | app/helpers/wafflemix/users_helper.rb | 48 | module Wafflemix
module UsersHelper
end
end
| mit |
lightSAML/lightSAML | tests/LightSaml/Tests/Provider/Attribute/FixedAttributeValueProviderTest.php | 990 | <?php
namespace LightSaml\Tests\Provider\Attribute;
use LightSaml\Context\Profile\AssertionContext;
use LightSaml\Model\Assertion\Attribute;
use LightSaml\Provider\Attribute\AttributeValueProviderInterface;
use LightSaml\Provider\Attribute\FixedAttributeValueProvider;
use LightSaml\Tests\BaseTestCase;
class FixedAttributeValueProviderTest extends BaseTestCase
{
public function test_implements_attribute_value_provider_interface()
{
$this->assertInstanceOf(AttributeValueProviderInterface::class, new FixedAttributeValueProvider());
}
public function test_returns_added_attributes()
{
$provider = new FixedAttributeValueProvider();
$provider->add($attribute1 = new Attribute());
$provider->add($attribute2 = new Attribute());
$arr = $provider->getValues(new AssertionContext());
$this->assertCount(2, $arr);
$this->assertSame($attribute1, $arr[0]);
$this->assertSame($attribute2, $arr[1]);
}
}
| mit |
vitorbarbosa19/ziro-online | src/pages/jota-treis.js | 144 | import React from 'react'
import BrandGallery from '../components/BrandGallery'
export default () => (
<BrandGallery brand='Jota Treis' />
)
| mit |
Azure/azure-sdk-for-ruby | management/azure_mgmt_iot_central/lib/2018-09-01/generated/azure_mgmt_iot_central/models/app_patch.rb | 3409 | # encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::IotCentral::Mgmt::V2018_09_01
module Models
#
# The description of the IoT Central application.
#
class AppPatch
include MsRestAzure
# @return [Hash{String => String}] Instance tags
attr_accessor :tags
# @return [AppSkuInfo] A valid instance SKU.
attr_accessor :sku
# @return [String] The ID of the application.
attr_accessor :application_id
# @return [String] The display name of the application.
attr_accessor :display_name
# @return [String] The subdomain of the application.
attr_accessor :subdomain
# @return [String] The ID of the application template, which is a
# blueprint that defines the characteristics and behaviors of an
# application. Optional; if not specified, defaults to a blank blueprint
# and allows the application to be defined from scratch.
attr_accessor :template
#
# Mapper for AppPatch class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'AppPatch',
type: {
name: 'Composite',
class_name: 'AppPatch',
model_properties: {
tags: {
client_side_validation: true,
required: false,
serialized_name: 'tags',
type: {
name: 'Dictionary',
value: {
client_side_validation: true,
required: false,
serialized_name: 'StringElementType',
type: {
name: 'String'
}
}
}
},
sku: {
client_side_validation: true,
required: false,
serialized_name: 'sku',
type: {
name: 'Composite',
class_name: 'AppSkuInfo'
}
},
application_id: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'properties.applicationId',
type: {
name: 'String'
}
},
display_name: {
client_side_validation: true,
required: false,
serialized_name: 'properties.displayName',
type: {
name: 'String'
}
},
subdomain: {
client_side_validation: true,
required: false,
serialized_name: 'properties.subdomain',
type: {
name: 'String'
}
},
template: {
client_side_validation: true,
required: false,
serialized_name: 'properties.template',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end
| mit |
Ixonal/resume | src/models/Business.ts | 206 | import { DataWrapper } from "./DataWrapper";
export class Business extends DataWrapper {
constructor(props: any) {
super(props);
}
id: string;
name: string;
city: string;
state: string;
}
| mit |
AndersenJ/Vim | src/mode/modeNormal.ts | 3107 | import * as _ from 'lodash';
import * as vscode from 'vscode';
import {ModeName, Mode} from './mode';
import {showCmdLine} from './../cmd_line/main';
import {Caret} from './../motion/motion';
export default class NormalMode extends Mode {
private _caret : Caret;
private get caret() : Caret {
this._caret = this._caret || new Caret();
return this._caret;
}
private keyHandler : { [key : string] : (caret : Caret) => Thenable<{}>; } = {
":" : () => { return showCmdLine(); },
"u" : () => { return vscode.commands.executeCommand("undo"); },
"ctrl+r" : () => { return vscode.commands.executeCommand("redo"); },
"h" : c => { return Promise.resolve(c.left().move()); },
"j" : c => { return Promise.resolve(c.down().move()); },
"k" : c => { return Promise.resolve(c.up().move()); },
"l" : c => { return Promise.resolve(c.right().move()); },
"$" : c => { return Promise.resolve(c.lineEnd().move()); },
"^" : c => { return Promise.resolve(c.lineBegin().move()); },
"gg" : c => {return Promise.resolve(c.firstLineNonBlankChar().move()); },
"G" : c => { return Promise.resolve(c.lastLineNonBlankChar().move()); },
"w" : c => { return Promise.resolve(c.wordRight().move()); },
"b" : c => { return Promise.resolve(c.wordLeft().move()); },
">>" : () => { return vscode.commands.executeCommand("editor.action.indentLines"); },
"<<" : () => { return vscode.commands.executeCommand("editor.action.outdentLines"); },
"dd" : () => { return vscode.commands.executeCommand("editor.action.deleteLines"); },
"dw" : () => { return vscode.commands.executeCommand("deleteWordRight"); },
"db" : () => { return vscode.commands.executeCommand("deleteWordLeft"); },
// "x" : () => { this.CommandDelete(1); }
"esc": () => { return vscode.commands.executeCommand("workbench.action.closeMessages"); }
};
constructor() {
super(ModeName.Normal);
}
ShouldBeActivated(key : string, currentMode : ModeName) : boolean {
return (key === 'esc' || key === 'ctrl+[');
}
HandleActivation(key : string) : Thenable<{}> {
return Promise.resolve(this.caret.reset().left().move());
}
HandleKeyEvent(key : string) : Thenable<{}> {
this.keyHistory.push(key);
return new Promise(resolve => {
let keyHandled = false;
let keysPressed : string;
for (let window = this.keyHistory.length; window > 0; window--) {
keysPressed = _.takeRight(this.keyHistory, window).join('');
if (this.keyHandler[keysPressed] !== undefined) {
keyHandled = true;
break;
}
}
if (keyHandled) {
this.keyHistory = [];
return this.keyHandler[keysPressed](this.caret);
}
resolve();
});
}
/*
private CommandDelete(n: number) : void {
let pos = Caret.currentPosition();
let end = pos.translate(0, n);
let range : vscode.Range = new vscode.Range(pos, end);
TextEditor.delete(range).then(function() {
let lineEnd = Caret.lineEnd();
if (pos.character === lineEnd.character + 1) {
Caret.move(Caret.left());
}
});
}
*/
}
| mit |
canal-io/canal-mongo | lib/collection/index.ts | 1952 | import {resolve} from "url";
/**
*
* Created by Ryu on 2016/1/28.
*/
'use strict';
import * as co from 'co';
import {Db, Collection, DbCollectionOptions} from 'mongodb';
import {InsertOneWriteOpResult, CollectionInsertOneOptions} from "mongodb";
import {InsertWriteOpResult, CollectionInsertManyOptions} from "mongodb";
import Hooks from './hooks';
import {MongoError} from "mongodb";
export class CCollection extends Hooks {
private _db: Promise<Db>;
private _path: string[];
private _active: boolean;
constructor(promiseDb: Promise<Db>, path: string[], opt: DbCollectionOptions) {
super(opt);
this._db = promiseDb;
this._path = path;
this._active = false;
}
private _getCollection(): Promise<Collection> {
return new Promise((resolve, reject)=> {
this._db.then(db=> {
db.collection(this._path[0], this._opt, (err, col)=> {
if (err) return reject(err);
else resolve(col)
});
}).catch(e=> {
throw e;
})
})
}
insertOne(doc: Object, options?: CollectionInsertOneOptions): Promise<InsertOneWriteOpResult> {
return co.call(this, function *() {
yield this.checkRequired(doc);
yield this.checkType(doc);
let ret = yield this._getCollection();
ret = yield ret.insertOne(doc, options);
this.emit('insertOne', ret);
return ret;
});
};
insertMany(doc: Object[], options?: CollectionInsertManyOptions): Promise<InsertWriteOpResult> {
return co.call(this, function *() {
yield this.checkRequired(doc);
yield this.checkType(doc);
let ret = yield this._getCollection();
ret = yield ret.insertMany(doc, options);
this.emit('insertMany', ret);
return ret;
});
}
}
| mit |
bondarenkod/pf-arm-deploy-error | playerframework/Universal.Js.Samples/Microsoft.PlayerFramework.Samples.Windows/pages/captions/ttml/ttml.js | 1207 | (function () {
"use strict";
var mediaPlayer = null;
WinJS.UI.Pages.define("/pages/captions/ttml/ttml.html", {
// This function is called whenever a user navigates to this page.
// It populates the page with data and initializes the media player control.
ready: function (element, options) {
var item = options && options.item ? Data.resolveItemReference(options.item) : Data.items.getAt(0);
element.querySelector(".titlearea .pagetitle").textContent = item.title;
if (WinJS.Utilities.isPhone) {
document.getElementById("backButton").style.display = "none";
}
var mediaPlayerElement = element.querySelector("[data-win-control='PlayerFramework.MediaPlayer']");
mediaPlayer = mediaPlayerElement.winControl;
mediaPlayer.focus();
},
// This function is called whenever a user navigates away from this page.
// It resets the page and disposes of the media player control.
unload: function () {
if (mediaPlayer) {
mediaPlayer.dispose();
mediaPlayer = null;
}
}
});
})(); | mit |
ignaciocases/hermeneumatics | node_modules/scala-node/main/target/streams/compile/externalDependencyClasspath/$global/package-js/extracted-jars/scalajs-library_2.10-0.4.0.jar--29fb2f8b/scala/Function2$class.js | 28124 | ScalaJS.impls.scala_Function2$class__curried__Lscala_Function2__Lscala_Function1 = (function($$this) {
return new ScalaJS.c.scala_Function2$$anonfun$curried$1().init___Lscala_Function2($$this)
});
ScalaJS.impls.scala_Function2$class__tupled__Lscala_Function2__Lscala_Function1 = (function($$this) {
return new ScalaJS.c.scala_scalajs_runtime_AnonFunction1().init___Lscala_scalajs_js_Function1((function(arg$outer) {
return (function(x0$1) {
var x1 = x0$1;
if ((x1 !== null)) {
var x1$2 = x1.$$und1__O();
var x2 = x1.$$und2__O();
return arg$outer.apply__O__O__O(x1$2, x2)
};
throw new ScalaJS.c.scala_MatchError().init___O(x1)
})
})($$this))
});
ScalaJS.impls.scala_Function2$class__toString__Lscala_Function2__T = (function($$this) {
return "<function2>"
});
ScalaJS.impls.scala_Function2$class__apply$mcZDD$sp__Lscala_Function2__D__D__Z = (function($$this, v1, v2) {
return ScalaJS.uZ($$this.apply__O__O__O(ScalaJS.bD(v1), ScalaJS.bD(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcDDD$sp__Lscala_Function2__D__D__D = (function($$this, v1, v2) {
return ScalaJS.uD($$this.apply__O__O__O(ScalaJS.bD(v1), ScalaJS.bD(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcFDD$sp__Lscala_Function2__D__D__F = (function($$this, v1, v2) {
return ScalaJS.uF($$this.apply__O__O__O(ScalaJS.bD(v1), ScalaJS.bD(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcIDD$sp__Lscala_Function2__D__D__I = (function($$this, v1, v2) {
return ScalaJS.uI($$this.apply__O__O__O(ScalaJS.bD(v1), ScalaJS.bD(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcJDD$sp__Lscala_Function2__D__D__J = (function($$this, v1, v2) {
return ScalaJS.uJ($$this.apply__O__O__O(ScalaJS.bD(v1), ScalaJS.bD(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcVDD$sp__Lscala_Function2__D__D__V = (function($$this, v1, v2) {
$$this.apply__O__O__O(ScalaJS.bD(v1), ScalaJS.bD(v2))
});
ScalaJS.impls.scala_Function2$class__apply$mcZDI$sp__Lscala_Function2__D__I__Z = (function($$this, v1, v2) {
return ScalaJS.uZ($$this.apply__O__O__O(ScalaJS.bD(v1), ScalaJS.bI(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcDDI$sp__Lscala_Function2__D__I__D = (function($$this, v1, v2) {
return ScalaJS.uD($$this.apply__O__O__O(ScalaJS.bD(v1), ScalaJS.bI(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcFDI$sp__Lscala_Function2__D__I__F = (function($$this, v1, v2) {
return ScalaJS.uF($$this.apply__O__O__O(ScalaJS.bD(v1), ScalaJS.bI(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcIDI$sp__Lscala_Function2__D__I__I = (function($$this, v1, v2) {
return ScalaJS.uI($$this.apply__O__O__O(ScalaJS.bD(v1), ScalaJS.bI(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcJDI$sp__Lscala_Function2__D__I__J = (function($$this, v1, v2) {
return ScalaJS.uJ($$this.apply__O__O__O(ScalaJS.bD(v1), ScalaJS.bI(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcVDI$sp__Lscala_Function2__D__I__V = (function($$this, v1, v2) {
$$this.apply__O__O__O(ScalaJS.bD(v1), ScalaJS.bI(v2))
});
ScalaJS.impls.scala_Function2$class__apply$mcZDJ$sp__Lscala_Function2__D__J__Z = (function($$this, v1, v2) {
return ScalaJS.uZ($$this.apply__O__O__O(ScalaJS.bD(v1), ScalaJS.bJ(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcDDJ$sp__Lscala_Function2__D__J__D = (function($$this, v1, v2) {
return ScalaJS.uD($$this.apply__O__O__O(ScalaJS.bD(v1), ScalaJS.bJ(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcFDJ$sp__Lscala_Function2__D__J__F = (function($$this, v1, v2) {
return ScalaJS.uF($$this.apply__O__O__O(ScalaJS.bD(v1), ScalaJS.bJ(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcIDJ$sp__Lscala_Function2__D__J__I = (function($$this, v1, v2) {
return ScalaJS.uI($$this.apply__O__O__O(ScalaJS.bD(v1), ScalaJS.bJ(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcJDJ$sp__Lscala_Function2__D__J__J = (function($$this, v1, v2) {
return ScalaJS.uJ($$this.apply__O__O__O(ScalaJS.bD(v1), ScalaJS.bJ(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcVDJ$sp__Lscala_Function2__D__J__V = (function($$this, v1, v2) {
$$this.apply__O__O__O(ScalaJS.bD(v1), ScalaJS.bJ(v2))
});
ScalaJS.impls.scala_Function2$class__apply$mcZID$sp__Lscala_Function2__I__D__Z = (function($$this, v1, v2) {
return ScalaJS.uZ($$this.apply__O__O__O(ScalaJS.bI(v1), ScalaJS.bD(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcDID$sp__Lscala_Function2__I__D__D = (function($$this, v1, v2) {
return ScalaJS.uD($$this.apply__O__O__O(ScalaJS.bI(v1), ScalaJS.bD(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcFID$sp__Lscala_Function2__I__D__F = (function($$this, v1, v2) {
return ScalaJS.uF($$this.apply__O__O__O(ScalaJS.bI(v1), ScalaJS.bD(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcIID$sp__Lscala_Function2__I__D__I = (function($$this, v1, v2) {
return ScalaJS.uI($$this.apply__O__O__O(ScalaJS.bI(v1), ScalaJS.bD(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcJID$sp__Lscala_Function2__I__D__J = (function($$this, v1, v2) {
return ScalaJS.uJ($$this.apply__O__O__O(ScalaJS.bI(v1), ScalaJS.bD(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcVID$sp__Lscala_Function2__I__D__V = (function($$this, v1, v2) {
$$this.apply__O__O__O(ScalaJS.bI(v1), ScalaJS.bD(v2))
});
ScalaJS.impls.scala_Function2$class__apply$mcZII$sp__Lscala_Function2__I__I__Z = (function($$this, v1, v2) {
return ScalaJS.uZ($$this.apply__O__O__O(ScalaJS.bI(v1), ScalaJS.bI(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcDII$sp__Lscala_Function2__I__I__D = (function($$this, v1, v2) {
return ScalaJS.uD($$this.apply__O__O__O(ScalaJS.bI(v1), ScalaJS.bI(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcFII$sp__Lscala_Function2__I__I__F = (function($$this, v1, v2) {
return ScalaJS.uF($$this.apply__O__O__O(ScalaJS.bI(v1), ScalaJS.bI(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcIII$sp__Lscala_Function2__I__I__I = (function($$this, v1, v2) {
return ScalaJS.uI($$this.apply__O__O__O(ScalaJS.bI(v1), ScalaJS.bI(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcJII$sp__Lscala_Function2__I__I__J = (function($$this, v1, v2) {
return ScalaJS.uJ($$this.apply__O__O__O(ScalaJS.bI(v1), ScalaJS.bI(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcVII$sp__Lscala_Function2__I__I__V = (function($$this, v1, v2) {
$$this.apply__O__O__O(ScalaJS.bI(v1), ScalaJS.bI(v2))
});
ScalaJS.impls.scala_Function2$class__apply$mcZIJ$sp__Lscala_Function2__I__J__Z = (function($$this, v1, v2) {
return ScalaJS.uZ($$this.apply__O__O__O(ScalaJS.bI(v1), ScalaJS.bJ(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcDIJ$sp__Lscala_Function2__I__J__D = (function($$this, v1, v2) {
return ScalaJS.uD($$this.apply__O__O__O(ScalaJS.bI(v1), ScalaJS.bJ(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcFIJ$sp__Lscala_Function2__I__J__F = (function($$this, v1, v2) {
return ScalaJS.uF($$this.apply__O__O__O(ScalaJS.bI(v1), ScalaJS.bJ(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcIIJ$sp__Lscala_Function2__I__J__I = (function($$this, v1, v2) {
return ScalaJS.uI($$this.apply__O__O__O(ScalaJS.bI(v1), ScalaJS.bJ(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcJIJ$sp__Lscala_Function2__I__J__J = (function($$this, v1, v2) {
return ScalaJS.uJ($$this.apply__O__O__O(ScalaJS.bI(v1), ScalaJS.bJ(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcVIJ$sp__Lscala_Function2__I__J__V = (function($$this, v1, v2) {
$$this.apply__O__O__O(ScalaJS.bI(v1), ScalaJS.bJ(v2))
});
ScalaJS.impls.scala_Function2$class__apply$mcZJD$sp__Lscala_Function2__J__D__Z = (function($$this, v1, v2) {
return ScalaJS.uZ($$this.apply__O__O__O(ScalaJS.bJ(v1), ScalaJS.bD(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcDJD$sp__Lscala_Function2__J__D__D = (function($$this, v1, v2) {
return ScalaJS.uD($$this.apply__O__O__O(ScalaJS.bJ(v1), ScalaJS.bD(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcFJD$sp__Lscala_Function2__J__D__F = (function($$this, v1, v2) {
return ScalaJS.uF($$this.apply__O__O__O(ScalaJS.bJ(v1), ScalaJS.bD(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcIJD$sp__Lscala_Function2__J__D__I = (function($$this, v1, v2) {
return ScalaJS.uI($$this.apply__O__O__O(ScalaJS.bJ(v1), ScalaJS.bD(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcJJD$sp__Lscala_Function2__J__D__J = (function($$this, v1, v2) {
return ScalaJS.uJ($$this.apply__O__O__O(ScalaJS.bJ(v1), ScalaJS.bD(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcVJD$sp__Lscala_Function2__J__D__V = (function($$this, v1, v2) {
$$this.apply__O__O__O(ScalaJS.bJ(v1), ScalaJS.bD(v2))
});
ScalaJS.impls.scala_Function2$class__apply$mcZJI$sp__Lscala_Function2__J__I__Z = (function($$this, v1, v2) {
return ScalaJS.uZ($$this.apply__O__O__O(ScalaJS.bJ(v1), ScalaJS.bI(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcDJI$sp__Lscala_Function2__J__I__D = (function($$this, v1, v2) {
return ScalaJS.uD($$this.apply__O__O__O(ScalaJS.bJ(v1), ScalaJS.bI(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcFJI$sp__Lscala_Function2__J__I__F = (function($$this, v1, v2) {
return ScalaJS.uF($$this.apply__O__O__O(ScalaJS.bJ(v1), ScalaJS.bI(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcIJI$sp__Lscala_Function2__J__I__I = (function($$this, v1, v2) {
return ScalaJS.uI($$this.apply__O__O__O(ScalaJS.bJ(v1), ScalaJS.bI(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcJJI$sp__Lscala_Function2__J__I__J = (function($$this, v1, v2) {
return ScalaJS.uJ($$this.apply__O__O__O(ScalaJS.bJ(v1), ScalaJS.bI(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcVJI$sp__Lscala_Function2__J__I__V = (function($$this, v1, v2) {
$$this.apply__O__O__O(ScalaJS.bJ(v1), ScalaJS.bI(v2))
});
ScalaJS.impls.scala_Function2$class__apply$mcZJJ$sp__Lscala_Function2__J__J__Z = (function($$this, v1, v2) {
return ScalaJS.uZ($$this.apply__O__O__O(ScalaJS.bJ(v1), ScalaJS.bJ(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcDJJ$sp__Lscala_Function2__J__J__D = (function($$this, v1, v2) {
return ScalaJS.uD($$this.apply__O__O__O(ScalaJS.bJ(v1), ScalaJS.bJ(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcFJJ$sp__Lscala_Function2__J__J__F = (function($$this, v1, v2) {
return ScalaJS.uF($$this.apply__O__O__O(ScalaJS.bJ(v1), ScalaJS.bJ(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcIJJ$sp__Lscala_Function2__J__J__I = (function($$this, v1, v2) {
return ScalaJS.uI($$this.apply__O__O__O(ScalaJS.bJ(v1), ScalaJS.bJ(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcJJJ$sp__Lscala_Function2__J__J__J = (function($$this, v1, v2) {
return ScalaJS.uJ($$this.apply__O__O__O(ScalaJS.bJ(v1), ScalaJS.bJ(v2)))
});
ScalaJS.impls.scala_Function2$class__apply$mcVJJ$sp__Lscala_Function2__J__J__V = (function($$this, v1, v2) {
$$this.apply__O__O__O(ScalaJS.bJ(v1), ScalaJS.bJ(v2))
});
ScalaJS.impls.scala_Function2$class__curried$mcZDD$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcDDD$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcFDD$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcIDD$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcJDD$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcVDD$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcZDI$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcDDI$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcFDI$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcIDI$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcJDI$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcVDI$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcZDJ$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcDDJ$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcFDJ$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcIDJ$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcJDJ$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcVDJ$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcZID$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcDID$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcFID$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcIID$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcJID$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcVID$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcZII$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcDII$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcFII$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcIII$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcJII$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcVII$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcZIJ$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcDIJ$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcFIJ$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcIIJ$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcJIJ$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcVIJ$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcZJD$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcDJD$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcFJD$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcIJD$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcJJD$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcVJD$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcZJI$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcDJI$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcFJI$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcIJI$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcJJI$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcVJI$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcZJJ$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcDJJ$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcFJJ$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcIJJ$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcJJJ$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__curried$mcVJJ$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.curried__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcZDD$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcDDD$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcFDD$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcIDD$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcJDD$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcVDD$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcZDI$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcDDI$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcFDI$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcIDI$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcJDI$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcVDI$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcZDJ$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcDDJ$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcFDJ$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcIDJ$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcJDJ$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcVDJ$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcZID$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcDID$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcFID$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcIID$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcJID$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcVID$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcZII$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcDII$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcFII$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcIII$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcJII$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcVII$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcZIJ$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcDIJ$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcFIJ$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcIIJ$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcJIJ$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcVIJ$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcZJD$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcDJD$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcFJD$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcIJD$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcJJD$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcVJD$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcZJI$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcDJI$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcFJI$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcIJI$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcJJI$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcVJI$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcZJJ$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcDJJ$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcFJJ$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcIJJ$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcJJJ$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__tupled$mcVJJ$sp__Lscala_Function2__Lscala_Function1 = (function($$this) {
return $$this.tupled__Lscala_Function1()
});
ScalaJS.impls.scala_Function2$class__$init$__Lscala_Function2__V = (function($$this) {
/*<skip>*/
});
//@ sourceMappingURL=Function2$class.js.map
| mit |
CuratedCourses/server | public/js/filter.js | 1871 | $(function() {
$('#clear-filter').hide();
applyFilters();
$('#clear-filter').click( function() {
var filters = $("#filters");
filters.empty();
applyFilters();
});
$('.add-filter').click( function() {
var e = $(this);
var property = e.attr('data-filter-property');
var value = e.attr('data-filter-value');
var filters = $("#filters");
var label = $('<span class="badge badge-pill badge-primary"></span>');
label.attr('data-filter-property', property);
label.attr('data-filter-value', value);
label.click( function() {
label.remove();
applyFilters();
});
e.clone(true,true).contents().prependTo( label );
if (filters.children()
.filter( "[data-filter-property='" + property + "']" )
.filter( "[data-filter-value='" + value + "']" ).length == 0) {
filters.prepend( document.createTextNode(" ") );
filters.prepend( label );
}
applyFilters();
});
function applyFilters() {
$('#clear-filter').toggle( $("#filters").children().length > 0 );
$('#clear-filter .plural').toggle( $("#filters").children().length > 1 );
var filters = {};
$("#filters").children().each( function() {
var filter = $(this);
var property = filter.attr('data-filter-property');
var value = filter.attr('data-filter-value');
if (filters[property])
filters[property].unshift( value );
else
filters[property] = [value];
});
var count = 0;
$('.asset').each( function() {
var asset = $(this);
var passes = true;
Object.keys(filters).forEach(function (key) {
var value = asset.attr('data-' + key );
if (filters[key].indexOf(value) < 0)
passes = false;
});
asset.toggle( passes );
if (passes) count = count + 1;
});
$('#asset-count').text( count );
$('#asset-count').siblings('.plural').toggle( count != 1 );
}
});
| mit |
memorious/awscement | setup.py | 1670 | # MIT License
#
# Copyright (c) 2017 memorious
#
# 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.
__author__ = "memorious"
__module_name__ = "setup"
from distutils.core import setup
setup(
name='awscement',
version='1.0.0',
author='Memorious',
author_email='[email protected]',
packages=['awscement','awscement.s3'],
scripts=['bin/s3interface'],
url='https://github.com/memorious/awscement',
license='LICENSE.txt',
description='Useful command line tools for CRUD of some AWS resources.',
long_description=open('README.txt').read(),
install_requires=[
"cement > 1.0.0",
"boto3 > 1.0.0",
],
)
| mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.