blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 7 332 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2 values | repo_name stringlengths 7 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 557 values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 5.85k 684M โ | star_events_count int64 0 77.7k | fork_events_count int64 0 48k | gha_license_id stringclasses 17 values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 82 values | src_encoding stringclasses 28 values | language stringclasses 1 value | is_vendor bool 1 class | is_generated bool 2 classes | length_bytes int64 7 5.41M | extension stringclasses 11 values | content stringlengths 7 5.41M | authors listlengths 1 1 | author stringlengths 0 161 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
18edb93afae6e52a428ccd226da1cdce69c79693 | 913897a168721dd1324b7d8e1dfc72a3b19640d3 | /cdap-security/src/test/java/co/cask/cdap/security/store/secretmanager/MockSecretManager.java | d721fddd42a793d1db6a3872e7216a9416e86239 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | Diffblue-benchmarks/cdap | d0815d92cdc1db13969dbb9abbca98be4a586cbe | fa6b2df8853877244c44f9b2d7e1783973efb4d1 | refs/heads/develop | 2020-04-28T11:09:55.153827 | 2019-03-11T22:53:18 | 2019-03-11T22:53:18 | 175,227,171 | 0 | 0 | NOASSERTION | 2019-03-20T15:02:50 | 2019-03-12T14:19:35 | Java | UTF-8 | Java | false | false | 2,861 | java | /*
* Copyright ยฉ 2019 Cask Data, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
package co.cask.cdap.security.store.secretmanager;
import co.cask.cdap.securestore.spi.SecretManager;
import co.cask.cdap.securestore.spi.SecretManagerContext;
import co.cask.cdap.securestore.spi.SecretNotFoundException;
import co.cask.cdap.securestore.spi.secret.Secret;
import co.cask.cdap.securestore.spi.secret.SecretMetadata;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* Mock Secret Manager for unit tests.
*/
public class MockSecretManager implements SecretManager {
private static final String MOCK_SECRET_MANAGER = "mock_secret_mananger";
private static final String SEPARATOR = ":";
private Map<String, Secret> map;
@Override
public String getName() {
return MOCK_SECRET_MANAGER;
}
@Override
public void initialize(SecretManagerContext context) throws IOException {
map = new HashMap<>();
}
@Override
public void store(String namespace, Secret secret) throws IOException {
String key = getKey(namespace, secret.getMetadata().getName());
map.put(key, secret);
}
@Override
public Secret get(String namespace, String name) throws SecretNotFoundException, IOException {
String key = getKey(namespace, name);
if (!map.containsKey(key)) {
throw new SecretNotFoundException(namespace, name);
}
return map.get(key);
}
@Override
public Collection<SecretMetadata> list(String namespace) throws IOException {
List<SecretMetadata> list = new ArrayList<>();
for (Map.Entry<String, Secret> entry : map.entrySet()) {
String[] splitted = entry.getKey().split(":");
if (splitted[0].equals(namespace)) {
list.add(entry.getValue().getMetadata());
}
}
return list;
}
@Override
public void delete(String namespace, String name) throws SecretNotFoundException, IOException {
String key = getKey(namespace, name);
if (!map.containsKey(key)) {
throw new SecretNotFoundException(name, name);
}
map.remove(key);
}
@Override
public void destroy(SecretManagerContext context) {
map.clear();
}
private String getKey(String namespace, String name) {
return namespace + SEPARATOR + name;
}
}
| [
"vinishashah@google.com"
] | vinishashah@google.com |
3acbe4fb20f1e4044c55c61982b2990b2557e0e7 | 025b54c4bb71c74859ac6024fb133a53d343f518 | /day01/Ex09Constant.java | 68536e606b6a3472145f61e267a27c193ee34cc2 | [] | no_license | SHLIM1103/Java-Basic | 48178d941653b1c7d2b30986ea60178d3ad5fb1f | 2d24e3c28e42454b6c6c7e243da80312d855dfca | refs/heads/master | 2023-02-08T05:33:48.265068 | 2020-11-16T08:13:23 | 2020-11-16T08:13:23 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 948 | java | package day01;
// ์์(Constant)
// ์์๋ ํ๋ฒ ๊ฐ์ด ์ด๊ธฐํ๋๋ฉด ๋์ด์ ๋ฐ๊ฟ ์ ์๊ฒ ๋๋ค.
// ์์๋ ์ฐ๋ฆฌ๊ฐ ์ ์ผ ์์ final ์ด๋ผ๋ ํค์๋๋ฅผ ๋ถ์ฌ์ ๋ง๋ค์ด์ค๋ค.
public class Ex09Constant {
public static void main(String[] args) {
int myNumber = 30 ;
System.out.println("myNumber์ ํ์ฌ๊ฐ: " + myNumber);
final int MY_NUMBER = 20 ;
System.out.println("MY_NUMBER์ ํ์ฌ๊ฐ: " + myNumber);
myNumber = 40 ;
System.out.println("myNumber์ ํ์ฌ๊ฐ: " + myNumber);
// myNumber๋ ๋ณ์์ด๊ธฐ ๋๋ฌธ์ 20์์ 40์ผ๋ก ๋ค์ ์ด๊ธฐํํ๋ฉด ๊ฐ์ด ๋ฐ๋์ง๋ง,
// MY_NUMBER๋ ์์์ด๊ธฐ ๋๋ฌธ์ ๊ฐ์ ๋ค์ ์ค์ ํด์ค๋ ๋ฐ๋์ง ์๋๋ค.
// MY_NUMBER = 25 ; // <== ์ค๋ฅ ๋ฐ์
// ์์๋ ์ฐ๋ฆฌ๊ฐ ํ๋์ฝ๋ฉ์ ํผํ๊ธฐ ์ํด์ ์ ๊ทน์ ์ผ๋ก ์ฌ์ฉํด์ผ ํ๋ค.
}
} | [
"gusl5525@gmail.com"
] | gusl5525@gmail.com |
8e9e93486ac74bcd597249d6a58c6ee6c826f948 | 6c8a8eb894666c51f18cbdb3ac85a56c61eba71f | /getting-started-rinse-and-repeat/src/test/java/org/arquillian/example/BasketTest.java | fc4b4a93617f0d45a603afcdaba7ddfeb7894fdf | [] | no_license | yekaterinasavelyeva/arquillian-examples | 8f49f1aa1981db17de93cc332dd47eb55da1778c | f2c6b0dbadfce2e839031e088215adc5a7b0d62a | refs/heads/master | 2020-04-01T19:46:18.379872 | 2018-10-18T09:32:35 | 2018-10-18T09:32:35 | 153,570,916 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,629 | java | package org.arquillian.example;
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.arquillian.junit.InSequence;
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.asset.EmptyAsset;
import org.jboss.shrinkwrap.api.spec.JavaArchive;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import javax.ejb.EJB;
import javax.inject.Inject;
import static org.junit.Assert.*;
/**
* Created by Yekaterina Savelyeva
* on 18.10.2018
*/
@RunWith(Arquillian.class)
public class BasketTest {
@Deployment
public static JavaArchive createDeployment() {
return ShrinkWrap.create(JavaArchive.class, "test.jar")
.addClasses(Basket.class, OrderRepository.class, SingletonOrderRepository.class)
.addAsManifestResource(EmptyAsset.INSTANCE, "beans.xml");
}
@Inject
Basket basket;
@EJB
OrderRepository repo;
@Test
@InSequence(1)
public void place_order_should_add_order() {
basket.addItem("sunglasses");
basket.addItem("suit");
basket.placeOrder();
Assert.assertEquals(1, repo.getOrderCount());
Assert.assertEquals(0, basket.getItemCount());
basket.addItem("raygun");
basket.addItem("spaceship");
basket.placeOrder();
Assert.assertEquals(2, repo.getOrderCount());
Assert.assertEquals(0, basket.getItemCount());
}
@Test
@InSequence(2)
public void order_should_be_persistent() {
Assert.assertEquals(2, repo.getOrderCount());
}
} | [
"katya-a@inbox.lv"
] | katya-a@inbox.lv |
882220220e51d5cf1e8193eb51371cd0b5341bd9 | b797dbfcca959eb9f9faa07872f1070fe3fb1e75 | /Workshop/src/Workshop6_3/tokenizer.java | 2c2211982f2f971aebb47a3de064956040cbcf38 | [] | no_license | Jack0215/Java_Basic | 310a49d1f9ca423a808db245fc339850e109ed5b | 3d4605c398fd09e3634994582e4ab5aa41c3ad04 | refs/heads/master | 2023-02-17T22:35:15.616035 | 2021-01-15T06:14:08 | 2021-01-15T06:14:08 | 329,824,082 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 558 | java | package Workshop6_3;
import java.util.StringTokenizer;
public class tokenizer {
public static void main(String[] args) {
// TODO Auto-generated method stub
//์ผํ๋ฅผ ๊ธฐ์ค์ผ๋ก ํ ํฐ์ ์๋ฅธ๋ค.
//while๋ฌธ ์จ์ has๋ next๊ฐ์ ธ์ค๋๊ฑฐ ํ์
//๊ฐ์ ธ์ค๋ ๊ฐ์ด string์ด๋ int๋ก ๋์ ์์ผ์ผํจ
String str = "4,2,4,6,7";
StringTokenizer st = new StringTokenizer(str,",");
int sum =0;
while(st.hasMoreElements()) {
sum += Integer.parseInt(st.nextToken());
}
System.out.println(sum);
}
}
| [
"jaeyoon-lee@naver.com"
] | jaeyoon-lee@naver.com |
1786021f47aa3df92ef602f435cb057a15856500 | 57c35ae26ad36013dc6473fcb1b0b64dd8348622 | /eclip_22_6_2018/javacore/src/com/stringJavacore/Concat.java | beb6b8fcca6e915d2233a553923ea11e729bcb0f | [] | no_license | Trongphamsr/eclip-crud-ss-date-jsp | e99e877ab158591ab2c642f1e71fd12bf2e48cd8 | 6e3e5d811fc1228bff792de7b299ef1756c3d834 | refs/heads/master | 2020-04-26T09:57:06.400290 | 2019-03-03T07:47:32 | 2019-03-03T07:47:32 | 173,473,097 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 397 | java | package com.stringJavacore;
public class Concat {
public static void main(String[] args) {
// trong String concat dung de noi chuoi
String s1="java string";
s1=s1.concat(" is immutable");
System.out.println(s1);
s1=s1.concat(" is immutable so assign it explicitly");
System.out.println(s1);
String s2;
s2=s1.concat(" pham van trong");
System.out.println(s2);
}
}
| [
"="
] | = |
1ff1304889a9a92c952c28c1a654870c8be103f9 | d9ff72c9614b35ba097e59384d68294d4c4486d6 | /app/src/main/java/app/techland/zainmobiles/ui/smartphone/SmartPhoneFragment.java | 411dc8209a7effe3a575a1b34eb03db47cc3a131 | [] | no_license | chzainali/ZainMobiles | 239b3694031f7a73dd6548fa629c319e83f58efd | 3430b0d14a072d33736741d0452c96ac2079eef0 | refs/heads/master | 2023-01-24T03:00:38.552224 | 2020-11-18T09:50:32 | 2020-11-18T09:50:32 | 313,911,018 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 4,107 | java | package app.techland.zainmobiles.ui.smartphone;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import android.widget.Toast;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import androidx.fragment.app.FragmentTransaction;
import androidx.lifecycle.Observer;
import androidx.lifecycle.ViewModelProvider;
import androidx.recyclerview.widget.GridLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import com.firebase.ui.database.FirebaseRecyclerAdapter;
import com.firebase.ui.database.FirebaseRecyclerOptions;
import com.google.firebase.database.DatabaseReference;
import com.google.firebase.database.FirebaseDatabase;
import app.techland.zainmobiles.BrandNamesModel;
import app.techland.zainmobiles.R;
public class SmartPhoneFragment extends Fragment {
RecyclerView mRecView;
DatabaseReference mDbRf;
ProgressDialog progressDialog;
private SmartPhoneViewModel galleryViewModel;
public View onCreateView(@NonNull LayoutInflater inflater,
ViewGroup container, Bundle savedInstanceState) {
View root = inflater.inflate(R.layout.fragment_smartphone, container, false);
mRecView = root.findViewById(R.id.mRecView);
progressDialog = new ProgressDialog(getContext()) ;
progressDialog.setMessage("Going Good(Loading)...");
mDbRf = FirebaseDatabase.getInstance().getReference("BrandName");
RecyclerView.LayoutManager layoutManager = new GridLayoutManager(getActivity(), 1);
mRecView.setLayoutManager(layoutManager);
progressDialog.show();
return root;
}
@Override
public void onStart() {
super.onStart();
FirebaseRecyclerOptions<BrandNamesModel> options = new FirebaseRecyclerOptions.Builder<BrandNamesModel>()
.setQuery(mDbRf, BrandNamesModel.class)
.build();
final FirebaseRecyclerAdapter<BrandNamesModel,SPModelViewHolder > adapter = new FirebaseRecyclerAdapter<BrandNamesModel, SPModelViewHolder>(options) {
@Override
protected void onBindViewHolder (@NonNull SPModelViewHolder viewHolder,final int i, @NonNull BrandNamesModel model){
viewHolder.mTextView.setText(model.getCompanyname());
progressDialog.dismiss();
viewHolder.mTextView.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
String BrandName=model.getCompanyname();
FragmentManager fragmentManager = getFragmentManager();
FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();
fragmentTransaction.replace(R.id.nav_host_fragment,new SmartPhoneProductListFragment());
fragmentTransaction.addToBackStack(null);
fragmentTransaction.commit();
getActivity().getIntent().putExtra("brand_name", BrandName);
}
});
}
@NonNull
@Override
public SPModelViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.dummy_smart_phone , parent, false);
SPModelViewHolder viewHolder = new SPModelViewHolder(view);
return viewHolder;
}
};
mRecView.setAdapter(adapter);
adapter.startListening();
}
public static class SPModelViewHolder extends RecyclerView.ViewHolder {
TextView mTextView;
public SPModelViewHolder(@NonNull View itemView) {
super(itemView);
mTextView = itemView.findViewById(R.id.mTextView);
}
}
} | [
"zainalianwar12@gmail.com"
] | zainalianwar12@gmail.com |
60758d2ba075e66a54a0572bb0a7626cb2243440 | f05974aa4904d1c8d66b123aa03c2b27dc5918d1 | /ripple-core/src/main/java/org/rippleosi/common/types/RepoSourceType.java | 8d9a07116302d940c64924e6b4c1c95e796bc7f6 | [
"Apache-2.0"
] | permissive | viktor219/Ripple-Middleware | f1111e6c71195ae5fc1b9d98fb8b2b66120b640f | e064c01155ab502e8df83a231e65b49a91932d24 | refs/heads/master | 2020-07-08T14:54:37.147636 | 2016-11-17T12:13:56 | 2016-11-17T12:13:56 | 74,023,820 | 1 | 0 | null | null | null | null | UTF-8 | Java | false | false | 730 | java | /*
* Copyright 2015 Ripple OSI
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.rippleosi.common.types;
public interface RepoSourceType {
public String getSourceName();
}
| [
"viktorbalybin@outlook.com"
] | viktorbalybin@outlook.com |
051668a99462a1e578bedd4a11e09468c9bbb14a | 4289624dd4f4b4cde9f49a48edc74110a4d38a18 | /app/src/main/java/com/liusong/widget/ui/activity/coordinatorlayout/ClOneActivity.java | d52ab50c42c358b7456d247fa0293180584a4583 | [] | no_license | ericls16/android-widget | d9e28c449f277e7495318406a0282a9f11bbec26 | 912c342d283b6b84d17e3a3847e1e8906a6dce7a | refs/heads/master | 2021-01-01T03:59:19.260205 | 2017-07-10T09:54:33 | 2017-07-10T09:54:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 673 | java | package com.liusong.widget.ui.activity.coordinatorlayout;
import android.databinding.DataBindingUtil;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import com.liusong.widget.R;
import com.liusong.widget.databinding.ActivityClOneBinding;
/**
* Created by liu song on 2017/4/20.
*/
public class ClOneActivity extends AppCompatActivity {
private ActivityClOneBinding mBinding;
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
mBinding= DataBindingUtil.setContentView(this, R.layout.activity_cl_one);
}
}
| [
"jsmrliu@gmail.com"
] | jsmrliu@gmail.com |
659163c3deadeb79cf3f0bc2af6d5fb83d7493e6 | ff238540e4bf734133a6c49b443cd289aff4bb3f | /nlp4j/nlp4j-core/src/main/java/nlp4j/annotator/KeywordFacetMappingAnnotator.java | 37f65f8b558834063befe3c6a017c96cf68d4112 | [
"Apache-2.0"
] | permissive | oyahiroki/nlp4j | 0baf133c4bb083535328833ebc16a61d27c7fadf | 6dee4e1e9006a29938f853e886a8639a1e19f775 | refs/heads/master | 2023-08-31T05:34:00.139140 | 2023-08-25T16:07:35 | 2023-08-25T16:07:35 | 194,949,686 | 10 | 2 | Apache-2.0 | 2023-04-17T19:40:15 | 2019-07-02T23:51:55 | HTML | UTF-8 | Java | false | false | 2,438 | java | package nlp4j.annotator;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import nlp4j.AbstractDocumentAnnotator;
import nlp4j.Document;
import nlp4j.DocumentAnnotator;
import nlp4j.Keyword;
import nlp4j.KeywordAnnotator;
/**
* ใใกใปใใๅใๅคๆใใ<br>
* reference: Stanford CoreNLP POSใฟใฐใพใจใ
* https://qiita.com/syunyo/items/2c1ce1d765f46a5c1d72
*
* @author Hiroki Oya
* @since 1.3
*
*/
public class KeywordFacetMappingAnnotator extends AbstractDocumentAnnotator
implements DocumentAnnotator, KeywordAnnotator {
/**
* ใใใฉใซใใฎๅคๆใใใใณใฐ<br>
* ๅ่ฉ->word.NN,<br>
* ๆฐ่ฉ->word.CD,<br>
* ๅ่ฉ->word.VB,<br>
* ๅฉ่ฉ->word.RP,<br>
* ๅฉๅ่ฉ->word.MD,<br>
* ่จๅท->word.SYM,<br>
* ๆฅ็ถ่ฉ->word.CC,<br>
* ๅฏ่ฉ->word.RB,<br>
* ๅฝขๅฎน่ฉ->word.JJ,<br>
* ๆฅ้ ญ่ฉ->word_ja.RENTOU,<br>
* ้ฃไฝ่ฉ->word_ja.RENTAI,<br>
* ใใฃใฉใผ->word_ja.FILLER,<br>
* ๆๅ่ฉ->word.UH<br>
*
*/
static public final String DEFAULT_MAPPING = "" + //
"ๅ่ฉ->word.NN," + //
"ๆฐ่ฉ->word.CD," + //
"ๅ่ฉ->word.VB," + //
"ๅฉ่ฉ->word.RP," + //
"ๅฉๅ่ฉ->word.MD," + //
"่จๅท->word.SYM," + //
"ๆฅ็ถ่ฉ->word.CC," + //
"ๅฏ่ฉ->word.RB," + //
"ๅฝขๅฎน่ฉ->word.JJ," + //
"ๆฅ้ ญ่ฉ->word_ja.RENTOU," + //
"้ฃไฝ่ฉ->word_ja.RENTAI," + //
"ใใฃใฉใผ->word_ja.FILLER," + //
"ๆๅ่ฉ->word.UH" + //
"" //
;
HashMap<String, String> facetMap = new LinkedHashMap<String, String>();
@Override
public void setProperty(String key, String value) {
super.setProperty(key, value);
if (key.equals("mapping")) {
String[] maps = value.split(",");
for (String map : maps) {
String[] ss = map.split("->");
if (ss.length != 2) {
continue;
}
String from = ss[0];
if (from.isEmpty()) {
continue;
}
String to = ss[1];
facetMap.put(from, to);
}
}
}
@Override
public void annotate(Document doc) throws Exception {
List<Keyword> kwds = doc.getKeywords();
for (Keyword kwd : kwds) {
String facet = kwd.getFacet();
// System.err.println(facet);
if (facetMap.containsKey(facet)) {
String facet2 = facetMap.get(facet);
kwd.setFacet(facet2);
}
}
}
}
| [
"12620956+oyahiroki@users.noreply.github.com"
] | 12620956+oyahiroki@users.noreply.github.com |
768cb0f0aace7a02343a2bd070a514e9fb485a24 | fa91450deb625cda070e82d5c31770be5ca1dec6 | /Diff-Raw-Data/17/17_65eda0d8d4022fba8004c83359e8f1a3c9790d78/Signature/17_65eda0d8d4022fba8004c83359e8f1a3c9790d78_Signature_s.java | 715230f61d9ca6300651f980e27a64017a9add4d | [] | no_license | zhongxingyu/Seer | 48e7e5197624d7afa94d23f849f8ea2075bcaec0 | c11a3109fdfca9be337e509ecb2c085b60076213 | refs/heads/master | 2023-07-06T12:48:55.516692 | 2023-06-22T07:55:56 | 2023-06-22T07:55:56 | 259,613,157 | 6 | 2 | null | 2023-06-22T07:55:57 | 2020-04-28T11:07:49 | null | UTF-8 | Java | false | false | 7,487 | java | package com.appspot.manup.signature;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import android.app.Activity;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.graphics.Bitmap;
import android.graphics.BlurMaskFilter;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.EmbossMaskFilter;
import android.graphics.MaskFilter;
import android.graphics.Paint;
import android.graphics.Path;
import android.os.Bundle;
import android.os.Environment;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
import android.view.MotionEvent;
import android.view.View;
import android.widget.Toast;
/**
*
* Code from com.appspot.manup.FingerPaint
*
*/
public class Signature extends Activity {
private static final String TAG = "MANUP Signature";
private MyView myView;
private Paint mPaint;
private MaskFilter mEmboss;
private MaskFilter mBlur;
private DataHelper dh;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(myView = new MyView(this));
mPaint = new Paint();
mPaint.setAntiAlias(true);
mPaint.setDither(true);
mPaint.setColor(Color.BLACK);
mPaint.setStyle(Paint.Style.STROKE);
mPaint.setStrokeJoin(Paint.Join.ROUND);
mPaint.setStrokeCap(Paint.Cap.ROUND);
mPaint.setStrokeWidth(10);
mEmboss = new EmbossMaskFilter(new float[] { 1, 1, 1 }, 0.4f, 6, 3.5f);
mBlur = new BlurMaskFilter(8, BlurMaskFilter.Blur.NORMAL);
dh = new DataHelper(this);
startWatchingExternalStorage();
}
@Override
protected void onDestroy() {
// TODO Auto-generated method stub
super.onDestroy();
stopWatchingExternalStorage();
}
public class MyView extends View {
private Bitmap mBitmap;
private Canvas mCanvas;
private Path mPath;
private Paint mBitmapPaint;
public MyView(Context c) {
super(c);
mBitmap = Bitmap.createBitmap(320, 480, Bitmap.Config.ARGB_8888);
mCanvas = new Canvas(mBitmap);
mPath = new Path();
mBitmapPaint = new Paint(Paint.DITHER_FLAG);
}
@Override
protected void onSizeChanged(int w, int h, int oldw, int oldh) {
super.onSizeChanged(w, h, oldw, oldh);
mCanvas.setBitmap(mBitmap = Bitmap.createBitmap(w, h,
Bitmap.Config.ARGB_8888));
}
@Override
protected void onDraw(Canvas canvas) {
canvas.drawColor(Color.WHITE);
canvas.drawBitmap(mBitmap, 0, 0, mBitmapPaint);
canvas.drawPath(mPath, mPaint);
}
private float mX, mY;
private static final float TOUCH_TOLERANCE = 4;
private void touch_start(float x, float y) {
mPath.reset();
mPath.moveTo(x, y);
mX = x;
mY = y;
}
private void touch_move(float x, float y) {
float dx = Math.abs(x - mX);
float dy = Math.abs(y - mY);
if (dx >= TOUCH_TOLERANCE || dy >= TOUCH_TOLERANCE) {
mPath.quadTo(mX, mY, (x + mX) / 2, (y + mY) / 2);
mX = x;
mY = y;
}
}
private void touch_up() {
mPath.lineTo(mX, mY);
// commit the path to our offscreen
mCanvas.drawPath(mPath, mPaint);
// kill this so we don't double draw
mPath.reset();
}
@Override
public boolean onTouchEvent(MotionEvent event) {
float x = event.getX();
float y = event.getY();
switch (event.getAction()) {
case MotionEvent.ACTION_DOWN:
touch_start(x, y);
invalidate();
break;
case MotionEvent.ACTION_MOVE:
touch_move(x, y);
invalidate();
break;
case MotionEvent.ACTION_UP:
touch_up();
invalidate();
break;
}
return true;
}
public Bitmap getBitMap() {
return mBitmap;
}
}
private static final int SUBMIT = Menu.FIRST;
private static final int CLEAR = 2;
@Override
public boolean onCreateOptionsMenu(Menu menu) {
super.onCreateOptionsMenu(menu);
menu.add(0, SUBMIT, 0, "Submit").setShortcut('7', 's');
menu.add(0, CLEAR, 0, "Clear").setShortcut('3', 'c');
return true;
}
@Override
public boolean onPrepareOptionsMenu(Menu menu) {
super.onPrepareOptionsMenu(menu);
return true;
}
@Override
public boolean onOptionsItemSelected(MenuItem item) {
mPaint.setXfermode(null);
mPaint.setAlpha(0xFF);
switch (item.getItemId()) {
case SUBMIT:
onSubmit();
return true;
case CLEAR:
setContentView(myView = new MyView(this));
return true;
}
return super.onOptionsItemSelected(item);
}
// Monitor state of external storage
BroadcastReceiver mExternalStorageReceiver;
boolean mExternalStorageAvailable = false;
boolean mExternalStorageWriteable = false;
void updateExternalStorageState() {
String state = Environment.getExternalStorageState();
if (Environment.MEDIA_MOUNTED.equals(state)) {
mExternalStorageAvailable = mExternalStorageWriteable = true;
Toast.makeText(this, "External storage is writable", Toast.LENGTH_SHORT).show();
} else if (Environment.MEDIA_MOUNTED_READ_ONLY.equals(state)) {
mExternalStorageAvailable = true;
mExternalStorageWriteable = false;
Toast.makeText(this, "External storage is not writable", Toast.LENGTH_SHORT).show();
} else {
mExternalStorageAvailable = mExternalStorageWriteable = false;
Toast.makeText(this, "External storage is not mounted", Toast.LENGTH_SHORT).show();
}
}
void startWatchingExternalStorage() {
mExternalStorageReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
Log.i("test", "Storage: " + intent.getData());
updateExternalStorageState();
}
};
IntentFilter filter = new IntentFilter();
filter.addAction(Intent.ACTION_MEDIA_MOUNTED);
filter.addAction(Intent.ACTION_MEDIA_REMOVED);
registerReceiver(mExternalStorageReceiver, filter);
updateExternalStorageState();
}
void stopWatchingExternalStorage() {
unregisterReceiver(mExternalStorageReceiver);
}
private void onSubmit(){
Bitmap sigBitmap = myView.getBitMap();
if (mExternalStorageWriteable){
if (writeToExternalStorage(sigBitmap))
// dh.insert(student_id, output.getAbsolutePath(), false);
// This is also in datahelper so delete when using insert
Toast.makeText(this, "Write success", Toast.LENGTH_SHORT).show();
else
Toast.makeText(this, "Write failed", Toast.LENGTH_SHORT).show();
}
else
Toast.makeText(this, "Cannot write to external storage", Toast.LENGTH_SHORT).show();
}
File output;
long student_id = 0;
private boolean writeToExternalStorage(Bitmap b){
try{
File rootPath = Environment.getExternalStorageDirectory();
File manupPath = new File(rootPath, "manup/");
manupPath.mkdirs();
FileOutputStream fos;
try {
output = new File(manupPath, student_id + ".jpg");
output.createNewFile();
fos = new FileOutputStream(output);
b.compress(Bitmap.CompressFormat.JPEG, 100, fos);
fos.flush();
fos.close();
return true;
}
catch (FileNotFoundException e) {
e.printStackTrace();
}
} catch (IOException e) { e.printStackTrace(); }
return false;
}
}
| [
"yuzhongxing88@gmail.com"
] | yuzhongxing88@gmail.com |
6ad248b6cff32387a235a0e51293d5e1b035190d | ea210a9df3fe5fddd85bc18f1f3f3dc6fce8157f | /app_functional/app_functional/app/src/main/java/njdsoftware/app_functional/Screens/FriendsAndMessages/Tabs/Friends/FriendInfo.java | 64384980e57e38a9ae877645702a9e9cf500ff7a | [] | no_license | noahporcelli/csn_test | 19717e0d1708fb8d10bcec5e968849fecb4fa811 | 82e14e14e86c8daf9ab8c57fd5c57f3f82fe564a | refs/heads/master | 2021-08-19T09:39:23.639433 | 2017-11-25T16:15:41 | 2017-11-25T16:15:41 | 112,006,201 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 438 | java | package njdsoftware.app_functional.Screens.FriendsAndMessages.Tabs.Friends;
import njdsoftware.app_functional.CommonClasses.UserInfo;
/**
* Class containing data relating to a friend, which is stored in the app's memory.
*/
public class FriendInfo {
public UserInfo userInfo;
//anything else friend specific.
public FriendInfo(){
this.userInfo = new UserInfo();
}
}
/*TO-DO:
Additional info part.
*/
| [
"noahporcelli@gmail.com"
] | noahporcelli@gmail.com |
6d8a7e8382c6d12b4b3afd94c752fec0506b1f83 | 246a5321eccf04ae7bcbbc86204aa693d3d87e68 | /app/src/main/java/com/gwx/mobile/LocationTrack.java | a98ed6fffe740edd058ce737f47a29deca353d96 | [] | no_license | ebrym/gwxMobile | b9d6068d5b63c7875b70ff77e0ee5fb958365f55 | 027e8898cbefdcf3c1659c5db2413d738ab9cdfe | refs/heads/master | 2022-10-27T04:59:53.512938 | 2020-06-14T12:30:19 | 2020-06-14T12:30:19 | 272,169,875 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 10,084 | java | package com.gwx.mobile;
import android.Manifest;
import android.app.Service;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.location.Location;
import android.location.LocationListener;
import android.location.LocationManager;
import android.os.AsyncTask;
import android.os.Bundle;
import android.os.IBinder;
import android.provider.Settings;
import android.support.v4.app.ActivityCompat;
import android.support.v7.app.AlertDialog;
import android.util.Log;
import android.widget.Toast;
import java.util.HashMap;
/**
* Created by anupamchugh on 28/11/16.
*/
public class LocationTrack extends Service implements LocationListener {
String imei = "";
boolean flag = false;
public static String webMethod = "sendGPSLog_Fetch";
private final Context mContext;
boolean checkGPS = false;
boolean checkNetwork = false;
boolean canGetLocation = false;
Location loc;
double latitude;
double longitude;
private static final long MIN_DISTANCE_CHANGE_FOR_UPDATES = 10;
private static final long MIN_TIME_BW_UPDATES = 1000 * 5 * 1;
protected LocationManager locationManager;
public LocationTrack(Context mContext) {
this.mContext = mContext;
// getLocation();
}
@Override
public void onCreate() {
super.onCreate();
getLocation();
}
private Location getLocation() {
try {
locationManager = (LocationManager) mContext
.getSystemService(LOCATION_SERVICE);
// get GPS status
checkGPS = locationManager
.isProviderEnabled(LocationManager.GPS_PROVIDER);
// get network provider status
checkNetwork = locationManager
.isProviderEnabled(LocationManager.NETWORK_PROVIDER);
if (!checkGPS && !checkNetwork) {
Toast.makeText(mContext, "No Service Provider is available", Toast.LENGTH_SHORT).show();
} else {
this.canGetLocation = true;
// if GPS Enabled get lat/long using GPS Services
if (checkGPS) {
if (ActivityCompat.checkSelfPermission(mContext, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(mContext, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {
// TODO: Consider calling
// ActivityCompat#requestPermissions
// here to request the missing permissions, and then overriding
// public void onRequestPermissionsResult(int requestCode, String[] permissions,
// int[] grantResults)
// to handle the case where the user grants the permission. See the documentation
// for ActivityCompat#requestPermissions for more details.
}
locationManager.requestLocationUpdates(
LocationManager.GPS_PROVIDER,
MIN_TIME_BW_UPDATES,
MIN_DISTANCE_CHANGE_FOR_UPDATES, this);
if (locationManager != null) {
loc = locationManager
.getLastKnownLocation(LocationManager.GPS_PROVIDER);
if (loc != null) {
String longt = "";
String lattd = "";
latitude = loc.getLatitude();
longitude = loc.getLongitude();
lattd = Double.toString(latitude);
longt = Double.toString(longitude);
Global.globalLatitude = lattd;
Global.globalLongitude = longt;
Log.d("LOCATION : ", " LONG : " + Global.globalLongitude + " LAT : " + Global.globalLatitude);
new sendGPSLocation().execute(Global.globalDeviceIMEI,Global.globalUserName,Global.globalLatitude,Global.globalLongitude);
}
}
}
/*if (checkNetwork) {
if (ActivityCompat.checkSelfPermission(mContext, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(mContext, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {
// TODO: Consider calling
// ActivityCompat#requestPermissions
// here to request the missing permissions, and then overriding
// public void onRequestPermissionsResult(int requestCode, String[] permissions,
// int[] grantResults)
// to handle the case where the user grants the permission. See the documentation
// for ActivityCompat#requestPermissions for more details.
}
locationManager.requestLocationUpdates(
LocationManager.NETWORK_PROVIDER,
MIN_TIME_BW_UPDATES,
MIN_DISTANCE_CHANGE_FOR_UPDATES, this);
if (locationManager != null) {
loc = locationManager
.getLastKnownLocation(LocationManager.NETWORK_PROVIDER);
}
if (loc != null) {
latitude = loc.getLatitude();
longitude = loc.getLongitude();
}
}*/
}
} catch (Exception e) {
e.printStackTrace();
}
return loc;
}
public double getLongitude() {
if (loc != null) {
longitude = loc.getLongitude();
}
return longitude;
}
public double getLatitude() {
if (loc != null) {
latitude = loc.getLatitude();
}
return latitude;
}
public boolean canGetLocation() {
return this.canGetLocation;
}
public void showSettingsAlert() {
AlertDialog.Builder alertDialog = new AlertDialog.Builder(mContext);
alertDialog.setTitle("GPS is not Enabled!");
alertDialog.setMessage("Do you want to turn on GPS?");
alertDialog.setPositiveButton("Yes", new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int which) {
Intent intent = new Intent(Settings.ACTION_LOCATION_SOURCE_SETTINGS);
mContext.startActivity(intent);
}
});
alertDialog.setNegativeButton("No", new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int which) {
dialog.cancel();
}
});
alertDialog.show();
}
public void stopListener() {
if (locationManager != null) {
if (ActivityCompat.checkSelfPermission(mContext, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(mContext, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {
// TODO: Consider calling
// ActivityCompat#requestPermissions
// here to request the missing permissions, and then overriding
// public void onRequestPermissionsResult(int requestCode, String[] permissions,
// int[] grantResults)
// to handle the case where the user grants the permission. See the documentation
// for ActivityCompat#requestPermissions for more details.
return;
}
locationManager.removeUpdates(LocationTrack.this);
}
}
private class sendGPSLocation extends AsyncTask<String, String, String> {
@Override
protected void onPreExecute() {
super.onPreExecute();
}
@Override
protected String doInBackground(String... arg0) {
// Creating service handler class instance
WebRequest webreq = new WebRequest();
// add parameter or query string
// Log.i("string" , arg0[0]);
//DeviceID=string&UserID=string&Longitude=string&Latitude=string
String DeviceID = arg0[0];
String UserID = arg0[1];
String Latitude = arg0[2];
String Longitude = arg0[3];
// Building Parameters
HashMap<String, String> params = new HashMap<>();
params.put("DeviceID", DeviceID);
params.put("UserID", UserID);
params.put("Longitude", Longitude);
params.put("Latitude", Latitude);
//DeviceID=string&UserID=string&Longitude=string&Latitude=string
// Making a request to url and getting response
String jsonStr = webreq.makeWebServiceCall(Global.globalURLLocal + webMethod, WebRequest.POST, params);
//Log.d("Response: ", "> " + jsonStr);
return null;
}
@Override
protected void onPostExecute(String result) {
super.onPostExecute(result);
}
}
@Override
public IBinder onBind(Intent intent) {
return null;
}
@Override
public void onLocationChanged(Location location) {
}
@Override
public void onStatusChanged(String s, int i, Bundle bundle) {
}
@Override
public void onProviderEnabled(String s) {
}
@Override
public void onProviderDisabled(String s) {
}
}
| [
"ibrodex@gmail.com"
] | ibrodex@gmail.com |
d2457dc3ecbe0f1c44a0d505a1852603934f7855 | a66a4d91639836e97637790b28b0632ba8d0a4f9 | /src/generators/searching/Logclockmutexgenerator.java | d1174c3abb6c9a071ede17f169a5a91d89d26395 | [] | no_license | roessling/animal-av | 7d0ba53dda899b052a6ed19992fbdfbbc62cf1c9 | 043110cadf91757b984747750aa61924a869819f | refs/heads/master | 2021-07-13T05:31:42.223775 | 2020-02-26T14:47:31 | 2020-02-26T14:47:31 | 206,062,707 | 0 | 2 | null | 2020-10-13T15:46:14 | 2019-09-03T11:37:11 | Java | UTF-8 | Java | false | false | 20,810 | java | package generators.searching;
import generators.framework.Generator;
import generators.framework.GeneratorType;
import generators.framework.properties.AnimationPropertiesContainer;
import interactionsupport.models.MultipleChoiceQuestionModel;
import java.awt.Color;
import java.awt.Font;
import java.util.Hashtable;
import java.util.Locale;
import algoanim.animalscript.AnimalScript;
import algoanim.primitives.Graph;
import algoanim.primitives.SourceCode;
import algoanim.primitives.Text;
import algoanim.primitives.generators.Language;
import algoanim.properties.AnimationPropertiesKeys;
import algoanim.properties.CircleProperties;
import algoanim.properties.GraphProperties;
import algoanim.properties.RectProperties;
import algoanim.properties.SourceCodeProperties;
import algoanim.properties.TextProperties;
import algoanim.util.Coordinates;
import algoanim.util.Node;
public class Logclockmutexgenerator implements Generator {
private Language lang;
private int Knotenanzahl;
private int Ressource_hat;
private int[] Zugriffsreihenfolge;
private CircleProperties Highlightprozessfarbe;
private TextProperties Beschreibungstext;
private SourceCodeProperties Sourcecode;
private int nachrichten;
private Graph g;
private Text currentEvent1;
private Text text2;
private Text text3;
private Text text4;
private int hatRessource;
private int naechster;
private int uebernaechster;
private Text headerText;
// private Rect headerBorder;
// private TextProperties textProps;
private SourceCode src;
private SourceCodeProperties sourceCodeProps;
private SourceCode desc;
private SourceCodeProperties descCodeProps;
private TextProperties Kopfzeile;
private RectProperties Headerbox;
public void init() {
lang = new AnimalScript("Mutex mit Logical Clocks [DE]", "Pascal Schardt",
800, 600);
nachrichten = 0;
}
public void hideAllEdges() {
for (int i = 0; i < Knotenanzahl; i++) {
for (int j = 0; j < Knotenanzahl; j++) {
g.hideEdge(i, j, null, null);
}
}
}
public void gibtRessourceFrei(int prozess) {
g.highlightNode(prozess - 1, null, null);
currentEvent1.setText("Prozess " + prozess + " gibt die Ressource frei",
null, null);
src.highlight(5);
text3.setText("Es wurden bisher " + nachrichten + " Nachrichten versendet",
null, null);
text4.setText("Die Ressource besitzt: Die Ressource ist frei", null, null);
lang.nextStep("Ressource freigegeben");
src.unhighlight(5);
src.highlight(6);
text3.setText("Es wurden bisher " + nachrichten + " Nachrichten versendet",
null, null);
lang.nextStep();
src.unhighlight(6);
src.highlight(7);
g.setEdgeWeight(prozess - 1, naechster - 1, "OK", null, null);
g.showEdge(prozess - 1, naechster - 1, null, null);
nachrichten = nachrichten + 1;
text3.setText("Es wurden bisher " + nachrichten + " Nachrichten versendet",
null, null);
// intArray.put(0, 9, null, null);
lang.nextStep();
g.unhighlightNode(prozess - 1, null, null);
hideAllEdges();
src.unhighlight(7);
src.highlight(3);
src.highlight(13);
src.highlight(14);
g.highlightNode(naechster - 1, null, null);
hatRessource = naechster;
naechster = uebernaechster;
/*
* if (uebernaechster !=0) { for (int i = 0; i<Knotenanzahl; i++) { if
* ((i!=(naechster-1))&&(i!=(hatRessource-1))) { g.setEdgeWeight(i,
* naechster-1, "OK", null, null); g.showEdge(i, naechster-1, null, null);
* nachrichten = nachrichten + 1; } } }
*/
currentEvent1.setText("Prozess " + hatRessource + " bekommt die Ressource",
null, null);
text2
.setText(
"Prozess "
+ hatRessource
+ " wird aus den Warteschlangen der anderen Prozesse geloescht und diese geben neues OK",
null, null);
text3.setText("Es wurden bisher " + nachrichten + " Nachrichten versendet",
null, null);
text4.setText("Die Ressource besitzt: Prozess " + hatRessource, null, null);
// intArray.put(0, 10, null, null);
// intArray.put(0, 11, null, null);
lang.nextStep("Ressourcenfreigabe erledigt");
}
public void prozesseAntworten(int prozess) {
currentEvent1.setText("Die Anfragen werden von den Prozessen verarbeitet",
null, null);
text2.setText("", null, null);
text3.setText("Es wurden bisher " + nachrichten + " Nachrichten versendet",
null, null);
src.highlight(9);
lang.nextStep("Prozesse antworten");
src.unhighlight(9);
currentEvent1.setText("Die Anfragen werden von den Prozessen verarbeitet",
null, null);
for (int i = 0; i < Knotenanzahl; i++) {
if ((i != (prozess - 1)) && (i != (hatRessource - 1))) {
g.setEdgeWeight(i, prozess - 1, "OK", null, null);
g.showEdge(i, prozess - 1, null, null);
nachrichten = nachrichten + 1;
}
}
text2.setText("", null, null);
text3.setText("Es wurden bisher " + nachrichten + " Nachrichten versendet",
null, null);
src.highlight(11);
// intArray.put(0, 7, null, null);
// intArray.put(0, 8, null, null);
lang.nextStep();
src.unhighlight(11);
text3.setText("", null, null);
text2.setText("", null, null);
lang.nextStep("Antwortphase vorรผber");
}
public void prozessWillRessource(int prozess, int wievielter) {
g.highlightNode(prozess - 1, null, null);
currentEvent1.setText("Prozess " + prozess
+ " will die kritische Ressource.", null, null);
src.highlight(0);
lang.nextStep();
src.unhighlight(0);
currentEvent1.setText("Prozess " + prozess
+ " will die kritische Ressource.", null, null);
src.highlight(1);
lang.nextStep("Prozesse fordern Ressource");
src.unhighlight(1);
text3.setText("Die Ressource hat: Prozess " + hatRessource, null, null);
text3.setText("", null, null);
text2.setText("", null, null);
currentEvent1.setText("", null, null);
src.highlight(2);
currentEvent1.setText("Prozess " + prozess
+ " sendet REQUESTS an Prozesse mit Time Stamp 8", null, null);
for (int i = 0; i < Knotenanzahl; i++) {
if (i != (prozess - 1)) {
g.setEdgeWeight(prozess - 1, i, "REQUEST " + (8 * wievielter), null,
null);
g.showEdge(prozess - 1, i, null, null);
nachrichten = nachrichten + 1;
}
}
text3.setText("Es wurden bisher " + nachrichten + " Nachrichten versendet",
null, null);
// intArray.put(0, 1, null, null);
// intArray.put(0, 2, null, null);
// intArray.put(0, 3, null, null);
lang.nextStep();
hideAllEdges();
src.unhighlight(2);
src.highlight(3);
text3.setText("Es wurden bisher " + nachrichten + " Nachrichten versendet",
null, null);
lang.nextStep();
src.unhighlight(3);
g.unhighlightNode(prozess - 1, null, null);
src.highlight(0);
lang.nextStep("Ressourcenforderungen abgeschlossen");
}
// public String generate(AnimationPropertiesContainer props,Hashtable<String,
// Object> primitives) {
public String generate(AnimationPropertiesContainer props,
Hashtable<String, Object> primitives) {
Ressource_hat = (Integer) primitives.get("Ressource_hat");
Knotenanzahl = (Integer) primitives.get("Knotenanzahl");
Beschreibungstext = (TextProperties) props
.getPropertiesByName("Beschreibungstext");
Zugriffsreihenfolge = (int[]) primitives.get("Zugriffsreihenfolge");
Highlightprozessfarbe = (CircleProperties) props
.getPropertiesByName("Highlightprozessfarbe");
Sourcecode = (SourceCodeProperties) props.getPropertiesByName("Sourcecode");
Kopfzeile = (TextProperties) props.getPropertiesByName("Kopfzeile");
Headerbox = (RectProperties) props.getPropertiesByName("Headerbox");
// Beginn eigener Implementierung
// INITIALISIERUNG ANIMATION
lang.setInteractionType(1024);
lang.setInteractionType(Language.INTERACTION_TYPE_AVINTERACTION);
lang.setStepMode(true);
TextProperties headerProps = new TextProperties();
headerProps.set(AnimationPropertiesKeys.FONT_PROPERTY,
Kopfzeile.get(AnimationPropertiesKeys.FONT_PROPERTY));
headerProps.set(AnimationPropertiesKeys.COLOR_PROPERTY,
Kopfzeile.get(AnimationPropertiesKeys.COLOR_PROPERTY));
headerText = lang.newText(new Coordinates(20, 30),
"Mutex mit Logical Clocks Animation", "headerText", null, headerProps);
RectProperties rectProps = new RectProperties();
rectProps.set(AnimationPropertiesKeys.FILLED_PROPERTY, false);
rectProps.set(AnimationPropertiesKeys.FILL_PROPERTY, Color.WHITE);
rectProps.set(AnimationPropertiesKeys.COLOR_PROPERTY,
Headerbox.get(AnimationPropertiesKeys.COLOR_PROPERTY));
rectProps.set(AnimationPropertiesKeys.DEPTH_PROPERTY, 1);
lang.newRect(new Coordinates(10, 20), new Coordinates(260,
50), "headerBorder", null, rectProps);
if (Ressource_hat > Knotenanzahl) {
headerText
.setText(
"Ungรผltige Werte angegeben, Ressource_hat darf keinen Knoten enthalten, die grรถรer als die Knotenmenge sind!",
null, null);
return lang.toString();
}
for (int knoten : Zugriffsreihenfolge) {
if (knoten > Knotenanzahl) {
headerText
.setText(
"Ungรผltige Werte angegeben, die Zugriffsreihenfolge darf keine Knoten enthalten, die grรถรer als die Knotenmenge sind!",
null, null);
return lang.toString();
}
}
descCodeProps = new SourceCodeProperties();
descCodeProps.set(AnimationPropertiesKeys.FONT_PROPERTY,
Beschreibungstext.get(AnimationPropertiesKeys.FONT_PROPERTY));
descCodeProps.set(AnimationPropertiesKeys.COLOR_PROPERTY,
Beschreibungstext.get(AnimationPropertiesKeys.COLOR_PROPERTY));
descCodeProps.set(AnimationPropertiesKeys.CONTEXTCOLOR_PROPERTY,
Color.BLACK);
descCodeProps.set(AnimationPropertiesKeys.DEPTH_PROPERTY, 1);
descCodeProps.set(AnimationPropertiesKeys.HIGHLIGHTCOLOR_PROPERTY,
new Color(255, 0, 0));
desc = lang.newSourceCode(new Coordinates(20, 65), "description", null,
descCodeProps);
desc.addCodeLine(
"In verteilten System muss man haeufig bestimmen, welcher Prozess eine kritische Ressource erhaelt.",
null, 0, null);
desc.addCodeLine(
"Ein Mutex mit Locigal Clocks regelt den Zugriff auf diese kritische Ressource.",
null, 0, null);
desc.addCodeLine(
"Die folgende Animation soll die Funktionsweise dieses Algorithmus veranschaulichen.",
null, 0, null);
lang.nextStep("Initialisieren");
int[][] graphAdjacencyMatrix = new int[Knotenanzahl][Knotenanzahl];
for (int i = 0; i < Knotenanzahl; i++) {
for (int j = 0; j < Knotenanzahl; j++) {
graphAdjacencyMatrix[i][j] = 1;
}
}
Node[] graphNodes = new Node[Knotenanzahl];
String[] labels = new String[Knotenanzahl];
for (int i = 0; i < Knotenanzahl; i++) {
int winkel = (int) (360 / Knotenanzahl);
int x = (int) (200 + (100 * Math
.cos((winkel * (i + 1)) / 180.0D * 3.141592653589793D)));
int y = (int) (300 + (100 * Math
.sin((winkel * (i + 1)) / 180.0D * 3.141592653589793D)));
graphNodes[i] = new Coordinates(x, y);
labels[i] = (i + 1) + "";
}
GraphProperties graphProps = new GraphProperties();
graphProps.set(AnimationPropertiesKeys.COLOR_PROPERTY, Color.BLACK);
graphProps.set(AnimationPropertiesKeys.FILL_PROPERTY, Color.WHITE);
graphProps.set(AnimationPropertiesKeys.DIRECTED_PROPERTY, true);
graphProps.set(AnimationPropertiesKeys.WEIGHTED_PROPERTY, true);
Color highlight = (Color) Highlightprozessfarbe
.get(AnimationPropertiesKeys.FILL_PROPERTY);
graphProps.set(AnimationPropertiesKeys.HIGHLIGHTCOLOR_PROPERTY, highlight);
graphProps.set(AnimationPropertiesKeys.ELEMHIGHLIGHT_PROPERTY, Color.BLACK);
g = lang.newGraph("processes", graphAdjacencyMatrix, graphNodes, labels,
null, graphProps);
hideAllEdges();
sourceCodeProps = new SourceCodeProperties();
sourceCodeProps.set(AnimationPropertiesKeys.FONT_PROPERTY,
Sourcecode.get(AnimationPropertiesKeys.FONT_PROPERTY));
sourceCodeProps.set(AnimationPropertiesKeys.COLOR_PROPERTY,
Sourcecode.get(AnimationPropertiesKeys.COLOR_PROPERTY));
sourceCodeProps.set(AnimationPropertiesKeys.CONTEXTCOLOR_PROPERTY,
Color.BLACK);
sourceCodeProps.set(AnimationPropertiesKeys.DEPTH_PROPERTY, 1);
sourceCodeProps.set(AnimationPropertiesKeys.HIGHLIGHTCOLOR_PROPERTY,
Sourcecode.get(AnimationPropertiesKeys.HIGHLIGHTCOLOR_PROPERTY));
src = lang.newSourceCode(new Coordinates(500, 150), "sourceCode", null,
sourceCodeProps);
src.addCodeLine("Will ein Prozess X die kritische Ressource: ", null, 0,
null);
src.addCodeLine(" Setze STATE = WANTED", null, 1, null);
src.addCodeLine(" REQUEST an alle Prozesse mit Time Stamp", null, 1, null);
src.addCodeLine(
" Sobald OK von allen Prozessen kam, nimm die Ressource und setze STATE = HELD",
null, 1, null);
src.addCodeLine("", null, 0, null);
src.addCodeLine("Beim Verlassen der kritischen Ressource: ", null, 0, null);
src.addCodeLine(" Setze STATE = RELEASED", null, 1, null);
src.addCodeLine(
" OK an den Prozess mit kleinstem Time Stamp in Warteschlange ", null,
1, null);
src.addCodeLine("", null, 0, null);
src.addCodeLine("Wenn ein Prozess Y eine Anfrage bekommt: ", null, 0, null);
src.addCodeLine(" Wenn Ressource frei, gib OK zurueck ", null, 1, null);
src.addCodeLine(
" Ansonsten Anfrage in Warteschlange einsortieren und OK an den Prozess mit kleinstem Time Stamp",
null, 1, null);
src.addCodeLine("", null, 0, null);
src.addCodeLine("Wenn ein Prozess Z die Ressource bekommt: ", null, 0, null);
src.addCodeLine(
"loesche diesen aus der Warteschlange und gib OK an kleinsten Time Stamp, wenn diese nicht leer ist ",
null, 0, null);
lang.nextStep();
hatRessource = Ressource_hat;
TextProperties textProps = new TextProperties();
textProps.set(AnimationPropertiesKeys.FONT_PROPERTY,
Beschreibungstext.get(AnimationPropertiesKeys.FONT_PROPERTY));
textProps.set(AnimationPropertiesKeys.DEPTH_PROPERTY, 1);
textProps.set(AnimationPropertiesKeys.COLOR_PROPERTY,
Beschreibungstext.get(AnimationPropertiesKeys.COLOR_PROPERTY));
currentEvent1 = lang.newText(new Coordinates(20, 450), "", "currentEvent1",
null, textProps);
text2 = lang
.newText(new Coordinates(20, 470), "", "Text2", null, textProps);
text3 = lang
.newText(new Coordinates(20, 510), "", "Text3", null, textProps);
text4 = lang
.newText(new Coordinates(20, 490), "", "Text4", null, textProps);
currentEvent1.setText("Prozess " + hatRessource
+ " hat die kritische Ressource", null, null);
text4.setText("Die Ressource besitzt: Prozess " + hatRessource, null, null);
// ANIMATIONSGENERIERUNG START
//
lang.nextStep("Animationsgenerierung");
int j = 1;
for (int k : Zugriffsreihenfolge) {
prozessWillRessource(k, j);
j = j + 1;
}
naechster = 0;
// WAS PASSIERT JETZT?
MultipleChoiceQuestionModel msq = new MultipleChoiceQuestionModel(
"multipleChoiceQuestion");
msq.setPrompt("Was passiert jetzt?");
msq.addAnswer(
"Der Prozess " + Zugriffsreihenfolge[0] + " bekommt die Ressource",
0,
"Falsch, dieser bekommt die Ressource erst, wenn ihm alle anderen Prozesse ihr Okay gegeben haben.");
msq.addAnswer("Die Prozesse geben ihr Okay an den Prozess "
+ Zugriffsreihenfolge[0] + "", 1,
"Richtig, da er den kleinsten Timestamp hat.");
msq.addAnswer("Nichts passiert, der Algorithmus terminiert hier", 0,
"Nein, denn es hatte ja noch kein Prozess, der angefragt hatte, die Ressource.");
msq.setGroupID("QG");
this.lang.addMCQuestion(msq);
this.lang.nextStep("Algorithmus-Start");
for (int p : Zugriffsreihenfolge) {
uebernaechster = p;
if (naechster != 0) {
prozesseAntworten(naechster);
gibtRessourceFrei(hatRessource);
}
naechster = p;
}
uebernaechster = 0;
prozesseAntworten(naechster);
gibtRessourceFrei(hatRessource);
src.unhighlight(3);
src.unhighlight(13);
src.unhighlight(14);
text3.setText("Es wurden bisher " + nachrichten + " Nachrichten versendet",
null, null);
lang.nextStep();
lang.nextStep("Fazit");
SourceCodeProperties sumCodeProps = new SourceCodeProperties();
sumCodeProps.set(AnimationPropertiesKeys.FONT_PROPERTY, new Font(
Font.SANS_SERIF, Font.PLAIN, 12));
sumCodeProps.set(AnimationPropertiesKeys.COLOR_PROPERTY, Color.BLACK);
sumCodeProps
.set(AnimationPropertiesKeys.CONTEXTCOLOR_PROPERTY, Color.BLACK);
sumCodeProps.set(AnimationPropertiesKeys.DEPTH_PROPERTY, 1);
sumCodeProps.set(AnimationPropertiesKeys.HIGHLIGHTCOLOR_PROPERTY,
new Color(255, 0, 0));
SourceCode sum = lang.newSourceCode(new Coordinates(20, 65), "sum", null,
sumCodeProps);
sum.addCodeLine("Alle Ressourcenanfragen wurden befriedigt", null, 0, null);
sum.addCodeLine("", null, 0, null);
int prozessanzahl = Zugriffsreihenfolge.length;
sum.addCodeLine("Es wurden " + nachrichten + " Nachrichten geschickt, um "
+ prozessanzahl + " Prozessen die Ressource zu gewaehren", null, 0,
null);
desc.hide();
g.hide();
currentEvent1.hide();
text2.hide();
text3.hide();
text4.hide();
src.hide();
// Ende eigener Implementierung
lang.nextStep("Ende des Algorithmus");
lang.finalizeGeneration();
return lang.toString();
}
public String getName() {
return "Mutex mit Logical Clocks [DE]";
}
public String getAlgorithmName() {
return "Mutex mit Logical Clocks [DE]";
}
public String getAnimationAuthor() {
return "Pascal Schardt";
}
public String getDescription() {
return "In verteilten System muss man haeufig bestimmen, welcher Prozess eine kritische Ressource erhaelt."
+ "\n"
+ "Ein Mutex mit Locigal Clocks regelt den Zugriff auf diese kritische Ressource.";
}
public String getCodeExample() {
return "Will ein Prozess X die kritische Ressource:"
+ "\n"
+ " Setze STATE = WANTED"
+ "\n"
+ " REQUEST an alle Prozesse mit Time Stamp"
+ "\n"
+ " Sobald OK von allen Prozessen kam, nimm die Ressource und setze STATE = HELD"
+ "\n"
+ "\n"
+ "Beim Verlassen der kritischen Ressource:"
+ "\n"
+ " Setze STATE = RELEASED"
+ "\n"
+ " OK an den Prozess mit kleinstem Time Stamp in Warteschlange"
+ "\n"
+ "\n"
+ "Wenn ein Prozess Y eine Anfrage bekommt:"
+ "\n"
+ " Wenn Ressource frei, gib OK zurueck "
+ "\n"
+ " Ansonsten Anfrage in Warteschlange einsortieren und OK an den Prozess mit kleinstem Time Stamp"
+ "\n"
+ "\n"
+ "Wenn ein Prozess Z die Ressource bekommt:"
+ "\n"
+ " loesche diesen aus der Warteschlange und gib OK an kleinsten Time Stamp, wenn diese nicht leer ist";
}
public String getFileExtension() {
return Generator.ANIMALSCRIPT_FORMAT_EXTENSION;
}
public Locale getContentLocale() {
return Locale.GERMANY;
}
public GeneratorType getGeneratorType() {
return new GeneratorType(GeneratorType.GENERATOR_TYPE_SEARCH);
}
public String getOutputLanguage() {
return Generator.PSEUDO_CODE_OUTPUT;
}
} | [
"guido@tk.informatik.tu-darmstadt.de"
] | guido@tk.informatik.tu-darmstadt.de |
1c22bd2264c6e1307c29c972f8ecd332e8667d17 | fe1a824f66ba55f8fd2c98ad8ce195405f38eb2a | /occ-uaa/src/main/java/com/yonyou/occ/uaa/config/MetricsConfiguration.java | 1b1fcfc6b9dd1faa38896715cdaf8fe319f474be | [] | no_license | wangrui821/omni-channel-cloud | a9ea1f9723d69bdb3118e5fb113d2386ab0f14f4 | dba04cdbca13758953c2f608cd001162dccacfee | refs/heads/master | 2021-09-04T10:28:07.194657 | 2018-01-01T10:53:31 | 2018-01-01T10:53:31 | 115,911,879 | 0 | 2 | null | 2018-01-01T10:38:09 | 2018-01-01T10:10:20 | Java | UTF-8 | Java | false | false | 4,125 | java | package com.yonyou.occ.uaa.config;
import io.github.jhipster.config.JHipsterProperties;
import com.codahale.metrics.JmxReporter;
import com.codahale.metrics.JvmAttributeGaugeSet;
import com.codahale.metrics.MetricRegistry;
import com.codahale.metrics.Slf4jReporter;
import com.codahale.metrics.health.HealthCheckRegistry;
import com.codahale.metrics.jvm.*;
import com.ryantenney.metrics.spring.config.annotation.EnableMetrics;
import com.ryantenney.metrics.spring.config.annotation.MetricsConfigurerAdapter;
import com.zaxxer.hikari.HikariDataSource;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.slf4j.Marker;
import org.slf4j.MarkerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.*;
import javax.annotation.PostConstruct;
import java.lang.management.ManagementFactory;
import java.util.concurrent.TimeUnit;
@Configuration
@EnableMetrics(proxyTargetClass = true)
public class MetricsConfiguration extends MetricsConfigurerAdapter {
private static final String PROP_METRIC_REG_JVM_MEMORY = "jvm.memory";
private static final String PROP_METRIC_REG_JVM_GARBAGE = "jvm.garbage";
private static final String PROP_METRIC_REG_JVM_THREADS = "jvm.threads";
private static final String PROP_METRIC_REG_JVM_FILES = "jvm.files";
private static final String PROP_METRIC_REG_JVM_BUFFERS = "jvm.buffers";
private static final String PROP_METRIC_REG_JVM_ATTRIBUTE_SET = "jvm.attributes";
private final Logger log = LoggerFactory.getLogger(MetricsConfiguration.class);
private MetricRegistry metricRegistry = new MetricRegistry();
private HealthCheckRegistry healthCheckRegistry = new HealthCheckRegistry();
private final JHipsterProperties jHipsterProperties;
private HikariDataSource hikariDataSource;
public MetricsConfiguration(JHipsterProperties jHipsterProperties) {
this.jHipsterProperties = jHipsterProperties;
}
@Autowired(required = false)
public void setHikariDataSource(HikariDataSource hikariDataSource) {
this.hikariDataSource = hikariDataSource;
}
@Override
@Bean
public MetricRegistry getMetricRegistry() {
return metricRegistry;
}
@Override
@Bean
public HealthCheckRegistry getHealthCheckRegistry() {
return healthCheckRegistry;
}
@PostConstruct
public void init() {
log.debug("Registering JVM gauges");
metricRegistry.register(PROP_METRIC_REG_JVM_MEMORY, new MemoryUsageGaugeSet());
metricRegistry.register(PROP_METRIC_REG_JVM_GARBAGE, new GarbageCollectorMetricSet());
metricRegistry.register(PROP_METRIC_REG_JVM_THREADS, new ThreadStatesGaugeSet());
metricRegistry.register(PROP_METRIC_REG_JVM_FILES, new FileDescriptorRatioGauge());
metricRegistry.register(PROP_METRIC_REG_JVM_BUFFERS, new BufferPoolMetricSet(ManagementFactory.getPlatformMBeanServer()));
metricRegistry.register(PROP_METRIC_REG_JVM_ATTRIBUTE_SET, new JvmAttributeGaugeSet());
if (hikariDataSource != null) {
log.debug("Monitoring the datasource");
hikariDataSource.setMetricRegistry(metricRegistry);
}
if (jHipsterProperties.getMetrics().getJmx().isEnabled()) {
log.debug("Initializing Metrics JMX reporting");
JmxReporter jmxReporter = JmxReporter.forRegistry(metricRegistry).build();
jmxReporter.start();
}
if (jHipsterProperties.getMetrics().getLogs().isEnabled()) {
log.info("Initializing Metrics Log reporting");
Marker metricsMarker = MarkerFactory.getMarker("metrics");
final Slf4jReporter reporter = Slf4jReporter.forRegistry(metricRegistry)
.outputTo(LoggerFactory.getLogger("metrics"))
.markWith(metricsMarker)
.convertRatesTo(TimeUnit.SECONDS)
.convertDurationsTo(TimeUnit.MILLISECONDS)
.build();
reporter.start(jHipsterProperties.getMetrics().getLogs().getReportFrequency(), TimeUnit.SECONDS);
}
}
}
| [
"wangruiv@yonyou.com"
] | wangruiv@yonyou.com |
88d21d7a9576ba25c4829cecc7f6178a2f91ddf7 | eb771ce93b0e318cfe88781dbd870a8410d4edbb | /code/Practise/03 Array/01_ๆฐ็ป่ฝฌๅญ็ฌฆไธฒ/Test1.java | 5ccd303eeb28b79a77aa1dfd98726b4e39c37741 | [] | no_license | hairrrrr/EasyJava | 3549fc535a2e0d3cc9aca13ab92c2f9c4b4f6253 | 7c024244d3d74e2a1ec7894f4535d3e11126e4d5 | refs/heads/master | 2022-11-11T03:54:03.479219 | 2020-07-09T12:44:15 | 2020-07-09T12:44:15 | 245,815,807 | 5 | 1 | null | null | null | null | UTF-8 | Java | false | false | 197 | java | class Test1{
public static void main(String[] args) {
int[] arr = {1, 2, 3, 4};
String newArr = Arrays.toString(arr);
System.out.println("newArr = " + newArr);
}
}
| [
"781728963@qq.com"
] | 781728963@qq.com |
adfe004fa257832a0e5381cd0ca11a8b0e7ddd43 | ae072a30cf1f8ceaa7d5d988d7476f40a0f426d4 | /src/com/chaitu/LeadGame.java | 5ca6e6c462b3e0a14dbf6fefef1a79c9d1878292 | [] | no_license | ChaithanyaVW/MyWork | dd6aa253d0a011bd5488ed758834527b59352aa7 | 9b638ce7a80a25db0b9889719a4f9070d4487a1d | refs/heads/master | 2021-04-13T03:40:42.944758 | 2020-03-22T07:35:54 | 2020-03-22T07:35:54 | 249,134,110 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,252 | java | package com.chaitu;
import java.util.*;
public class LeadGame {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int rounds = scanner.nextInt();
LinkedList<String> playerOne= new LinkedList<String>();
LinkedList<String> playerTwo= new LinkedList<String>();
scanner.nextLine();
while(rounds!=0){
String[] input = scanner.nextLine().split(" ");
playerOne.add(input[0]);
playerTwo.add(input[1]);
rounds--;
}
getWinner(playerOne, playerTwo);
}
private static void getWinner(List<String> player1, List<String> player2 ){
int[] result = new int[2];
Arrays.fill(result, 0);
int score1 = 0,score2 =0;
for(int i =0; i< player1.size(); i++){
score1= Integer.parseInt(player1.get(i));
score2= Integer.parseInt(player2.get(i));
if(score1>score2){
if(result[0]< (score1-score2)) {result[1]=1; result[0]= score1-score2;}
}
else{
if(result[0]< (score2-score1)) {result[1]=2; result[0]= score2-score1;}
}
}
System.out.println(result[1] + " "+ result[0]);
}
}
| [
"chaithanya.mundru@volkswagen.co.in"
] | chaithanya.mundru@volkswagen.co.in |
3df728f7eacbac86dafac4cdcd47ec2f30dddf07 | b7b36c98be6eaf7d1ccdb53f8fa7b6dea71a15a5 | /src/main/java/com/liangxunwang/unimanager/util/Constants.java | f6c9b920b5a81e3eb8d6958c43ea8554f4af6c06 | [] | no_license | eryiyi/StoreAppManager2 | 54f97b49e23132fbe4bf7bb164c73eb8dfbc6cc4 | 865bb6a9d922723dcda08422ba401e06e3ef10e7 | refs/heads/master | 2020-04-06T04:28:05.313353 | 2017-02-23T02:31:03 | 2017-02-23T02:31:03 | 82,875,291 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 5,337 | java | package com.liangxunwang.unimanager.util;
/**
* Created by zhl on 2015/1/29.
*/
public class Constants {
//ๆๅกๅจๅฐๅ
// public static final String URL = "http://192.168.0.225:8080/";
public static final String URL = "http://157j1274e3.iask.in/";
// public static final String URL = "http://114.215.41.142:8080/";
public static final String DOWNLOAD_URL = "http://a.app.qq.com/o/simple.jsp?pkgname=com.lbins.myapp";
//ๆณจๅ็จ้ป่ฎคไผๅ็ญ็บง--้้ไผๅ
public static final String DEFAULT_LEVEL = "d42535ff62e147ae80dba7bc9d8ea0d4";
//ๆๅ้จID
public static final String TOP_DXK_LEVEL = "1111ea9a3c0849dc9d4c0c0a215adff6";
//ไธ็ไบๅญๅจ
public static final String QINIU_URL = "http://7xt74j.com1.z0.glb.clouddn.com/";
public static final String QINIU_SPACE = "paopao-pic";
public static final String FILE_PATH = "D://recordfile";
//็พๅบฆๆจ้
public static final String API_KEY = "Y2YvCibBy54Tathk9FkDCDVe";
public static final String SECRET_KEY = "C926MVuk6yOOPdm0ObsLOVEnsGCwLsYV";
public static final String IOS_API_KEY = "iQADn1Ngzxq6CzCCmj26z3Pm";
public static final String IOS_SECRET_KEY = "DeUu6dlWUFKtWSHgu9i3NGUiQC4T72wz";
public static final int IOS_TYPE = 1;
public static final String SAVE_ERROR = "save_error";
public static final String HAS_ZAN = "has_zan";
public static final String MOBILE_UP_DEFAULT = "10000000000";
public static final String MOBILE_UP_DEFAULT_id = "b530cca19dba4509867477a3d9fc85d1";
public static final String HAS_CODE = "has_code";
public static final String NO_SEND_CODE = "no_send_code";
public static final String SEND_SMS_ERROR = "send_sms_error";
public static final String HAS_EXISTS = "has_exists";
public static final String TOO_MANY_CODE = "too_many_code";
public static final String CODE_NOT_EQUAL = "code_not_equal";
public static final String PHONE_ERROR = "phone_error";
public static final String HX_ERROR = "hx_error";
public static final String SMS_MESSAGE_URL = "http://60.209.7.78:8080/smsServer/submit";
//้ป่ฎคๅคดๅ
public static final String[] PHOTOURLS = {
"upload/pic1.jpg",
"upload/pic2.jpg",
"upload/pic3.jpg",
"upload/pic4.jpg",
"upload/pic5.jpg",
"upload/pic6.jpg",
"upload/pic7.jpg",
"upload/pic8.jpg",
"upload/pic9.jpg",
"upload/pic10.jpg",
"upload/pic11.jpg",
"upload/pic12.jpg",
"upload/pic13.jpg",
"upload/pic14.jpg",
"upload/pic15.jpg",
"upload/pic16.jpg",
"upload/pic17.jpg",
"upload/pic18.jpg",
"upload/pic19.jpg",
"upload/pic20.jpg",
"upload/pic21.jpg",
"upload/pic22.jpg",
"upload/pic23.jpg",
"upload/pic24.jpg",
"upload/pic25.jpg",
"upload/pic26.jpg",
"upload/pic27.jpg",
"upload/pic28.jpg",
"upload/pic29.jpg",
"upload/pic30.jpg",
"upload/pic31.jpg",
"upload/pic32.jpg",
"upload/pic33.jpg",
"upload/pic34.jpg",
"upload/pic35.jpg",
"upload/pic36.jpg",
"upload/pic37.jpg",
"upload/pic38.jpg",
"upload/pic39.jpg",
"upload/pic40.jpg",
"upload/pic41.jpg",
"upload/pic42.jpg",
"upload/pic43.jpg",
"upload/pic44.jpg",
"upload/pic45.jpg",
"upload/pic46.jpg",
"upload/pic47.jpg",
"upload/pic48.jpg",
"upload/pic49.jpg",
"upload/pic50.jpg",
"upload/pic51.jpg",
"upload/pic52.jpg",
"upload/pic53.jpg",
"upload/pic54.jpg",
"upload/pic55.jpg",
"upload/pic56.jpg",
"upload/pic57.jpg",
"upload/pic58.jpg",
"upload/pic59.jpg",
"upload/pic60.jpg",
"upload/pic61.jpg"
};
public static final Long DAY_MILLISECOND = 86400000L;
//----------------ๆฏไปๅฎ------------------
//ๅพฎไฟก็ปไธไธๅnotify_url
public static final String WEIXIN_NOTIFY_URL = URL + "payWxNotifyAction.do";
public static final String WEIXIN_NOTIFY_URL_DXK = URL + "payWxNotifyActionDxk.do";
public static final String WEIXIN_NOTIFY_URL_LQ = URL + "payWxNotifyActionLq.do";
//ๆฏไปๅฎๅ่ฐ้กต้ข
public static final String ZFB_NOTIFY_URL = URL + "pay/notify_url_alipay.jsp";
//ๅๅ
็
// public static final String WX_APP_ID = "wx9769250919c81901";//yum
// public static final String WX_MCH_ID = "1393020902";//yum
// public static final String WX_API_KEY="PnG4IEkvkqfIDT0UJisgwDDCoxP3kvGH";//yum
//ๅๆฅ็
//appid
public static final String WX_APP_ID = "wxa86f64fcca9f3806";//yum
//ๅๆทๅท
public static final String WX_MCH_ID = "1424464002";//yum
// APIๅฏ้ฅ๏ผๅจๅๆทๅนณๅฐ่ฎพ็ฝฎ
public static final String WX_API_KEY="13473ea7a46ba9238cf1ecaa6cad26a1";//yum
public static final String WX_APP_SECRET="611fcae2cb0a43381be9ee527de1c406";//yum
// 7289232292675542ceb8e6d7b68015ef
}
| [
"826321978@qq.com"
] | 826321978@qq.com |
5b799c8d453f537bd0d4a3da1920440421baacb5 | 1c7b531823c1494a394933665e784214173ef796 | /DEVCA/src/com/devca/utility/siot/IamportRestClient/response/PaymentCancelDetail.java | eb54cd6c9a5ed476e2ebd90a9ec4b91121bc4c5b | [] | no_license | ChoHyeonJunn/KH_SEMI_PROJECT | a4823abbdbecc09e763d4ca69cecaea89382fe31 | d0aeeef16b388dff037a9c2e01cb40b3b8a1a727 | refs/heads/master | 2020-12-26T05:39:20.726480 | 2020-04-26T11:54:39 | 2020-04-26T11:54:39 | 237,403,673 | 1 | 0 | null | null | null | null | UTF-8 | Java | false | false | 700 | java | package com.devca.utility.siot.IamportRestClient.response;
import java.math.BigDecimal;
import com.google.gson.annotations.SerializedName;
public class PaymentCancelDetail {
@SerializedName("pg_tid")
String pg_tid;
@SerializedName("amount")
BigDecimal amount;
@SerializedName("cancelled_at")
long cancelled_at;
@SerializedName("reason")
String reason;
@SerializedName("receipt_url")
String receipt_url;
public String getPgTid() {
return pg_tid;
}
public BigDecimal getAmount() {
return amount;
}
public long getCancelledAt() {
return cancelled_at;
}
public String getReason() {
return reason;
}
public String getReceiptUrl() {
return receipt_url;
}
}
| [
"ancsbbc@naver.com"
] | ancsbbc@naver.com |
fabc8589846edaccd0e889849be5a6db0bd290eb | 54cca6cfa58e15038ae89e891747c8d79a014e99 | /src/helloworld/Goods.java | 334395dfb04e242c34fb17da92778d9b149829eb | [] | no_license | wiske27/helloworld | fbc42663c7c190936cf27846d82c7f7556beab46 | 2fdf321618699a86cbf24111b905f17aa173351b | refs/heads/master | 2021-01-25T14:10:00.953051 | 2018-03-03T04:27:37 | 2018-03-03T04:27:37 | 123,658,747 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 611 | java | package helloworld;
public class Goods {
private String name;
private int price;
public Goods() {
}
public Goods(String name, int price) {
this.name = name;
this.price = price;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getPrice() {
return price;
}
public void setPrice(int price) {
this.price = price;
}
//overload
public int calcDiscountPrice(double rate) {
return (int)(price * rate) ;
}
public int calcDiscountPrice(int rate) {
return (price * rate) ;
}
}
| [
"user@192.168.11.21"
] | user@192.168.11.21 |
9463c9c25f6d97fa870d0a8bd7bc03c9bca37f15 | 5f61cfc68cf7d16905845fb44aff9d5c6707b4dd | /IdeaProjects/JvmTest/src/main/java/JavaVMStackSOF.java | ab1658187007ddd1349a71c997dfa5a74a6a7179 | [] | no_license | raymone1995/learngit | a9b49e9af107d9af95e142c0f70ac6657a104baa | d94affa8327a6f0adc2b9f7d7659cfbea864cdf2 | refs/heads/master | 2020-05-25T15:33:18.418256 | 2019-05-22T06:34:55 | 2019-05-22T06:34:55 | 187,870,837 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 596 | java | /**
* VM Args: -Xss128k
* @author mohongyuan
* @date 2019/3/20 9:11 PM
*/
public class JavaVMStackSOF {
private int stackLength = 1;
public void stackLeak() {
int temp = 1111;
String str = "hello";
double d = 11.01;
stackLength++;
stackLeak();
}
public static void main(String[] args) throws Throwable {
JavaVMStackSOF oom = new JavaVMStackSOF();
try{
oom.stackLeak();
} catch (Throwable e) {
System.out.println("stack length: " + oom.stackLength);
throw e;
}
}
}
| [
"1353803319@qq.com"
] | 1353803319@qq.com |
36726d911e3e9f11a1a17c8cccc9615d2816abe1 | e8cd24201cbfadef0f267151ea5b8a90cc505766 | /group19/527220084/xukai_coding/coding-common/src/main/java/org/xukai/jvm/attr/LocalVariableItem.java | 3a44b520c333f0b7666815316999742a7f0d6dba | [] | no_license | XMT-CN/coding2017-s1 | 30dd4ee886dd0a021498108353c20360148a6065 | 382f6bfeeeda2e76ffe27b440df4f328f9eafbe2 | refs/heads/master | 2021-01-21T21:38:42.199253 | 2017-06-25T07:44:21 | 2017-06-25T07:44:21 | 94,863,023 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 800 | java | package org.xukai.jvm.attr;
public class LocalVariableItem {
private int startPC;
private int length;
private int nameIndex;
private int descIndex;
private int index;
public int getStartPC() {
return startPC;
}
public void setStartPC(int startPC) {
this.startPC = startPC;
}
public int getLength() {
return length;
}
public void setLength(int length) {
this.length = length;
}
public int getNameIndex() {
return nameIndex;
}
public void setNameIndex(int nameIndex) {
this.nameIndex = nameIndex;
}
public int getDescIndex() {
return descIndex;
}
public void setDescIndex(int descIndex) {
this.descIndex = descIndex;
}
public int getIndex() {
return index;
}
public void setIndex(int index) {
this.index = index;
}
}
| [
"542194147@qq.com"
] | 542194147@qq.com |
4b1b6640d6c73bb19861d019610588f7fa030b42 | 56c60e7f9a5f590bf5de2640a4e0efe2c3a47b11 | /product-service/src/test/java/ca/psdev/mssc/productservice/web/controller/ProductControllerTest.java | dd554fde3d8f7a691e392d855409c32c7680ca1f | [] | no_license | nvg/spring-microservices | 5115673a8dfca2a38b18798a47f5b33e7af8969d | 58367fe4c0fa08333be2a2d083f237a1164debc0 | refs/heads/master | 2020-08-27T09:06:07.965255 | 2019-11-27T13:35:07 | 2019-11-27T13:35:07 | 217,311,477 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,455 | java | package ca.psdev.mssc.productservice.web.controller;
import ca.psdev.mssc.productservice.domain.Product;
import ca.psdev.mssc.productservice.repo.ProductRepo;
import ca.psdev.mssc.productservice.web.model.ProductDto;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.restdocs.AutoConfigureRestDocs;
import org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframework.http.MediaType;
import org.springframework.restdocs.RestDocumentationExtension;
import org.springframework.restdocs.mockmvc.MockMvcRestDocumentation;
import org.springframework.restdocs.mockmvc.RestDocumentationRequestBuilders;
import org.springframework.test.web.servlet.MockMvc;
import java.util.Optional;
import java.util.UUID;
import static org.mockito.BDDMockito.given;
import static org.springframework.restdocs.request.RequestDocumentation.parameterWithName;
import static org.springframework.restdocs.request.RequestDocumentation.pathParameters;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
@AutoConfigureRestDocs(uriHost = "product-service-demo")
@ExtendWith(RestDocumentationExtension.class)
@WebMvcTest(ProductsController.class)
class ProductControllerTest {
@Autowired
MockMvc mockMvc;
@MockBean
private ProductRepo productRepo;
@Autowired
ObjectMapper objectMapper;
@Test
void shouldCompleteGetOperation() throws Exception {
UUID uuid = setupNewProductWithUUID();
mockMvc.perform(RestDocumentationRequestBuilders.get("/api/v1/products/{productId}", uuid)
.accept(MediaType.APPLICATION_JSON))
.andExpect(status().isOk())
.andDo(MockMvcRestDocumentation.document("v1/product-get", pathParameters(
parameterWithName("productId").description("Identifier of the product to retrieve")
)));
}
private UUID setupNewProductWithUUID() {
UUID uuid = UUID.randomUUID();
given(productRepo.findById(uuid)).willReturn(Optional.of(Product.builder().uuid(uuid).build()));
return uuid;
}
@Test
void create() throws Exception {
ProductDto product = ProductDto.builder().build();
String productJson = objectMapper.writeValueAsString(product);
mockMvc.perform(RestDocumentationRequestBuilders.post("/api/v1/products")
.contentType(MediaType.APPLICATION_JSON)
.content(productJson))
.andExpect(status().isCreated())
.andDo(MockMvcRestDocumentation.document("v1/product-post"));
}
@Test
void update() throws Exception {
UUID uuid = setupNewProductWithUUID();
ProductDto product = ProductDto.builder()
.uuid(uuid)
.name("Updated Demo")
.build();
String productJson = objectMapper.writeValueAsString(product);
mockMvc.perform(RestDocumentationRequestBuilders.put("/api/v1/products")
.contentType(MediaType.APPLICATION_JSON)
.content(productJson))
.andExpect(status().isOk())
.andDo(MockMvcRestDocumentation.document("v1/product-update"));
}
} | [
"nick.goupinets@gmail.com"
] | nick.goupinets@gmail.com |
6ef096f3509b8780c0794e49746906409a95dfe9 | b9f2e05e4da0f7c5f9a7a88c6378a49be3fe1173 | /Level_2_Intermediate_Garage/Lorry.java | afdd629e16805f82ee5d5c077ed394ac59eb31aa | [] | no_license | Masihm1/JAVA | 9d069ae0462d8b66bf511b6a593711a5545ec6f1 | 678d46c6e1f09f329d270723b43ee9e9b5a6a058 | refs/heads/master | 2020-03-22T03:54:40.702856 | 2018-07-04T07:56:25 | 2018-07-04T07:56:25 | 139,118,177 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 641 | java | package Level_2_Intermediate_Garage;
public class Lorry extends Vehicle
{
public int trailerSize;
public Lorry(String vehicleType, String colour, int amountWheels, int age, int trailerSize, String idPlate)
{
this.vehicleType = vehicleType;
this.colour = colour;
this.amountWheels = amountWheels;
this.age = age;
this.trailerSize = trailerSize;
this.idPlate = idPlate;
}
public int getTrailerSize()
{
return trailerSize;
}
public void setTrailerSize(int trailerSize)
{
this.trailerSize = trailerSize;
}
public String toString()
{
return super.toString() + ", Size of Trailer(m): " + this.trailerSize;
}
}
| [
"marcusmasih_1@hotmail.com"
] | marcusmasih_1@hotmail.com |
68dc8ac281d5fc6e921225d72213a7c090473898 | ca7da6499e839c5d12eb475abe019370d5dd557d | /spring-test/src/test/java/org/springframework/test/web/servlet/setup/StandaloneMockMvcBuilderTests.java | 4f75ea790293be4568ecd0e9ab5264ab34a84f23 | [
"Apache-2.0"
] | permissive | yangfancoming/spring-5.1.x | 19d423f96627636a01222ba747f951a0de83c7cd | db4c2cbcaf8ba58f43463eff865d46bdbd742064 | refs/heads/master | 2021-12-28T16:21:26.101946 | 2021-12-22T08:55:13 | 2021-12-22T08:55:13 | 194,103,586 | 0 | 1 | null | null | null | null | UTF-8 | Java | false | false | 5,482 | java |
package org.springframework.test.web.servlet.setup;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.fasterxml.jackson.databind.JsonSerializer;
import com.fasterxml.jackson.databind.ser.impl.UnknownSerializer;
import org.junit.Test;
import org.springframework.http.converter.json.SpringHandlerInstantiator;
import org.springframework.mock.web.test.MockHttpServletRequest;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.context.WebApplicationContext;
import org.springframework.web.context.support.WebApplicationContextUtils;
import org.springframework.web.filter.OncePerRequestFilter;
import org.springframework.web.method.HandlerMethod;
import org.springframework.web.servlet.HandlerExecutionChain;
import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping;
import static org.junit.Assert.*;
/**
* Tests for {@link StandaloneMockMvcBuilder}
*
*
* @author Rob Winch
* @author Sebastien Deleuze
*/
public class StandaloneMockMvcBuilderTests {
@Test // SPR-10825
public void placeHoldersInRequestMapping() throws Exception {
TestStandaloneMockMvcBuilder builder = new TestStandaloneMockMvcBuilder(new PlaceholderController());
builder.addPlaceholderValue("sys.login.ajax", "/foo");
builder.build();
RequestMappingHandlerMapping hm = builder.wac.getBean(RequestMappingHandlerMapping.class);
MockHttpServletRequest request = new MockHttpServletRequest("GET", "/foo");
HandlerExecutionChain chain = hm.getHandler(request);
assertNotNull(chain);
assertEquals("handleWithPlaceholders", ((HandlerMethod) chain.getHandler()).getMethod().getName());
}
@Test // SPR-13637
public void suffixPatternMatch() throws Exception {
TestStandaloneMockMvcBuilder builder = new TestStandaloneMockMvcBuilder(new PersonController());
builder.setUseSuffixPatternMatch(false);
builder.build();
RequestMappingHandlerMapping hm = builder.wac.getBean(RequestMappingHandlerMapping.class);
MockHttpServletRequest request = new MockHttpServletRequest("GET", "/persons");
HandlerExecutionChain chain = hm.getHandler(request);
assertNotNull(chain);
assertEquals("persons", ((HandlerMethod) chain.getHandler()).getMethod().getName());
request = new MockHttpServletRequest("GET", "/persons.xml");
chain = hm.getHandler(request);
assertNull(chain);
}
@Test // SPR-12553
public void applicationContextAttribute() {
TestStandaloneMockMvcBuilder builder = new TestStandaloneMockMvcBuilder(new PlaceholderController());
builder.addPlaceholderValue("sys.login.ajax", "/foo");
WebApplicationContext wac = builder.initWebAppContext();
assertEquals(wac, WebApplicationContextUtils.getRequiredWebApplicationContext(wac.getServletContext()));
}
@Test(expected = IllegalArgumentException.class)
public void addFiltersFiltersNull() {
StandaloneMockMvcBuilder builder = MockMvcBuilders.standaloneSetup(new PersonController());
builder.addFilters((Filter[]) null);
}
@Test(expected = IllegalArgumentException.class)
public void addFiltersFiltersContainsNull() {
StandaloneMockMvcBuilder builder = MockMvcBuilders.standaloneSetup(new PersonController());
builder.addFilters(new ContinueFilter(), (Filter) null);
}
@Test(expected = IllegalArgumentException.class)
public void addFilterPatternsNull() {
StandaloneMockMvcBuilder builder = MockMvcBuilders.standaloneSetup(new PersonController());
builder.addFilter(new ContinueFilter(), (String[]) null);
}
@Test(expected = IllegalArgumentException.class)
public void addFilterPatternContainsNull() {
StandaloneMockMvcBuilder builder = MockMvcBuilders.standaloneSetup(new PersonController());
builder.addFilter(new ContinueFilter(), (String) null);
}
@Test // SPR-13375
@SuppressWarnings("rawtypes")
public void springHandlerInstantiator() {
TestStandaloneMockMvcBuilder builder = new TestStandaloneMockMvcBuilder(new PersonController());
builder.build();
SpringHandlerInstantiator instantiator = new SpringHandlerInstantiator(builder.wac.getAutowireCapableBeanFactory());
JsonSerializer serializer = instantiator.serializerInstance(null, null, UnknownSerializer.class);
assertNotNull(serializer);
}
@Controller
private static class PlaceholderController {
@RequestMapping(value = "${sys.login.ajax}")
private void handleWithPlaceholders() { }
}
private static class TestStandaloneMockMvcBuilder extends StandaloneMockMvcBuilder {
private WebApplicationContext wac;
private TestStandaloneMockMvcBuilder(Object... controllers) {
super(controllers);
}
@Override
protected WebApplicationContext initWebAppContext() {
this.wac = super.initWebAppContext();
return this.wac;
}
}
@Controller
private static class PersonController {
@RequestMapping(value="/persons")
public String persons() {
return null;
}
@RequestMapping(value="/forward")
public String forward() {
return "forward:/persons";
}
}
private class ContinueFilter extends OncePerRequestFilter {
@Override
protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response,
FilterChain filterChain) throws ServletException, IOException {
filterChain.doFilter(request, response);
}
}
}
| [
"34465021+jwfl724168@users.noreply.github.com"
] | 34465021+jwfl724168@users.noreply.github.com |
a18ce35ef9bac64aa3cbd461d3a7a5edd3b14ad5 | 77518328ce573b52eb47d8ef6a310c048d37d298 | /toby-spring/src/main/java/com/example/demo/user/sqlservice/JaxbXmlSqlReader.java | 915586519927cafcb9aa18b4afd08421c2385f46 | [] | no_license | sauce1111/toby-spring-book | 0bb66b61fe8eaaf6875c076beee51ecd575a6ab9 | 66e6f013d3806b93287b255d732edec45b57fca7 | refs/heads/master | 2023-04-05T01:53:42.795536 | 2021-04-20T23:49:26 | 2021-04-20T23:49:26 | 353,521,515 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,275 | java | //package com.example.demo.user.sqlservice;
//
//import com.example.demo.user.repository.UserDao;
//import java.io.InputStream;
//import javax.xml.bind.JAXBContext;
//import javax.xml.bind.JAXBException;
//import javax.xml.bind.Unmarshaller;
//import javax.xml.bind.annotation.XmlType.DEFAULT;
//
//public class JaxbXmlSqlReader implements SqlReader {
//
// private static final String DEFAULT_SQLMAP_FIEL = "sqlmap.xml";
//
// private String sqlmapFile = DEFAULT_SQLMAP_FIEL;
//
// public void setSqlmapFile(String sqlmapFile) { this.sqlmapFile = sqlmapFile; }
//
// public void read(SqlRegistry sqlRegistry) {
// String contextPath = com.epril.sqlmap.Sqlmap.class.getPackage().getName();
// try {
// JAXBContext context = JAXBContext.newInstance(contextPath);
// Unmarshaller unmarshaller = context.createUnmarshaller();
// InputStream is = UserDao.class.getResourceAsStream(sqlmapFile);
// com.epril.sqlmap.Sqlmap sqlmap = (com.epril.sqlmap.Sqlmap)unmarshaller.unmarshal(is);
// for(SqlType sql : sqlmap.getSql()) {
// sqlRegistry.registerSql(sql.getKey(), sql.getValue());
// }
// } catch (JAXBException e) { throw new RuntimeException(e); }
// }
//
//}
| [
"sauce0127@gmail.com"
] | sauce0127@gmail.com |
38574b22555ab4fc42934533a2ced2bbde0e5490 | bfebf461a8ff3048632ae0e8a65de941a7242832 | /app/src/main/java/com/axpresslogistics/it2/axpresslogisticapp/adaptor/HRMS/AttendanceAdaptor.java | e992f904841aaa61607d5a81b222b38fd3c934ac | [] | no_license | anujkv/axpress-logistic-app | 980a99d2d01c06f81bf269941190e7c227ca1d3d | 58864fe1db48f0e0eb519e36e9b3420e489fbb86 | refs/heads/master | 2021-06-21T11:41:57.192707 | 2019-06-06T04:36:23 | 2019-06-06T04:36:23 | 134,665,349 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 19,045 | java | package com.axpresslogistics.it2.axpresslogisticapp.adaptor.HRMS;
import android.annotation.SuppressLint;
import android.app.Dialog;
import android.content.Context;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.support.annotation.NonNull;
import android.support.v7.widget.CardView;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.axpresslogistics.it2.axpresslogisticapp.R;
import com.axpresslogistics.it2.axpresslogisticapp.activities.HRMS.AttendanceSummaryActivity;
import com.axpresslogistics.it2.axpresslogisticapp.model.AttendanceModel;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
import java.util.Locale;
import static com.axpresslogistics.it2.axpresslogisticapp.R.color.colorPrimary;
public class AttendanceAdaptor extends RecyclerView.Adapter<AttendanceAdaptor.AttendanceHolder> {
Context context;
List<AttendanceModel> attendanceModelList;
AttendanceSummaryActivity summaryActivity;
Dialog dialog;
String outputText;
String getClickedDate;
public AttendanceAdaptor(Context context, List<AttendanceModel> attendanceModelList) {
this.context = context;
this.attendanceModelList = attendanceModelList;
}
public String convertDate_dd_MMM_yyyy(String date){
DateFormat outputFormat = new SimpleDateFormat("dd MMM yyyy", Locale.getDefault());
DateFormat inputFormat = new SimpleDateFormat("MM/dd/yyyy hh:mm:ss", Locale.getDefault());
Date date1 = null;
String finaldate;
try {
date1 = inputFormat.parse(date.trim());
} catch (ParseException e) {
e.printStackTrace();
}
finaldate = outputFormat.format(date1);
if (date1 != null) {
Log.e("Date1 : ",date1.toString());
}
Log.e("FinalOutput : ",finaldate);
return finaldate;
}
@NonNull
@Override
public AttendanceHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
View view = LayoutInflater.from(context).inflate(R.layout.attendance_summary_listview, parent,
false);
return new AttendanceHolder(view);
}
@SuppressLint("ResourceAsColor")
@Override
public void onBindViewHolder(@NonNull final AttendanceHolder holder, final int position) {
final AttendanceModel attendanceModel = attendanceModelList.get(position);
//date formate change...
if (!attendanceModel.getDate().isEmpty()) {
DateFormat outputFormat = new SimpleDateFormat("dd MMM", Locale.getDefault());
DateFormat inputFormat = new SimpleDateFormat("MM/dd/yyyy hh:mm:ss", Locale.getDefault());
Date date = null;
try {
date = inputFormat.parse(attendanceModel.getDate());
} catch (ParseException e) {
e.printStackTrace();
}
outputText = outputFormat.format(date);
holder.date.setText(outputText);
}
// holder.date.setText(attendanceModel.getDate());
//If Input date not found then show leave reason...
if(attendanceModel.getInTime().equals("") && attendanceModel.getOutTime().equals("")){
if(attendanceModel.getDayStatus().equals("S")){
holder.inTime.setText("Sunday");
holder.inTime.setTextColor(Color.parseColor("#F44336"));
holder.inTime.setTextSize(16);
holder.outTime.setVisibility(View.GONE);
// holder.leaveAppliedCardView.setBackgroundColor(Color.parseColor("#F44336"));
}
else if(attendanceModel.getDayStatus().equals("H")){
holder.inTime.setText(attendanceModel.getLeaveReason());
holder.inTime.setTextColor(Color.parseColor("#66ffe5"));
holder.inTime.setTextSize(16);
holder.outTime.setVisibility(View.GONE);
// holder.leaveAppliedCardView.setBackgroundColor(Color.parseColor("#66ffe5"));
}
else if(attendanceModel.getDayStatus().equals("A")){
holder.inTime.setText("Absent");
holder.inTime.setTextColor(Color.parseColor("#F44336"));
holder.inTime.setTextSize(16);
holder.outTime.setVisibility(View.GONE);
// holder.leaveAppliedCardView.setBackgroundColor(Color.parseColor("#F44336"));
}
else if(attendanceModel.getDayStatus().equals("L")){
if( attendanceModel.getApprovalFlag().equals("Approved")){
holder.inTime.setText(attendanceModel.getLeaveReason());
holder.inTime.setTextColor(Color.GREEN);
holder.leaveReason.setTextColor(Color.GREEN);
holder.inTime.setTextSize(16);
holder.leaveReason.setVisibility(View.VISIBLE);
// holder.leaveAppliedCardView.setBackgroundColor(Color.GREEN);
}else {
holder.inTime.setText("Absent");
holder.inTime.setTextColor(Color.parseColor("#66ffe5"));
holder.inTime.setTextSize(16);
holder.outTime.setVisibility(View.GONE);
// holder.leaveAppliedCardView.setBackgroundColor(Color.parseColor("#66ffe5"));
}
}
}
else {
if (attendanceModel.getOutTime().equals("00:00:00")) {
holder.inTime.setText(attendanceModel.getInTime());
holder.inTime.setVisibility(View.VISIBLE);
holder.inTime.setTextSize(14);
holder.outTime.setTextSize(14);
holder.outTime.setText("MIS");
holder.outTime.setVisibility(View.VISIBLE);
holder.leaveAppliedCardView.setBackgroundColor(Color.WHITE);
}
if (attendanceModel.getInTime().equals("00:00:00")) {
holder.outTime.setText(attendanceModel.getInTime());
holder.inTime.setTextSize(14);
holder.inTime.setText("MIS");
holder.inTime.setVisibility(View.VISIBLE);
holder.outTime.setVisibility(View.VISIBLE);
holder.leaveAppliedCardView.setBackgroundColor(Color.WHITE);
}
if (!attendanceModel.getOutTime().equals("00:00:00")
&& !attendanceModel.getInTime().equals("00:00:00")
&& !attendanceModel.getInTime().equals("")
&& !attendanceModel.getOutTime().equals("")) {
holder.inTime.setText(attendanceModel.getInTime());
holder.outTime.setText(attendanceModel.getOutTime());
holder.inTime.setTextSize(14);
holder.outTime.setTextSize(14);
holder.inTime.setVisibility(View.VISIBLE);
holder.outTime.setVisibility(View.VISIBLE);
holder.leaveAppliedCardView.setBackgroundColor(Color.WHITE);
}
}
// //set applied Date...
holder.appliedDate.setText(attendanceModel.getAppliedDate());
holder.pinNo.setText(attendanceModel.getPinNo());
holder.leavetype.setText(attendanceModel.getLeavetype());
holder.dayStatus.setText(attendanceModel.getDayStatus());
dialog = new Dialog(context);
dialog.setContentView(R.layout.attendance_summary_popup);
dialog.getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT));
holder.leaveAppliedCardView.setOnClickListener(new View.OnClickListener() {
@SuppressLint("ResourceAsColor")
@Override
public void onClick(View v) {
TextView txt_leaveType, txt_clickedDate, txt_leaveReason, txt_fromDate, txt_toDate, txt_leaveStatus,
txt_totalDays, txt_appliedDate,leaveType,leaveReason,fromDate,toDate,leaveStatus,
totalDays,appliedDate;
txt_leaveType = dialog.findViewById(R.id.txtleaveType);
txt_clickedDate = dialog.findViewById(R.id.txtclickedDate);
txt_leaveReason = dialog.findViewById(R.id.txtleaveReason);
txt_fromDate = dialog.findViewById(R.id.txtfromDate);
txt_toDate = dialog.findViewById(R.id.txttoDate);
txt_leaveStatus = dialog.findViewById(R.id.txtleaveStatus);
txt_totalDays = dialog.findViewById(R.id.txttotalDays);
txt_appliedDate = dialog.findViewById(R.id.txtappliedDate);
leaveType = dialog.findViewById(R.id.leaveType);
leaveReason = dialog.findViewById(R.id.leaveReason);
fromDate = dialog.findViewById(R.id.fromDate);
toDate = dialog.findViewById(R.id.toDate);
leaveStatus = dialog.findViewById(R.id.leaveStatus);
totalDays = dialog.findViewById(R.id.totalDays);
appliedDate = dialog.findViewById(R.id.appliedDate);
if (attendanceModel.getDayStatus().equals("P")){
if(attendanceModel.getDayStatus().equals("P")){
leaveType.setVisibility(View.VISIBLE);
txt_leaveType.setTextSize(12);
txt_leaveType.setTextColor(Color.DKGRAY);
fromDate.setVisibility(View.VISIBLE);
txt_fromDate.setVisibility(View.VISIBLE);
toDate.setVisibility(View.VISIBLE);
txt_toDate.setVisibility(View.VISIBLE);
txt_clickedDate.setBackgroundColor(Color.YELLOW);
txt_clickedDate.setTextColor(Color.BLACK);
txt_clickedDate.setText(convertDate_dd_MMM_yyyy(attendanceModel.getDate()));
leaveType.setText("Attendance");
txt_leaveType.setText("Present");
txt_leaveType.setTextAlignment(View.TEXT_ALIGNMENT_TEXT_START);
fromDate.setText("In Time");
txt_fromDate.setText(attendanceModel.getInTime());
toDate.setText("Out Time");
txt_toDate.setText(attendanceModel.getOutTime());
leaveReason.setVisibility(View.GONE);
txt_leaveReason.setVisibility(View.GONE);
leaveStatus.setVisibility(View.GONE);
txt_leaveStatus.setVisibility(View.GONE);
totalDays.setVisibility(View.GONE);
txt_totalDays.setVisibility(View.GONE);
appliedDate.setVisibility(View.GONE);
txt_appliedDate.setVisibility(View.GONE);
}
}else if(attendanceModel.getDayStatus().equals("L")){
leaveType.setVisibility(View.VISIBLE);
txt_leaveType.setTextSize(12);
txt_leaveType.setTextColor(Color.DKGRAY);
fromDate.setVisibility(View.VISIBLE);
txt_fromDate.setVisibility(View.VISIBLE);
toDate.setVisibility(View.VISIBLE);
txt_toDate.setVisibility(View.VISIBLE);
txt_leaveStatus.setVisibility(View.VISIBLE);
leaveStatus.setVisibility(View.VISIBLE);
txt_totalDays.setVisibility(View.VISIBLE);
totalDays.setVisibility(View.VISIBLE);
txt_appliedDate.setVisibility(View.VISIBLE);
appliedDate.setVisibility(View.VISIBLE);
txt_clickedDate.setBackgroundColor(Color.GREEN);
txt_clickedDate.setTextAlignment(View.TEXT_ALIGNMENT_CENTER);
txt_clickedDate.setTextColor(Color.WHITE);
txt_clickedDate.setText(convertDate_dd_MMM_yyyy(attendanceModel.getDate()));
txt_leaveReason.setText(attendanceModel.getLeaveReason());
txt_leaveType.setText(attendanceModel.getLeavetype());
txt_leaveType.setTextAlignment(View.TEXT_ALIGNMENT_TEXT_START);
txt_fromDate.setVisibility(View.VISIBLE);
txt_fromDate.setText(attendanceModel.getInTime());
txt_toDate.setVisibility(View.VISIBLE);
txt_toDate.setText(attendanceModel.getOutTime());
txt_leaveStatus.setVisibility(View.VISIBLE);
txt_leaveStatus.setText(attendanceModel.getApprovalFlag());
txt_totalDays.setText(attendanceModel.getDayStatus());
txt_appliedDate.setText(attendanceModel.getAppliedDate());
}else if (attendanceModel.getDayStatus().equals("A") ||
attendanceModel.getDayStatus().equals("S")){
if(attendanceModel.getDayStatus().equals("A")){
txt_clickedDate.setBackgroundColor(colorPrimary);
txt_clickedDate.setTextAlignment(View.TEXT_ALIGNMENT_CENTER);
txt_clickedDate.setTextColor(Color.WHITE);
txt_clickedDate.setText(convertDate_dd_MMM_yyyy(attendanceModel.getDate()));
leaveType.setVisibility(View.GONE);
txt_leaveType.setText("Absent");
txt_leaveType.setTextAlignment(View.TEXT_ALIGNMENT_CENTER);
txt_leaveType.setTextSize(16);
txt_leaveType.setTextColor(colorPrimary);
fromDate.setVisibility(View.GONE);
txt_fromDate.setVisibility(View.GONE);
toDate.setVisibility(View.GONE);
txt_toDate.setVisibility(View.GONE);
leaveReason.setVisibility(View.GONE);
txt_leaveReason.setVisibility(View.GONE);
leaveStatus.setVisibility(View.GONE);
txt_leaveStatus.setVisibility(View.GONE);
totalDays.setVisibility(View.GONE);
txt_totalDays.setVisibility(View.GONE);
appliedDate.setVisibility(View.GONE);
txt_appliedDate.setVisibility(View.GONE);
}else if(attendanceModel.getDayStatus().equals("S") &&
attendanceModel.getInTime().equals("")){
// txt_clickedDate.setBackgroundColor(Color.RED);
txt_clickedDate.setBackgroundColor(colorPrimary);
txt_clickedDate.setTextColor(Color.WHITE);
txt_clickedDate.setText(convertDate_dd_MMM_yyyy(attendanceModel.getDate()));
leaveType.setVisibility(View.GONE);
txt_leaveType.setText("Sunday");
txt_leaveType.setTextAlignment(View.TEXT_ALIGNMENT_CENTER);
txt_leaveType.setTextSize(16);
txt_leaveType.setTextColor(colorPrimary);
fromDate.setVisibility(View.GONE);
txt_fromDate.setVisibility(View.GONE);
toDate.setVisibility(View.GONE);
txt_toDate.setVisibility(View.GONE);
leaveReason.setVisibility(View.GONE);
txt_leaveReason.setVisibility(View.GONE);
leaveStatus.setVisibility(View.GONE);
txt_leaveStatus.setVisibility(View.GONE);
totalDays.setVisibility(View.GONE);
txt_totalDays.setVisibility(View.GONE);
appliedDate.setVisibility(View.GONE);
txt_appliedDate.setVisibility(View.GONE);
}else if (attendanceModel.getDayStatus().equals("S") &&
(!attendanceModel.getInTime().equals(""))){
leaveType.setVisibility(View.VISIBLE);
txt_leaveType.setTextSize(14);
txt_leaveType.setTextColor(Color.BLACK);
fromDate.setVisibility(View.VISIBLE);
txt_fromDate.setVisibility(View.VISIBLE);
toDate.setVisibility(View.VISIBLE);
txt_toDate.setVisibility(View.VISIBLE);
txt_clickedDate.setBackgroundColor(Color.YELLOW);
txt_clickedDate.setTextColor(Color.BLACK);
txt_clickedDate.setText(convertDate_dd_MMM_yyyy(attendanceModel.getDate()));
leaveType.setText("Attendance");
txt_leaveType.setText("Present");
fromDate.setText("In Time");
txt_fromDate.setText(attendanceModel.getInTime());
toDate.setText("Out Time");
txt_toDate.setText(attendanceModel.getOutTime());
leaveReason.setVisibility(View.GONE);
txt_leaveReason.setVisibility(View.GONE);
leaveStatus.setText("Day");
txt_leaveStatus.setText("Sunday");
totalDays.setVisibility(View.GONE);
txt_totalDays.setVisibility(View.GONE);
appliedDate.setVisibility(View.GONE);
txt_appliedDate.setVisibility(View.GONE);
}
}
dialog.show();
}
});
}
@Override
public int getItemCount() {
return attendanceModelList.size();
}
public class AttendanceHolder extends RecyclerView.ViewHolder {
TextView date,inTime,outTime,leaveReason,approvalFlag,appliedDate,pinNo,dayStatus,leavetype;
CardView leaveAppliedCardView;
public AttendanceHolder(View itemView) {
super(itemView);
date = itemView.findViewById(R.id.txt_date);
inTime =itemView.findViewById(R.id.txtInTime);
outTime = itemView.findViewById(R.id.txtOutTime);
leaveReason = itemView.findViewById(R.id.txtLeaveReason);
approvalFlag =itemView.findViewById(R.id.txtApprovedStatus);
appliedDate = itemView.findViewById(R.id.txtLeaveAppliedDate);
pinNo = itemView.findViewById(R.id.txtpin_no);
dayStatus =itemView.findViewById(R.id.txtDayStatus);
leavetype = itemView.findViewById(R.id.days);
leaveAppliedCardView = itemView.findViewById(R.id.attSummaryCardView);
}
}
}
| [
"anujkrvaish@gmail.com"
] | anujkrvaish@gmail.com |
b049818ffb447c4648476f8c2526039455c71826 | 4f4c8e79f78c2e9a388d4680648021df5a28faf8 | /shardingsphere-infra/shardingsphere-infra-common/src/test/java/org/apache/shardingsphere/infra/metadata/refresh/AbstractMetaDataRefreshStrategyTest.java | 9d78a14d8fd61d33c5b1ede9527493059cf99586 | [
"Apache-2.0"
] | permissive | tr7zw/shardingsphere | 6aa34221d6eac945ce7110396dad8bff506ea541 | 61fb19d54071592f0e4e70ea78bc7cd33ff8d1df | refs/heads/master | 2022-12-28T23:31:26.052861 | 2020-10-12T08:19:42 | 2020-10-12T08:19:42 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,343 | java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.shardingsphere.infra.metadata.refresh;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Lists;
import lombok.Getter;
import org.apache.shardingsphere.infra.metadata.ShardingSphereMetaData;
import org.apache.shardingsphere.infra.metadata.datasource.CachedDatabaseMetaData;
import org.apache.shardingsphere.infra.metadata.schema.RuleSchemaMetaData;
import org.apache.shardingsphere.infra.binder.metadata.column.ColumnMetaData;
import org.apache.shardingsphere.infra.binder.metadata.index.IndexMetaData;
import org.apache.shardingsphere.infra.binder.metadata.schema.SchemaMetaData;
import org.apache.shardingsphere.infra.binder.metadata.table.TableMetaData;
import org.junit.Before;
import java.util.Collections;
import static org.mockito.Mockito.mock;
@Getter
public abstract class AbstractMetaDataRefreshStrategyTest {
private ShardingSphereMetaData metaData;
@Before
public void setUp() {
metaData = buildMetaData();
}
private ShardingSphereMetaData buildMetaData() {
SchemaMetaData schemaMetaData = new SchemaMetaData(ImmutableMap.of(
"t_order", new TableMetaData(Collections.singletonList(new ColumnMetaData("order_id", 1, "String", false, false, false)), Collections.singletonList(new IndexMetaData("index")))));
return new ShardingSphereMetaData(null, new RuleSchemaMetaData(schemaMetaData, ImmutableMap.of("t_order_item", Lists.newArrayList("t_order_item"))), mock(CachedDatabaseMetaData.class));
}
}
| [
"noreply@github.com"
] | noreply@github.com |
cc5f8a5ef116b120344375a522ffc0477f92618d | 1f79408651b42713fc56d98971be2d1ce899ccb9 | /platform/com.netifera.platform.net.packets/com.netifera.platform.net.daemon.sniffing/src/com/netifera/platform/net/internal/daemon/remote/CancelCaptureFile.java | 0f559fbd64e1ca202d5883f0226662e18fd6dabd | [] | no_license | ne0ke718/netifera | 1ef18e3f57310090941e3761e926742cc6f08bd7 | 17f1ea540973016925cb8a15caabc41da9a8f8f8 | refs/heads/master | 2021-05-26T18:23:54.276131 | 2010-03-10T06:46:52 | 2010-03-10T06:46:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 367 | java | package com.netifera.platform.net.internal.daemon.remote;
import com.netifera.platform.api.dispatcher.ProbeMessage;
public class CancelCaptureFile extends ProbeMessage {
private static final long serialVersionUID = 3525556017068724188L;
public final static String ID = "CancelCaptureFile";
public CancelCaptureFile(String prefix) {
super(prefix + ID);
}
}
| [
"bruce@netifera.com"
] | bruce@netifera.com |
e015d6cd47476dfed4f72bfaaab9b925b38505ec | cfc60fc1148916c0a1c9b421543e02f8cdf31549 | /src/testcases/CWE257_Storing_Password_Recoverable_Format/CWE257_Storing_Password_Recoverable_Format__Servlet_fromDB_61b.java | 384683f4eae528d03b790e05d5864e6ce560b48e | [
"LicenseRef-scancode-public-domain"
] | permissive | zhujinhua/GitFun | c77c8c08e89e61006f7bdbc5dd175e5d8bce8bd2 | 987f72fdccf871ece67f2240eea90e8c1971d183 | refs/heads/master | 2021-01-18T05:46:03.351267 | 2012-09-11T16:43:44 | 2012-09-11T16:43:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 7,388 | java | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE257_Storing_Password_Recoverable_Format__Servlet_fromDB_61b.java
Label Definition File: CWE257_Storing_Password_Recoverable_Format__Servlet.label.xml
Template File: sources-sinks-61b.tmpl.java
*/
/*
* @description
* CWE: 257 Storing passwords in a recoverable format
* BadSource: fromDB Read a string from a database connection
* GoodSource: A hardcoded string
* Sinks:
* GoodSink: one-way hash instead of symmetric crypto
* BadSink : symmetric encryption with an easy key
* Flow Variant: 61 Data flow: data returned from one method to another in different classes in the same package
*
* */
package testcases.CWE257_Storing_Password_Recoverable_Format;
import testcasesupport.*;
import java.sql.*;
import java.io.*;
import javax.servlet.http.*;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
import java.util.logging.Logger;
public class CWE257_Storing_Password_Recoverable_Format__Servlet_fromDB_61b
{
public String bad_source(HttpServletRequest request, HttpServletResponse response) throws Throwable
{
String data;
Logger log_bad = Logger.getLogger("local-logger");
data = ""; /* init data */
Connection conn = null;
PreparedStatement statement = null;
ResultSet rs = null;
BufferedReader buffread = null;
InputStreamReader instrread = null;
try {
/* setup the connection */
conn = IO.getDBConnection();
/* prepare the query */
statement = conn.prepareStatement("select name from users where id=?");
/* get user input for the userid */
IO.writeLine("Enter a userid to login as (number): ");
instrread = new InputStreamReader(System.in);
buffread = new BufferedReader(instrread);
int num = Integer.parseInt(buffread.readLine());
statement.setInt(1, num);
rs = statement.executeQuery();
data = rs.getString(1);
}
catch( IOException ioe )
{
log_bad.warning("Error with stream reading");
}
finally {
/* clean up stream reading objects */
try {
if( buffread != null )
{
buffread.close();
}
}
catch( IOException ioe )
{
log_bad.warning("Error closing buffread");
}
finally {
try {
if( instrread != null )
{
instrread.close();
}
}
catch( IOException ioe )
{
log_bad.warning("Error closing instrread");
}
}
/* clean up database objects */
try {
if( rs != null )
{
rs.close();
}
}
catch( SQLException se )
{
log_bad.warning("Error closing rs");
}
finally {
try {
if( statement != null )
{
statement.close();
}
}
catch( SQLException se )
{
log_bad.warning("Error closing statement");
}
finally {
try {
if( conn != null )
{
conn.close();
}
}
catch( SQLException se)
{
log_bad.warning("Error closing conn");
}
}
}
}
return data;
}
/* goodG2B() - use goodsource and badsink */
public String goodG2B_source(HttpServletRequest request, HttpServletResponse response) throws Throwable
{
String data;
java.util.logging.Logger log_good = java.util.logging.Logger.getLogger("local-logger");
/* FIX: Use a hardcoded string */
data = "foo";
return data;
}
/* goodB2G() - use badsource and goodsink */
public String goodB2G_source(HttpServletRequest request, HttpServletResponse response) throws Throwable
{
String data;
Logger log_bad = Logger.getLogger("local-logger");
data = ""; /* init data */
Connection conn = null;
PreparedStatement statement = null;
ResultSet rs = null;
BufferedReader buffread = null;
InputStreamReader instrread = null;
try {
/* setup the connection */
conn = IO.getDBConnection();
/* prepare the query */
statement = conn.prepareStatement("select name from users where id=?");
/* get user input for the userid */
IO.writeLine("Enter a userid to login as (number): ");
instrread = new InputStreamReader(System.in);
buffread = new BufferedReader(instrread);
int num = Integer.parseInt(buffread.readLine());
statement.setInt(1, num);
rs = statement.executeQuery();
data = rs.getString(1);
}
catch( IOException ioe )
{
log_bad.warning("Error with stream reading");
}
finally {
/* clean up stream reading objects */
try {
if( buffread != null )
{
buffread.close();
}
}
catch( IOException ioe )
{
log_bad.warning("Error closing buffread");
}
finally {
try {
if( instrread != null )
{
instrread.close();
}
}
catch( IOException ioe )
{
log_bad.warning("Error closing instrread");
}
}
/* clean up database objects */
try {
if( rs != null )
{
rs.close();
}
}
catch( SQLException se )
{
log_bad.warning("Error closing rs");
}
finally {
try {
if( statement != null )
{
statement.close();
}
}
catch( SQLException se )
{
log_bad.warning("Error closing statement");
}
finally {
try {
if( conn != null )
{
conn.close();
}
}
catch( SQLException se)
{
log_bad.warning("Error closing conn");
}
}
}
}
return data;
}
}
| [
"amitf@chackmarx.com"
] | amitf@chackmarx.com |
c7135b04f094ea0740ffcd6d3f4e0bbf317bd0f5 | 3f768301371331b00a3ffdd9c78d1309b48c9346 | /src/main/java/ua/training/vehicle_fleet/exception/IncorrectInputException.java | a5f7d47239159ca8aedd6a7e4c72158aa41bbae7 | [] | no_license | OlenaOrel/VehicleFleet_spring | 465525e0c16be0b334ba8e082a92848b4f7c84e7 | 2c1c47da665de039d732b8e2370e6f3fc257a17b | refs/heads/master | 2020-11-29T11:00:41.446364 | 2020-02-23T17:55:57 | 2020-02-23T17:55:57 | 230,098,237 | 0 | 0 | null | 2020-06-30T13:17:19 | 2019-12-25T12:12:52 | Java | UTF-8 | Java | false | false | 189 | java | package ua.training.vehicle_fleet.exception;
public class IncorrectInputException extends Exception {
public IncorrectInputException(String message) {
super(message);
}
}
| [
"="
] | = |
7ddba64572ab439d7f5df2b2acc49864c4d9074f | 2342cb0e7af76bca7de76cd570efd0b8484b61ea | /venus-commons/venus-common-exception/src/main/java/com/meidusa/venus/exception/ServiceUnavailableException.java | 536d43f68a5f1b5438d9a83ceefdfde8e50424e9 | [
"Apache-2.0"
] | permissive | zjpjohn/venus | a3e756943e8382ee6df9db87a2a15177f72bfb13 | a50325d79cd49914222f0aa1200dd32240cd534d | refs/heads/master | 2021-01-13T03:57:31.093077 | 2016-08-02T07:41:03 | 2016-08-02T07:41:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 648 | java | /**
*
*/
package com.meidusa.venus.exception;
import com.meidusa.venus.annotations.RemoteException;
/**
* thrown when service not available.
*
* @author Sun Ning
* @since 2010-3-16
*/
@RemoteException(errorCode=VenusExceptionCodeConstant.SERVICE_UNAVAILABLE_EXCEPTION)
public class ServiceUnavailableException extends AbstractVenusException {
private static final long serialVersionUID = 1L;
public ServiceUnavailableException(String msg) {
super("ServiceUnavailableException:" + msg);
}
@Override
public int getErrorCode() {
return VenusExceptionCodeConstant.SERVICE_UNAVAILABLE_EXCEPTION;
}
}
| [
"huawei@chexiang.com"
] | huawei@chexiang.com |
53fcd19e8de8938ba44e7eb29bf434c7f37e0d8c | 4fdd14a3de40e66b4d15245dc056d666a551da7f | /OrientadoObjetos/src/Coche/OO_Coches.java | b2ca357415f35b55e85f958a7db517fec9527b32 | [] | no_license | ScarletRyu/OrientadoObjetos | 3d157b9630b0c66163be0d1a1ce20c30a5a238d2 | 7b4925303168622016792f1a98e395f615dadeba | refs/heads/master | 2020-04-08T12:09:45.129255 | 2018-12-14T10:32:57 | 2018-12-14T10:32:57 | 159,335,310 | 0 | 0 | null | null | null | null | ISO-8859-1 | Java | false | false | 1,099 | java | package Coche;
public class OO_Coches {
private String matricula;
private String marca;
private String modelo;
private int Km;
//GETTERS AND SETTERS
public String getMatricula() {
return matricula;
}
public void setMatricula(String matricula) {
this.matricula = matricula;
}
public String getMarca() {
return marca;
}
public void setMarca(String marca) {
this.marca = marca;
}
public String getModelo() {
return modelo;
}
public void setModelo(String modelo) {
this.modelo = modelo;
}
public int getKm() {
return Km;
}
public void setKm(int km) {
this.Km = km;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("\nMatrรญcula: ");
sb.append(matricula);
sb.append("\nMarca: ");
sb.append(marca);
sb.append("\nModelo: ");
sb.append(modelo);
sb.append("\nKm: ");
sb.append(Km);
return sb.toString();
}
}
| [
"ik013043z1@hz341928-206-03.H013043.NET"
] | ik013043z1@hz341928-206-03.H013043.NET |
ff6fb342c2261c3a8cc54123b0580590d55159ba | 90c093f59ba5e001f778ecf7beaacd6185c464d0 | /src/com/eviware/x/dialogs/XDialogs.java | 0f2ac407ced2e26a377f8d68b535bbf2cf7e7c05 | [
"MIT"
] | permissive | juozasg/suis4j | b8c74811843cc9dfb16b3ee07fccfd7c1230f091 | 1c9f24bfc5ca98fd32882feb76c6e90440e1bcf0 | refs/heads/master | 2020-03-08T05:39:16.180735 | 2018-04-10T21:57:32 | 2018-04-10T21:57:32 | 127,952,899 | 0 | 0 | MIT | 2018-04-03T18:40:49 | 2018-04-03T18:40:49 | null | UTF-8 | Java | false | false | 2,121 | java | /*
* SoapUI, Copyright (C) 2004-2016 SmartBear Software
*
* Licensed under the EUPL, Version 1.1 or - as soon as they will be approved by the European Commission - subsequen
* versions of the EUPL (the "Licence");
* You may not use this work except in compliance with the Licence.
* You may obtain a copy of the Licence at:
*
* http://ec.europa.eu/idabc/eupl
*
* Unless required by applicable law or agreed to in writing, software distributed under the Licence is
* distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the Licence for the specific language governing permissions and limitations
* under the Licence.
*/
package com.eviware.x.dialogs;
import java.awt.Component;
import java.awt.Dimension;
/**
* @author Lars
*/
public interface XDialogs {
void showErrorMessage(String message);
void showInfoMessage(String message);
void showInfoMessage(String message, String title);
void showExtendedInfo(String title, String description, String content, Dimension size);
boolean confirm(String question, String title);
boolean confirm(String question, String title, Component parent);
Boolean confirmOrCancel(String question, String title);
int yesYesToAllOrNo(String question, String title);
String prompt(String question, String title, String value);
String prompt(String question, String title);
Object prompt(String question, String title, Object[] objects);
Object prompt(String question, String title, Object[] objects, String value);
char[] promptPassword(String question, String title);
XProgressDialog createProgressDialog(String label, int length, String initialValue, boolean canCancel);
boolean confirmExtendedInfo(String title, String description, String content, Dimension size);
Boolean confirmOrCancleExtendedInfo(String title, String description, String content, Dimension size);
String selectXPath(String title, String info, String xml, String xpath);
String selectJsonPath(String title, String info, String json, String jsonPath);
}
| [
"juozasgaigalas@gmail.com"
] | juozasgaigalas@gmail.com |
b9477aec7935eeb82978fad6ec1f091f988fc67a | 94c15f8b5371de8f34f33ea839ada72ae0ba15e5 | /src/main/java/com/rabobank/statementprocessor/process/Command.java | 1e7862015c8782956fcb78f5510904bb35542232 | [
"Apache-2.0"
] | permissive | selvapuram/statementprocessor | 1bcd0e83ecd52040cc6c41183001efaa0cb56ab6 | c97cff803a9e9c88c52fe01c1e932bb3dbcc4a11 | refs/heads/master | 2021-06-17T17:36:53.315988 | 2019-10-04T10:39:48 | 2019-10-04T10:39:57 | 200,218,659 | 0 | 0 | Apache-2.0 | 2021-04-26T19:23:07 | 2019-08-02T10:50:53 | Java | UTF-8 | Java | false | false | 478 | java | package com.rabobank.statementprocessor.process;
import lombok.Getter;
public enum Command {
ADD('+') {
@Override
public double execute(double a, double b) {
return a + b;
}
},
SUBTRACT('-') {
@Override
public double execute(double a, double b) {
return a - b;
}
};
@Getter
private char operation;
public abstract double execute(double a, double b);
Command(final char operation) {
this.operation = operation;
}
}
| [
"madhankumar@skava.com"
] | madhankumar@skava.com |
9a1b780f1318697f2076a18c464ec5ab81a0fa58 | 25ba01b403f7c7f872344a76f93d11b8fc370eec | /src/main/java/com/higoramorim/cursomc/services/exceptions/ObjectNotFoundException.java | 4b11ad9aadf4de655defeb7604f723c355209f20 | [] | no_license | higoramorim/loja-completa-spring | 986d151c2f661b6aac4567731fe05c798d619846 | 7dccd2d0c414af3a1714f944f246cd1c711a697e | refs/heads/master | 2023-05-21T03:27:20.407687 | 2021-06-12T23:34:19 | 2021-06-12T23:34:19 | 367,965,829 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 323 | java | package com.higoramorim.cursomc.services.exceptions;
public class ObjectNotFoundException extends RuntimeException{
private static final long serialVersionUID = 1L;
public ObjectNotFoundException(String msg) {
super(msg);
}
public ObjectNotFoundException(String msg, Throwable cause) {
super(msg, cause);
}
}
| [
"1810042@aluno.univesp.br"
] | 1810042@aluno.univesp.br |
492ca1546e57904d51b91a7265554ee2d26f04b8 | 283f2ca1427dd0e2dc11bfcb3546e29cced4e9bd | /weechat-android/src/main/java/com/ubergeek42/WeechatAndroid/fragments/BufferListFragment.java | 1214b8133acf1e56302f63f1857a32450934a64d | [
"Apache-2.0"
] | permissive | PomepuyN/weechat-android | 5feebc5dd776bdaefbe78f0eb530e1ac8520536f | 6f117b3f8377cec27b411c30da5766527ced1006 | refs/heads/master | 2021-01-15T19:23:52.491123 | 2014-08-15T18:17:45 | 2014-08-15T18:17:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 9,774 | java | package com.ubergeek42.WeechatAndroid.fragments;
import java.util.ArrayList;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import android.app.Activity;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.content.SharedPreferences;
import android.content.SharedPreferences.OnSharedPreferenceChangeListener;
import android.os.Bundle;
import android.os.IBinder;
import android.preference.PreferenceManager;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.EditText;
import android.widget.ListView;
import com.actionbarsherlock.app.SherlockListFragment;
import com.ubergeek42.WeechatAndroid.BufferListAdapter;
import com.ubergeek42.WeechatAndroid.R;
import com.ubergeek42.WeechatAndroid.service.RelayService;
import com.ubergeek42.WeechatAndroid.service.RelayServiceBinder;
import com.ubergeek42.weechat.Buffer;
import com.ubergeek42.weechat.relay.RelayConnectionHandler;
import com.ubergeek42.weechat.relay.messagehandler.BufferManager;
import com.ubergeek42.weechat.relay.messagehandler.BufferManagerObserver;
import com.ubergeek42.weechat.relay.protocol.RelayObject;
public class BufferListFragment extends SherlockListFragment implements RelayConnectionHandler,
BufferManagerObserver, OnSharedPreferenceChangeListener {
private static Logger logger = LoggerFactory.getLogger(BufferListFragment.class);
private static final String[] message = { "Press Menu->Connect to get started" };
private boolean mBound = false;
private RelayServiceBinder rsb;
private BufferListAdapter m_adapter;
OnBufferSelectedListener mCallback;
private BufferManager bufferManager;
// Used for filtering the list of buffers displayed
private EditText bufferlistFilter;
private SharedPreferences prefs;
private boolean enableBufferSorting;
private boolean hideServerBuffers;
// Are we attached to an activity?
private boolean attached;
// The container Activity must implement this interface so the frag can deliver messages
public interface OnBufferSelectedListener {
/**
* Called by BufferlistFragment when a list item is selected
*
* @param fullBufferName
*/
public void onBufferSelected(String fullBufferName);
}
@Override
public void onAttach(Activity activity) {
super.onAttach(activity);
logger.debug("BufferListFragment onAttach called");
// This makes sure that the container activity has implemented
// the callback interface. If not, it throws an exception.
try {
mCallback = (OnBufferSelectedListener) activity;
} catch (ClassCastException e) {
throw new ClassCastException(activity.toString()
+ " must implement OnBufferSelectedListener");
}
}
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
View v = inflater.inflate(R.layout.bufferlist, null);
bufferlistFilter = (EditText) v.findViewById(R.id.bufferlist_filter);
bufferlistFilter.addTextChangedListener(filterTextWatcher);
if (prefs.getBoolean("show_buffer_filter", false)) {
bufferlistFilter.setVisibility(View.VISIBLE);
} else {
bufferlistFilter.setVisibility(View.GONE);
}
return v;
}
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setRetainInstance(true);
setListAdapter(new ArrayAdapter<String>(getActivity(), R.layout.tips_list_item, message));
prefs = PreferenceManager.getDefaultSharedPreferences(getActivity().getBaseContext());
prefs.registerOnSharedPreferenceChangeListener(this);
enableBufferSorting = prefs.getBoolean("sort_buffers", true);
hideServerBuffers = prefs.getBoolean("hide_server_buffers", true);
// TODO ondestroy: bufferlistFilter.removeTextChangedListener(filterTextWatcher);
}
@Override
public void onStart() {
super.onStart();
// Bind to the Relay Service
if (mBound == false) {
getActivity().bindService(new Intent(getActivity(), RelayService.class), mConnection,
Context.BIND_AUTO_CREATE);
}
attached = true;
}
@Override
public void onStop() {
super.onStop();
attached = false;
if (mBound) {
rsb.removeRelayConnectionHandler(BufferListFragment.this);
getActivity().unbindService(mConnection);
mBound = false;
}
}
ServiceConnection mConnection = new ServiceConnection() {
@Override
public void onServiceConnected(ComponentName name, IBinder service) {
rsb = (RelayServiceBinder) service;
rsb.addRelayConnectionHandler(BufferListFragment.this);
mBound = true;
if (rsb.isConnected()) {
BufferListFragment.this.onConnect();
}
}
@Override
public void onServiceDisconnected(ComponentName name) {
bufferManager.clearOnChangedHandler();
mBound = false;
rsb = null;
}
};
@Override
public void onListItemClick(ListView l, View v, int position, long id) {
Object obj = getListView().getItemAtPosition(position);
if (obj instanceof Buffer) {
// Get the buffer they clicked
Buffer b = (Buffer) obj;
// Tell our parent to load the buffer
mCallback.onBufferSelected(b.getFullName());
}
}
@Override
public void onConnecting() {
}
@Override
public void onConnect() {
if (rsb != null && rsb.isConnected()) {
// Create and update the buffer list when we connect to the service
m_adapter = new BufferListAdapter(getActivity());
bufferManager = rsb.getBufferManager();
m_adapter.setBuffers(bufferManager.getBuffers());
bufferManager.setOnChangedHandler(BufferListFragment.this);
m_adapter.enableSorting(prefs.getBoolean("sort_buffers", true));
getActivity().runOnUiThread(new Runnable() {
@Override
public void run() {
setListAdapter(m_adapter);
}
});
onBuffersChanged();
}
}
@Override
public void onAuthenticated() {
}
@Override
public void onDisconnect() {
// Create and update the buffer list when we connect to the service
Activity act = getActivity();
if (act != null) {
act.runOnUiThread(new Runnable() {
@Override
public void run() {
setListAdapter(new ArrayAdapter<String>(getActivity(), R.layout.tips_list_item,
message));
}
});
}
}
@Override
public void onError(String err, Object extraInfo) {
// We don't do anything with the error message(the activity/service does though)
}
@Override
public void onBuffersChanged() {
// Need to make sure we are attached to an activity, otherwise getActivity can be null
if (!attached) {
return;
}
getActivity().runOnUiThread(new Runnable() {
@Override
public void run() {
ArrayList<Buffer> buffers;
buffers = bufferManager.getBuffers();
// Remove server buffers(if unwanted)
if (hideServerBuffers) {
ArrayList<Buffer> newBuffers = new ArrayList<Buffer>();
for (Buffer b : buffers) {
RelayObject relayobj = b.getLocalVar("type");
if (relayobj != null && relayobj.asString().equals("server")) {
continue;
}
newBuffers.add(b);
}
buffers = newBuffers;
}
m_adapter.setBuffers(buffers);
}
});
}
@Override
public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) {
if (key.equals("sort_buffers")) {
if (m_adapter != null)
m_adapter.enableSorting(prefs.getBoolean("sort_buffers", true));
} else if (key.equals("hide_server_buffers")) {
hideServerBuffers = prefs.getBoolean("hide_server_buffers", true);
onBuffersChanged();
} else if(key.equals("show_buffer_filter") && bufferlistFilter != null) {
if (prefs.getBoolean("show_buffer_filter", false)) {
bufferlistFilter.setVisibility(View.VISIBLE);
} else {
bufferlistFilter.setVisibility(View.GONE);
}
}
}
// TextWatcher object for filtering the buffer list
private TextWatcher filterTextWatcher = new TextWatcher() {
@Override
public void afterTextChanged(Editable a) { }
@Override
public void beforeTextChanged(CharSequence arg0, int a, int b, int c) {}
@Override
public void onTextChanged(CharSequence s, int start, int before, int count) {
if (m_adapter!=null) {
m_adapter.filterBuffers(s.toString());
}
}
};
}
| [
"kj@ubergeek42.com"
] | kj@ubergeek42.com |
c3e9d94fb98e76c02669782bb92c0c307b84fab6 | e495a0cf2abac63bf5dbe674fe1e9d01189e10b0 | /src/main/java/com/xcy/community/dto/GithubUser.java | 6d5deeb5a69c40593b7d25b36110f8c8394ca66c | [] | no_license | a540682878/community | 0628f8ab45c4beaa5f91c4c4e03350f5dc1c75f3 | f2fa0d5860cca76292987c08849495cc636e1492 | refs/heads/master | 2022-06-27T07:49:58.088334 | 2019-12-31T09:23:56 | 2019-12-31T09:23:56 | 229,672,027 | 0 | 0 | null | 2022-06-17T02:47:51 | 2019-12-23T03:48:25 | Java | UTF-8 | Java | false | false | 682 | java | package com.xcy.community.dto;
public class GithubUser {
private String name;
private Long id;
private String bio;
private String AvatarUrl;
public String getAvatarUrl() {
return AvatarUrl;
}
public void setAvatarUrl(String avatarUrl) {
AvatarUrl = avatarUrl;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getBio() {
return bio;
}
public void setBio(String bio) {
this.bio = bio;
}
} | [
"A1219@nbys.com"
] | A1219@nbys.com |
8c44bb4f24a0c373403e9e76e0a61c842c6d67a2 | fdefb666dba701a7cf255dfed6bbc8d65253713e | /src/cartes/CarteGuerre.java | 6eadf3b9cb4e36f4e523699609fc41ac325d9f85 | [] | no_license | Remynoschka/Respublica_Romana | 3fb3b0b3d265c5700c84ecc3c5545b7b5af87a8e | 0c137fa16eb1f04493d3dcc215f1880c464fdcd3 | refs/heads/master | 2021-01-10T19:39:03.513269 | 2014-07-06T19:59:40 | 2014-07-06T19:59:40 | 16,952,333 | 1 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,517 | java | package cartes;
import java.util.List;
import jeu.Armee;
import jeu.Ere;
public class CarteGuerre extends Carte {
protected List<CarteGuerre> guerresAffiliees; // Juste pour
// donnees
protected List<CarteChef> chefsAffilies; // Juste pour
// donnees
protected List<CarteChef> chefsActifs; // Les chefs actifs
// sur cette guerre
protected int forceTerrestre;
protected int soutientNaval;
protected int batailleNavale;
protected boolean disette; // poss๏ฟฝde un effet
// de disette
protected int or; // or gagne avec la
// guerre
protected int[] desastre = new int[2];
protected int[] retraite = new int[2];
public boolean active; // si la guerre est
// activee
// directement
// ------------------------------------------------------------------------
public CarteGuerre(String nom, Ere ere) {
super(nom, ere);
// TODO Auto-generated constructor stub
}
// ------------------------------------------------------------------------
/**
* Combattre la carte guerre avec une ou plusieurs armees
*
* @param armees
* : la listes des armees qui combattent la guerre
* @return true si la guerre a ete gagnee par Rome
*/
public boolean combattre(List<Armee> armees) {
return false;
}
/*
* (non-Javadoc)
*
* @see cartes.Carte#pioche()
*/
@Override
public void pioche() {
// TODO carte guerre piochee
}
}
| [
"remynoschka@gmail.com"
] | remynoschka@gmail.com |
efa0247a3696d61c0efbc2785a64f32ac24ceae1 | cc32bfac65d279ea6f81756fb22b4aea2f4b75d5 | /Exam System/src/Instructor/Student.java | ce6f8c478e4ebd1338f55263cac79aa2ac3e4969 | [] | no_license | credibleashu/Exam-System | 3bc0168ad0cdd12175406007f7bc8b380ced573c | a6307a055d82912b2e5b233292427ea488f22c4a | refs/heads/master | 2021-01-20T06:36:40.557019 | 2017-05-02T17:14:37 | 2017-05-02T17:14:37 | 89,900,460 | 2 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,439 | java | package Instructor;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Statement;
public class Student
{
int login_id;
String first_name;
String last_name;
String dob;
String gender;
String address;
String pincode;
String phonenumber;
String email;
String institute_name;
String branch;
String semester;
String year;
String scholar_no;
String password;
String recovery_question;
String answer;
}
class UseStudent
{
Connection conn=null;
public void connect()
{
try
{
Class.forName("com.mysql.jdbc.Driver");
conn=DriverManager.getConnection("jdbc:mysql://localhost/student","root","mysql30071996");
}
catch(Exception e)
{
System.out.println(e);
}
}
public Student getStudent(int lid)
{
Student s=new Student();
try
{
String Query="select * from signstudent where login_id="+lid+";";
Statement st=conn.createStatement();
ResultSet rs=st.executeQuery(Query);
rs.next();
s.login_id=lid;
String fname=rs.getString(2);
s.first_name=fname;
String lname=rs.getString(3);
s.last_name=lname;
String dateofbirth=rs.getString(4);
s.dob=dateofbirth;
String sex=rs.getString(5);
s.gender=sex;
String add=rs.getString(6);
s.address=add;
String pin=rs.getString(7);
s.pincode=pin;
String ph=rs.getString(8);
s.phonenumber=ph;
String mail=rs.getString(9);
s.email=mail;
String insti=rs.getString(10);
s.institute_name=insti;
String bran=rs.getString(11);
s.branch=bran;
String sem=rs.getString(12);
s.semester=sem;
String yea=rs.getString(13);
s.year=yea;
String scno=rs.getString(14);
s.scholar_no=scno;
String pas=rs.getString(15);
s.password=pas;
}
catch(Exception e)
{
System.out.println(e);
}
return s;
}
public void addStudent(Student s)
{
String Query="insert into signstudent (first_name,last_name,dob,gender,address,pincode,phonenumber,email,institute_name,branch,semester,year,scholar_no) values(?,?,?,?,?,?,?,?,?,?,?,?,?)";
try{
PreparedStatement pst=conn.prepareStatement(Query);
//pst.setInt(1,s.s_id);
pst.setString(1, s.first_name);
pst.setString(2, s.last_name);
pst.setString(3,s.dob);
pst.setString(4,s.gender);
pst.setString(5,s.address);
pst.setString(6,s.pincode);
pst.setString(7,s.phonenumber);
pst.setString(8,s.email);
pst.setString(9,s.institute_name);
pst.setString(10,s.branch);
pst.setString(11,s.semester);
pst.setString(12,s.year);
pst.setString(13,s.scholar_no);
pst.executeUpdate();
}
catch(Exception e)
{
System.out.println(e);
}
}
} | [
"noreply@github.com"
] | noreply@github.com |
817ee718ba1b31756522649e108ba9d6db4fb490 | 883f664ea13add01ebc1273f0161ecb3701c5e10 | /digit.java | a7296f618bbf5ad3027c6e8ad1afc00e08dd1834 | [] | no_license | poorni1234/digit | 5bb83dc0edbb68e337a484589838587ed6cce753 | f5f30e5f8426b57135997758bc1a07b6980cb568 | refs/heads/master | 2020-04-27T17:13:27.212290 | 2019-03-08T09:37:50 | 2019-03-08T09:37:50 | 174,509,220 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 238 | java | import java.util.Scanner;
class NoofInt
{
public static void main(String args[])
{
int count=0;
Scanner sc=new Scanner(System.in);
int s=sc.nextInt();
while(s!=0)
{
s=s/10;
count++;
}
System.out.println(count);
}
}
| [
"noreply@github.com"
] | noreply@github.com |
606344314a45670ed0afbadfc0c9e8cdc9b90cd9 | c37b4d09a5b75ed0e6734eee9ae43359b8581647 | /liveMusicBoard/src/main/java/org/soas/domain/Music.java | 6239a7b21c76a324405695aa58ccaf802c06cc6c | [] | no_license | SangHwaLeeSoas/liveMusicBoard | e44004b0fcca27a27e0e2d9d5e0d7f1317d897d0 | 3442bc798c91c4a868fff5d0ba1559cb27c6c313 | refs/heads/master | 2020-06-20T06:48:40.326693 | 2017-06-13T11:32:07 | 2017-06-13T11:32:07 | 94,196,484 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,548 | java | package org.soas.domain;
import java.util.Date;
public class Music {
private int music_idx;
private int board_idx;
private String music_name;
private int music_time; // ์ด๋จ์
private int music_size; // byte๋จ์
private Date regDate;
private Date updateDate;
public int getMusic_idx() {
return music_idx;
}
public void setMusic_idx(int music_idx) {
this.music_idx = music_idx;
}
public int getBoard_idx() {
return board_idx;
}
public void setBoard_idx(int board_idx) {
this.board_idx = board_idx;
}
public String getMusic_name() {
return music_name;
}
public void setMusic_name(String music_name) {
this.music_name = music_name;
}
public int getMusic_time() {
return music_time;
}
public void setMusic_time(int music_time) {
this.music_time = music_time;
}
public int getMusic_size() {
return music_size;
}
public void setMusic_size(int music_size) {
this.music_size = music_size;
}
public Date getRegDate() {
return regDate;
}
public void setRegDate(Date regDate) {
this.regDate = regDate;
}
public Date getUpdateDate() {
return updateDate;
}
public void setUpdateDate(Date updateDate) {
this.updateDate = updateDate;
}
@Override
public String toString() {
return "Music [music_idx=" + music_idx + ", board_idx=" + board_idx + ", music_name=" + music_name
+ ", music_time=" + music_time + ", music_size=" + music_size + ", regDate=" + regDate + ", updateDate="
+ updateDate + "]";
}
}
| [
"Sang@192.168.1.101"
] | Sang@192.168.1.101 |
98217d8ba036bf62a72793f1529c7c5142ed89b8 | 3f89498ced9b1dbf00aba470d5f47f8041939c59 | /src/code/PilkarzMecz.java | 1e93f04d5dee14e4136452a686b526ea955cb2c8 | [] | no_license | s17188/MP_MAS | 6bb1149dfd888a61a5cc85f001569fb0d1aac338 | 3b909c5170a0a2a64d98b056d37bf59c8ef5a1cd | refs/heads/master | 2021-05-21T04:42:58.879709 | 2020-06-18T20:09:41 | 2020-06-18T20:09:41 | 252,547,727 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,088 | java | package code;
public class PilkarzMecz extends MainExtenstion {
public int playtime;
public int red_cards;
public int yellow_cards;
public Pilkarz soccer;
public Mecz match;
public PilkarzMecz(int playtime,int red_cards, int yellow_cards,Pilkarz soccer,Mecz match){
this.playtime = playtime;
this.red_cards = red_cards;
this.yellow_cards = yellow_cards;
this.soccer = soccer;
this.match = match;
soccer.addPilkarzMecz(this);
match.addPilkarzMecz(this);
}
public void removePilkarzMecz(){
soccer.removePilkarzMecz(this);
match.removePilkarzMecz(this);
}
@Override
public String toString() {
return "PilkarzMecz{" +
"playtime=" + playtime +
", red_cards=" + red_cards +
", yellow_cards=" + yellow_cards +
", soccer=" + soccer.name +
", soccerId=" + soccer.id +
", match=" + match.stadium +
", matchDate=" + match.date +
'}';
}
}
| [
"pirer23@gmail.com"
] | pirer23@gmail.com |
fe4ff5b94e59ed43ce2809eedb790fb738319ad0 | 3de737b012d682eabe331198bdd5cb6a7bf24bbc | /src/com/test/support/UIDriver.java | ea7b0aff949111d754ee5798e1ac829c5931f58b | [] | no_license | vm-natarajan/pilot | 05323e5ae253bf59ce7c06ab34a62e78641facc7 | 20245b658ca1854bffb6d10682d9ef6f34052a74 | refs/heads/master | 2021-09-18T01:07:21.281152 | 2018-07-08T00:34:21 | 2018-07-08T00:34:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,945 | java | package com.test.support;
import java.net.URL;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.ie.InternetExplorerDriver;
import org.openqa.selenium.phantomjs.PhantomJSDriver;
import org.openqa.selenium.remote.BrowserType;
import org.openqa.selenium.remote.DesiredCapabilities;
import org.openqa.selenium.remote.RemoteWebDriver;
/**
* File name :UIDriver.java
* Description :
* Date created :13 Sep 2016
* Author :Veera
*/
public class UIDriver {
Configurations configurations = Configurations.getInstance();
WebDriver wDriver;
/**
*
* Method name : getDriver
* Return types : WebDriver
* Description :
*/
public WebDriver getDriver(String driver){
String executionMode = configurations.getProperty("execution");
String gridURL = configurations.getProperty("gridURL");
DesiredCapabilities dc = new DesiredCapabilities();
try{
switch(driver){
case "Firefox" :
if(executionMode.equalsIgnoreCase("remote")){
dc.setBrowserName("firefox");
wDriver = new RemoteWebDriver(new URL(gridURL),dc);
return wDriver;
}
wDriver = new FirefoxDriver();
return wDriver;
case "Google Chrome" :
if(executionMode.equalsIgnoreCase("remote")){
dc.setCapability("browserName", BrowserType.CHROME);
wDriver = new RemoteWebDriver(new URL(gridURL),dc);
return wDriver;
}
String chromeDriver=Settings.getInstance().getDriverEXEDir()+"chromedriver.exe";
System.setProperty("webdriver.chrome.driver", chromeDriver);
wDriver = new ChromeDriver();
return wDriver;
case "IE":
DesiredCapabilities capabilities = DesiredCapabilities.internetExplorer();
capabilities.setCapability(InternetExplorerDriver.INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS, true);
capabilities.setCapability("requireWindowFocus", true);
String ieDriver=Settings.getInstance().getDriverEXEDir()+"IEDriverServer.exe";
System.setProperty("webdriver.ie.driver", ieDriver);
wDriver = new InternetExplorerDriver(capabilities);
return wDriver;
case "Edge":
return wDriver;
case "Safari":
return wDriver;
case "Headless":
dc.setJavascriptEnabled(true);
dc.setCapability("takesScreenshot", false);
dc.setCapability("phantomjs.binary.path", Settings.getInstance().getPhantomJSPath()+"phantomjs.exe");
wDriver = new PhantomJSDriver(dc);
return wDriver;
default :
wDriver = new FirefoxDriver();
return wDriver;
}
}catch(Exception e){
e.printStackTrace();
wDriver = new FirefoxDriver();
return wDriver;
}
}
/**
*
* Method name : quitDriver
* Return types : boolean
* Description :
*/
public boolean quitDriver(WebDriver wDriver){
try{
wDriver.quit();
return true;
}catch(Exception e){
return false;
}
}
public void enableBrowserMobProxy(){
}
}
| [
"450405@cognizant.com"
] | 450405@cognizant.com |
df00a18d075a41bc0e7534c3e22b0ecba980c1a6 | c200e996c21ec0240dfc8f5782bc8e9b51b78990 | /WebAplication/src/java/web/login/view/desbloquearsenha/DesbloquearSenhaConclusao.java | e90f9ab73337247c20a965180bac32f3ff94449d | [] | no_license | DenisSMoreira/pingming | b234dc06bfad6fe1aff303825739b4584567b492 | f720160d8b01ad96d44443d7cd44fb2b8a7b13f6 | refs/heads/master | 2019-09-01T10:51:31.438241 | 2012-07-06T18:06:34 | 2012-07-06T18:06:34 | 32,752,956 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 222 | java | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package web.login.view.desbloquearsenha;
/**
*
* @author dmoreira
*/
public class DesbloquearSenhaConclusao {
}
| [
"denis.soares.moreira@gmail.com@54143b72-e550-6a4a-4a9d-ec155d3950a6"
] | denis.soares.moreira@gmail.com@54143b72-e550-6a4a-4a9d-ec155d3950a6 |
2127d5a735d610c96db7c9858d5760c152978ab7 | d7ed967c2c8db3e9c1bdbfc828720de888251ca4 | /src/hoofdstuk4/Opdracht7.java | df532435d918e23258d83e2a85a08054e87be03f | [] | no_license | Renask/inleiding-java | 4760246437527dfcb3d00560ddc933cd16cd7077 | 5728dce2d3d62b9c83565bf9b4df461771eb16d6 | refs/heads/master | 2021-01-21T07:30:37.375302 | 2016-11-02T22:24:02 | 2016-11-02T22:24:02 | 67,218,889 | 0 | 0 | null | 2016-09-02T11:58:37 | 2016-09-02T11:58:37 | null | UTF-8 | Java | false | false | 450 | java | package hoofdstuk4;
import java.awt.*;
import java.applet.*;
public class Opdracht7 extends Applet {
public void init() {
}
public void paint(Graphics g) {
g.setColor(Color.black);
g.fillRoundRect(150, 100, 150, 150, 15, 15);
g.setColor(Color.white);
g.fillOval(160, 110, 50, 50);
g.fillOval(160, 186, 50, 50);
g.fillOval(234, 110, 50, 50);
g.fillOval(234, 186, 50, 50);
}
} | [
"rkhalil@roc-dev.com"
] | rkhalil@roc-dev.com |
7c84cd83ce273f39b2de21f4e7eac558cf209902 | 6d1cd7093ee33ba223a121764d321be0ac299ed7 | /SpringJPA/src/main/java/com/gatewayjug/demoapp/service/impl/EmployeeSearchServiceImpl.java | 261661d56b8a3adc9379243be2095347190178c6 | [] | no_license | maheshdemail/spring-jpa-app | 872e22c5e3639203fc417833cf6e1381454f1c2c | 73f2de038f4557776c493ee8313a787e2e9ceda8 | refs/heads/master | 2021-01-23T03:43:59.803506 | 2013-11-13T06:00:56 | 2013-11-13T06:00:56 | 14,351,553 | 1 | 0 | null | null | null | null | UTF-8 | Java | false | false | 6,348 | java | package com.gatewayjug.demoapp.service.impl;
import java.util.ArrayList;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.gatewayjug.demoapp.assembler.IAssembler;
import com.gatewayjug.demoapp.common.JpaMethod;
import com.gatewayjug.demoapp.dao.IEmployeeSearchDao;
import com.gatewayjug.demoapp.dto.EmployeeDto;
import com.gatewayjug.demoapp.model.Employee;
import com.gatewayjug.demoapp.service.IEmployeeSearchService;
/**
* 1. Acts as Facade
* 2. Every method runs in Transaction
* 3. Transaction Scoped Persistence Context is used
*
* @author Mahesh Desai
* @version $Revision: 1.0
*/
@Service
@Transactional(readOnly = true)
public class EmployeeSearchServiceImpl implements IEmployeeSearchService {
@Autowired
private IEmployeeSearchDao iEmployeeSearchDao;
@Autowired
private IAssembler iAssembler;
@Override
public List<EmployeeDto> findAllEmployees(JpaMethod jpaMethod) {
List<Employee> employees = null;
List<EmployeeDto> employeeDtos = null;
switch (jpaMethod) {
case CRITERIA_API_METAMODEL:
employees = iEmployeeSearchDao.findAllEmployees();
break;
case STATIC_QUERIES:
employees = iEmployeeSearchDao.findAllEmployees_StaticQuery();
break;
case DYNAMIC_QUERIES:
employees = iEmployeeSearchDao.findAllEmployees_DynamicQuery();
break;
}
employeeDtos = assembleResult(employees, employeeDtos);
return employeeDtos;
}
@Override
public List<EmployeeDto> findEmployeeByName(JpaMethod jpaMethod, String name) {
List<Employee> employees = null;
List<EmployeeDto> employeeDtos = null;
switch (jpaMethod) {
case CRITERIA_API_METAMODEL:
employees = iEmployeeSearchDao.findEmployeeByName(name);
break;
case STATIC_QUERIES:
employees = iEmployeeSearchDao.findEmployeeByName_StaticQuery(name);
break;
case DYNAMIC_QUERIES:
employees = iEmployeeSearchDao.findEmployeeByName_DynamicQuery(name);
break;
}
employeeDtos = assembleResult(employees, employeeDtos);
return employeeDtos;
}
@Override
public List<EmployeeDto> findEmployeeBySalaryRange(JpaMethod jpaMethod, Double minimumSalary, Double maximumSalary) {
List<Employee> employees = null;
List<EmployeeDto> employeeDtos = null;
switch (jpaMethod) {
case CRITERIA_API_METAMODEL:
employees = iEmployeeSearchDao.findEmployeeBySalaries_Between(minimumSalary, maximumSalary);
break;
case STATIC_QUERIES:
employees = iEmployeeSearchDao.findEmployeeBySalaries_Between_StaticQuery(minimumSalary, maximumSalary);
break;
case DYNAMIC_QUERIES:
employees = iEmployeeSearchDao.findEmployeeBySalaries_Between_DynamicQuery(minimumSalary, maximumSalary);
break;
}
employeeDtos = assembleResult(employees, employeeDtos);
return employeeDtos;
}
@Override
public List<EmployeeDto> findEmployeeByMaximumSalary(JpaMethod jpaMethod, Double maximumSalary) {
List<Employee> employees = null;
List<EmployeeDto> employeeDtos = null;
switch (jpaMethod) {
case CRITERIA_API_METAMODEL:
employees = iEmployeeSearchDao.findEmployeeBySalaries_LessThan(maximumSalary);
break;
case STATIC_QUERIES:
employees = iEmployeeSearchDao.findEmployeeBySalaries_LessThan_StaticQuery(maximumSalary);
break;
case DYNAMIC_QUERIES:
employees = iEmployeeSearchDao.findEmployeeBySalaries_LessThan_DynamicQuery(maximumSalary);
break;
}
employeeDtos = assembleResult(employees, employeeDtos);
return employeeDtos;
}
@Override
public List<EmployeeDto> findEmployeeByMinumumSalary(JpaMethod jpaMethod, Double minimumSalary) {
List<Employee> employees = null;
List<EmployeeDto> employeeDtos = null;
switch (jpaMethod) {
case CRITERIA_API_METAMODEL:
employees = iEmployeeSearchDao.findEmployeeBySalaries_GreaterThan(minimumSalary);
break;
case STATIC_QUERIES:
employees = iEmployeeSearchDao.findEmployeeBySalaries_GreaterThan_StaticQuery(minimumSalary);
break;
case DYNAMIC_QUERIES:
employees = iEmployeeSearchDao.findEmployeeBySalaries_GreaterThan_DynamicQuery(minimumSalary);
break;
}
employeeDtos = assembleResult(employees, employeeDtos);
return employeeDtos;
}
@Override
public List<EmployeeDto> findEmployeeByGenderIn(JpaMethod jpaMethod, String gender) {
List<Employee> employees = null;
List<EmployeeDto> employeeDtos = null;
gender = "M".equals(gender) ? "Male" : "Female";
switch (jpaMethod) {
case CRITERIA_API_METAMODEL:
employees = iEmployeeSearchDao.findEmployeeByGender(gender);
break;
case STATIC_QUERIES:
employees = iEmployeeSearchDao.findEmployeeByGender_StaticQuery(gender);
break;
case DYNAMIC_QUERIES:
employees = iEmployeeSearchDao.findEmployeeByGender_DynamicQuery(gender);
break;
}
employeeDtos = assembleResult(employees, employeeDtos);
return employeeDtos;
}
@Override
public List<EmployeeDto> findAllEmployeeUsingJoinFetch(JpaMethod jpaMethod) {
List<Employee> employees = null;
List<EmployeeDto> employeeDtos = null;
switch (jpaMethod) {
case CRITERIA_API_METAMODEL:
employees = iEmployeeSearchDao.findAllEmployeesUsingJoinFetch();
break;
case STATIC_QUERIES:
employees = iEmployeeSearchDao.findAllEmployeesUsingJoinFetch_StaticQuery();
break;
case DYNAMIC_QUERIES:
employees = iEmployeeSearchDao.findAllEmployeesUsingJoinFetch_DynamicQuery();
break;
}
employeeDtos = assembleResult(employees, employeeDtos);
return employeeDtos;
}
private List<EmployeeDto> assembleResult(List<Employee> employees, List<EmployeeDto> employeeDtos) {
if(employees != null){
employeeDtos = new ArrayList<EmployeeDto>();
for (Employee employeeBo : employees) {
EmployeeDto employeeDto = iAssembler.assembleDtoFromBo(employeeBo);
employeeDtos.add(employeeDto);
}
}
return employeeDtos;
}
}
| [
"maheshd.email@gmail.com"
] | maheshd.email@gmail.com |
12714c5d1d004d5d07be04f61d6e4f38fc738327 | a5d7fab03db134fcc6088184139b3a6d95219eda | /Raflebรฆger.java | c570ef8ace34e0a82ab20100df701cb609a246d5 | [] | no_license | CasperO90/CDIO2_19 | d2d073202375f3f26e8a35c9a213f174e1f69628 | d7aac4ce62377420b9241ff8654bfd87d8d7852c | refs/heads/master | 2021-08-08T13:22:14.663283 | 2017-11-10T11:00:09 | 2017-11-10T11:00:09 | 108,241,631 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 859 | java | package Spil;
import Spil.Terning;
public class Raflebรฆger {
Terning t1 = new Terning(new int[] {1,2,3,4,5,6});
Terning t2 = new Terning(new int[] {1,2,3,4,5,6});
String Raflebรฆger;
public int slag1, slag2;
public int samletVรฆrdi;
public Raflebรฆger (){
}
public void slรฅ(){
slag1 = t1.slag();
slag2 = t2.slag();
samletVรฆrdi=slag1+slag2;
}
public void setSamletVรฆrdi(int nyVรฆrdi) {
samletVรฆrdi=nyVรฆrdi;
}
public int getSamletVรฆrdi() {
return samletVรฆrdi;
}
public void setEnkeltVรฆrdi1(int nyVรฆrdi) {
slag1=nyVรฆrdi;
}
public int getEnkeltVรฆrdi1() { //enkeltvรฆrdi for terning 1
return slag1;
}
public void setEnkeltVรฆrdi2(int nyVรฆrdi) {
slag2=nyVรฆrdi;
}
public int getEnkeltVรฆrdi2() { //enkeltvรฆrdi for terning 2
return slag2;
}
}
| [
"noreply@github.com"
] | noreply@github.com |
25ae2d2a08a9387e5d739b6d217cbc74fa885dde | 9eab006197a184d401bb4c6d2fa214fe559f89ca | /src/core/Process.java | b13cf50b21de3ca138353e29b0b9f82d08c3ba0b | [] | no_license | juniormendes96/miniprojeto-algoritmos-geneticos | 8e3772a1c9a87f4c8ee7757f8d2c585f64fdbe7a | c7c86aadda99c14bbc232a5490d3be2cffb28d32 | refs/heads/master | 2020-06-04T11:43:25.037253 | 2019-06-23T19:46:50 | 2019-06-23T19:46:50 | 192,007,614 | 0 | 0 | null | null | null | null | ISO-8859-1 | Java | false | false | 3,806 | java | package core;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Random;
import model.Individuo;
public class Process {
public static final int TAM_POPULACAO = 4;
public static List<Individuo> populacao = new ArrayList<>();
public static void iniciar() {
int contGeracao = 0;
criarPopulacao();
while(contGeracao < 2000) { // critรฉrio de parada - nรบmero de geraรงรตes
contGeracao++;
for(Individuo i : populacao) {
i.setProbSelecao(populacao);
}
System.out.println("\nGeraรงรฃo: " + contGeracao);
listar();
selecionarMaisAptos();
crossover();
}
printResultado();
}
public static void printResultado() {
System.out.println("\n---------- RESULTADO ----------");
System.out.println(String.format("Cromossomo mais apto: %s - Aptidรฃo (fitness): %d", getMaisApto().getCromossomo(), getMaisApto().getAptidao()));
}
public static void listar() {
for(Individuo i : populacao) {
System.out.println(String.format("Cromossomo: %s - Aptidรฃo: %d - Prob. seleรงรฃo: %s", i.getCromossomo(), i.getAptidao(), String.format("%.2f", i.getProbSelecao())));
}
}
public static void criarPopulacao() {
for(int i=0; i<TAM_POPULACAO; i++) {
populacao.add(new Individuo());
}
}
public static void selecionarMaisAptos() {
Collections.sort(populacao); // ordena a lista dos menos provรกveis a ser selecionados aos mais provรกveis
populacao.subList(0, TAM_POPULACAO/2).clear(); // remove os menos provรกveis
}
public static Individuo getMenosApto() {
Individuo menosApto = populacao.get(0);
for(Individuo i : populacao) {
if(i.getAptidao() < menosApto.getAptidao()) {
menosApto = i;
}
}
return menosApto;
}
public static Individuo getMaisApto() {
Individuo maisApto = populacao.get(0);
for(Individuo i : populacao) {
if(i.getAptidao() > maisApto.getAptidao()) {
maisApto = i;
}
}
return maisApto;
}
public static void crossover() {
Individuo maisApto = getMaisApto();
List<Individuo> populacaoClone = new ArrayList<>(populacao);
populacao.clear();
int pontoDeCorte;
for(int i=0; i<TAM_POPULACAO/2; i+=2) {
pontoDeCorte = gerarPontoDeCorte();
Individuo A1 = populacaoClone.get(i);
Individuo A2 = populacaoClone.get(i+1);
String subA1 = A1.getCromossomo().substring(pontoDeCorte, Individuo.TAM_INDIVIDUO);
String subA2 = A2.getCromossomo().substring(pontoDeCorte, Individuo.TAM_INDIVIDUO);
Individuo A1CrossA2 = new Individuo(A1.getCromossomo().substring(0, pontoDeCorte) + subA2);
Individuo A2CrossA1 = new Individuo(A2.getCromossomo().substring(0, pontoDeCorte) + subA1);
A2CrossA1.mutacao(1);
A2CrossA1.setAptidao();
populacao.add(A1CrossA2);
populacao.add(A2CrossA1);
pontoDeCorte = gerarPontoDeCorte();
A1 = populacaoClone.get(i);
A2 = populacaoClone.get(i+1);
subA1 = A1.getCromossomo().substring(pontoDeCorte, Individuo.TAM_INDIVIDUO);
subA2 = A2.getCromossomo().substring(pontoDeCorte, Individuo.TAM_INDIVIDUO);
A1CrossA2 = new Individuo(A1.getCromossomo().substring(0, pontoDeCorte) + subA2);
A2CrossA1 = new Individuo(A2.getCromossomo().substring(0, pontoDeCorte) + subA1);
A2CrossA1.mutacao(2);
A2CrossA1.setAptidao();
populacao.add(A1CrossA2);
populacao.add(A2CrossA1);
// elitismo - o mais apto da populaรงรฃo anterior vai para a prรณxima populaรงรฃo
Individuo menosApto = getMenosApto();
if(menosApto.getAptidao() < maisApto.getAptidao()) {
populacao.remove(menosApto);
populacao.add(maisApto);
}
}
}
public static int gerarPontoDeCorte() {
Random r = new Random();
int maximo = Individuo.TAM_INDIVIDUO - 2;
int minimo = 2;
int range = maximo - minimo + 1;
return r.nextInt(range) + minimo;
}
}
| [
"vilmarmendesjunior@hotmail.com"
] | vilmarmendesjunior@hotmail.com |
cb10387db8e96b408b6ff3798f63c82db384bfa5 | 724fde53289283eb36fb0b0ea839201e7465de0d | /ProductAcquisti/src/main/java/it/smartcommunitylab/service/ProductService.java | 4e7e367b8c06cb2113302cd5b524016eb7f7d8cb | [] | no_license | Mennyo/Progetto_FBK | 66efadc40e06ffa59120356f9ae3ea20661dd787 | 8121d6c8f3c2fa95d318e63b962b6ff5cad9187d | refs/heads/master | 2020-07-27T09:27:08.483595 | 2019-09-17T12:21:44 | 2019-09-17T12:21:44 | 209,045,382 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,490 | java | package it.smartcommunitylab.service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.HttpMethod;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.client.RestTemplate;
import it.smartcommunitylab.domain.Product;
@FeignClient(name ="shopcatalog", fallback=ProductServiceFallback.class)
public interface ProductService {
@GetMapping("/api/products/{productId}")
public Product getProduct(@PathVariable String productId);
@PutMapping("/api/products/{productId}/avaiability/{quantity}")
public Product bookAvailability(@PathVariable String productId, @PathVariable int quantity);
//@Service
//public class ProductService {
//@Autowired
//private RestTemplate restTemplate;
//public Product getProduct(String productId) {
//return restTemplate.getForObject("http://shoppurchase/api/products/{productId}", Product.class, productId);
//}
//public Product bookAvailability(String productId, int quantity) {
//return restTemplate.exchange("http://shoppurchase/api/products/{productsId}/availability/{quantity}", HttpMethod.PUT, null, Product.class, productId, -quantity).getBody();
//}
}
| [
"manuel.bussola@marconirovereto.it"
] | manuel.bussola@marconirovereto.it |
92bb43e787733290c66a4f41c6239c30251cd084 | 22bf4cef5b5e2abe697269d5fefe81b88553e24c | /PopularScienceMedia/src/se/noren/app/popularsciencemedia/datastore/MediaObject.java | 1b2ca5c29df0ab9113d5314f85861bcb9b38abb6 | [] | no_license | johannoren/PopularScienceMedia | f19cf9c8912d6577984fe762142f6dbf1d3a79ce | 8b77a1dfe0c024e186d1bcc5058eb7fbc655ae2c | refs/heads/master | 2020-04-22T12:42:08.530477 | 2012-08-19T18:55:43 | 2012-08-19T18:55:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,680 | java | package se.noren.app.popularsciencemedia.datastore;
import java.util.Set;
import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;
import com.google.appengine.api.datastore.Text;
import com.google.appengine.api.datastore.Key;
@PersistenceCapable
public class MediaObject {
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
private Key key;
@Persistent
private String title;
@Persistent
private Set<String> authors;
public Set<String> getAuthors() {
return authors;
}
public void setAuthors(Set<String> authors) {
this.authors = authors;
}
@Persistent
private String year;
@Persistent
private Set<String> labels;
@Persistent
private Text amazonBigImageLink;
@Persistent
private Text amazonSmallImageLink;
@Persistent
private Text amazonTextLink;
@Persistent
private Text amazonHiddenImageLink;
@Persistent
private Text reviewText;
@Persistent
private Text type;
@Persistent
private Text imageLink;
public Text getImageLink() {
return imageLink;
}
public void setImageLink(Text imageLink) {
this.imageLink = imageLink;
}
public String getUniqueId() {
return "psmid" + key.getId();
}
public Text getType() {
return type;
}
public void setType(Text type) {
this.type = type;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getYear() {
return year;
}
public void setYear(String year) {
this.year = year;
}
public Set<String> getLabels() {
return labels;
}
public void setLabels(Set<String> labels) {
this.labels = labels;
}
public Text getAmazonBigImageLink() {
return amazonBigImageLink;
}
public void setAmazonBigImageLink(Text amazonBigImageLink) {
this.amazonBigImageLink = amazonBigImageLink;
}
public Text getAmazonSmallImageLink() {
return amazonSmallImageLink;
}
public void setAmazonSmallImageLink(Text amazonSmallImageLink) {
this.amazonSmallImageLink = amazonSmallImageLink;
}
public Text getAmazonTextLink() {
return amazonTextLink;
}
public void setAmazonTextLink(Text amazonTextLink) {
this.amazonTextLink = amazonTextLink;
}
public Text getAmazonHiddenImageLink() {
return amazonHiddenImageLink;
}
public void setAmazonHiddenImageLink(Text amazonHiddenImageLink) {
this.amazonHiddenImageLink = amazonHiddenImageLink;
}
public Text getReviewText() {
return reviewText;
}
public void setReviewText(Text reviewText) {
this.reviewText = reviewText;
}
public Key getKey() {
return key;
}
}
| [
"per.johan.noren@gmail.com"
] | per.johan.noren@gmail.com |
a7d33ee50d873a7f8868a88ca3fb9165119852e2 | 2afdc434064510869b75fe157b82b3440ddbb748 | /presto-parquet/src/test/java/io/prestosql/parquet/reader/ColumnChunkTest.java | b2c815d2648e8b5580fa4aea7b0ec9679c089bac | [] | no_license | openlookeng/hetu-core | 6dd74c62303f91d70e5eb6043b320054d1b4b550 | 73989707b733c11c74147d9228a0600e16fe5193 | refs/heads/master | 2023-09-03T20:27:49.706678 | 2023-06-26T09:51:37 | 2023-06-26T09:51:37 | 276,025,804 | 553 | 398 | null | 2023-09-14T17:07:01 | 2020-06-30T07:14:20 | Java | UTF-8 | Java | false | false | 1,067 | java | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.prestosql.parquet.reader;
import io.prestosql.spi.block.Block;
import org.mockito.Mock;
import org.testng.annotations.BeforeMethod;
import static org.mockito.MockitoAnnotations.initMocks;
public class ColumnChunkTest
{
@Mock
private Block mockBlock;
private ColumnChunk columnChunkUnderTest;
@BeforeMethod
public void setUp() throws Exception
{
initMocks(this);
columnChunkUnderTest = new ColumnChunk(mockBlock, new int[]{0}, new int[]{0});
}
}
| [
"zhengqijv@workingman.cn"
] | zhengqijv@workingman.cn |
ab9390492cafdd7686212e0131bd329668398d47 | 734767037a947bd57f7368054ede7d28c4acf373 | /app-profile-jee-jsp/src/main/java/org/keycloak/quickstart/profilejee/Controller.java | 933653ab40c3ff4e16e0be1f6395db6351c9cd11 | [
"Apache-2.0"
] | permissive | vinicius-martinez/redhat-sso-quickstarts | 77f226926a981ed890bf16e99c8db6d17b65fbfc | c56ab61a698a3db6c94a75f4b6a2b60f3bb30a64 | refs/heads/7.1.x | 2021-05-15T12:44:06.226637 | 2017-10-27T01:03:45 | 2017-10-27T01:03:45 | 108,481,950 | 1 | 0 | null | 2017-10-27T00:58:10 | 2017-10-27T00:58:10 | null | UTF-8 | Java | false | false | 3,839 | java | /*
* JBoss, Home of Professional Open Source
* Copyright 2016, Red Hat, Inc. and/or its affiliates, and individual
* contributors by the @authors tag. See the copyright.txt in the
* distribution for a full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.keycloak.quickstart.profilejee;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
import org.keycloak.KeycloakSecurityContext;
import org.keycloak.adapters.AdapterDeploymentContext;
import org.keycloak.adapters.KeycloakDeployment;
import org.keycloak.common.util.KeycloakUriBuilder;
import org.keycloak.constants.ServiceUrlConstants;
import org.keycloak.representations.AccessToken;
/**
* Controller simplifies access to the server environment from the JSP.
*
* @author Stan Silvert ssilvert@redhat.com (C) 2015 Red Hat Inc.
*/
public class Controller {
private static final ObjectMapper mapper = new ObjectMapper();
static {
mapper.enable(SerializationFeature.INDENT_OUTPUT);
mapper.setSerializationInclusion(Include.NON_NULL);
}
public void handleLogout(HttpServletRequest req) throws ServletException {
if (req.getParameter("logout") != null) {
req.logout();
}
}
public boolean isLoggedIn(HttpServletRequest req) {
return getSession(req) != null;
}
public boolean showToken(HttpServletRequest req) {
return req.getParameter("showToken") != null;
}
public AccessToken getIDToken(HttpServletRequest req) {
return getSession(req).getToken();
}
public AccessToken getToken(HttpServletRequest req) {
return getSession(req).getToken();
}
public String getAccountUri(HttpServletRequest req) {
KeycloakSecurityContext session = getSession(req);
String baseUrl = getAuthServerBaseUrl(req);
String realm = session.getRealm();
return KeycloakUriBuilder.fromUri(baseUrl).path(ServiceUrlConstants.ACCOUNT_SERVICE_PATH)
.queryParam("referrer", "app-profile-jsp")
.queryParam("referrer_uri", getReferrerUri(req)).build(realm).toString();
}
private String getReferrerUri(HttpServletRequest req) {
StringBuffer uri = req.getRequestURL();
String q = req.getQueryString();
if (q != null) {
uri.append("?").append(q);
}
return uri.toString();
}
private String getAuthServerBaseUrl(HttpServletRequest req) {
AdapterDeploymentContext deploymentContext = (AdapterDeploymentContext) req.getServletContext().getAttribute(AdapterDeploymentContext.class.getName());
KeycloakDeployment deployment = deploymentContext.resolveDeployment(null);
return deployment.getAuthServerBaseUrl();
}
public String getTokenString(HttpServletRequest req) throws IOException {
return mapper.writeValueAsString(getToken(req));
}
private KeycloakSecurityContext getSession(HttpServletRequest req) {
return (KeycloakSecurityContext) req.getAttribute(KeycloakSecurityContext.class.getName());
}
}
| [
"lkubik@redhat.com"
] | lkubik@redhat.com |
960349b0720fe40e4b1728ad35e88d498b5ea36f | aeffd90db719e910a62e4e0b7af1bcb3d3634296 | /android/rice_battery/app/src/main/java/com/example/rice_battery/Show_foodnutrient.java | ef7625812389eaddf64350ab62f069ea2828d0a2 | [] | no_license | smilepay/Rice-Battery | 1add1f30259213e4e315fce7553ca730bd78ae95 | aa51878cf8c790cadaff6a1931a86aad67ea942d | refs/heads/master | 2020-11-23T18:27:48.824740 | 2019-12-13T06:10:26 | 2019-12-13T06:10:26 | 227,766,258 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 5,129 | java | package com.example.rice_battery;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.Toast;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.net.HttpURLConnection;
import java.net.URL;
public class Show_foodnutrient extends AppCompatActivity {
String JsonResultString;
String food_name, serving_size, calories, carbs, proteins, fats, sugars, sodium, cholesterol, saturated_fat, trans_fat;
TextView names,sizes,cals,cars,pros,fat,sugs,sods,chos,sats,transs;
String name;
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.food_nutrient_check);
Intent intent = getIntent();
name = intent.getExtras().getString("name"); /*Stringํ*/
names= findViewById(R.id.name);
cals= findViewById(R.id.calories);
cars= findViewById(R.id.carbs);
pros= findViewById(R.id.pro);
fat= findViewById(R.id.fats);
sugs= findViewById(R.id.sugars);
sods= findViewById(R.id.sod);
chos= findViewById(R.id.cho);
Toast.makeText(getApplicationContext(),name,
Toast.LENGTH_SHORT).show();
Show_foodnutrient.GetData task = new Show_foodnutrient.GetData();
task.execute("http://203.245.10.33:8888/rice/show_food_nutrient.php?food_name=" + name, "");
}
class GetData extends AsyncTask<String, Void, String> {
@Override
protected void onPostExecute(String result) {
super.onPostExecute(result);
if (result != null) {
JsonResultString = result;
InitializeQuestionData();
}
}
@Override
protected String doInBackground(String... params) {
String serverURL = params[0];
String postParameters = params[1];
try {
URL url = new URL(serverURL);
HttpURLConnection httpURLConnection = (HttpURLConnection) url.openConnection();
httpURLConnection.setReadTimeout(5000);
httpURLConnection.setConnectTimeout(5000);
httpURLConnection.setRequestMethod("POST");
httpURLConnection.setDoInput(true);
httpURLConnection.connect();
OutputStream outputStream = httpURLConnection.getOutputStream();
outputStream.write(postParameters.getBytes("UTF-8"));
outputStream.flush();
outputStream.close();
int responseStatusCode = httpURLConnection.getResponseCode();
InputStream inputStream;
if (responseStatusCode == HttpURLConnection.HTTP_OK) {
inputStream = httpURLConnection.getInputStream();
} else {
inputStream = httpURLConnection.getErrorStream();
}
InputStreamReader inputStreamReader = new InputStreamReader(inputStream, "UTF-8");
BufferedReader bufferedReader = new BufferedReader(inputStreamReader);
StringBuilder sb = new StringBuilder();
String line;
while ((line = bufferedReader.readLine()) != null) {
sb.append(line);
}
bufferedReader.close();
return sb.toString().trim();
} catch (Exception e) {
return null;
}
}
}
public void InitializeQuestionData() {
String TAG_JSON = "webnautes";
String TAG_NAME = "food_name";
String TAG_CAL = "calories";
String TAG_CAR = "carbs";
String TAG_PRO = "proteins";
String TAG_FAT = "fats";
String TAG_SUGAR = "sugars";
String TAG_SOD = "sodium";
String TAG_CHO = "cholesterol";
try {
JSONObject jsonObject = new JSONObject(JsonResultString);
JSONArray jsonArray = jsonObject.getJSONArray(TAG_JSON);
JSONObject item = jsonArray.getJSONObject(0);
food_name = item.getString(TAG_NAME);
calories = item.getString(TAG_CAL);;
carbs = item.getString(TAG_CAR);
proteins = item.getString(TAG_PRO);
fats = item.getString(TAG_FAT);
sugars = item.getString(TAG_SUGAR);
sodium = item.getString(TAG_SOD);
cholesterol = item.getString(TAG_CHO);
names.setText(food_name);
cals.setText(calories);
cars.setText(carbs);
pros.setText(proteins);
fat.setText(fats);
sugs.setText(sugars);
sods.setText(sodium);
chos.setText(cholesterol);
} catch (JSONException e) {
}
}
}
| [
"paysmile@naver.com"
] | paysmile@naver.com |
302e9c5bd8e4012229356ef9e1e9c6e12cefa2af | bb52add3cb2ab3276d43cdf80732b6a2645c4875 | /interviews/Algorithm/QuickSort.java | bf499fd53c498eccf2b2b58a62d03e20a31cb5e4 | [] | no_license | 1022alcho/Notes | f1ade3350a99bacd6b1ed1108aa641d5b224a582 | 6b7e4276cf3f663dfe01cbbf3e895fb068771b24 | refs/heads/master | 2020-12-12T23:26:19.671562 | 2020-04-20T00:05:59 | 2020-04-20T00:05:59 | 234,255,652 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,489 | java | // public class QuickSort {
// public static void main(String[] args) {
// int arr[] = {10, 7, 8, 9, 1, 5};
// int n = arr.length;
// QuickSort ob = new QuickSort();
// ob.sort(arr, 0, n-1);
// System.out.println("sorted array");
// printArray(arr);
// }
// public static void printArray(int arr[])
// {
// int n = arr.length;
// for (int i=0; i<n; ++i)
// System.out.print(arr[i]+" ");
// System.out.println();
// }
// void sort(int[] arr, int start, int end) {
// if(start >= end) {
// return;
// }
// int key = start;
// int i = start + 1;
// int j = end;
// int temp;
// while(i <= j) {
// while(arr[key] < arr[i]) {
// i++;
// }
// while(arr[key] > arr[j]) {
// j--;
// }
// if(i >= j) {
// temp = arr[key];
// arr[key] = arr[j];
// arr[j] = temp;
// } else {
// temp = arr[i];
// arr[i] = arr[j];
// arr[j] = temp;
// }
// }
// sort(arr, start, j - 1);
// sort(arr, j + 1, end);
// }
// }
class QuickSort
{
/* This function takes last element as pivot,
places the pivot element at its correct
position in sorted array, and places all
smaller (smaller than pivot) to left of
pivot and all greater elements to right
of pivot */
int partition(int arr[], int low, int high)
{
int pivot = arr[high];
int i = (low-1); // index of smaller element
for (int j=low; j<high; j++)
{
// If current element is smaller than or
// equal to pivot
if (arr[j] <= pivot)
{
i++;
// swap arr[i] and arr[j]
int temp = arr[i];
arr[i] = arr[j];
arr[j] = temp;
}
}
// swap arr[i+1] and arr[high] (or pivot)
int temp = arr[i+1];
arr[i+1] = arr[high];
arr[high] = temp;
return i+1;
}
/* The main function that implements QuickSort()
arr[] --> Array to be sorted,
low --> Starting index,
high --> Ending index */
void sort(int arr[], int low, int high)
{
if (low < high)
{
/* pi is partitioning index, arr[pi] is
now at right place */
int pi = partition(arr, low, high);
// Recursively sort elements before
// partition and after partition
sort(arr, low, pi-1);
sort(arr, pi+1, high);
}
}
/* A utility function to print array of size n */
static void printArray(int arr[])
{
int n = arr.length;
for (int i=0; i<n; ++i)
System.out.print(arr[i]+" ");
System.out.println();
}
// Driver program
public static void main(String args[])
{
int arr[] = {10, 7, 8, 9, 1, 5};
int n = arr.length;
QuickSort ob = new QuickSort();
ob.sort(arr, 0, n-1);
System.out.println("sorted array");
printArray(arr);
}
}
/*This code is contributed by Rajat Mishra */ | [
"alcho@expediagroup.com"
] | alcho@expediagroup.com |
3b999b2106d6f8e84fb64c79c134045cb275bed9 | 0529524c95045b3232f6553d18a7fef5a059545e | /app/src/androidTest/java/TestCase_abc_apple_emoji_theme_gif_keyboard_2037131981.java | 1347cdb2d0087352758fc727470565b2ade12533 | [] | no_license | sunxiaobiu/BasicUnitAndroidTest | 432aa3e10f6a1ef5d674f269db50e2f1faad2096 | fed24f163d21408ef88588b8eaf7ce60d1809931 | refs/heads/main | 2023-02-11T21:02:03.784493 | 2021-01-03T10:07:07 | 2021-01-03T10:07:07 | 322,577,379 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 577 | java | import android.graphics.drawable.ShapeDrawable;
import android.graphics.drawable.shapes.OvalShape;
import android.graphics.drawable.shapes.Shape;
import androidx.test.runner.AndroidJUnit4;
import org.easymock.EasyMock;
import org.junit.Test;
import org.junit.runner.RunWith;
@RunWith(AndroidJUnit4.class)
public class TestCase_abc_apple_emoji_theme_gif_keyboard_2037131981 {
@Test
public void testCase() throws Exception {
ShapeDrawable var2 = new ShapeDrawable();
Object var1 = EasyMock.createMock(OvalShape.class);
var2.setShape((Shape)var1);
}
}
| [
"sunxiaobiu@gmail.com"
] | sunxiaobiu@gmail.com |
e1052136a5b0fd1fb757e4e59200ebf62094da73 | 26183054becbc84de93b122c0ef22f58687bdbe5 | /app/src/main/java/com/example/baris/whatis/data/models/Senses.java | 342bd331f06c26438b8256ed6e43ef01131ffdee | [
"MIT"
] | permissive | BBarisKilic/Capstone-Project-App | 1d3bab2c336d222bb783fdb3a0cb5a68217424f5 | 1da6e5109e3b537e36029150eb23c8d0107fb4cd | refs/heads/master | 2022-12-28T15:39:26.830998 | 2020-10-05T23:25:43 | 2020-10-05T23:25:43 | 144,052,165 | 1 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,325 | java | package com.example.baris.whatis.data.models;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import java.util.List;
public class Senses {
@SerializedName("crossReferenceMarkers")
@Expose
private List<String> crossReferenceMarkers = null;
@SerializedName("definitions")
@Expose
private List<String> definitions = null;
@SerializedName("examples")
@Expose
private List<Examples> examples = null;
@SerializedName("domains")
@Expose
private List<String> domains = null;
public List<String> getCrossReferenceMarkers() {
return crossReferenceMarkers;
}
public void setCrossReferenceMarkers(List<String> crossReferenceMarkers) {
this.crossReferenceMarkers = crossReferenceMarkers;
}
public List<String> getDefinitions() {
return definitions;
}
public void setDefinitions(List<String> definitions) {
this.definitions = definitions;
}
public List<Examples> getExamples() {
return examples;
}
public void setExamples(List<Examples> examples) {
this.examples = examples;
}
public List<String> getDomains() {
return domains;
}
public void setDomains(List<String> domains) {
this.domains = domains;
}
} | [
"bulentbariskilic@gmail.com"
] | bulentbariskilic@gmail.com |
9e90b0d55b6bb476849ae96828b158b15ad50309 | ab0c0eae99163ce7344a6e1b9592f9d6b6d7a78b | /app/src/main/java/slidingmenu/build/generated/source/r/debug/com/example/taozhiheng/slidingmenu/R.java | ab149569d489dbc5bc30256a1900cc72c8d7ae2e | [] | no_license | taozhiheng/Dotes | b751f7956c24c4f5bfa14b718245c01352682d3d | 335061b95b79fd02e59aae29f25443a3df293b07 | refs/heads/master | 2021-01-10T02:48:30.124963 | 2016-03-31T11:52:15 | 2016-03-31T11:52:15 | 55,146,380 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 304,048 | java | /* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package slidingmenu.build.generated.source.r.debug.com.example.taozhiheng.slidingmenu;
public final class R {
public static final class anim {
public static int abc_fade_in=0x7f040000;
public static int abc_fade_out=0x7f040001;
public static int abc_slide_in_bottom=0x7f040002;
public static int abc_slide_in_top=0x7f040003;
public static int abc_slide_out_bottom=0x7f040004;
public static int abc_slide_out_top=0x7f040005;
}
public static final class attr {
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionBarDivider=0x7f01005b;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionBarItemBackground=0x7f01005c;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionBarPopupTheme=0x7f010055;
/** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>May be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>wrap_content</code></td><td>0</td><td></td></tr>
</table>
*/
public static int actionBarSize=0x7f01005a;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionBarSplitStyle=0x7f010057;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionBarStyle=0x7f010056;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionBarTabBarStyle=0x7f010051;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionBarTabStyle=0x7f010050;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionBarTabTextStyle=0x7f010052;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionBarTheme=0x7f010058;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionBarWidgetTheme=0x7f010059;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionButtonStyle=0x7f010073;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionDropDownStyle=0x7f01006e;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionLayout=0x7f01002c;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionMenuTextAppearance=0x7f01005d;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
*/
public static int actionMenuTextColor=0x7f01005e;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModeBackground=0x7f010061;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModeCloseButtonStyle=0x7f010060;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModeCloseDrawable=0x7f010063;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModeCopyDrawable=0x7f010065;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModeCutDrawable=0x7f010064;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModeFindDrawable=0x7f010069;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModePasteDrawable=0x7f010066;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModePopupWindowStyle=0x7f01006b;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModeSelectAllDrawable=0x7f010067;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModeShareDrawable=0x7f010068;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModeSplitBackground=0x7f010062;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModeStyle=0x7f01005f;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModeWebSearchDrawable=0x7f01006a;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionOverflowButtonStyle=0x7f010053;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionOverflowMenuStyle=0x7f010054;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int actionProviderClass=0x7f01002e;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int actionViewClass=0x7f01002d;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int activityChooserViewStyle=0x7f01007a;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int background=0x7f01000c;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
*/
public static int backgroundSplit=0x7f01000e;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
*/
public static int backgroundStacked=0x7f01000d;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int barSize=0x7f010026;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int buttonBarButtonStyle=0x7f010075;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int buttonBarStyle=0x7f010074;
/** <p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>top</code></td><td>0x30</td><td></td></tr>
<tr><td><code>bottom</code></td><td>0x50</td><td></td></tr>
</table>
*/
public static int buttonGravity=0x7f0100a4;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int closeIcon=0x7f010035;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int closeItemLayout=0x7f01001c;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int collapseIcon=0x7f0100a5;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int color=0x7f010020;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int colorAccent=0x7f010095;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int colorButtonNormal=0x7f010099;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int colorControlActivated=0x7f010097;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int colorControlHighlight=0x7f010098;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int colorControlNormal=0x7f010096;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int colorPrimary=0x7f010093;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int colorPrimaryDark=0x7f010094;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int colorSwitchThumbNormal=0x7f01009a;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int commitIcon=0x7f010039;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int contentInsetEnd=0x7f010017;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int contentInsetLeft=0x7f010018;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int contentInsetRight=0x7f010019;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int contentInsetStart=0x7f010016;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int customNavigationLayout=0x7f01000f;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int disableChildrenWhenDisabled=0x7f010041;
/** <p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>none</code></td><td>0</td><td></td></tr>
<tr><td><code>useLogo</code></td><td>0x1</td><td></td></tr>
<tr><td><code>showHome</code></td><td>0x2</td><td></td></tr>
<tr><td><code>homeAsUp</code></td><td>0x4</td><td></td></tr>
<tr><td><code>showTitle</code></td><td>0x8</td><td></td></tr>
<tr><td><code>showCustom</code></td><td>0x10</td><td></td></tr>
<tr><td><code>disableHome</code></td><td>0x20</td><td></td></tr>
</table>
*/
public static int displayOptions=0x7f010005;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int divider=0x7f01000b;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int dividerHorizontal=0x7f010079;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int dividerPadding=0x7f01002a;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int dividerVertical=0x7f010078;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int drawableSize=0x7f010022;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int drawerArrowStyle=0x7f010000;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int dropDownListViewStyle=0x7f01008b;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int dropdownListPreferredItemHeight=0x7f01006f;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int editTextBackground=0x7f010080;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
*/
public static int editTextColor=0x7f01007f;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int elevation=0x7f01001a;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int expandActivityOverflowButtonDrawable=0x7f01001e;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int gapBetweenBars=0x7f010023;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int goIcon=0x7f010036;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int height=0x7f010001;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int hideOnContentScroll=0x7f010015;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int homeAsUpIndicator=0x7f010072;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int homeLayout=0x7f010010;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int icon=0x7f010009;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int iconifiedByDefault=0x7f010033;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int indeterminateProgressStyle=0x7f010012;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int initialActivityCount=0x7f01001d;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int isLightTheme=0x7f010002;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int itemPadding=0x7f010014;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int layout=0x7f010032;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int listChoiceBackgroundIndicator=0x7f010092;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int listPopupWindowStyle=0x7f01008c;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int listPreferredItemHeight=0x7f010086;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int listPreferredItemHeightLarge=0x7f010088;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int listPreferredItemHeightSmall=0x7f010087;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int listPreferredItemPaddingLeft=0x7f010089;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int listPreferredItemPaddingRight=0x7f01008a;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int logo=0x7f01000a;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int maxButtonHeight=0x7f0100a2;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int measureWithLargestChild=0x7f010028;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int middleBarArrowSize=0x7f010025;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int navigationContentDescription=0x7f0100a7;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int navigationIcon=0x7f0100a6;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>normal</code></td><td>0</td><td></td></tr>
<tr><td><code>listMode</code></td><td>1</td><td></td></tr>
<tr><td><code>tabMode</code></td><td>2</td><td></td></tr>
</table>
*/
public static int navigationMode=0x7f010004;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int overlapAnchor=0x7f010030;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int paddingEnd=0x7f0100a9;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int paddingStart=0x7f0100a8;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int panelBackground=0x7f01008f;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int panelMenuListTheme=0x7f010091;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int panelMenuListWidth=0x7f010090;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int popupMenuStyle=0x7f01007d;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int popupPromptView=0x7f010040;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int popupTheme=0x7f01001b;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int popupWindowStyle=0x7f01007e;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int preserveIconSpacing=0x7f01002f;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int progressBarPadding=0x7f010013;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int progressBarStyle=0x7f010011;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int prompt=0x7f01003e;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int queryBackground=0x7f01003b;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int queryHint=0x7f010034;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int rightPadding=0x7f01003d;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int searchIcon=0x7f010037;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int searchViewStyle=0x7f010085;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int selectableItemBackground=0x7f010076;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int selectableItemBackgroundBorderless=0x7f010077;
/** <p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>never</code></td><td>0</td><td></td></tr>
<tr><td><code>ifRoom</code></td><td>1</td><td></td></tr>
<tr><td><code>always</code></td><td>2</td><td></td></tr>
<tr><td><code>withText</code></td><td>4</td><td></td></tr>
<tr><td><code>collapseActionView</code></td><td>8</td><td></td></tr>
</table>
*/
public static int showAsAction=0x7f01002b;
/** <p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>none</code></td><td>0</td><td></td></tr>
<tr><td><code>beginning</code></td><td>1</td><td></td></tr>
<tr><td><code>middle</code></td><td>2</td><td></td></tr>
<tr><td><code>end</code></td><td>4</td><td></td></tr>
</table>
*/
public static int showDividers=0x7f010029;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int showText=0x7f010048;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int spinBars=0x7f010021;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int spinnerDropDownItemStyle=0x7f010071;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>dialog</code></td><td>0</td><td></td></tr>
<tr><td><code>dropdown</code></td><td>1</td><td></td></tr>
</table>
*/
public static int spinnerMode=0x7f01003f;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int spinnerStyle=0x7f010070;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int splitTrack=0x7f010047;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int state_above_anchor=0x7f010031;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int submitBackground=0x7f01003c;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int subtitle=0x7f010006;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int subtitleTextAppearance=0x7f01009c;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int subtitleTextStyle=0x7f010008;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int suggestionRowLayout=0x7f01003a;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int switchMinWidth=0x7f010045;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int switchPadding=0x7f010046;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int switchStyle=0x7f010081;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int switchTextAppearance=0x7f010044;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a boolean value, either "<code>true</code>" or "<code>false</code>".
*/
public static int textAllCaps=0x7f01001f;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int textAppearanceLargePopupMenu=0x7f01006c;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int textAppearanceListItem=0x7f01008d;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int textAppearanceListItemSmall=0x7f01008e;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int textAppearanceSearchResultSubtitle=0x7f010083;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int textAppearanceSearchResultTitle=0x7f010082;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int textAppearanceSmallPopupMenu=0x7f01006d;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
*/
public static int textColorSearchUrl=0x7f010084;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int theme=0x7f0100a3;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int thickness=0x7f010027;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int thumbTextPadding=0x7f010043;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int title=0x7f010003;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int titleMarginBottom=0x7f0100a1;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int titleMarginEnd=0x7f01009f;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int titleMarginStart=0x7f01009e;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int titleMarginTop=0x7f0100a0;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int titleMargins=0x7f01009d;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int titleTextAppearance=0x7f01009b;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int titleTextStyle=0x7f010007;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int toolbarNavigationButtonStyle=0x7f01007c;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int toolbarStyle=0x7f01007b;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int topBottomBarArrowSize=0x7f010024;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int track=0x7f010042;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int voiceIcon=0x7f010038;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int windowActionBar=0x7f010049;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int windowActionBarOverlay=0x7f01004a;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int windowActionModeOverlay=0x7f01004b;
/** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int windowFixedHeightMajor=0x7f01004f;
/** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int windowFixedHeightMinor=0x7f01004d;
/** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int windowFixedWidthMajor=0x7f01004c;
/** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int windowFixedWidthMinor=0x7f01004e;
}
public static final class bool {
public static int abc_action_bar_embed_tabs=0x7f050000;
public static int abc_action_bar_embed_tabs_pre_jb=0x7f050001;
public static int abc_action_bar_expanded_action_views_exclusive=0x7f050002;
public static int abc_config_actionMenuItemAllCaps=0x7f050003;
public static int abc_config_allowActionMenuItemTextWithIcon=0x7f050004;
public static int abc_config_showMenuShortcutsWhenKeyboardPresent=0x7f050005;
}
public static final class color {
public static int abc_background_cache_hint_selector_material_dark=0x7f060031;
public static int abc_background_cache_hint_selector_material_light=0x7f060032;
public static int abc_input_method_navigation_guard=0x7f060000;
public static int abc_primary_text_disable_only_material_dark=0x7f060033;
public static int abc_primary_text_disable_only_material_light=0x7f060034;
public static int abc_primary_text_material_dark=0x7f060035;
public static int abc_primary_text_material_light=0x7f060036;
public static int abc_search_url_text=0x7f060037;
public static int abc_search_url_text_normal=0x7f060001;
public static int abc_search_url_text_pressed=0x7f060002;
public static int abc_search_url_text_selected=0x7f060003;
public static int abc_secondary_text_material_dark=0x7f060038;
public static int abc_secondary_text_material_light=0x7f060039;
public static int accent_material_dark=0x7f060004;
public static int accent_material_light=0x7f060005;
public static int background_floating_material_dark=0x7f060006;
public static int background_floating_material_light=0x7f060007;
public static int background_material_dark=0x7f060008;
public static int background_material_light=0x7f060009;
public static int bright_foreground_disabled_material_dark=0x7f06000a;
public static int bright_foreground_disabled_material_light=0x7f06000b;
public static int bright_foreground_inverse_material_dark=0x7f06000c;
public static int bright_foreground_inverse_material_light=0x7f06000d;
public static int bright_foreground_material_dark=0x7f06000e;
public static int bright_foreground_material_light=0x7f06000f;
public static int button_material_dark=0x7f060010;
public static int button_material_light=0x7f060011;
public static int dim_foreground_disabled_material_dark=0x7f060012;
public static int dim_foreground_disabled_material_light=0x7f060013;
public static int dim_foreground_material_dark=0x7f060014;
public static int dim_foreground_material_light=0x7f060015;
public static int highlighted_text_material_dark=0x7f060016;
public static int highlighted_text_material_light=0x7f060017;
public static int hint_foreground_material_dark=0x7f060018;
public static int hint_foreground_material_light=0x7f060019;
public static int link_text_material_dark=0x7f06001a;
public static int link_text_material_light=0x7f06001b;
public static int material_blue_grey_800=0x7f06001c;
public static int material_blue_grey_900=0x7f06001d;
public static int material_blue_grey_950=0x7f06001e;
public static int material_deep_teal_200=0x7f06001f;
public static int material_deep_teal_500=0x7f060020;
public static int primary_dark_material_dark=0x7f060021;
public static int primary_dark_material_light=0x7f060022;
public static int primary_material_dark=0x7f060023;
public static int primary_material_light=0x7f060024;
public static int primary_text_default_material_dark=0x7f060025;
public static int primary_text_default_material_light=0x7f060026;
public static int primary_text_disabled_material_dark=0x7f060027;
public static int primary_text_disabled_material_light=0x7f060028;
public static int ripple_material_dark=0x7f060029;
public static int ripple_material_light=0x7f06002a;
public static int secondary_text_default_material_dark=0x7f06002b;
public static int secondary_text_default_material_light=0x7f06002c;
public static int secondary_text_disabled_material_dark=0x7f06002d;
public static int secondary_text_disabled_material_light=0x7f06002e;
public static int switch_thumb_normal_material_dark=0x7f06002f;
public static int switch_thumb_normal_material_light=0x7f060030;
}
public static final class dimen {
public static int abc_action_bar_default_height_material=0x7f070000;
public static int abc_action_bar_default_padding_material=0x7f070001;
public static int abc_action_bar_icon_vertical_padding_material=0x7f070002;
public static int abc_action_bar_progress_bar_size=0x7f070003;
public static int abc_action_bar_stacked_max_height=0x7f070004;
public static int abc_action_bar_stacked_tab_max_width=0x7f070005;
public static int abc_action_bar_subtitle_bottom_margin_material=0x7f070006;
public static int abc_action_bar_subtitle_top_margin_material=0x7f070007;
public static int abc_action_button_min_height_material=0x7f070008;
public static int abc_action_button_min_width_material=0x7f070009;
public static int abc_action_button_min_width_overflow_material=0x7f07000a;
public static int abc_config_prefDialogWidth=0x7f07000b;
public static int abc_control_inset_material=0x7f07000c;
public static int abc_control_padding_material=0x7f07000d;
public static int abc_dropdownitem_icon_width=0x7f07000e;
public static int abc_dropdownitem_text_padding_left=0x7f07000f;
public static int abc_dropdownitem_text_padding_right=0x7f070010;
public static int abc_panel_menu_list_width=0x7f070011;
public static int abc_search_view_preferred_width=0x7f070012;
public static int abc_search_view_text_min_width=0x7f070013;
public static int abc_text_size_body_1_material=0x7f070014;
public static int abc_text_size_body_2_material=0x7f070015;
public static int abc_text_size_button_material=0x7f070016;
public static int abc_text_size_caption_material=0x7f070017;
public static int abc_text_size_display_1_material=0x7f070018;
public static int abc_text_size_display_2_material=0x7f070019;
public static int abc_text_size_display_3_material=0x7f07001a;
public static int abc_text_size_display_4_material=0x7f07001b;
public static int abc_text_size_headline_material=0x7f07001c;
public static int abc_text_size_large_material=0x7f07001d;
public static int abc_text_size_medium_material=0x7f07001e;
public static int abc_text_size_menu_material=0x7f07001f;
public static int abc_text_size_small_material=0x7f070020;
public static int abc_text_size_subhead_material=0x7f070021;
public static int abc_text_size_subtitle_material_toolbar=0x7f070022;
public static int abc_text_size_title_material=0x7f070023;
public static int abc_text_size_title_material_toolbar=0x7f070024;
public static int dialog_fixed_height_major=0x7f070025;
public static int dialog_fixed_height_minor=0x7f070026;
public static int dialog_fixed_width_major=0x7f070027;
public static int dialog_fixed_width_minor=0x7f070028;
public static int disabled_alpha_material_dark=0x7f070029;
public static int disabled_alpha_material_light=0x7f07002a;
}
public static final class drawable {
public static int abc_ab_share_pack_holo_dark=0x7f020000;
public static int abc_ab_share_pack_holo_light=0x7f020001;
public static int abc_btn_check_material=0x7f020002;
public static int abc_btn_check_to_on_mtrl_000=0x7f020003;
public static int abc_btn_check_to_on_mtrl_015=0x7f020004;
public static int abc_btn_radio_material=0x7f020005;
public static int abc_btn_radio_to_on_mtrl_000=0x7f020006;
public static int abc_btn_radio_to_on_mtrl_015=0x7f020007;
public static int abc_btn_switch_to_on_mtrl_00001=0x7f020008;
public static int abc_btn_switch_to_on_mtrl_00012=0x7f020009;
public static int abc_cab_background_internal_bg=0x7f02000a;
public static int abc_cab_background_top_material=0x7f02000b;
public static int abc_cab_background_top_mtrl_alpha=0x7f02000c;
public static int abc_edit_text_material=0x7f02000d;
public static int abc_ic_ab_back_mtrl_am_alpha=0x7f02000e;
public static int abc_ic_clear_mtrl_alpha=0x7f02000f;
public static int abc_ic_commit_search_api_mtrl_alpha=0x7f020010;
public static int abc_ic_go_search_api_mtrl_alpha=0x7f020011;
public static int abc_ic_menu_copy_mtrl_am_alpha=0x7f020012;
public static int abc_ic_menu_cut_mtrl_alpha=0x7f020013;
public static int abc_ic_menu_moreoverflow_mtrl_alpha=0x7f020014;
public static int abc_ic_menu_paste_mtrl_am_alpha=0x7f020015;
public static int abc_ic_menu_selectall_mtrl_alpha=0x7f020016;
public static int abc_ic_menu_share_mtrl_alpha=0x7f020017;
public static int abc_ic_search_api_mtrl_alpha=0x7f020018;
public static int abc_ic_voice_search_api_mtrl_alpha=0x7f020019;
public static int abc_item_background_holo_dark=0x7f02001a;
public static int abc_item_background_holo_light=0x7f02001b;
public static int abc_list_divider_mtrl_alpha=0x7f02001c;
public static int abc_list_focused_holo=0x7f02001d;
public static int abc_list_longpressed_holo=0x7f02001e;
public static int abc_list_pressed_holo_dark=0x7f02001f;
public static int abc_list_pressed_holo_light=0x7f020020;
public static int abc_list_selector_background_transition_holo_dark=0x7f020021;
public static int abc_list_selector_background_transition_holo_light=0x7f020022;
public static int abc_list_selector_disabled_holo_dark=0x7f020023;
public static int abc_list_selector_disabled_holo_light=0x7f020024;
public static int abc_list_selector_holo_dark=0x7f020025;
public static int abc_list_selector_holo_light=0x7f020026;
public static int abc_menu_hardkey_panel_mtrl_mult=0x7f020027;
public static int abc_popup_background_mtrl_mult=0x7f020028;
public static int abc_spinner_mtrl_am_alpha=0x7f020029;
public static int abc_switch_thumb_material=0x7f02002a;
public static int abc_switch_track_mtrl_alpha=0x7f02002b;
public static int abc_tab_indicator_material=0x7f02002c;
public static int abc_tab_indicator_mtrl_alpha=0x7f02002d;
public static int abc_textfield_activated_mtrl_alpha=0x7f02002e;
public static int abc_textfield_default_mtrl_alpha=0x7f02002f;
public static int abc_textfield_search_activated_mtrl_alpha=0x7f020030;
public static int abc_textfield_search_default_mtrl_alpha=0x7f020031;
public static int abc_textfield_search_material=0x7f020032;
public static int ic_launcher=0x7f020033;
public static int img_1=0x7f020034;
public static int img_2=0x7f020035;
public static int img_3=0x7f020036;
public static int img_4=0x7f020037;
public static int img_5=0x7f020038;
public static int img_frame_background=0x7f020039;
public static int qq=0x7f02003a;
}
public static final class id {
public static int action_bar=0x7f080033;
public static int action_bar_activity_content=0x7f080000;
public static int action_bar_container=0x7f080032;
public static int action_bar_root=0x7f08002e;
public static int action_bar_spinner=0x7f080001;
public static int action_bar_subtitle=0x7f080021;
public static int action_bar_title=0x7f080020;
public static int action_context_bar=0x7f080034;
public static int action_menu_divider=0x7f080002;
public static int action_menu_presenter=0x7f080003;
public static int action_mode_bar=0x7f080030;
public static int action_mode_bar_stub=0x7f08002f;
public static int action_mode_close_button=0x7f080022;
public static int activity_chooser_view_content=0x7f080023;
public static int always=0x7f080016;
public static int beginning=0x7f080013;
public static int bottom=0x7f08001e;
public static int checkbox=0x7f08002b;
public static int collapseActionView=0x7f080017;
public static int decor_content_parent=0x7f080031;
public static int default_activity_button=0x7f080026;
public static int dialog=0x7f08001b;
public static int disableHome=0x7f08000c;
public static int dropdown=0x7f08001c;
public static int edit_query=0x7f080035;
public static int end=0x7f080014;
public static int expand_activities_button=0x7f080024;
public static int expanded_menu=0x7f08002a;
public static int five=0x7f080045;
public static int four=0x7f080044;
public static int home=0x7f080004;
public static int homeAsUp=0x7f08000d;
public static int icon=0x7f080028;
public static int id_menu=0x7f080046;
public static int ifRoom=0x7f080018;
public static int image=0x7f080025;
public static int listMode=0x7f080009;
public static int list_item=0x7f080027;
public static int middle=0x7f080015;
public static int never=0x7f080019;
public static int none=0x7f08000e;
public static int normal=0x7f08000a;
public static int one=0x7f080042;
public static int progress_circular=0x7f080005;
public static int progress_horizontal=0x7f080006;
public static int radio=0x7f08002d;
public static int search_badge=0x7f080037;
public static int search_bar=0x7f080036;
public static int search_button=0x7f080038;
public static int search_close_btn=0x7f08003d;
public static int search_edit_frame=0x7f080039;
public static int search_go_btn=0x7f08003f;
public static int search_mag_icon=0x7f08003a;
public static int search_plate=0x7f08003b;
public static int search_src_text=0x7f08003c;
public static int search_voice_btn=0x7f080040;
public static int shortcut=0x7f08002c;
public static int showCustom=0x7f08000f;
public static int showHome=0x7f080010;
public static int showTitle=0x7f080011;
public static int split_action_bar=0x7f080007;
public static int submit_area=0x7f08003e;
public static int tabMode=0x7f08000b;
public static int three=0x7f080043;
public static int title=0x7f080029;
public static int top=0x7f08001f;
public static int two=0x7f080041;
public static int up=0x7f080008;
public static int useLogo=0x7f080012;
public static int withText=0x7f08001a;
public static int wrap_content=0x7f08001d;
}
public static final class integer {
public static int abc_max_action_buttons=0x7f090000;
}
public static final class layout {
public static int abc_action_bar_title_item=0x7f030000;
public static int abc_action_bar_up_container=0x7f030001;
public static int abc_action_bar_view_list_nav_layout=0x7f030002;
public static int abc_action_menu_item_layout=0x7f030003;
public static int abc_action_menu_layout=0x7f030004;
public static int abc_action_mode_bar=0x7f030005;
public static int abc_action_mode_close_item_material=0x7f030006;
public static int abc_activity_chooser_view=0x7f030007;
public static int abc_activity_chooser_view_include=0x7f030008;
public static int abc_activity_chooser_view_list_item=0x7f030009;
public static int abc_expanded_menu_layout=0x7f03000a;
public static int abc_list_menu_item_checkbox=0x7f03000b;
public static int abc_list_menu_item_icon=0x7f03000c;
public static int abc_list_menu_item_layout=0x7f03000d;
public static int abc_list_menu_item_radio=0x7f03000e;
public static int abc_popup_menu_item_layout=0x7f03000f;
public static int abc_screen_content_include=0x7f030010;
public static int abc_screen_simple=0x7f030011;
public static int abc_screen_simple_overlay_action_mode=0x7f030012;
public static int abc_screen_toolbar=0x7f030013;
public static int abc_search_dropdown_item_icons_2line=0x7f030014;
public static int abc_search_view=0x7f030015;
public static int abc_simple_dropdown_hint=0x7f030016;
public static int menu_content=0x7f030017;
public static int sliding_main=0x7f030018;
public static int support_simple_spinner_dropdown_item=0x7f030019;
}
public static final class string {
public static int abc_action_bar_home_description=0x7f0a0000;
public static int abc_action_bar_home_description_format=0x7f0a0001;
public static int abc_action_bar_home_subtitle_description_format=0x7f0a0002;
public static int abc_action_bar_up_description=0x7f0a0003;
public static int abc_action_menu_overflow_description=0x7f0a0004;
public static int abc_action_mode_done=0x7f0a0005;
public static int abc_activity_chooser_view_see_all=0x7f0a0006;
public static int abc_activitychooserview_choose_application=0x7f0a0007;
public static int abc_searchview_description_clear=0x7f0a0008;
public static int abc_searchview_description_query=0x7f0a0009;
public static int abc_searchview_description_search=0x7f0a000a;
public static int abc_searchview_description_submit=0x7f0a000b;
public static int abc_searchview_description_voice=0x7f0a000c;
public static int abc_shareactionprovider_share_with=0x7f0a000d;
public static int abc_shareactionprovider_share_with_application=0x7f0a000e;
public static int app_name=0x7f0a000f;
}
public static final class style {
public static int Base_TextAppearance_AppCompat=0x7f0b0000;
public static int Base_TextAppearance_AppCompat_Body1=0x7f0b0001;
public static int Base_TextAppearance_AppCompat_Body2=0x7f0b0002;
public static int Base_TextAppearance_AppCompat_Button=0x7f0b0003;
public static int Base_TextAppearance_AppCompat_Caption=0x7f0b0004;
public static int Base_TextAppearance_AppCompat_Display1=0x7f0b0005;
public static int Base_TextAppearance_AppCompat_Display2=0x7f0b0006;
public static int Base_TextAppearance_AppCompat_Display3=0x7f0b0007;
public static int Base_TextAppearance_AppCompat_Display4=0x7f0b0008;
public static int Base_TextAppearance_AppCompat_Headline=0x7f0b0009;
public static int Base_TextAppearance_AppCompat_Inverse=0x7f0b000a;
public static int Base_TextAppearance_AppCompat_Large=0x7f0b000b;
public static int Base_TextAppearance_AppCompat_Large_Inverse=0x7f0b000c;
public static int Base_TextAppearance_AppCompat_Light_Widget_PopupMenu_Large=0x7f0b000d;
public static int Base_TextAppearance_AppCompat_Light_Widget_PopupMenu_Small=0x7f0b000e;
public static int Base_TextAppearance_AppCompat_Medium=0x7f0b000f;
public static int Base_TextAppearance_AppCompat_Medium_Inverse=0x7f0b0010;
public static int Base_TextAppearance_AppCompat_Menu=0x7f0b0011;
public static int Base_TextAppearance_AppCompat_SearchResult=0x7f0b0012;
public static int Base_TextAppearance_AppCompat_SearchResult_Subtitle=0x7f0b0013;
public static int Base_TextAppearance_AppCompat_SearchResult_Title=0x7f0b0014;
public static int Base_TextAppearance_AppCompat_Small=0x7f0b0015;
public static int Base_TextAppearance_AppCompat_Small_Inverse=0x7f0b0016;
public static int Base_TextAppearance_AppCompat_Subhead=0x7f0b0017;
public static int Base_TextAppearance_AppCompat_Subhead_Inverse=0x7f0b0018;
public static int Base_TextAppearance_AppCompat_Title=0x7f0b0019;
public static int Base_TextAppearance_AppCompat_Title_Inverse=0x7f0b001a;
public static int Base_TextAppearance_AppCompat_Widget_ActionBar_Menu=0x7f0b001b;
public static int Base_TextAppearance_AppCompat_Widget_ActionBar_Subtitle=0x7f0b001c;
public static int Base_TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse=0x7f0b001d;
public static int Base_TextAppearance_AppCompat_Widget_ActionBar_Title=0x7f0b001e;
public static int Base_TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse=0x7f0b001f;
public static int Base_TextAppearance_AppCompat_Widget_ActionMode_Subtitle=0x7f0b0020;
public static int Base_TextAppearance_AppCompat_Widget_ActionMode_Title=0x7f0b0021;
public static int Base_TextAppearance_AppCompat_Widget_DropDownItem=0x7f0b0022;
public static int Base_TextAppearance_AppCompat_Widget_PopupMenu_Large=0x7f0b0023;
public static int Base_TextAppearance_AppCompat_Widget_PopupMenu_Small=0x7f0b0024;
public static int Base_TextAppearance_AppCompat_Widget_Switch=0x7f0b0025;
public static int Base_TextAppearance_Widget_AppCompat_ExpandedMenu_Item=0x7f0b0026;
public static int Base_TextAppearance_Widget_AppCompat_Toolbar_Subtitle=0x7f0b0027;
public static int Base_TextAppearance_Widget_AppCompat_Toolbar_Title=0x7f0b0028;
public static int Base_Theme_AppCompat=0x7f0b0029;
public static int Base_Theme_AppCompat_CompactMenu=0x7f0b002a;
public static int Base_Theme_AppCompat_Dialog=0x7f0b002b;
public static int Base_Theme_AppCompat_Dialog_FixedSize=0x7f0b002c;
public static int Base_Theme_AppCompat_DialogWhenLarge=0x7f0b002d;
public static int Base_Theme_AppCompat_Light=0x7f0b002e;
public static int Base_Theme_AppCompat_Light_DarkActionBar=0x7f0b002f;
public static int Base_Theme_AppCompat_Light_Dialog=0x7f0b0030;
public static int Base_Theme_AppCompat_Light_Dialog_FixedSize=0x7f0b0031;
public static int Base_Theme_AppCompat_Light_DialogWhenLarge=0x7f0b0032;
public static int Base_ThemeOverlay_AppCompat=0x7f0b0033;
public static int Base_ThemeOverlay_AppCompat_ActionBar=0x7f0b0034;
public static int Base_ThemeOverlay_AppCompat_Dark=0x7f0b0035;
public static int Base_ThemeOverlay_AppCompat_Dark_ActionBar=0x7f0b0036;
public static int Base_ThemeOverlay_AppCompat_Light=0x7f0b0037;
public static int Base_V11_Theme_AppCompat=0x7f0b00df;
public static int Base_V11_Theme_AppCompat_Dialog=0x7f0b00e0;
public static int Base_V11_Theme_AppCompat_Light=0x7f0b00e1;
public static int Base_V11_Theme_AppCompat_Light_Dialog=0x7f0b00e2;
public static int Base_V14_Theme_AppCompat=0x7f0b00e3;
public static int Base_V14_Theme_AppCompat_Dialog=0x7f0b00e4;
public static int Base_V14_Theme_AppCompat_Light=0x7f0b00e5;
public static int Base_V14_Theme_AppCompat_Light_Dialog=0x7f0b00e6;
public static int Base_V21_Theme_AppCompat=0x7f0b00e7;
public static int Base_V21_Theme_AppCompat_Dialog=0x7f0b00e8;
public static int Base_V21_Theme_AppCompat_Light=0x7f0b00e9;
public static int Base_V21_Theme_AppCompat_Light_Dialog=0x7f0b00ea;
public static int Base_V7_Theme_AppCompat=0x7f0b0038;
public static int Base_V7_Theme_AppCompat_Dialog=0x7f0b0039;
public static int Base_V7_Theme_AppCompat_Light=0x7f0b003a;
public static int Base_Widget_AppCompat_ActionBar=0x7f0b003b;
public static int Base_Widget_AppCompat_ActionBar_Solid=0x7f0b003c;
public static int Base_Widget_AppCompat_ActionBar_TabBar=0x7f0b003d;
public static int Base_Widget_AppCompat_ActionBar_TabText=0x7f0b003e;
public static int Base_Widget_AppCompat_ActionBar_TabView=0x7f0b003f;
public static int Base_Widget_AppCompat_ActionButton=0x7f0b0040;
public static int Base_Widget_AppCompat_ActionButton_CloseMode=0x7f0b0041;
public static int Base_Widget_AppCompat_ActionButton_Overflow=0x7f0b0042;
public static int Base_Widget_AppCompat_ActionMode=0x7f0b0043;
public static int Base_Widget_AppCompat_ActivityChooserView=0x7f0b0044;
public static int Base_Widget_AppCompat_AutoCompleteTextView=0x7f0b0045;
public static int Base_Widget_AppCompat_CompoundButton_Switch=0x7f0b0046;
public static int Base_Widget_AppCompat_DrawerArrowToggle=0x7f0b0047;
public static int Base_Widget_AppCompat_DropDownItem_Spinner=0x7f0b0048;
public static int Base_Widget_AppCompat_EditText=0x7f0b0049;
public static int Base_Widget_AppCompat_Light_ActionBar=0x7f0b004a;
public static int Base_Widget_AppCompat_Light_ActionBar_Solid=0x7f0b004b;
public static int Base_Widget_AppCompat_Light_ActionBar_TabBar=0x7f0b004c;
public static int Base_Widget_AppCompat_Light_ActionBar_TabText=0x7f0b004d;
public static int Base_Widget_AppCompat_Light_ActionBar_TabText_Inverse=0x7f0b004e;
public static int Base_Widget_AppCompat_Light_ActionBar_TabView=0x7f0b004f;
public static int Base_Widget_AppCompat_Light_ActivityChooserView=0x7f0b0050;
public static int Base_Widget_AppCompat_Light_AutoCompleteTextView=0x7f0b0051;
public static int Base_Widget_AppCompat_Light_PopupMenu=0x7f0b0052;
public static int Base_Widget_AppCompat_Light_PopupMenu_Overflow=0x7f0b0053;
public static int Base_Widget_AppCompat_ListPopupWindow=0x7f0b0054;
public static int Base_Widget_AppCompat_ListView_DropDown=0x7f0b0055;
public static int Base_Widget_AppCompat_ListView_Menu=0x7f0b0056;
public static int Base_Widget_AppCompat_PopupMenu=0x7f0b0057;
public static int Base_Widget_AppCompat_PopupMenu_Overflow=0x7f0b0058;
public static int Base_Widget_AppCompat_PopupWindow=0x7f0b0059;
public static int Base_Widget_AppCompat_ProgressBar=0x7f0b005a;
public static int Base_Widget_AppCompat_ProgressBar_Horizontal=0x7f0b005b;
public static int Base_Widget_AppCompat_SearchView=0x7f0b005c;
public static int Base_Widget_AppCompat_Spinner=0x7f0b005d;
public static int Base_Widget_AppCompat_Spinner_DropDown_ActionBar=0x7f0b005e;
public static int Base_Widget_AppCompat_Toolbar=0x7f0b005f;
public static int Base_Widget_AppCompat_Toolbar_Button_Navigation=0x7f0b0060;
public static int Platform_AppCompat=0x7f0b0061;
public static int Platform_AppCompat_Dialog=0x7f0b0062;
public static int Platform_AppCompat_Light=0x7f0b0063;
public static int Platform_AppCompat_Light_Dialog=0x7f0b0064;
public static int RtlOverlay_Widget_AppCompat_ActionBar_TitleItem=0x7f0b0065;
public static int RtlOverlay_Widget_AppCompat_ActionButton_CloseMode=0x7f0b0066;
public static int RtlOverlay_Widget_AppCompat_ActionButton_Overflow=0x7f0b0067;
public static int RtlOverlay_Widget_AppCompat_PopupMenuItem=0x7f0b0068;
public static int RtlOverlay_Widget_AppCompat_PopupMenuItem_InternalGroup=0x7f0b0069;
public static int RtlOverlay_Widget_AppCompat_PopupMenuItem_Text=0x7f0b006a;
public static int RtlOverlay_Widget_AppCompat_Search_DropDown=0x7f0b006b;
public static int RtlOverlay_Widget_AppCompat_Search_DropDown_Icon1=0x7f0b006c;
public static int RtlOverlay_Widget_AppCompat_Search_DropDown_Icon2=0x7f0b006d;
public static int RtlOverlay_Widget_AppCompat_Search_DropDown_Query=0x7f0b006e;
public static int RtlOverlay_Widget_AppCompat_Search_DropDown_Text=0x7f0b006f;
public static int RtlOverlay_Widget_AppCompat_SearchView_MagIcon=0x7f0b0070;
public static int TextAppearance_AppCompat=0x7f0b0071;
public static int TextAppearance_AppCompat_Body1=0x7f0b0072;
public static int TextAppearance_AppCompat_Body2=0x7f0b0073;
public static int TextAppearance_AppCompat_Button=0x7f0b0074;
public static int TextAppearance_AppCompat_Caption=0x7f0b0075;
public static int TextAppearance_AppCompat_Display1=0x7f0b0076;
public static int TextAppearance_AppCompat_Display2=0x7f0b0077;
public static int TextAppearance_AppCompat_Display3=0x7f0b0078;
public static int TextAppearance_AppCompat_Display4=0x7f0b0079;
public static int TextAppearance_AppCompat_Headline=0x7f0b007a;
public static int TextAppearance_AppCompat_Inverse=0x7f0b007b;
public static int TextAppearance_AppCompat_Large=0x7f0b007c;
public static int TextAppearance_AppCompat_Large_Inverse=0x7f0b007d;
public static int TextAppearance_AppCompat_Light_SearchResult_Subtitle=0x7f0b007e;
public static int TextAppearance_AppCompat_Light_SearchResult_Title=0x7f0b007f;
public static int TextAppearance_AppCompat_Light_Widget_PopupMenu_Large=0x7f0b0080;
public static int TextAppearance_AppCompat_Light_Widget_PopupMenu_Small=0x7f0b0081;
public static int TextAppearance_AppCompat_Medium=0x7f0b0082;
public static int TextAppearance_AppCompat_Medium_Inverse=0x7f0b0083;
public static int TextAppearance_AppCompat_Menu=0x7f0b0084;
public static int TextAppearance_AppCompat_SearchResult_Subtitle=0x7f0b0085;
public static int TextAppearance_AppCompat_SearchResult_Title=0x7f0b0086;
public static int TextAppearance_AppCompat_Small=0x7f0b0087;
public static int TextAppearance_AppCompat_Small_Inverse=0x7f0b0088;
public static int TextAppearance_AppCompat_Subhead=0x7f0b0089;
public static int TextAppearance_AppCompat_Subhead_Inverse=0x7f0b008a;
public static int TextAppearance_AppCompat_Title=0x7f0b008b;
public static int TextAppearance_AppCompat_Title_Inverse=0x7f0b008c;
public static int TextAppearance_AppCompat_Widget_ActionBar_Menu=0x7f0b008d;
public static int TextAppearance_AppCompat_Widget_ActionBar_Subtitle=0x7f0b008e;
public static int TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse=0x7f0b008f;
public static int TextAppearance_AppCompat_Widget_ActionBar_Title=0x7f0b0090;
public static int TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse=0x7f0b0091;
public static int TextAppearance_AppCompat_Widget_ActionMode_Subtitle=0x7f0b0092;
public static int TextAppearance_AppCompat_Widget_ActionMode_Subtitle_Inverse=0x7f0b0093;
public static int TextAppearance_AppCompat_Widget_ActionMode_Title=0x7f0b0094;
public static int TextAppearance_AppCompat_Widget_ActionMode_Title_Inverse=0x7f0b0095;
public static int TextAppearance_AppCompat_Widget_DropDownItem=0x7f0b0096;
public static int TextAppearance_AppCompat_Widget_PopupMenu_Large=0x7f0b0097;
public static int TextAppearance_AppCompat_Widget_PopupMenu_Small=0x7f0b0098;
public static int TextAppearance_AppCompat_Widget_Switch=0x7f0b0099;
public static int TextAppearance_Widget_AppCompat_ExpandedMenu_Item=0x7f0b009a;
public static int TextAppearance_Widget_AppCompat_Toolbar_Subtitle=0x7f0b009b;
public static int TextAppearance_Widget_AppCompat_Toolbar_Title=0x7f0b009c;
public static int Theme_AppCompat=0x7f0b009d;
public static int Theme_AppCompat_CompactMenu=0x7f0b009e;
public static int Theme_AppCompat_Dialog=0x7f0b009f;
public static int Theme_AppCompat_DialogWhenLarge=0x7f0b00a0;
public static int Theme_AppCompat_Light=0x7f0b00a1;
public static int Theme_AppCompat_Light_DarkActionBar=0x7f0b00a2;
public static int Theme_AppCompat_Light_Dialog=0x7f0b00a3;
public static int Theme_AppCompat_Light_DialogWhenLarge=0x7f0b00a4;
public static int Theme_AppCompat_Light_NoActionBar=0x7f0b00a5;
public static int Theme_AppCompat_NoActionBar=0x7f0b00a6;
public static int ThemeOverlay_AppCompat=0x7f0b00a7;
public static int ThemeOverlay_AppCompat_ActionBar=0x7f0b00a8;
public static int ThemeOverlay_AppCompat_Dark=0x7f0b00a9;
public static int ThemeOverlay_AppCompat_Dark_ActionBar=0x7f0b00aa;
public static int ThemeOverlay_AppCompat_Light=0x7f0b00ab;
public static int Widget_AppCompat_ActionBar=0x7f0b00ac;
public static int Widget_AppCompat_ActionBar_Solid=0x7f0b00ad;
public static int Widget_AppCompat_ActionBar_TabBar=0x7f0b00ae;
public static int Widget_AppCompat_ActionBar_TabText=0x7f0b00af;
public static int Widget_AppCompat_ActionBar_TabView=0x7f0b00b0;
public static int Widget_AppCompat_ActionButton=0x7f0b00b1;
public static int Widget_AppCompat_ActionButton_CloseMode=0x7f0b00b2;
public static int Widget_AppCompat_ActionButton_Overflow=0x7f0b00b3;
public static int Widget_AppCompat_ActionMode=0x7f0b00b4;
public static int Widget_AppCompat_ActivityChooserView=0x7f0b00b5;
public static int Widget_AppCompat_AutoCompleteTextView=0x7f0b00b6;
public static int Widget_AppCompat_CompoundButton_Switch=0x7f0b00b7;
public static int Widget_AppCompat_DrawerArrowToggle=0x7f0b00b8;
public static int Widget_AppCompat_DropDownItem_Spinner=0x7f0b00b9;
public static int Widget_AppCompat_EditText=0x7f0b00ba;
public static int Widget_AppCompat_Light_ActionBar=0x7f0b00bb;
public static int Widget_AppCompat_Light_ActionBar_Solid=0x7f0b00bc;
public static int Widget_AppCompat_Light_ActionBar_Solid_Inverse=0x7f0b00bd;
public static int Widget_AppCompat_Light_ActionBar_TabBar=0x7f0b00be;
public static int Widget_AppCompat_Light_ActionBar_TabBar_Inverse=0x7f0b00bf;
public static int Widget_AppCompat_Light_ActionBar_TabText=0x7f0b00c0;
public static int Widget_AppCompat_Light_ActionBar_TabText_Inverse=0x7f0b00c1;
public static int Widget_AppCompat_Light_ActionBar_TabView=0x7f0b00c2;
public static int Widget_AppCompat_Light_ActionBar_TabView_Inverse=0x7f0b00c3;
public static int Widget_AppCompat_Light_ActionButton=0x7f0b00c4;
public static int Widget_AppCompat_Light_ActionButton_CloseMode=0x7f0b00c5;
public static int Widget_AppCompat_Light_ActionButton_Overflow=0x7f0b00c6;
public static int Widget_AppCompat_Light_ActionMode_Inverse=0x7f0b00c7;
public static int Widget_AppCompat_Light_ActivityChooserView=0x7f0b00c8;
public static int Widget_AppCompat_Light_AutoCompleteTextView=0x7f0b00c9;
public static int Widget_AppCompat_Light_DropDownItem_Spinner=0x7f0b00ca;
public static int Widget_AppCompat_Light_ListPopupWindow=0x7f0b00cb;
public static int Widget_AppCompat_Light_ListView_DropDown=0x7f0b00cc;
public static int Widget_AppCompat_Light_PopupMenu=0x7f0b00cd;
public static int Widget_AppCompat_Light_PopupMenu_Overflow=0x7f0b00ce;
public static int Widget_AppCompat_Light_SearchView=0x7f0b00cf;
public static int Widget_AppCompat_Light_Spinner_DropDown_ActionBar=0x7f0b00d0;
public static int Widget_AppCompat_ListPopupWindow=0x7f0b00d1;
public static int Widget_AppCompat_ListView_DropDown=0x7f0b00d2;
public static int Widget_AppCompat_ListView_Menu=0x7f0b00d3;
public static int Widget_AppCompat_PopupMenu=0x7f0b00d4;
public static int Widget_AppCompat_PopupMenu_Overflow=0x7f0b00d5;
public static int Widget_AppCompat_PopupWindow=0x7f0b00d6;
public static int Widget_AppCompat_ProgressBar=0x7f0b00d7;
public static int Widget_AppCompat_ProgressBar_Horizontal=0x7f0b00d8;
public static int Widget_AppCompat_SearchView=0x7f0b00d9;
public static int Widget_AppCompat_Spinner=0x7f0b00da;
public static int Widget_AppCompat_Spinner_DropDown=0x7f0b00db;
public static int Widget_AppCompat_Spinner_DropDown_ActionBar=0x7f0b00dc;
public static int Widget_AppCompat_Toolbar=0x7f0b00dd;
public static int Widget_AppCompat_Toolbar_Button_Navigation=0x7f0b00de;
}
public static final class styleable {
/** Attributes that can be used with a ActionBar.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ActionBar_background com.example.taozhiheng.slidingmenu:background}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_backgroundSplit com.example.taozhiheng.slidingmenu:backgroundSplit}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_backgroundStacked com.example.taozhiheng.slidingmenu:backgroundStacked}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_contentInsetEnd com.example.taozhiheng.slidingmenu:contentInsetEnd}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_contentInsetLeft com.example.taozhiheng.slidingmenu:contentInsetLeft}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_contentInsetRight com.example.taozhiheng.slidingmenu:contentInsetRight}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_contentInsetStart com.example.taozhiheng.slidingmenu:contentInsetStart}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_customNavigationLayout com.example.taozhiheng.slidingmenu:customNavigationLayout}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_displayOptions com.example.taozhiheng.slidingmenu:displayOptions}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_divider com.example.taozhiheng.slidingmenu:divider}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_elevation com.example.taozhiheng.slidingmenu:elevation}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_height com.example.taozhiheng.slidingmenu:height}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_hideOnContentScroll com.example.taozhiheng.slidingmenu:hideOnContentScroll}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_homeAsUpIndicator com.example.taozhiheng.slidingmenu:homeAsUpIndicator}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_homeLayout com.example.taozhiheng.slidingmenu:homeLayout}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_icon com.example.taozhiheng.slidingmenu:icon}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_indeterminateProgressStyle com.example.taozhiheng.slidingmenu:indeterminateProgressStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_itemPadding com.example.taozhiheng.slidingmenu:itemPadding}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_logo com.example.taozhiheng.slidingmenu:logo}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_navigationMode com.example.taozhiheng.slidingmenu:navigationMode}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_popupTheme com.example.taozhiheng.slidingmenu:popupTheme}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_progressBarPadding com.example.taozhiheng.slidingmenu:progressBarPadding}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_progressBarStyle com.example.taozhiheng.slidingmenu:progressBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_subtitle com.example.taozhiheng.slidingmenu:subtitle}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_subtitleTextStyle com.example.taozhiheng.slidingmenu:subtitleTextStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_title com.example.taozhiheng.slidingmenu:title}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_titleTextStyle com.example.taozhiheng.slidingmenu:titleTextStyle}</code></td><td></td></tr>
</table>
@see #ActionBar_background
@see #ActionBar_backgroundSplit
@see #ActionBar_backgroundStacked
@see #ActionBar_contentInsetEnd
@see #ActionBar_contentInsetLeft
@see #ActionBar_contentInsetRight
@see #ActionBar_contentInsetStart
@see #ActionBar_customNavigationLayout
@see #ActionBar_displayOptions
@see #ActionBar_divider
@see #ActionBar_elevation
@see #ActionBar_height
@see #ActionBar_hideOnContentScroll
@see #ActionBar_homeAsUpIndicator
@see #ActionBar_homeLayout
@see #ActionBar_icon
@see #ActionBar_indeterminateProgressStyle
@see #ActionBar_itemPadding
@see #ActionBar_logo
@see #ActionBar_navigationMode
@see #ActionBar_popupTheme
@see #ActionBar_progressBarPadding
@see #ActionBar_progressBarStyle
@see #ActionBar_subtitle
@see #ActionBar_subtitleTextStyle
@see #ActionBar_title
@see #ActionBar_titleTextStyle
*/
public static final int[] ActionBar = {
0x7f010001, 0x7f010003, 0x7f010004, 0x7f010005,
0x7f010006, 0x7f010007, 0x7f010008, 0x7f010009,
0x7f01000a, 0x7f01000b, 0x7f01000c, 0x7f01000d,
0x7f01000e, 0x7f01000f, 0x7f010010, 0x7f010011,
0x7f010012, 0x7f010013, 0x7f010014, 0x7f010015,
0x7f010016, 0x7f010017, 0x7f010018, 0x7f010019,
0x7f01001a, 0x7f01001b, 0x7f010072
};
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#background}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:background
*/
public static int ActionBar_background = 10;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#backgroundSplit}
attribute's value can be found in the {@link #ActionBar} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
@attr name com.example.taozhiheng.slidingmenu:backgroundSplit
*/
public static int ActionBar_backgroundSplit = 12;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#backgroundStacked}
attribute's value can be found in the {@link #ActionBar} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
@attr name com.example.taozhiheng.slidingmenu:backgroundStacked
*/
public static int ActionBar_backgroundStacked = 11;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#contentInsetEnd}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:contentInsetEnd
*/
public static int ActionBar_contentInsetEnd = 21;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#contentInsetLeft}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:contentInsetLeft
*/
public static int ActionBar_contentInsetLeft = 22;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#contentInsetRight}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:contentInsetRight
*/
public static int ActionBar_contentInsetRight = 23;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#contentInsetStart}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:contentInsetStart
*/
public static int ActionBar_contentInsetStart = 20;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#customNavigationLayout}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:customNavigationLayout
*/
public static int ActionBar_customNavigationLayout = 13;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#displayOptions}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>none</code></td><td>0</td><td></td></tr>
<tr><td><code>useLogo</code></td><td>0x1</td><td></td></tr>
<tr><td><code>showHome</code></td><td>0x2</td><td></td></tr>
<tr><td><code>homeAsUp</code></td><td>0x4</td><td></td></tr>
<tr><td><code>showTitle</code></td><td>0x8</td><td></td></tr>
<tr><td><code>showCustom</code></td><td>0x10</td><td></td></tr>
<tr><td><code>disableHome</code></td><td>0x20</td><td></td></tr>
</table>
@attr name com.example.taozhiheng.slidingmenu:displayOptions
*/
public static int ActionBar_displayOptions = 3;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#divider}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:divider
*/
public static int ActionBar_divider = 9;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#elevation}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:elevation
*/
public static int ActionBar_elevation = 24;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#height}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:height
*/
public static int ActionBar_height = 0;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#hideOnContentScroll}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:hideOnContentScroll
*/
public static int ActionBar_hideOnContentScroll = 19;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#homeAsUpIndicator}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:homeAsUpIndicator
*/
public static int ActionBar_homeAsUpIndicator = 26;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#homeLayout}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:homeLayout
*/
public static int ActionBar_homeLayout = 14;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#icon}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:icon
*/
public static int ActionBar_icon = 7;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#indeterminateProgressStyle}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:indeterminateProgressStyle
*/
public static int ActionBar_indeterminateProgressStyle = 16;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#itemPadding}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:itemPadding
*/
public static int ActionBar_itemPadding = 18;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#logo}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:logo
*/
public static int ActionBar_logo = 8;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#navigationMode}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>normal</code></td><td>0</td><td></td></tr>
<tr><td><code>listMode</code></td><td>1</td><td></td></tr>
<tr><td><code>tabMode</code></td><td>2</td><td></td></tr>
</table>
@attr name com.example.taozhiheng.slidingmenu:navigationMode
*/
public static int ActionBar_navigationMode = 2;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#popupTheme}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:popupTheme
*/
public static int ActionBar_popupTheme = 25;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#progressBarPadding}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:progressBarPadding
*/
public static int ActionBar_progressBarPadding = 17;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#progressBarStyle}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:progressBarStyle
*/
public static int ActionBar_progressBarStyle = 15;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#subtitle}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:subtitle
*/
public static int ActionBar_subtitle = 4;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#subtitleTextStyle}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:subtitleTextStyle
*/
public static int ActionBar_subtitleTextStyle = 6;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#title}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:title
*/
public static int ActionBar_title = 1;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#titleTextStyle}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:titleTextStyle
*/
public static int ActionBar_titleTextStyle = 5;
/** Attributes that can be used with a ActionBarLayout.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ActionBarLayout_android_layout_gravity android:layout_gravity}</code></td><td></td></tr>
</table>
@see #ActionBarLayout_android_layout_gravity
*/
public static final int[] ActionBarLayout = {
0x010100b3
};
/**
<p>This symbol is the offset where the {@link android.R.attr#layout_gravity}
attribute's value can be found in the {@link #ActionBarLayout} array.
@attr name android:layout_gravity
*/
public static int ActionBarLayout_android_layout_gravity = 0;
/** Attributes that can be used with a ActionMenuItemView.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ActionMenuItemView_android_minWidth android:minWidth}</code></td><td></td></tr>
</table>
@see #ActionMenuItemView_android_minWidth
*/
public static final int[] ActionMenuItemView = {
0x0101013f
};
/**
<p>This symbol is the offset where the {@link android.R.attr#minWidth}
attribute's value can be found in the {@link #ActionMenuItemView} array.
@attr name android:minWidth
*/
public static int ActionMenuItemView_android_minWidth = 0;
/** Attributes that can be used with a ActionMenuView.
*/
public static final int[] ActionMenuView = {
};
/** Attributes that can be used with a ActionMode.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ActionMode_background com.example.taozhiheng.slidingmenu:background}</code></td><td></td></tr>
<tr><td><code>{@link #ActionMode_backgroundSplit com.example.taozhiheng.slidingmenu:backgroundSplit}</code></td><td></td></tr>
<tr><td><code>{@link #ActionMode_closeItemLayout com.example.taozhiheng.slidingmenu:closeItemLayout}</code></td><td></td></tr>
<tr><td><code>{@link #ActionMode_height com.example.taozhiheng.slidingmenu:height}</code></td><td></td></tr>
<tr><td><code>{@link #ActionMode_subtitleTextStyle com.example.taozhiheng.slidingmenu:subtitleTextStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ActionMode_titleTextStyle com.example.taozhiheng.slidingmenu:titleTextStyle}</code></td><td></td></tr>
</table>
@see #ActionMode_background
@see #ActionMode_backgroundSplit
@see #ActionMode_closeItemLayout
@see #ActionMode_height
@see #ActionMode_subtitleTextStyle
@see #ActionMode_titleTextStyle
*/
public static final int[] ActionMode = {
0x7f010001, 0x7f010007, 0x7f010008, 0x7f01000c,
0x7f01000e, 0x7f01001c
};
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#background}
attribute's value can be found in the {@link #ActionMode} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:background
*/
public static int ActionMode_background = 3;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#backgroundSplit}
attribute's value can be found in the {@link #ActionMode} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
@attr name com.example.taozhiheng.slidingmenu:backgroundSplit
*/
public static int ActionMode_backgroundSplit = 4;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#closeItemLayout}
attribute's value can be found in the {@link #ActionMode} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:closeItemLayout
*/
public static int ActionMode_closeItemLayout = 5;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#height}
attribute's value can be found in the {@link #ActionMode} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:height
*/
public static int ActionMode_height = 0;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#subtitleTextStyle}
attribute's value can be found in the {@link #ActionMode} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:subtitleTextStyle
*/
public static int ActionMode_subtitleTextStyle = 2;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#titleTextStyle}
attribute's value can be found in the {@link #ActionMode} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:titleTextStyle
*/
public static int ActionMode_titleTextStyle = 1;
/** Attributes that can be used with a ActivityChooserView.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ActivityChooserView_expandActivityOverflowButtonDrawable com.example.taozhiheng.slidingmenu:expandActivityOverflowButtonDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #ActivityChooserView_initialActivityCount com.example.taozhiheng.slidingmenu:initialActivityCount}</code></td><td></td></tr>
</table>
@see #ActivityChooserView_expandActivityOverflowButtonDrawable
@see #ActivityChooserView_initialActivityCount
*/
public static final int[] ActivityChooserView = {
0x7f01001d, 0x7f01001e
};
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#expandActivityOverflowButtonDrawable}
attribute's value can be found in the {@link #ActivityChooserView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:expandActivityOverflowButtonDrawable
*/
public static int ActivityChooserView_expandActivityOverflowButtonDrawable = 1;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#initialActivityCount}
attribute's value can be found in the {@link #ActivityChooserView} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:initialActivityCount
*/
public static int ActivityChooserView_initialActivityCount = 0;
/** Attributes that can be used with a CompatTextView.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #CompatTextView_textAllCaps com.example.taozhiheng.slidingmenu:textAllCaps}</code></td><td></td></tr>
</table>
@see #CompatTextView_textAllCaps
*/
public static final int[] CompatTextView = {
0x7f01001f
};
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#textAllCaps}
attribute's value can be found in the {@link #CompatTextView} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a boolean value, either "<code>true</code>" or "<code>false</code>".
@attr name com.example.taozhiheng.slidingmenu:textAllCaps
*/
public static int CompatTextView_textAllCaps = 0;
/** Attributes that can be used with a DrawerArrowToggle.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #DrawerArrowToggle_barSize com.example.taozhiheng.slidingmenu:barSize}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_color com.example.taozhiheng.slidingmenu:color}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_drawableSize com.example.taozhiheng.slidingmenu:drawableSize}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_gapBetweenBars com.example.taozhiheng.slidingmenu:gapBetweenBars}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_middleBarArrowSize com.example.taozhiheng.slidingmenu:middleBarArrowSize}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_spinBars com.example.taozhiheng.slidingmenu:spinBars}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_thickness com.example.taozhiheng.slidingmenu:thickness}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_topBottomBarArrowSize com.example.taozhiheng.slidingmenu:topBottomBarArrowSize}</code></td><td></td></tr>
</table>
@see #DrawerArrowToggle_barSize
@see #DrawerArrowToggle_color
@see #DrawerArrowToggle_drawableSize
@see #DrawerArrowToggle_gapBetweenBars
@see #DrawerArrowToggle_middleBarArrowSize
@see #DrawerArrowToggle_spinBars
@see #DrawerArrowToggle_thickness
@see #DrawerArrowToggle_topBottomBarArrowSize
*/
public static final int[] DrawerArrowToggle = {
0x7f010020, 0x7f010021, 0x7f010022, 0x7f010023,
0x7f010024, 0x7f010025, 0x7f010026, 0x7f010027
};
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#barSize}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:barSize
*/
public static int DrawerArrowToggle_barSize = 6;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#color}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:color
*/
public static int DrawerArrowToggle_color = 0;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#drawableSize}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:drawableSize
*/
public static int DrawerArrowToggle_drawableSize = 2;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#gapBetweenBars}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:gapBetweenBars
*/
public static int DrawerArrowToggle_gapBetweenBars = 3;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#middleBarArrowSize}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:middleBarArrowSize
*/
public static int DrawerArrowToggle_middleBarArrowSize = 5;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#spinBars}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:spinBars
*/
public static int DrawerArrowToggle_spinBars = 1;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#thickness}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:thickness
*/
public static int DrawerArrowToggle_thickness = 7;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#topBottomBarArrowSize}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:topBottomBarArrowSize
*/
public static int DrawerArrowToggle_topBottomBarArrowSize = 4;
/** Attributes that can be used with a LinearLayoutCompat.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #LinearLayoutCompat_android_baselineAligned android:baselineAligned}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_android_baselineAlignedChildIndex android:baselineAlignedChildIndex}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_android_gravity android:gravity}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_android_orientation android:orientation}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_android_weightSum android:weightSum}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_divider com.example.taozhiheng.slidingmenu:divider}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_dividerPadding com.example.taozhiheng.slidingmenu:dividerPadding}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_measureWithLargestChild com.example.taozhiheng.slidingmenu:measureWithLargestChild}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_showDividers com.example.taozhiheng.slidingmenu:showDividers}</code></td><td></td></tr>
</table>
@see #LinearLayoutCompat_android_baselineAligned
@see #LinearLayoutCompat_android_baselineAlignedChildIndex
@see #LinearLayoutCompat_android_gravity
@see #LinearLayoutCompat_android_orientation
@see #LinearLayoutCompat_android_weightSum
@see #LinearLayoutCompat_divider
@see #LinearLayoutCompat_dividerPadding
@see #LinearLayoutCompat_measureWithLargestChild
@see #LinearLayoutCompat_showDividers
*/
public static final int[] LinearLayoutCompat = {
0x010100af, 0x010100c4, 0x01010126, 0x01010127,
0x01010128, 0x7f01000b, 0x7f010028, 0x7f010029,
0x7f01002a
};
/**
<p>This symbol is the offset where the {@link android.R.attr#baselineAligned}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
@attr name android:baselineAligned
*/
public static int LinearLayoutCompat_android_baselineAligned = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#baselineAlignedChildIndex}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
@attr name android:baselineAlignedChildIndex
*/
public static int LinearLayoutCompat_android_baselineAlignedChildIndex = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#gravity}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
@attr name android:gravity
*/
public static int LinearLayoutCompat_android_gravity = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#orientation}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
@attr name android:orientation
*/
public static int LinearLayoutCompat_android_orientation = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#weightSum}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
@attr name android:weightSum
*/
public static int LinearLayoutCompat_android_weightSum = 4;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#divider}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:divider
*/
public static int LinearLayoutCompat_divider = 5;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#dividerPadding}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:dividerPadding
*/
public static int LinearLayoutCompat_dividerPadding = 8;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#measureWithLargestChild}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:measureWithLargestChild
*/
public static int LinearLayoutCompat_measureWithLargestChild = 6;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#showDividers}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
<p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>none</code></td><td>0</td><td></td></tr>
<tr><td><code>beginning</code></td><td>1</td><td></td></tr>
<tr><td><code>middle</code></td><td>2</td><td></td></tr>
<tr><td><code>end</code></td><td>4</td><td></td></tr>
</table>
@attr name com.example.taozhiheng.slidingmenu:showDividers
*/
public static int LinearLayoutCompat_showDividers = 7;
/** Attributes that can be used with a LinearLayoutCompat_Layout.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #LinearLayoutCompat_Layout_android_layout_gravity android:layout_gravity}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_Layout_android_layout_height android:layout_height}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_Layout_android_layout_weight android:layout_weight}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_Layout_android_layout_width android:layout_width}</code></td><td></td></tr>
</table>
@see #LinearLayoutCompat_Layout_android_layout_gravity
@see #LinearLayoutCompat_Layout_android_layout_height
@see #LinearLayoutCompat_Layout_android_layout_weight
@see #LinearLayoutCompat_Layout_android_layout_width
*/
public static final int[] LinearLayoutCompat_Layout = {
0x010100b3, 0x010100f4, 0x010100f5, 0x01010181
};
/**
<p>This symbol is the offset where the {@link android.R.attr#layout_gravity}
attribute's value can be found in the {@link #LinearLayoutCompat_Layout} array.
@attr name android:layout_gravity
*/
public static int LinearLayoutCompat_Layout_android_layout_gravity = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#layout_height}
attribute's value can be found in the {@link #LinearLayoutCompat_Layout} array.
@attr name android:layout_height
*/
public static int LinearLayoutCompat_Layout_android_layout_height = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#layout_weight}
attribute's value can be found in the {@link #LinearLayoutCompat_Layout} array.
@attr name android:layout_weight
*/
public static int LinearLayoutCompat_Layout_android_layout_weight = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#layout_width}
attribute's value can be found in the {@link #LinearLayoutCompat_Layout} array.
@attr name android:layout_width
*/
public static int LinearLayoutCompat_Layout_android_layout_width = 1;
/** Attributes that can be used with a ListPopupWindow.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ListPopupWindow_android_dropDownHorizontalOffset android:dropDownHorizontalOffset}</code></td><td></td></tr>
<tr><td><code>{@link #ListPopupWindow_android_dropDownVerticalOffset android:dropDownVerticalOffset}</code></td><td></td></tr>
</table>
@see #ListPopupWindow_android_dropDownHorizontalOffset
@see #ListPopupWindow_android_dropDownVerticalOffset
*/
public static final int[] ListPopupWindow = {
0x010102ac, 0x010102ad
};
/**
<p>This symbol is the offset where the {@link android.R.attr#dropDownHorizontalOffset}
attribute's value can be found in the {@link #ListPopupWindow} array.
@attr name android:dropDownHorizontalOffset
*/
public static int ListPopupWindow_android_dropDownHorizontalOffset = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#dropDownVerticalOffset}
attribute's value can be found in the {@link #ListPopupWindow} array.
@attr name android:dropDownVerticalOffset
*/
public static int ListPopupWindow_android_dropDownVerticalOffset = 1;
/** Attributes that can be used with a MenuGroup.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #MenuGroup_android_checkableBehavior android:checkableBehavior}</code></td><td></td></tr>
<tr><td><code>{@link #MenuGroup_android_enabled android:enabled}</code></td><td></td></tr>
<tr><td><code>{@link #MenuGroup_android_id android:id}</code></td><td></td></tr>
<tr><td><code>{@link #MenuGroup_android_menuCategory android:menuCategory}</code></td><td></td></tr>
<tr><td><code>{@link #MenuGroup_android_orderInCategory android:orderInCategory}</code></td><td></td></tr>
<tr><td><code>{@link #MenuGroup_android_visible android:visible}</code></td><td></td></tr>
</table>
@see #MenuGroup_android_checkableBehavior
@see #MenuGroup_android_enabled
@see #MenuGroup_android_id
@see #MenuGroup_android_menuCategory
@see #MenuGroup_android_orderInCategory
@see #MenuGroup_android_visible
*/
public static final int[] MenuGroup = {
0x0101000e, 0x010100d0, 0x01010194, 0x010101de,
0x010101df, 0x010101e0
};
/**
<p>This symbol is the offset where the {@link android.R.attr#checkableBehavior}
attribute's value can be found in the {@link #MenuGroup} array.
@attr name android:checkableBehavior
*/
public static int MenuGroup_android_checkableBehavior = 5;
/**
<p>This symbol is the offset where the {@link android.R.attr#enabled}
attribute's value can be found in the {@link #MenuGroup} array.
@attr name android:enabled
*/
public static int MenuGroup_android_enabled = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#id}
attribute's value can be found in the {@link #MenuGroup} array.
@attr name android:id
*/
public static int MenuGroup_android_id = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#menuCategory}
attribute's value can be found in the {@link #MenuGroup} array.
@attr name android:menuCategory
*/
public static int MenuGroup_android_menuCategory = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#orderInCategory}
attribute's value can be found in the {@link #MenuGroup} array.
@attr name android:orderInCategory
*/
public static int MenuGroup_android_orderInCategory = 4;
/**
<p>This symbol is the offset where the {@link android.R.attr#visible}
attribute's value can be found in the {@link #MenuGroup} array.
@attr name android:visible
*/
public static int MenuGroup_android_visible = 2;
/** Attributes that can be used with a MenuItem.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #MenuItem_actionLayout com.example.taozhiheng.slidingmenu:actionLayout}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_actionProviderClass com.example.taozhiheng.slidingmenu:actionProviderClass}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_actionViewClass com.example.taozhiheng.slidingmenu:actionViewClass}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_alphabeticShortcut android:alphabeticShortcut}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_checkable android:checkable}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_checked android:checked}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_enabled android:enabled}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_icon android:icon}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_id android:id}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_menuCategory android:menuCategory}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_numericShortcut android:numericShortcut}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_onClick android:onClick}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_orderInCategory android:orderInCategory}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_title android:title}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_titleCondensed android:titleCondensed}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_visible android:visible}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_showAsAction com.example.taozhiheng.slidingmenu:showAsAction}</code></td><td></td></tr>
</table>
@see #MenuItem_actionLayout
@see #MenuItem_actionProviderClass
@see #MenuItem_actionViewClass
@see #MenuItem_android_alphabeticShortcut
@see #MenuItem_android_checkable
@see #MenuItem_android_checked
@see #MenuItem_android_enabled
@see #MenuItem_android_icon
@see #MenuItem_android_id
@see #MenuItem_android_menuCategory
@see #MenuItem_android_numericShortcut
@see #MenuItem_android_onClick
@see #MenuItem_android_orderInCategory
@see #MenuItem_android_title
@see #MenuItem_android_titleCondensed
@see #MenuItem_android_visible
@see #MenuItem_showAsAction
*/
public static final int[] MenuItem = {
0x01010002, 0x0101000e, 0x010100d0, 0x01010106,
0x01010194, 0x010101de, 0x010101df, 0x010101e1,
0x010101e2, 0x010101e3, 0x010101e4, 0x010101e5,
0x0101026f, 0x7f01002b, 0x7f01002c, 0x7f01002d,
0x7f01002e
};
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#actionLayout}
attribute's value can be found in the {@link #MenuItem} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:actionLayout
*/
public static int MenuItem_actionLayout = 14;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#actionProviderClass}
attribute's value can be found in the {@link #MenuItem} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:actionProviderClass
*/
public static int MenuItem_actionProviderClass = 16;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#actionViewClass}
attribute's value can be found in the {@link #MenuItem} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:actionViewClass
*/
public static int MenuItem_actionViewClass = 15;
/**
<p>This symbol is the offset where the {@link android.R.attr#alphabeticShortcut}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:alphabeticShortcut
*/
public static int MenuItem_android_alphabeticShortcut = 9;
/**
<p>This symbol is the offset where the {@link android.R.attr#checkable}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:checkable
*/
public static int MenuItem_android_checkable = 11;
/**
<p>This symbol is the offset where the {@link android.R.attr#checked}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:checked
*/
public static int MenuItem_android_checked = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#enabled}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:enabled
*/
public static int MenuItem_android_enabled = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#icon}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:icon
*/
public static int MenuItem_android_icon = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#id}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:id
*/
public static int MenuItem_android_id = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#menuCategory}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:menuCategory
*/
public static int MenuItem_android_menuCategory = 5;
/**
<p>This symbol is the offset where the {@link android.R.attr#numericShortcut}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:numericShortcut
*/
public static int MenuItem_android_numericShortcut = 10;
/**
<p>This symbol is the offset where the {@link android.R.attr#onClick}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:onClick
*/
public static int MenuItem_android_onClick = 12;
/**
<p>This symbol is the offset where the {@link android.R.attr#orderInCategory}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:orderInCategory
*/
public static int MenuItem_android_orderInCategory = 6;
/**
<p>This symbol is the offset where the {@link android.R.attr#title}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:title
*/
public static int MenuItem_android_title = 7;
/**
<p>This symbol is the offset where the {@link android.R.attr#titleCondensed}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:titleCondensed
*/
public static int MenuItem_android_titleCondensed = 8;
/**
<p>This symbol is the offset where the {@link android.R.attr#visible}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:visible
*/
public static int MenuItem_android_visible = 4;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#showAsAction}
attribute's value can be found in the {@link #MenuItem} array.
<p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>never</code></td><td>0</td><td></td></tr>
<tr><td><code>ifRoom</code></td><td>1</td><td></td></tr>
<tr><td><code>always</code></td><td>2</td><td></td></tr>
<tr><td><code>withText</code></td><td>4</td><td></td></tr>
<tr><td><code>collapseActionView</code></td><td>8</td><td></td></tr>
</table>
@attr name com.example.taozhiheng.slidingmenu:showAsAction
*/
public static int MenuItem_showAsAction = 13;
/** Attributes that can be used with a MenuView.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #MenuView_android_headerBackground android:headerBackground}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_android_horizontalDivider android:horizontalDivider}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_android_itemBackground android:itemBackground}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_android_itemIconDisabledAlpha android:itemIconDisabledAlpha}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_android_itemTextAppearance android:itemTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_android_verticalDivider android:verticalDivider}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_android_windowAnimationStyle android:windowAnimationStyle}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_preserveIconSpacing com.example.taozhiheng.slidingmenu:preserveIconSpacing}</code></td><td></td></tr>
</table>
@see #MenuView_android_headerBackground
@see #MenuView_android_horizontalDivider
@see #MenuView_android_itemBackground
@see #MenuView_android_itemIconDisabledAlpha
@see #MenuView_android_itemTextAppearance
@see #MenuView_android_verticalDivider
@see #MenuView_android_windowAnimationStyle
@see #MenuView_preserveIconSpacing
*/
public static final int[] MenuView = {
0x010100ae, 0x0101012c, 0x0101012d, 0x0101012e,
0x0101012f, 0x01010130, 0x01010131, 0x7f01002f
};
/**
<p>This symbol is the offset where the {@link android.R.attr#headerBackground}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:headerBackground
*/
public static int MenuView_android_headerBackground = 4;
/**
<p>This symbol is the offset where the {@link android.R.attr#horizontalDivider}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:horizontalDivider
*/
public static int MenuView_android_horizontalDivider = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#itemBackground}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:itemBackground
*/
public static int MenuView_android_itemBackground = 5;
/**
<p>This symbol is the offset where the {@link android.R.attr#itemIconDisabledAlpha}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:itemIconDisabledAlpha
*/
public static int MenuView_android_itemIconDisabledAlpha = 6;
/**
<p>This symbol is the offset where the {@link android.R.attr#itemTextAppearance}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:itemTextAppearance
*/
public static int MenuView_android_itemTextAppearance = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#verticalDivider}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:verticalDivider
*/
public static int MenuView_android_verticalDivider = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#windowAnimationStyle}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:windowAnimationStyle
*/
public static int MenuView_android_windowAnimationStyle = 0;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#preserveIconSpacing}
attribute's value can be found in the {@link #MenuView} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:preserveIconSpacing
*/
public static int MenuView_preserveIconSpacing = 7;
/** Attributes that can be used with a PopupWindow.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #PopupWindow_android_popupBackground android:popupBackground}</code></td><td></td></tr>
<tr><td><code>{@link #PopupWindow_overlapAnchor com.example.taozhiheng.slidingmenu:overlapAnchor}</code></td><td></td></tr>
</table>
@see #PopupWindow_android_popupBackground
@see #PopupWindow_overlapAnchor
*/
public static final int[] PopupWindow = {
0x01010176, 0x7f010030
};
/**
<p>This symbol is the offset where the {@link android.R.attr#popupBackground}
attribute's value can be found in the {@link #PopupWindow} array.
@attr name android:popupBackground
*/
public static int PopupWindow_android_popupBackground = 0;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#overlapAnchor}
attribute's value can be found in the {@link #PopupWindow} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:overlapAnchor
*/
public static int PopupWindow_overlapAnchor = 1;
/** Attributes that can be used with a PopupWindowBackgroundState.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #PopupWindowBackgroundState_state_above_anchor com.example.taozhiheng.slidingmenu:state_above_anchor}</code></td><td></td></tr>
</table>
@see #PopupWindowBackgroundState_state_above_anchor
*/
public static final int[] PopupWindowBackgroundState = {
0x7f010031
};
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#state_above_anchor}
attribute's value can be found in the {@link #PopupWindowBackgroundState} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:state_above_anchor
*/
public static int PopupWindowBackgroundState_state_above_anchor = 0;
/** Attributes that can be used with a SearchView.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #SearchView_android_focusable android:focusable}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_android_imeOptions android:imeOptions}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_android_inputType android:inputType}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_android_maxWidth android:maxWidth}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_closeIcon com.example.taozhiheng.slidingmenu:closeIcon}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_commitIcon com.example.taozhiheng.slidingmenu:commitIcon}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_goIcon com.example.taozhiheng.slidingmenu:goIcon}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_iconifiedByDefault com.example.taozhiheng.slidingmenu:iconifiedByDefault}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_layout com.example.taozhiheng.slidingmenu:layout}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_queryBackground com.example.taozhiheng.slidingmenu:queryBackground}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_queryHint com.example.taozhiheng.slidingmenu:queryHint}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_searchIcon com.example.taozhiheng.slidingmenu:searchIcon}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_submitBackground com.example.taozhiheng.slidingmenu:submitBackground}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_suggestionRowLayout com.example.taozhiheng.slidingmenu:suggestionRowLayout}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_voiceIcon com.example.taozhiheng.slidingmenu:voiceIcon}</code></td><td></td></tr>
</table>
@see #SearchView_android_focusable
@see #SearchView_android_imeOptions
@see #SearchView_android_inputType
@see #SearchView_android_maxWidth
@see #SearchView_closeIcon
@see #SearchView_commitIcon
@see #SearchView_goIcon
@see #SearchView_iconifiedByDefault
@see #SearchView_layout
@see #SearchView_queryBackground
@see #SearchView_queryHint
@see #SearchView_searchIcon
@see #SearchView_submitBackground
@see #SearchView_suggestionRowLayout
@see #SearchView_voiceIcon
*/
public static final int[] SearchView = {
0x010100da, 0x0101011f, 0x01010220, 0x01010264,
0x7f010032, 0x7f010033, 0x7f010034, 0x7f010035,
0x7f010036, 0x7f010037, 0x7f010038, 0x7f010039,
0x7f01003a, 0x7f01003b, 0x7f01003c
};
/**
<p>This symbol is the offset where the {@link android.R.attr#focusable}
attribute's value can be found in the {@link #SearchView} array.
@attr name android:focusable
*/
public static int SearchView_android_focusable = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#imeOptions}
attribute's value can be found in the {@link #SearchView} array.
@attr name android:imeOptions
*/
public static int SearchView_android_imeOptions = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#inputType}
attribute's value can be found in the {@link #SearchView} array.
@attr name android:inputType
*/
public static int SearchView_android_inputType = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#maxWidth}
attribute's value can be found in the {@link #SearchView} array.
@attr name android:maxWidth
*/
public static int SearchView_android_maxWidth = 1;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#closeIcon}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:closeIcon
*/
public static int SearchView_closeIcon = 7;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#commitIcon}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:commitIcon
*/
public static int SearchView_commitIcon = 11;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#goIcon}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:goIcon
*/
public static int SearchView_goIcon = 8;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#iconifiedByDefault}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:iconifiedByDefault
*/
public static int SearchView_iconifiedByDefault = 5;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#layout}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:layout
*/
public static int SearchView_layout = 4;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#queryBackground}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:queryBackground
*/
public static int SearchView_queryBackground = 13;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#queryHint}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:queryHint
*/
public static int SearchView_queryHint = 6;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#searchIcon}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:searchIcon
*/
public static int SearchView_searchIcon = 9;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#submitBackground}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:submitBackground
*/
public static int SearchView_submitBackground = 14;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#suggestionRowLayout}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:suggestionRowLayout
*/
public static int SearchView_suggestionRowLayout = 12;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#voiceIcon}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:voiceIcon
*/
public static int SearchView_voiceIcon = 10;
/** Attributes that can be used with a SlidingMenu.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #SlidingMenu_rightPadding com.example.taozhiheng.slidingmenu:rightPadding}</code></td><td></td></tr>
</table>
@see #SlidingMenu_rightPadding
*/
public static final int[] SlidingMenu = {
0x7f01003d
};
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#rightPadding}
attribute's value can be found in the {@link #SlidingMenu} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:rightPadding
*/
public static int SlidingMenu_rightPadding = 0;
/** Attributes that can be used with a Spinner.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #Spinner_android_background android:background}</code></td><td></td></tr>
<tr><td><code>{@link #Spinner_android_dropDownHorizontalOffset android:dropDownHorizontalOffset}</code></td><td></td></tr>
<tr><td><code>{@link #Spinner_android_dropDownSelector android:dropDownSelector}</code></td><td></td></tr>
<tr><td><code>{@link #Spinner_android_dropDownVerticalOffset android:dropDownVerticalOffset}</code></td><td></td></tr>
<tr><td><code>{@link #Spinner_android_dropDownWidth android:dropDownWidth}</code></td><td></td></tr>
<tr><td><code>{@link #Spinner_android_gravity android:gravity}</code></td><td></td></tr>
<tr><td><code>{@link #Spinner_android_popupBackground android:popupBackground}</code></td><td></td></tr>
<tr><td><code>{@link #Spinner_disableChildrenWhenDisabled com.example.taozhiheng.slidingmenu:disableChildrenWhenDisabled}</code></td><td></td></tr>
<tr><td><code>{@link #Spinner_popupPromptView com.example.taozhiheng.slidingmenu:popupPromptView}</code></td><td></td></tr>
<tr><td><code>{@link #Spinner_prompt com.example.taozhiheng.slidingmenu:prompt}</code></td><td></td></tr>
<tr><td><code>{@link #Spinner_spinnerMode com.example.taozhiheng.slidingmenu:spinnerMode}</code></td><td></td></tr>
</table>
@see #Spinner_android_background
@see #Spinner_android_dropDownHorizontalOffset
@see #Spinner_android_dropDownSelector
@see #Spinner_android_dropDownVerticalOffset
@see #Spinner_android_dropDownWidth
@see #Spinner_android_gravity
@see #Spinner_android_popupBackground
@see #Spinner_disableChildrenWhenDisabled
@see #Spinner_popupPromptView
@see #Spinner_prompt
@see #Spinner_spinnerMode
*/
public static final int[] Spinner = {
0x010100af, 0x010100d4, 0x01010175, 0x01010176,
0x01010262, 0x010102ac, 0x010102ad, 0x7f01003e,
0x7f01003f, 0x7f010040, 0x7f010041
};
/**
<p>This symbol is the offset where the {@link android.R.attr#background}
attribute's value can be found in the {@link #Spinner} array.
@attr name android:background
*/
public static int Spinner_android_background = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#dropDownHorizontalOffset}
attribute's value can be found in the {@link #Spinner} array.
@attr name android:dropDownHorizontalOffset
*/
public static int Spinner_android_dropDownHorizontalOffset = 5;
/**
<p>This symbol is the offset where the {@link android.R.attr#dropDownSelector}
attribute's value can be found in the {@link #Spinner} array.
@attr name android:dropDownSelector
*/
public static int Spinner_android_dropDownSelector = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#dropDownVerticalOffset}
attribute's value can be found in the {@link #Spinner} array.
@attr name android:dropDownVerticalOffset
*/
public static int Spinner_android_dropDownVerticalOffset = 6;
/**
<p>This symbol is the offset where the {@link android.R.attr#dropDownWidth}
attribute's value can be found in the {@link #Spinner} array.
@attr name android:dropDownWidth
*/
public static int Spinner_android_dropDownWidth = 4;
/**
<p>This symbol is the offset where the {@link android.R.attr#gravity}
attribute's value can be found in the {@link #Spinner} array.
@attr name android:gravity
*/
public static int Spinner_android_gravity = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#popupBackground}
attribute's value can be found in the {@link #Spinner} array.
@attr name android:popupBackground
*/
public static int Spinner_android_popupBackground = 3;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#disableChildrenWhenDisabled}
attribute's value can be found in the {@link #Spinner} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:disableChildrenWhenDisabled
*/
public static int Spinner_disableChildrenWhenDisabled = 10;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#popupPromptView}
attribute's value can be found in the {@link #Spinner} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:popupPromptView
*/
public static int Spinner_popupPromptView = 9;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#prompt}
attribute's value can be found in the {@link #Spinner} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:prompt
*/
public static int Spinner_prompt = 7;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#spinnerMode}
attribute's value can be found in the {@link #Spinner} array.
<p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>dialog</code></td><td>0</td><td></td></tr>
<tr><td><code>dropdown</code></td><td>1</td><td></td></tr>
</table>
@attr name com.example.taozhiheng.slidingmenu:spinnerMode
*/
public static int Spinner_spinnerMode = 8;
/** Attributes that can be used with a SwitchCompat.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #SwitchCompat_android_textOff android:textOff}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_android_textOn android:textOn}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_android_thumb android:thumb}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_showText com.example.taozhiheng.slidingmenu:showText}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_splitTrack com.example.taozhiheng.slidingmenu:splitTrack}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_switchMinWidth com.example.taozhiheng.slidingmenu:switchMinWidth}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_switchPadding com.example.taozhiheng.slidingmenu:switchPadding}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_switchTextAppearance com.example.taozhiheng.slidingmenu:switchTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_thumbTextPadding com.example.taozhiheng.slidingmenu:thumbTextPadding}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_track com.example.taozhiheng.slidingmenu:track}</code></td><td></td></tr>
</table>
@see #SwitchCompat_android_textOff
@see #SwitchCompat_android_textOn
@see #SwitchCompat_android_thumb
@see #SwitchCompat_showText
@see #SwitchCompat_splitTrack
@see #SwitchCompat_switchMinWidth
@see #SwitchCompat_switchPadding
@see #SwitchCompat_switchTextAppearance
@see #SwitchCompat_thumbTextPadding
@see #SwitchCompat_track
*/
public static final int[] SwitchCompat = {
0x01010124, 0x01010125, 0x01010142, 0x7f010042,
0x7f010043, 0x7f010044, 0x7f010045, 0x7f010046,
0x7f010047, 0x7f010048
};
/**
<p>This symbol is the offset where the {@link android.R.attr#textOff}
attribute's value can be found in the {@link #SwitchCompat} array.
@attr name android:textOff
*/
public static int SwitchCompat_android_textOff = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#textOn}
attribute's value can be found in the {@link #SwitchCompat} array.
@attr name android:textOn
*/
public static int SwitchCompat_android_textOn = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#thumb}
attribute's value can be found in the {@link #SwitchCompat} array.
@attr name android:thumb
*/
public static int SwitchCompat_android_thumb = 2;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#showText}
attribute's value can be found in the {@link #SwitchCompat} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:showText
*/
public static int SwitchCompat_showText = 9;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#splitTrack}
attribute's value can be found in the {@link #SwitchCompat} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:splitTrack
*/
public static int SwitchCompat_splitTrack = 8;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#switchMinWidth}
attribute's value can be found in the {@link #SwitchCompat} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:switchMinWidth
*/
public static int SwitchCompat_switchMinWidth = 6;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#switchPadding}
attribute's value can be found in the {@link #SwitchCompat} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:switchPadding
*/
public static int SwitchCompat_switchPadding = 7;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#switchTextAppearance}
attribute's value can be found in the {@link #SwitchCompat} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:switchTextAppearance
*/
public static int SwitchCompat_switchTextAppearance = 5;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#thumbTextPadding}
attribute's value can be found in the {@link #SwitchCompat} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:thumbTextPadding
*/
public static int SwitchCompat_thumbTextPadding = 4;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#track}
attribute's value can be found in the {@link #SwitchCompat} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:track
*/
public static int SwitchCompat_track = 3;
/** Attributes that can be used with a Theme.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #Theme_actionBarDivider com.example.taozhiheng.slidingmenu:actionBarDivider}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionBarItemBackground com.example.taozhiheng.slidingmenu:actionBarItemBackground}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionBarPopupTheme com.example.taozhiheng.slidingmenu:actionBarPopupTheme}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionBarSize com.example.taozhiheng.slidingmenu:actionBarSize}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionBarSplitStyle com.example.taozhiheng.slidingmenu:actionBarSplitStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionBarStyle com.example.taozhiheng.slidingmenu:actionBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionBarTabBarStyle com.example.taozhiheng.slidingmenu:actionBarTabBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionBarTabStyle com.example.taozhiheng.slidingmenu:actionBarTabStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionBarTabTextStyle com.example.taozhiheng.slidingmenu:actionBarTabTextStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionBarTheme com.example.taozhiheng.slidingmenu:actionBarTheme}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionBarWidgetTheme com.example.taozhiheng.slidingmenu:actionBarWidgetTheme}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionButtonStyle com.example.taozhiheng.slidingmenu:actionButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionDropDownStyle com.example.taozhiheng.slidingmenu:actionDropDownStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionMenuTextAppearance com.example.taozhiheng.slidingmenu:actionMenuTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionMenuTextColor com.example.taozhiheng.slidingmenu:actionMenuTextColor}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModeBackground com.example.taozhiheng.slidingmenu:actionModeBackground}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModeCloseButtonStyle com.example.taozhiheng.slidingmenu:actionModeCloseButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModeCloseDrawable com.example.taozhiheng.slidingmenu:actionModeCloseDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModeCopyDrawable com.example.taozhiheng.slidingmenu:actionModeCopyDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModeCutDrawable com.example.taozhiheng.slidingmenu:actionModeCutDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModeFindDrawable com.example.taozhiheng.slidingmenu:actionModeFindDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModePasteDrawable com.example.taozhiheng.slidingmenu:actionModePasteDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModePopupWindowStyle com.example.taozhiheng.slidingmenu:actionModePopupWindowStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModeSelectAllDrawable com.example.taozhiheng.slidingmenu:actionModeSelectAllDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModeShareDrawable com.example.taozhiheng.slidingmenu:actionModeShareDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModeSplitBackground com.example.taozhiheng.slidingmenu:actionModeSplitBackground}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModeStyle com.example.taozhiheng.slidingmenu:actionModeStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModeWebSearchDrawable com.example.taozhiheng.slidingmenu:actionModeWebSearchDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionOverflowButtonStyle com.example.taozhiheng.slidingmenu:actionOverflowButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionOverflowMenuStyle com.example.taozhiheng.slidingmenu:actionOverflowMenuStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_activityChooserViewStyle com.example.taozhiheng.slidingmenu:activityChooserViewStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_android_windowIsFloating android:windowIsFloating}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_buttonBarButtonStyle com.example.taozhiheng.slidingmenu:buttonBarButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_buttonBarStyle com.example.taozhiheng.slidingmenu:buttonBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_colorAccent com.example.taozhiheng.slidingmenu:colorAccent}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_colorButtonNormal com.example.taozhiheng.slidingmenu:colorButtonNormal}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_colorControlActivated com.example.taozhiheng.slidingmenu:colorControlActivated}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_colorControlHighlight com.example.taozhiheng.slidingmenu:colorControlHighlight}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_colorControlNormal com.example.taozhiheng.slidingmenu:colorControlNormal}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_colorPrimary com.example.taozhiheng.slidingmenu:colorPrimary}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_colorPrimaryDark com.example.taozhiheng.slidingmenu:colorPrimaryDark}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_colorSwitchThumbNormal com.example.taozhiheng.slidingmenu:colorSwitchThumbNormal}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_dividerHorizontal com.example.taozhiheng.slidingmenu:dividerHorizontal}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_dividerVertical com.example.taozhiheng.slidingmenu:dividerVertical}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_dropDownListViewStyle com.example.taozhiheng.slidingmenu:dropDownListViewStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_dropdownListPreferredItemHeight com.example.taozhiheng.slidingmenu:dropdownListPreferredItemHeight}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_editTextBackground com.example.taozhiheng.slidingmenu:editTextBackground}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_editTextColor com.example.taozhiheng.slidingmenu:editTextColor}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_homeAsUpIndicator com.example.taozhiheng.slidingmenu:homeAsUpIndicator}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_listChoiceBackgroundIndicator com.example.taozhiheng.slidingmenu:listChoiceBackgroundIndicator}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_listPopupWindowStyle com.example.taozhiheng.slidingmenu:listPopupWindowStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_listPreferredItemHeight com.example.taozhiheng.slidingmenu:listPreferredItemHeight}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_listPreferredItemHeightLarge com.example.taozhiheng.slidingmenu:listPreferredItemHeightLarge}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_listPreferredItemHeightSmall com.example.taozhiheng.slidingmenu:listPreferredItemHeightSmall}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_listPreferredItemPaddingLeft com.example.taozhiheng.slidingmenu:listPreferredItemPaddingLeft}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_listPreferredItemPaddingRight com.example.taozhiheng.slidingmenu:listPreferredItemPaddingRight}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_panelBackground com.example.taozhiheng.slidingmenu:panelBackground}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_panelMenuListTheme com.example.taozhiheng.slidingmenu:panelMenuListTheme}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_panelMenuListWidth com.example.taozhiheng.slidingmenu:panelMenuListWidth}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_popupMenuStyle com.example.taozhiheng.slidingmenu:popupMenuStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_popupWindowStyle com.example.taozhiheng.slidingmenu:popupWindowStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_searchViewStyle com.example.taozhiheng.slidingmenu:searchViewStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_selectableItemBackground com.example.taozhiheng.slidingmenu:selectableItemBackground}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_selectableItemBackgroundBorderless com.example.taozhiheng.slidingmenu:selectableItemBackgroundBorderless}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_spinnerDropDownItemStyle com.example.taozhiheng.slidingmenu:spinnerDropDownItemStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_spinnerStyle com.example.taozhiheng.slidingmenu:spinnerStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_switchStyle com.example.taozhiheng.slidingmenu:switchStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_textAppearanceLargePopupMenu com.example.taozhiheng.slidingmenu:textAppearanceLargePopupMenu}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_textAppearanceListItem com.example.taozhiheng.slidingmenu:textAppearanceListItem}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_textAppearanceListItemSmall com.example.taozhiheng.slidingmenu:textAppearanceListItemSmall}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_textAppearanceSearchResultSubtitle com.example.taozhiheng.slidingmenu:textAppearanceSearchResultSubtitle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_textAppearanceSearchResultTitle com.example.taozhiheng.slidingmenu:textAppearanceSearchResultTitle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_textAppearanceSmallPopupMenu com.example.taozhiheng.slidingmenu:textAppearanceSmallPopupMenu}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_textColorSearchUrl com.example.taozhiheng.slidingmenu:textColorSearchUrl}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_toolbarNavigationButtonStyle com.example.taozhiheng.slidingmenu:toolbarNavigationButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_toolbarStyle com.example.taozhiheng.slidingmenu:toolbarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_windowActionBar com.example.taozhiheng.slidingmenu:windowActionBar}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_windowActionBarOverlay com.example.taozhiheng.slidingmenu:windowActionBarOverlay}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_windowActionModeOverlay com.example.taozhiheng.slidingmenu:windowActionModeOverlay}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_windowFixedHeightMajor com.example.taozhiheng.slidingmenu:windowFixedHeightMajor}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_windowFixedHeightMinor com.example.taozhiheng.slidingmenu:windowFixedHeightMinor}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_windowFixedWidthMajor com.example.taozhiheng.slidingmenu:windowFixedWidthMajor}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_windowFixedWidthMinor com.example.taozhiheng.slidingmenu:windowFixedWidthMinor}</code></td><td></td></tr>
</table>
@see #Theme_actionBarDivider
@see #Theme_actionBarItemBackground
@see #Theme_actionBarPopupTheme
@see #Theme_actionBarSize
@see #Theme_actionBarSplitStyle
@see #Theme_actionBarStyle
@see #Theme_actionBarTabBarStyle
@see #Theme_actionBarTabStyle
@see #Theme_actionBarTabTextStyle
@see #Theme_actionBarTheme
@see #Theme_actionBarWidgetTheme
@see #Theme_actionButtonStyle
@see #Theme_actionDropDownStyle
@see #Theme_actionMenuTextAppearance
@see #Theme_actionMenuTextColor
@see #Theme_actionModeBackground
@see #Theme_actionModeCloseButtonStyle
@see #Theme_actionModeCloseDrawable
@see #Theme_actionModeCopyDrawable
@see #Theme_actionModeCutDrawable
@see #Theme_actionModeFindDrawable
@see #Theme_actionModePasteDrawable
@see #Theme_actionModePopupWindowStyle
@see #Theme_actionModeSelectAllDrawable
@see #Theme_actionModeShareDrawable
@see #Theme_actionModeSplitBackground
@see #Theme_actionModeStyle
@see #Theme_actionModeWebSearchDrawable
@see #Theme_actionOverflowButtonStyle
@see #Theme_actionOverflowMenuStyle
@see #Theme_activityChooserViewStyle
@see #Theme_android_windowIsFloating
@see #Theme_buttonBarButtonStyle
@see #Theme_buttonBarStyle
@see #Theme_colorAccent
@see #Theme_colorButtonNormal
@see #Theme_colorControlActivated
@see #Theme_colorControlHighlight
@see #Theme_colorControlNormal
@see #Theme_colorPrimary
@see #Theme_colorPrimaryDark
@see #Theme_colorSwitchThumbNormal
@see #Theme_dividerHorizontal
@see #Theme_dividerVertical
@see #Theme_dropDownListViewStyle
@see #Theme_dropdownListPreferredItemHeight
@see #Theme_editTextBackground
@see #Theme_editTextColor
@see #Theme_homeAsUpIndicator
@see #Theme_listChoiceBackgroundIndicator
@see #Theme_listPopupWindowStyle
@see #Theme_listPreferredItemHeight
@see #Theme_listPreferredItemHeightLarge
@see #Theme_listPreferredItemHeightSmall
@see #Theme_listPreferredItemPaddingLeft
@see #Theme_listPreferredItemPaddingRight
@see #Theme_panelBackground
@see #Theme_panelMenuListTheme
@see #Theme_panelMenuListWidth
@see #Theme_popupMenuStyle
@see #Theme_popupWindowStyle
@see #Theme_searchViewStyle
@see #Theme_selectableItemBackground
@see #Theme_selectableItemBackgroundBorderless
@see #Theme_spinnerDropDownItemStyle
@see #Theme_spinnerStyle
@see #Theme_switchStyle
@see #Theme_textAppearanceLargePopupMenu
@see #Theme_textAppearanceListItem
@see #Theme_textAppearanceListItemSmall
@see #Theme_textAppearanceSearchResultSubtitle
@see #Theme_textAppearanceSearchResultTitle
@see #Theme_textAppearanceSmallPopupMenu
@see #Theme_textColorSearchUrl
@see #Theme_toolbarNavigationButtonStyle
@see #Theme_toolbarStyle
@see #Theme_windowActionBar
@see #Theme_windowActionBarOverlay
@see #Theme_windowActionModeOverlay
@see #Theme_windowFixedHeightMajor
@see #Theme_windowFixedHeightMinor
@see #Theme_windowFixedWidthMajor
@see #Theme_windowFixedWidthMinor
*/
public static final int[] Theme = {
0x01010057, 0x7f010049, 0x7f01004a, 0x7f01004b,
0x7f01004c, 0x7f01004d, 0x7f01004e, 0x7f01004f,
0x7f010050, 0x7f010051, 0x7f010052, 0x7f010053,
0x7f010054, 0x7f010055, 0x7f010056, 0x7f010057,
0x7f010058, 0x7f010059, 0x7f01005a, 0x7f01005b,
0x7f01005c, 0x7f01005d, 0x7f01005e, 0x7f01005f,
0x7f010060, 0x7f010061, 0x7f010062, 0x7f010063,
0x7f010064, 0x7f010065, 0x7f010066, 0x7f010067,
0x7f010068, 0x7f010069, 0x7f01006a, 0x7f01006b,
0x7f01006c, 0x7f01006d, 0x7f01006e, 0x7f01006f,
0x7f010070, 0x7f010071, 0x7f010072, 0x7f010073,
0x7f010074, 0x7f010075, 0x7f010076, 0x7f010077,
0x7f010078, 0x7f010079, 0x7f01007a, 0x7f01007b,
0x7f01007c, 0x7f01007d, 0x7f01007e, 0x7f01007f,
0x7f010080, 0x7f010081, 0x7f010082, 0x7f010083,
0x7f010084, 0x7f010085, 0x7f010086, 0x7f010087,
0x7f010088, 0x7f010089, 0x7f01008a, 0x7f01008b,
0x7f01008c, 0x7f01008d, 0x7f01008e, 0x7f01008f,
0x7f010090, 0x7f010091, 0x7f010092, 0x7f010093,
0x7f010094, 0x7f010095, 0x7f010096, 0x7f010097,
0x7f010098, 0x7f010099, 0x7f01009a
};
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#actionBarDivider}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:actionBarDivider
*/
public static int Theme_actionBarDivider = 19;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#actionBarItemBackground}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:actionBarItemBackground
*/
public static int Theme_actionBarItemBackground = 20;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#actionBarPopupTheme}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:actionBarPopupTheme
*/
public static int Theme_actionBarPopupTheme = 13;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#actionBarSize}
attribute's value can be found in the {@link #Theme} array.
<p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>May be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>wrap_content</code></td><td>0</td><td></td></tr>
</table>
@attr name com.example.taozhiheng.slidingmenu:actionBarSize
*/
public static int Theme_actionBarSize = 18;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#actionBarSplitStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:actionBarSplitStyle
*/
public static int Theme_actionBarSplitStyle = 15;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#actionBarStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:actionBarStyle
*/
public static int Theme_actionBarStyle = 14;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#actionBarTabBarStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:actionBarTabBarStyle
*/
public static int Theme_actionBarTabBarStyle = 9;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#actionBarTabStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:actionBarTabStyle
*/
public static int Theme_actionBarTabStyle = 8;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#actionBarTabTextStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:actionBarTabTextStyle
*/
public static int Theme_actionBarTabTextStyle = 10;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#actionBarTheme}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:actionBarTheme
*/
public static int Theme_actionBarTheme = 16;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#actionBarWidgetTheme}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:actionBarWidgetTheme
*/
public static int Theme_actionBarWidgetTheme = 17;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#actionButtonStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:actionButtonStyle
*/
public static int Theme_actionButtonStyle = 43;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#actionDropDownStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:actionDropDownStyle
*/
public static int Theme_actionDropDownStyle = 38;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#actionMenuTextAppearance}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:actionMenuTextAppearance
*/
public static int Theme_actionMenuTextAppearance = 21;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#actionMenuTextColor}
attribute's value can be found in the {@link #Theme} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
@attr name com.example.taozhiheng.slidingmenu:actionMenuTextColor
*/
public static int Theme_actionMenuTextColor = 22;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#actionModeBackground}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:actionModeBackground
*/
public static int Theme_actionModeBackground = 25;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#actionModeCloseButtonStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:actionModeCloseButtonStyle
*/
public static int Theme_actionModeCloseButtonStyle = 24;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#actionModeCloseDrawable}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:actionModeCloseDrawable
*/
public static int Theme_actionModeCloseDrawable = 27;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#actionModeCopyDrawable}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:actionModeCopyDrawable
*/
public static int Theme_actionModeCopyDrawable = 29;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#actionModeCutDrawable}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:actionModeCutDrawable
*/
public static int Theme_actionModeCutDrawable = 28;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#actionModeFindDrawable}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:actionModeFindDrawable
*/
public static int Theme_actionModeFindDrawable = 33;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#actionModePasteDrawable}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:actionModePasteDrawable
*/
public static int Theme_actionModePasteDrawable = 30;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#actionModePopupWindowStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:actionModePopupWindowStyle
*/
public static int Theme_actionModePopupWindowStyle = 35;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#actionModeSelectAllDrawable}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:actionModeSelectAllDrawable
*/
public static int Theme_actionModeSelectAllDrawable = 31;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#actionModeShareDrawable}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:actionModeShareDrawable
*/
public static int Theme_actionModeShareDrawable = 32;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#actionModeSplitBackground}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:actionModeSplitBackground
*/
public static int Theme_actionModeSplitBackground = 26;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#actionModeStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:actionModeStyle
*/
public static int Theme_actionModeStyle = 23;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#actionModeWebSearchDrawable}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:actionModeWebSearchDrawable
*/
public static int Theme_actionModeWebSearchDrawable = 34;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#actionOverflowButtonStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:actionOverflowButtonStyle
*/
public static int Theme_actionOverflowButtonStyle = 11;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#actionOverflowMenuStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:actionOverflowMenuStyle
*/
public static int Theme_actionOverflowMenuStyle = 12;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#activityChooserViewStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:activityChooserViewStyle
*/
public static int Theme_activityChooserViewStyle = 50;
/**
<p>This symbol is the offset where the {@link android.R.attr#windowIsFloating}
attribute's value can be found in the {@link #Theme} array.
@attr name android:windowIsFloating
*/
public static int Theme_android_windowIsFloating = 0;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#buttonBarButtonStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:buttonBarButtonStyle
*/
public static int Theme_buttonBarButtonStyle = 45;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#buttonBarStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:buttonBarStyle
*/
public static int Theme_buttonBarStyle = 44;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#colorAccent}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:colorAccent
*/
public static int Theme_colorAccent = 77;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#colorButtonNormal}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:colorButtonNormal
*/
public static int Theme_colorButtonNormal = 81;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#colorControlActivated}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:colorControlActivated
*/
public static int Theme_colorControlActivated = 79;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#colorControlHighlight}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:colorControlHighlight
*/
public static int Theme_colorControlHighlight = 80;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#colorControlNormal}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:colorControlNormal
*/
public static int Theme_colorControlNormal = 78;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#colorPrimary}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:colorPrimary
*/
public static int Theme_colorPrimary = 75;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#colorPrimaryDark}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:colorPrimaryDark
*/
public static int Theme_colorPrimaryDark = 76;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#colorSwitchThumbNormal}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:colorSwitchThumbNormal
*/
public static int Theme_colorSwitchThumbNormal = 82;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#dividerHorizontal}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:dividerHorizontal
*/
public static int Theme_dividerHorizontal = 49;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#dividerVertical}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:dividerVertical
*/
public static int Theme_dividerVertical = 48;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#dropDownListViewStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:dropDownListViewStyle
*/
public static int Theme_dropDownListViewStyle = 67;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#dropdownListPreferredItemHeight}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:dropdownListPreferredItemHeight
*/
public static int Theme_dropdownListPreferredItemHeight = 39;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#editTextBackground}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:editTextBackground
*/
public static int Theme_editTextBackground = 56;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#editTextColor}
attribute's value can be found in the {@link #Theme} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
@attr name com.example.taozhiheng.slidingmenu:editTextColor
*/
public static int Theme_editTextColor = 55;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#homeAsUpIndicator}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:homeAsUpIndicator
*/
public static int Theme_homeAsUpIndicator = 42;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#listChoiceBackgroundIndicator}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:listChoiceBackgroundIndicator
*/
public static int Theme_listChoiceBackgroundIndicator = 74;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#listPopupWindowStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:listPopupWindowStyle
*/
public static int Theme_listPopupWindowStyle = 68;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#listPreferredItemHeight}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:listPreferredItemHeight
*/
public static int Theme_listPreferredItemHeight = 62;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#listPreferredItemHeightLarge}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:listPreferredItemHeightLarge
*/
public static int Theme_listPreferredItemHeightLarge = 64;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#listPreferredItemHeightSmall}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:listPreferredItemHeightSmall
*/
public static int Theme_listPreferredItemHeightSmall = 63;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#listPreferredItemPaddingLeft}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:listPreferredItemPaddingLeft
*/
public static int Theme_listPreferredItemPaddingLeft = 65;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#listPreferredItemPaddingRight}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:listPreferredItemPaddingRight
*/
public static int Theme_listPreferredItemPaddingRight = 66;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#panelBackground}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:panelBackground
*/
public static int Theme_panelBackground = 71;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#panelMenuListTheme}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:panelMenuListTheme
*/
public static int Theme_panelMenuListTheme = 73;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#panelMenuListWidth}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:panelMenuListWidth
*/
public static int Theme_panelMenuListWidth = 72;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#popupMenuStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:popupMenuStyle
*/
public static int Theme_popupMenuStyle = 53;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#popupWindowStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:popupWindowStyle
*/
public static int Theme_popupWindowStyle = 54;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#searchViewStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:searchViewStyle
*/
public static int Theme_searchViewStyle = 61;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#selectableItemBackground}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:selectableItemBackground
*/
public static int Theme_selectableItemBackground = 46;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#selectableItemBackgroundBorderless}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:selectableItemBackgroundBorderless
*/
public static int Theme_selectableItemBackgroundBorderless = 47;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#spinnerDropDownItemStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:spinnerDropDownItemStyle
*/
public static int Theme_spinnerDropDownItemStyle = 41;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#spinnerStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:spinnerStyle
*/
public static int Theme_spinnerStyle = 40;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#switchStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:switchStyle
*/
public static int Theme_switchStyle = 57;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#textAppearanceLargePopupMenu}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:textAppearanceLargePopupMenu
*/
public static int Theme_textAppearanceLargePopupMenu = 36;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#textAppearanceListItem}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:textAppearanceListItem
*/
public static int Theme_textAppearanceListItem = 69;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#textAppearanceListItemSmall}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:textAppearanceListItemSmall
*/
public static int Theme_textAppearanceListItemSmall = 70;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#textAppearanceSearchResultSubtitle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:textAppearanceSearchResultSubtitle
*/
public static int Theme_textAppearanceSearchResultSubtitle = 59;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#textAppearanceSearchResultTitle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:textAppearanceSearchResultTitle
*/
public static int Theme_textAppearanceSearchResultTitle = 58;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#textAppearanceSmallPopupMenu}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:textAppearanceSmallPopupMenu
*/
public static int Theme_textAppearanceSmallPopupMenu = 37;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#textColorSearchUrl}
attribute's value can be found in the {@link #Theme} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
@attr name com.example.taozhiheng.slidingmenu:textColorSearchUrl
*/
public static int Theme_textColorSearchUrl = 60;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#toolbarNavigationButtonStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:toolbarNavigationButtonStyle
*/
public static int Theme_toolbarNavigationButtonStyle = 52;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#toolbarStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:toolbarStyle
*/
public static int Theme_toolbarStyle = 51;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#windowActionBar}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:windowActionBar
*/
public static int Theme_windowActionBar = 1;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#windowActionBarOverlay}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:windowActionBarOverlay
*/
public static int Theme_windowActionBarOverlay = 2;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#windowActionModeOverlay}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:windowActionModeOverlay
*/
public static int Theme_windowActionModeOverlay = 3;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#windowFixedHeightMajor}
attribute's value can be found in the {@link #Theme} array.
<p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:windowFixedHeightMajor
*/
public static int Theme_windowFixedHeightMajor = 7;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#windowFixedHeightMinor}
attribute's value can be found in the {@link #Theme} array.
<p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:windowFixedHeightMinor
*/
public static int Theme_windowFixedHeightMinor = 5;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#windowFixedWidthMajor}
attribute's value can be found in the {@link #Theme} array.
<p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:windowFixedWidthMajor
*/
public static int Theme_windowFixedWidthMajor = 4;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#windowFixedWidthMinor}
attribute's value can be found in the {@link #Theme} array.
<p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:windowFixedWidthMinor
*/
public static int Theme_windowFixedWidthMinor = 6;
/** Attributes that can be used with a Toolbar.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #Toolbar_android_gravity android:gravity}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_android_minHeight android:minHeight}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_buttonGravity com.example.taozhiheng.slidingmenu:buttonGravity}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_collapseIcon com.example.taozhiheng.slidingmenu:collapseIcon}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_contentInsetEnd com.example.taozhiheng.slidingmenu:contentInsetEnd}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_contentInsetLeft com.example.taozhiheng.slidingmenu:contentInsetLeft}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_contentInsetRight com.example.taozhiheng.slidingmenu:contentInsetRight}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_contentInsetStart com.example.taozhiheng.slidingmenu:contentInsetStart}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_maxButtonHeight com.example.taozhiheng.slidingmenu:maxButtonHeight}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_navigationContentDescription com.example.taozhiheng.slidingmenu:navigationContentDescription}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_navigationIcon com.example.taozhiheng.slidingmenu:navigationIcon}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_popupTheme com.example.taozhiheng.slidingmenu:popupTheme}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_subtitle com.example.taozhiheng.slidingmenu:subtitle}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_subtitleTextAppearance com.example.taozhiheng.slidingmenu:subtitleTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_theme com.example.taozhiheng.slidingmenu:theme}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_title com.example.taozhiheng.slidingmenu:title}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMarginBottom com.example.taozhiheng.slidingmenu:titleMarginBottom}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMarginEnd com.example.taozhiheng.slidingmenu:titleMarginEnd}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMarginStart com.example.taozhiheng.slidingmenu:titleMarginStart}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMarginTop com.example.taozhiheng.slidingmenu:titleMarginTop}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMargins com.example.taozhiheng.slidingmenu:titleMargins}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleTextAppearance com.example.taozhiheng.slidingmenu:titleTextAppearance}</code></td><td></td></tr>
</table>
@see #Toolbar_android_gravity
@see #Toolbar_android_minHeight
@see #Toolbar_buttonGravity
@see #Toolbar_collapseIcon
@see #Toolbar_contentInsetEnd
@see #Toolbar_contentInsetLeft
@see #Toolbar_contentInsetRight
@see #Toolbar_contentInsetStart
@see #Toolbar_maxButtonHeight
@see #Toolbar_navigationContentDescription
@see #Toolbar_navigationIcon
@see #Toolbar_popupTheme
@see #Toolbar_subtitle
@see #Toolbar_subtitleTextAppearance
@see #Toolbar_theme
@see #Toolbar_title
@see #Toolbar_titleMarginBottom
@see #Toolbar_titleMarginEnd
@see #Toolbar_titleMarginStart
@see #Toolbar_titleMarginTop
@see #Toolbar_titleMargins
@see #Toolbar_titleTextAppearance
*/
public static final int[] Toolbar = {
0x010100af, 0x01010140, 0x7f010003, 0x7f010006,
0x7f010016, 0x7f010017, 0x7f010018, 0x7f010019,
0x7f01001b, 0x7f01009b, 0x7f01009c, 0x7f01009d,
0x7f01009e, 0x7f01009f, 0x7f0100a0, 0x7f0100a1,
0x7f0100a2, 0x7f0100a3, 0x7f0100a4, 0x7f0100a5,
0x7f0100a6, 0x7f0100a7
};
/**
<p>This symbol is the offset where the {@link android.R.attr#gravity}
attribute's value can be found in the {@link #Toolbar} array.
@attr name android:gravity
*/
public static int Toolbar_android_gravity = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#minHeight}
attribute's value can be found in the {@link #Toolbar} array.
@attr name android:minHeight
*/
public static int Toolbar_android_minHeight = 1;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#buttonGravity}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>top</code></td><td>0x30</td><td></td></tr>
<tr><td><code>bottom</code></td><td>0x50</td><td></td></tr>
</table>
@attr name com.example.taozhiheng.slidingmenu:buttonGravity
*/
public static int Toolbar_buttonGravity = 18;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#collapseIcon}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:collapseIcon
*/
public static int Toolbar_collapseIcon = 19;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#contentInsetEnd}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:contentInsetEnd
*/
public static int Toolbar_contentInsetEnd = 5;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#contentInsetLeft}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:contentInsetLeft
*/
public static int Toolbar_contentInsetLeft = 6;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#contentInsetRight}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:contentInsetRight
*/
public static int Toolbar_contentInsetRight = 7;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#contentInsetStart}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:contentInsetStart
*/
public static int Toolbar_contentInsetStart = 4;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#maxButtonHeight}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:maxButtonHeight
*/
public static int Toolbar_maxButtonHeight = 16;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#navigationContentDescription}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:navigationContentDescription
*/
public static int Toolbar_navigationContentDescription = 21;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#navigationIcon}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:navigationIcon
*/
public static int Toolbar_navigationIcon = 20;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#popupTheme}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:popupTheme
*/
public static int Toolbar_popupTheme = 8;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#subtitle}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:subtitle
*/
public static int Toolbar_subtitle = 3;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#subtitleTextAppearance}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:subtitleTextAppearance
*/
public static int Toolbar_subtitleTextAppearance = 10;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#theme}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:theme
*/
public static int Toolbar_theme = 17;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#title}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:title
*/
public static int Toolbar_title = 2;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#titleMarginBottom}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:titleMarginBottom
*/
public static int Toolbar_titleMarginBottom = 15;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#titleMarginEnd}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:titleMarginEnd
*/
public static int Toolbar_titleMarginEnd = 13;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#titleMarginStart}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:titleMarginStart
*/
public static int Toolbar_titleMarginStart = 12;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#titleMarginTop}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:titleMarginTop
*/
public static int Toolbar_titleMarginTop = 14;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#titleMargins}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:titleMargins
*/
public static int Toolbar_titleMargins = 11;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#titleTextAppearance}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.example.taozhiheng.slidingmenu:titleTextAppearance
*/
public static int Toolbar_titleTextAppearance = 9;
/** Attributes that can be used with a View.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #View_android_focusable android:focusable}</code></td><td></td></tr>
<tr><td><code>{@link #View_paddingEnd com.example.taozhiheng.slidingmenu:paddingEnd}</code></td><td></td></tr>
<tr><td><code>{@link #View_paddingStart com.example.taozhiheng.slidingmenu:paddingStart}</code></td><td></td></tr>
</table>
@see #View_android_focusable
@see #View_paddingEnd
@see #View_paddingStart
*/
public static final int[] View = {
0x010100da, 0x7f0100a8, 0x7f0100a9
};
/**
<p>This symbol is the offset where the {@link android.R.attr#focusable}
attribute's value can be found in the {@link #View} array.
@attr name android:focusable
*/
public static int View_android_focusable = 0;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#paddingEnd}
attribute's value can be found in the {@link #View} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:paddingEnd
*/
public static int View_paddingEnd = 2;
/**
<p>This symbol is the offset where the {@link com.example.taozhiheng.slidingmenu.R.attr#paddingStart}
attribute's value can be found in the {@link #View} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.example.taozhiheng.slidingmenu:paddingStart
*/
public static int View_paddingStart = 1;
/** Attributes that can be used with a ViewStubCompat.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ViewStubCompat_android_id android:id}</code></td><td></td></tr>
<tr><td><code>{@link #ViewStubCompat_android_inflatedId android:inflatedId}</code></td><td></td></tr>
<tr><td><code>{@link #ViewStubCompat_android_layout android:layout}</code></td><td></td></tr>
</table>
@see #ViewStubCompat_android_id
@see #ViewStubCompat_android_inflatedId
@see #ViewStubCompat_android_layout
*/
public static final int[] ViewStubCompat = {
0x010100d0, 0x010100f2, 0x010100f3
};
/**
<p>This symbol is the offset where the {@link android.R.attr#id}
attribute's value can be found in the {@link #ViewStubCompat} array.
@attr name android:id
*/
public static int ViewStubCompat_android_id = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#inflatedId}
attribute's value can be found in the {@link #ViewStubCompat} array.
@attr name android:inflatedId
*/
public static int ViewStubCompat_android_inflatedId = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#layout}
attribute's value can be found in the {@link #ViewStubCompat} array.
@attr name android:layout
*/
public static int ViewStubCompat_android_layout = 1;
};
}
| [
"15547067322qq.com"
] | 15547067322qq.com |
e9aa8c30e0b0cb630b5b5010bd1c3216250124eb | e5d1c503c3b9f2e721cd2aa03ddb49dc340a85c1 | /src/org/lesmothian/jupdater/utils/LauncherProfileDataAdapter.java | eaa6ecd701406430a2b5261c0d2e755947f24fa2 | [] | no_license | jlindsey/jupdater | 18ff39cc8169e41b87d9e0914f6ea0a260653f74 | 4d4a29daf6969a786dae40f8540cd5678d82adac | refs/heads/master | 2020-04-01T19:45:20.023151 | 2014-01-09T22:42:55 | 2014-01-09T22:42:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 5,981 | java | package org.lesmothian.jupdater.utils;
import java.util.HashMap;
import java.util.Iterator;
import java.lang.reflect.Field;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.google.gson.stream.JsonToken;
import com.google.gson.TypeAdapter;
import org.lesmothian.jupdater.core.LauncherProfileData;
import org.lesmothian.jupdater.core.LauncherProfileData.LauncherProfile;
import org.lesmothian.jupdater.core.LauncherProfileData.AuthenticationDatabase;
public class LauncherProfileDataAdapter extends TypeAdapter<LauncherProfileData> {
private Logger logger;
private LauncherProfileAdapter profileAdapter;
private AuthenticationDatabaseAdapter dbAdapter;
public LauncherProfileDataAdapter() {
logger = LogManager.getLogger();
profileAdapter = new LauncherProfileAdapter();
dbAdapter = new AuthenticationDatabaseAdapter();
}
@Override
public LauncherProfileData read(JsonReader reader)
throws java.io.IOException {
if (reader.peek() == JsonToken.NULL) {
reader.nextNull();
return null;
}
LauncherProfileData lpd = new LauncherProfileData();
reader.beginObject();
while (reader.hasNext()) {
String name = reader.nextName();
if (name.equals("selectedProfile")) {
lpd.selectedProfile = reader.nextString();
} else if (name.equals("clientToken")) {
lpd.clientToken = reader.nextString();
} else if (name.equals("profiles")) {
HashMap<String,LauncherProfile> profiles = new HashMap<String,LauncherProfile>();
reader.beginObject();
while (reader.hasNext()) {
String key = reader.nextName();
reader.beginObject();
profiles.put(key, profileAdapter.read(reader));
reader.endObject();
}
reader.endObject();
lpd.profiles = profiles;
} else if (name.equals("authenticationDatabase")) {
HashMap<String,AuthenticationDatabase> dbs
= new HashMap<String,AuthenticationDatabase>();
reader.beginObject();
while (reader.hasNext()) {
String key = reader.nextName();
reader.beginObject();
dbs.put(key, dbAdapter.read(reader));
reader.endObject();
}
reader.endObject();
lpd.authenticationDatabase = dbs;
} else {
reader.skipValue();
}
}
reader.endObject();
return lpd;
}
@Override
public void write(JsonWriter writer, LauncherProfileData data)
throws java.io.IOException {
if (data == null) {
writer.nullValue();
return;
}
writer.beginObject();
writer.name("selectedProfile").value(data.selectedProfile);
writer.name("clientToken").value(data.clientToken);
Iterator<String> profileKeys = data.profiles.keySet().iterator();
writer.name("profiles").beginObject();
while (profileKeys.hasNext()) {
String key = profileKeys.next();
writer.name(key).beginObject();
profileAdapter.write(writer, data.profiles.get(key));
writer.endObject();
}
writer.endObject();
Iterator<String> dbKeys = data.authenticationDatabase.keySet().iterator();
writer.name("authenticationDatabase").beginObject();
while (dbKeys.hasNext()) {
String key = dbKeys.next();
writer.name(key).beginObject();
dbAdapter.write(writer, data.authenticationDatabase.get(key));
writer.endObject();
}
writer.endObject();
writer.endObject();
}
protected class LauncherProfileAdapter extends TypeAdapter<LauncherProfile> {
@Override
public LauncherProfile read(JsonReader reader)
throws java.io.IOException {
if (reader.peek() == JsonToken.NULL) {
reader.nextNull();
return null;
}
LauncherProfile profile = new LauncherProfile();
while (reader.hasNext()) {
String name = reader.nextName();
try {
Field f = profile.getClass().getField(name);
f.set(profile, reader.nextString());
} catch (Throwable e) {
reader.skipValue();
logger.warn("Unable to parse key {} in LauncherProfile: {}", name, e);
}
}
return profile;
}
@Override
public void write(JsonWriter writer, LauncherProfile data)
throws java.io.IOException {
if (data == null) {
writer.nullValue();
return;
}
writer.name("name").value(data.name);
writer.name("lastVersionId").value(data.lastVersionId);
writer.name("playerUUID").value(data.playerUUID);
if (data.javaArgs != null) {
writer.name("javaArgs").value(data.javaArgs);
}
}
}
protected class AuthenticationDatabaseAdapter extends TypeAdapter<AuthenticationDatabase> {
@Override
public AuthenticationDatabase read(JsonReader reader)
throws java.io.IOException {
if (reader.peek() == JsonToken.NULL) {
reader.nextNull();
return null;
}
AuthenticationDatabase db = new AuthenticationDatabase();
while (reader.hasNext()) {
String name = reader.nextName();
try {
Field f = db.getClass().getField(name);
f.set(db, reader.nextString());
} catch (Throwable e) {
reader.skipValue();
logger.warn("Unable to parse key {} in AuthenticationDatabase: {}", name, e);
}
}
return db;
}
@Override
public void write(JsonWriter writer, AuthenticationDatabase data)
throws java.io.IOException {
if (data == null) {
writer.nullValue();
return;
}
writer.name("username").value(data.username);
writer.name("accessToken").value(data.accessToken);
writer.name("userid").value(data.userid);
writer.name("uuid").value(data.uuid);
writer.name("displayName").value(data.displayName);
}
}
}
| [
"josh@core-apps.com"
] | josh@core-apps.com |
2ed60953485a901afbd4f26b0d4924e9f0d82f12 | 197800c473213100ced370ddb9925f86f612dd16 | /app/src/main/java/com/lyk/busgrade/BaiduApiService.java | 6c6f55c253e079f2ab02e6630e5a19c5ed5a6a42 | [] | no_license | nian0114/BusGrade | 4bff0221391d053deb82c0c7c63d2de35909c618 | 78ba217af45eeffa0b69865ae9057ce9f19215fc | refs/heads/master | 2021-10-26T18:56:44.228808 | 2017-10-09T14:53:59 | 2017-10-09T14:53:59 | 107,343,753 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 7,686 | java | package com.lyk.busgrade;
import android.text.TextUtils;
import android.util.Log;
import com.lyk.busgrade.tools.HttpClientUtils;
import org.codehaus.jackson.JsonNode;
import org.codehaus.jackson.map.ObjectMapper;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class BaiduApiService {
private static final String region = "ไธๆตท";
private static final String ak = "vWLtxQbUfWpEFxRNXyiGg3jd";
public static String getDirectionRoutesResponse(String origin, String destination) {
try {
StringBuilder url = new StringBuilder("http://api.map.baidu.com/direction/v1?mode=transit")
.append("&origin=").append(URLEncoder.encode(origin, "UTF-8"))
.append("&destination=").append(URLEncoder.encode(destination, "UTF-8"))
.append("®ion=").append(URLEncoder.encode(region, "UTF-8"))
.append("&origin_region=").append(URLEncoder.encode(region, "UTF-8"))
.append("&destination_region=").append(URLEncoder.encode(region, "UTF-8"))
.append("&output=json&ak=").append(ak);
String content = HttpClientUtils.getResponse(url.toString());
return content;
} catch (Exception e) {
e.printStackTrace();
}
return null;
}
public static List<RoutesScheme> parseDirectionRoutes(String responseString) {
if (TextUtils.isEmpty(responseString)) {
return null;
}
ObjectMapper mapper = new ObjectMapper();
try {
JsonNode jsonNodes = mapper.readValue(responseString, JsonNode.class);
if (jsonNodes == null || jsonNodes.get("result") == null) {
return null;
}
jsonNodes = mapper.readValue(jsonNodes.get("result"), JsonNode.class);
if (jsonNodes == null || jsonNodes.get("routes") == null) {
return null;
}
List<RoutesScheme> list = new ArrayList<RoutesScheme>();
jsonNodes = mapper.readValue(jsonNodes.get("routes"), JsonNode.class);
for (JsonNode node : jsonNodes) {
JsonNode schemeNode = mapper.readValue(node.get("scheme"), JsonNode.class);
if (schemeNode == null || schemeNode.get(0).get("steps") == null) {
continue;
}
schemeNode = schemeNode.get(0);
// ่ทฏ็บฟๆนๆกๆป็ไฟกๆฏๆ่ฟฐ
RoutesScheme routesScheme = new RoutesScheme();
routesScheme.setDistance(schemeNode.get("distance").getIntValue());
routesScheme.setDuration(schemeNode.get("duration").getIntValue());
JsonNode stepsNode = mapper.readValue(schemeNode.get("steps"), JsonNode.class);
if (stepsNode == null) {
continue;
}
// ๅพช็ฏsteps๏ผ่ทๅๆฏไธๆญฅ็ไฟกๆฏ
List<String> vehicleNames = new ArrayList<String>();
List<SchemeSteps> stepsList = new ArrayList<SchemeSteps>();
for (JsonNode distanceNode : stepsNode) {
distanceNode = distanceNode.get(0);
// ๆฏไธชstepๅฏน่ฑก
SchemeSteps steps = new SchemeSteps();
steps.setDistance(distanceNode.get("distance").getIntValue());
steps.setDuration(distanceNode.get("duration").getIntValue());
steps.setType(distanceNode.get("type").getIntValue());
steps.setStepInstruction(distanceNode.get("stepInstruction").getTextValue());
if (distanceNode.get("sname") != null) {
steps.setSname(distanceNode.get("sname").getTextValue());
}
if (steps.getType() == 5) {
// ๆญฅ่ก
stepsList.add(steps);
} else {
if (distanceNode.get("vehicle") != null) {
JsonNode vehicleNode = mapper.readValue(distanceNode.get("vehicle"), JsonNode.class);
if (vehicleNode != null) {
// ่ฝฆ่พไฟกๆฏ
steps.setVehicleEndName(vehicleNode.get("end_name").getTextValue());
steps.setVehicleName(vehicleNode.get("name").getTextValue());
steps.setVehicleStartName(vehicleNode.get("start_name").getTextValue());
steps.setVehicleStopNum(vehicleNode.get("stop_num").getIntValue());
steps.setVehicleType(vehicleNode.get("type").getIntValue());
vehicleNames.add(steps.getVehicleName());
stepsList.add(steps);
}
}
}
routesScheme.setSteps(stepsList);
routesScheme.setVehicleNames(vehicleNames);
}
list.add(routesScheme);
}
return list;
} catch (Exception e) {
e.printStackTrace();
}
return null;
}
public static Map<String, List<String>> parseAccuratePosition(String responseString) {
if (TextUtils.isEmpty(responseString)) {
return null;
}
ObjectMapper mapper = new ObjectMapper();
try {
JsonNode jsonNodes = mapper.readValue(responseString, JsonNode.class);
if (jsonNodes == null || jsonNodes.get("result") == null) {
return null;
}
jsonNodes = mapper.readValue(jsonNodes.get("result"), JsonNode.class);
if (jsonNodes == null) {
return null;
}
Map<String, List<String>> resultMap = new HashMap<String, List<String>>();
for (String key : new String[]{"origin", "destination"}) {
if (jsonNodes.get(key) != null) {
// ่งฃๆ่ตท็ป็น
List<String> list = new ArrayList<String>();
JsonNode jsonNodeArray = mapper.readValue(jsonNodes.get(key), JsonNode.class);
for (JsonNode node : jsonNodeArray) {
list.add(node.get("name").getTextValue());
}
if (list.size() > 0) {
resultMap.put(key, list);
}
}
}
return resultMap;
} catch (Exception e) {
e.printStackTrace();
}
return null;
}
private static List<String> parseNearStations(String responseString) {
if (TextUtils.isEmpty(responseString)) {
return null;
}
ObjectMapper mapper = new ObjectMapper();
try {
JsonNode jsonNode = mapper.readValue(responseString, JsonNode.class);
if (jsonNode != null
&& jsonNode.get("status").getIntValue() == 0
&& jsonNode.get("results") != null) {
List<String> list = new ArrayList<String>();
JsonNode nodes = mapper.readValue(jsonNode.get("results"), JsonNode.class);
for (JsonNode node : nodes) {
list.add(node.get("name").getTextValue());
}
return list;
}
} catch (Exception e) {
e.printStackTrace();
}
return null;
}
}
| [
"268078545@qq.com"
] | 268078545@qq.com |
a5f40c1fad06ef88e55fc5ab55a1fb785f395fba | c3b99ff9421a0e36dcea4b641744d511e9194164 | /src/patterns/sierra_bates_patterns/factory/pizza/Pizza.java | 6eab192403150b2a58400b24993bf08806646d54 | [] | no_license | NickMatvienko/matv1 | ec7f3791663e1067c9fcc12b20536deb5fd93a9d | f71ddf01a534614a6669bd8ad200a34a0817b18d | refs/heads/master | 2021-01-13T14:40:10.907506 | 2017-05-03T06:03:03 | 2017-05-03T06:03:03 | 79,710,113 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 913 | java | package patterns.sierra_bates_patterns.factory.pizza;
import java.util.ArrayList;
/**
* Created by a on 15.02.17.
*/
public abstract class Pizza {
String name;
String dough;
String sauce;
ArrayList toppings = new ArrayList();
void prepare() {
System.out.println("Preparing " + name);
System.out.println("Tossing dough...");
System.out.println("Adding sauce...");
System.out.println("Adding toppings: ");
for (int i = 0; i < toppings.size(); i++) {
System.out.println(" " + toppings.get(i));
}
}
void bake() {
System.out.println("Bake for 25 minutes at 350");
}
void cut() {
System.out.println("Cutting the pizza into diagonal slices");
}
void box() {
System.out.println("Place pizza in official PizzaStore box");
}
public String getName() {
return name;
}
}
| [
"matv008@gmail.com"
] | matv008@gmail.com |
ffd3f10642521e4903d15f00bb15a09bd54439fe | 491ed19fa46c1b0563441d97d4e5c934e00152a2 | /src/main/java/com/deepak/service/EmailServiceImpl.java | 0c60dad0757945df66da2612b71a0bd3759af9fb | [] | no_license | deepakmehra10/forgot-password | b2b3872a8c6f84c11b21ad80dd6eb09556ea316c | f3a67774bf1df21c58cd47ff6cb42b50be8ed639 | refs/heads/master | 2023-02-06T07:44:49.577636 | 2020-12-22T18:21:50 | 2020-12-22T18:21:50 | 323,299,372 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 722 | java | package com.deepak.service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.mail.SimpleMailMessage;
import org.springframework.mail.javamail.JavaMailSender;
import org.springframework.stereotype.Service;
@Service
public class EmailServiceImpl implements EmailService {
@Autowired
private JavaMailSender emailSender;
public void sendSimpleMessage(
String to, String subject, String text) {
SimpleMailMessage message = new SimpleMailMessage();
message.setFrom("noreply@deepak.com");
message.setTo(to);
message.setSubject(subject);
message.setText(text);
emailSender.send(message);
}
}
| [
"deepak.mehra@xcelenergy.com"
] | deepak.mehra@xcelenergy.com |
7bb44e5136b6a5caef9d10288c7d7c1a28a7371f | 1d4224c37fa0af561f08c5ee135b95e9db6c830d | /src/app/TiffToPdf.java | 40e558e7c14be6d192ddb9cd4d92e25cacd1cca4 | [] | no_license | Eyres/stdpro | a0d591d005548cf17e2afec915251e1a638237bd | 2c43b17647883720237e34fe44dafd34e6907c04 | refs/heads/master | 2020-03-08T16:49:36.167239 | 2018-04-02T11:46:10 | 2018-04-02T11:46:10 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | Java | false | false | 2,976 | java | package app;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import javax.swing.JTextPane;
import org.apache.commons.lang3.StringUtils;
import com.itextpdf.text.Document;
import com.itextpdf.text.Image;
import com.itextpdf.text.PageSize;
import com.itextpdf.text.pdf.PdfWriter;
import com.itextpdf.text.pdf.RandomAccessFileOrArray;
import com.itextpdf.text.pdf.codec.TiffImage;
import enums.Extension;
import listeners.LogListener;
public class TiffToPdf {
@SuppressWarnings("deprecation")
private static void Tiff2Pdf(String tifPath, String pdfPath, JTextPane screen) throws IOException {
String imgeFilename = tifPath;
Document document = new Document();
PdfWriter writer = null;
RandomAccessFileOrArray ra = null;
Image image;
if(!imgeFilename.toUpperCase().endsWith(Extension.TIFF.name()) && !imgeFilename.toUpperCase().endsWith(Extension.TIF.name())){
LogListener.ecrireLogArea(screen, "Le fichier " + imgeFilename + " a รฉtรฉ ignorรฉ (raison : extension incorrect)");
return;
}
try {
writer = PdfWriter.getInstance(document, new FileOutputStream(pdfPath));
writer.setStrictImageSequence(true);
document.open();
ra = new RandomAccessFileOrArray(imgeFilename);
int pagesTif = TiffImage.getNumberOfPages(ra);
for (int i = 1; i <= pagesTif; i++) {
image = TiffImage.getTiffImage(ra, i);
image.scaleAbsolute(PageSize.A4);
document.setMargins(0, 0, 0, 0);
document.setPageSize(PageSize.A4);
document.newPage();
document.add(image);
}
new File(pdfPath);
LogListener.ecrireLogArea(screen, "Crรฉation du fichier " + pdfPath + " rรฉussit avec succรจs");
} catch (Exception e) {
LogListener.ecrireLogArea(screen, "Le fichier " + pdfPath + " n'a pas pu รชtre crรฉe");
e.printStackTrace();
} finally {
document.close();
ra.close();
writer.close();
}
}
private static String removeExtension(String fileName) {
return fileName.split("\\.")[0];
}
public static void traitement(JTextPane screen){
try{
String inputPath = AppUtils.chooseDirectoryPdf();
String outputPath = AppUtils.chooseDirectoryPdf();
String prefixe = AppUtils.entreeUtilisateur("Application", "Veuillez saisir un prรฉfixe de renommage (exemple : BA_)");
String suffixe = AppUtils.entreeUtilisateur("Application", "Veuillez saisir un suffixe de renommage");
File input = new File(inputPath);
File[] tousLesFichiers = input.listFiles();
for(File f:tousLesFichiers){
String nomTiff = inputPath + "\\" + f.getName();
String nomPdf = outputPath + "\\" + (StringUtils.isNotBlank(prefixe) ? prefixe.trim() : "") + removeExtension(f.getName()) + (StringUtils.isNotBlank(suffixe) ? suffixe.trim() : "") + "." + Extension.PDF.toString();
Tiff2Pdf(nomTiff, nomPdf, screen);
}
}catch(Exception e){
LogListener.ecrireLogArea(screen, e.toString());
}
}
}
| [
"JULIEN-BARREAULT@JULIEN-BARREAUL"
] | JULIEN-BARREAULT@JULIEN-BARREAUL |
6abdfacf7ea51a1643357ff989a6966f22efa6ec | 2dea5af5ee46a78d83403e2b1a4b6b1adfec0cec | /ninetowns_library/.svn/pristine/6a/6abdfacf7ea51a1643357ff989a6966f22efa6ec.svn-base | 63dab8155e20e2f99c3ef8db41f6ad891a471d97 | [] | no_license | EZJasonBoy/yuanlin | 34de580cdf394c9166e705739da51da9b9eb561f | 207dd1f7267a1b33e03dc19571fc4f42b4ca9507 | refs/heads/master | 2021-01-16T21:16:56.970882 | 2015-10-21T00:11:25 | 2015-10-21T00:11:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 4,630 | package com.ninetowns.library.util;
import java.io.File;
import java.text.DecimalFormat;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
public class FileFolderUtils {
private static final DecimalFormat DOUBLE_DECIMAL_FORMAT = new DecimalFormat("0.##");
private static final int MB_2_BYTE = 1024 * 1024;
private static final int KB_2_BYTE = 1024;
/**
* ๆ นๆฎ่ทฏๅพๅ ้คๆๅฎ็็ฎๅฝๆๆไปถ๏ผๆ ่ฎบๅญๅจไธๅฆ
*@param path ่ฆๅ ้ค็็ฎๅฝๆๆไปถ
*/
public boolean deleteFileOrFolder(String path) {
File fileOrFolder = new File(path);
// ๅคๆญ็ฎๅฝๆๆไปถๆฏๅฆๅญๅจ
if (fileOrFolder.exists()) {
// ๅคๆญๆฏๅฆไธบๆไปถ
if (fileOrFolder.isFile()) { // ไธบๆไปถๆถ่ฐ็จๅ ้คๆไปถๆนๆณ
return deleteFile(path);
} else { // ไธบ็ฎๅฝๆถ่ฐ็จๅ ้ค็ฎๅฝๆนๆณ
return deleteFolder(path);
}
} else {
return false;
}
}
/**
* ๅ ้คๅไธชๆไปถ
* @param filePath ่ขซๅ ้คๆไปถ็ๆไปถๅ
* @return ๅไธชๆไปถๅ ้คๆๅ่ฟๅtrue๏ผๅฆๅ่ฟๅfalse
*/
public static boolean deleteFile(String filePath) {
File file = new File(filePath);
// ่ทฏๅพไธบๆไปถไธไธไธบ็ฉบๅ่ฟ่กๅ ้ค
if (file.isFile() && file.exists()) {
file.delete();
return true;
} else {
return false;
}
}
/**
* ๅ ้ค็ฎๅฝ๏ผๆไปถๅคน๏ผไปฅๅ็ฎๅฝไธ็ๆไปถ
* @param folderPath ่ขซๅ ้ค็ฎๅฝ็ๆไปถ่ทฏๅพ
* @return ็ฎๅฝๅ ้คๆๅ่ฟๅtrue๏ผๅฆๅ่ฟๅfalse
*/
private boolean deleteFolder(String folderPath) {
//ๅฆๆsPathไธไปฅๆไปถๅ้็ฌฆ็ปๅฐพ๏ผ่ชๅจๆทปๅ ๆไปถๅ้็ฌฆ
if (!folderPath.endsWith(File.separator)) {
folderPath = folderPath + File.separator;
}
File folder = new File(folderPath);
//ๅฆๆfolderๅฏนๅบ็ๆไปถไธๅญๅจ๏ผๆ่
ไธๆฏไธไธช็ฎๅฝ๏ผๅ้ๅบ
if (!folder.exists() || !folder.isDirectory()) {
return false;
}
boolean flag = true;
//ๅ ้คๆไปถๅคนไธ็ๆๆๆไปถ(ๅ
ๆฌๅญ็ฎๅฝ)
File[] filesOrFolders = folder.listFiles();
for (int i = 0; i < filesOrFolders.length; i++) {
//ๅ ้คๅญๆไปถ
if (filesOrFolders[i].isFile()) {
flag = deleteFile(filesOrFolders[i].getAbsolutePath());
if(!flag) break;
} else {
//ๅ ้คๅญ็ฎๅฝ
flag = deleteFolder(filesOrFolders[i].getAbsolutePath());
if (!flag) break;
}
}
if (!flag) return false;
//ๅ ้คๅฝๅ็ฎๅฝ
if (folder.delete()) {
return true;
} else {
return false;
}
}
/**
* @param size
* @return
*/
public static String getAppSize(long size) {
if (size <= 0) {
return "0M";
}
if (size >= MB_2_BYTE) {
return new StringBuilder(16).append(DOUBLE_DECIMAL_FORMAT.format((double)size / MB_2_BYTE)).append("M").toString();
} else if (size >= KB_2_BYTE) {
return new StringBuilder(16).append(DOUBLE_DECIMAL_FORMAT.format((double)size / KB_2_BYTE)).append("K").toString();
} else {
return size + "B";
}
}
/**
* ่ทๅ็พๅๆฏ
* @param progress
* @param max
* @return
*/
public static String getNotiPercent(long progress, long max) {
int rate = 0;
if (progress <= 0 || max <= 0) {
rate = 0;
} else if (progress > max) {
rate = 100;
} else {
rate = (int)((double)progress / max * 100);
}
return new StringBuilder(16).append(rate).append("%").toString();
}
//ๅฎ่ฃ
apk
public void installApp(Context context, String filePath) {
Intent intent = new Intent(Intent.ACTION_VIEW);
File file = new File(filePath);
if (file != null && file.length() > 0 && file.exists() && file.isFile()) {
intent.setDataAndType(Uri.parse("file://" + filePath), "application/vnd.android.package-archive");
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
context.startActivity(intent);
}
}
}
| [
"1215649235@qq.com"
] | 1215649235@qq.com | |
968ec54053fcad23ea4e0c566e1ac50dfd502c68 | 155e9b7079e6c3a9dc6e7c35f82bded3c6a6923b | /VowelOrConsonant.java | f53914830d8d99477387d7f6c7b61ed264926220 | [] | no_license | AravinthanV/Aravinthan | 766d6b09783b2aa6d96875cd6e88a1a5a9f6c9b5 | 5c34cfeaa2efb8efd681547faa47c778c1a23433 | refs/heads/master | 2020-04-05T12:38:25.627504 | 2017-09-03T18:46:26 | 2017-09-03T18:46:26 | 95,201,251 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 367 | java | import java.util.Scanner;
public class VowelOrConsonant
{
public static void main(String args[])
{
Scanner s=new Scanner(System.in);
String str=s.next();
str=str.toLowerCase();
if((str.equals("a"))||(str.equals("e"))||(str.equals("i"))||(str.equals("o"))||(str.equals("u")))
System.out.println("Vowel");
else
System.out.println("Consonant");
}
}
| [
"noreply@github.com"
] | noreply@github.com |
2844e1948f35ac85214ec5898877cae6ca8cd82d | 8184cae36c8753ebdb91a775396ee881421927fa | /design_pattern/src/main/java/concurrents/singleton/EnumPattern.java | acc73ff4857b7640ea8fa47ede480b374d930f15 | [] | no_license | shuiyibu/java_concurrency | d79ec8aa36692746ee31bd8f202db6b249b0f01a | 278dfa80eb3a1e8b7bf559c3f6acd84de375a698 | refs/heads/master | 2021-07-10T03:53:40.164242 | 2019-11-08T09:29:15 | 2019-11-08T09:29:15 | 205,502,647 | 0 | 0 | null | 2020-10-13T17:13:47 | 2019-08-31T05:56:12 | Java | UTF-8 | Java | false | false | 956 | java | package concurrents.singleton;
import java.util.stream.IntStream;
/***
* Doug Leeๅๆจ
*/
public class EnumPattern {
private EnumPattern() {
}
public static EnumPattern getInstance() {
return Singleton.INSTANCE.getInstance();
}
public static void main(String[] args) {
IntStream.rangeClosed(1, 100)
.forEach(i -> new Thread(String.valueOf(i)) {
@Override
public void run() {
System.out.println(EnumPattern.getInstance());
}
}.start());
}
/**
* ๆไธพ็ฑปๅไฝฟ็บฟ็จๅฎๅ
จ็
* ๆ้ ๅฝๆฐไป
ไผ่ขซๅ ่ฝฝไธๆฌก
*/
private enum Singleton {
INSTANCE;
private final EnumPattern instance;
Singleton() {
instance = new EnumPattern();
}
public EnumPattern getInstance() {
return instance;
}
}
}
| [
"shuiyibu.ja@gmail.com"
] | shuiyibu.ja@gmail.com |
df11052cf4add5f4f6eb2efcaf530a5ef2bc895a | a438fab27e281852133cb10956bf9194a38c7eb4 | /KnockKnockServer.java | 384971ac981b8476a15d8491efaf2fbfcc637710 | [] | no_license | ThatGuyBreadman1567/KnockKnock | c6c61e08bf6ebcc7adaa3ab3d907665670b48c37 | a8a104b563952820b8a216719f846827fa8be5de | refs/heads/main | 2023-03-16T12:11:02.020810 | 2021-03-10T02:45:20 | 2021-03-10T02:45:20 | 346,210,554 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 968 | java | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.ServerSocket;
import java.net.Socket;
/**
*
* @author Benjamin Readman
*
*/
public class KnockKnockServer
{
public static void main(String[] args) throws IOException
{
int port = 9999;
ServerSocket server = new ServerSocket(port);
while(true)
{
try
{
System.out.println("Server is listening...");
Socket client = server.accept();
System.out.println("server accepted client");
BufferedReader in = new BufferedReader(new InputStreamReader(client.getInputStream()));
PrintWriter out = new PrintWriter(client.getOutputStream(),true);
String message;
while((message = in.readLine()) != null)
{
}
client.close();
}
catch(Exception e)
{
System.out.println("there was an issue");
}
}
}
}
| [
"noreply@github.com"
] | noreply@github.com |
8639dc049d5ee58701acd2e95b0b685acb9da989 | b851690f5d90388651dd28101f32df1ba7369008 | /2019-2020 AP Computer Science/Unit 2/car/src/car/carTestDrive.java | 4e85114e456a1984da1e77e540178f310acb9ef9 | [] | no_license | xero-lib/APCompsci | fc756dad15795c7e84e46217b054dab428ef4de6 | 59d34f1da89cf206c676b6e9f5cd6c942ed6908a | refs/heads/master | 2021-07-11T20:18:10.877303 | 2020-10-26T04:36:18 | 2020-10-26T04:36:18 | 209,363,199 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 412 | java | public class carTestDrive {
public static void main(String[] args)
{
// TODO Auto-generated method stub
Car mustang = new Car();
//increase the speed
mustang.accelerate();
mustang.accelerate();
mustang.accelerate();
mustang.accelerate();
//decrease the speed
mustang.brake();
//print current speed
System.out.println("Speed is " + mustang.getSpeed);
}
}
| [
"noreply@github.com"
] | noreply@github.com |
562aab96b5b617767aa21c56da4adb12f58bccd9 | a9227e8917aa1dd816d1d7d99fb87c2548e034d5 | /org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_50/datatypes10_50/complextypes10_50/Quantity10_50.java | 92d8637190c2a52aeee50bbbe58e0f2c05ce2183 | [
"Apache-2.0"
] | permissive | hapifhir/org.hl7.fhir.core | e3447e77208d47909c61aec3aced2e0dd095c878 | bca705a3c6cbeb8dc85c11864bbe5bf441dd8bf6 | refs/heads/master | 2023-09-01T00:47:26.637099 | 2023-08-31T13:58:37 | 2023-08-31T13:58:37 | 165,549,674 | 129 | 156 | Apache-2.0 | 2023-09-14T03:03:45 | 2019-01-13T20:14:02 | Java | UTF-8 | Java | false | false | 5,233 | java | package org.hl7.fhir.convertors.conv10_50.datatypes10_50.complextypes10_50;
import org.hl7.fhir.convertors.context.ConversionContext10_50;
import org.hl7.fhir.convertors.conv10_50.datatypes10_50.primitivetypes10_50.Code10_50;
import org.hl7.fhir.convertors.conv10_50.datatypes10_50.primitivetypes10_50.Decimal10_50;
import org.hl7.fhir.convertors.conv10_50.datatypes10_50.primitivetypes10_50.String10_50;
import org.hl7.fhir.convertors.conv10_50.datatypes10_50.primitivetypes10_50.Uri10_50;
import org.hl7.fhir.exceptions.FHIRException;
public class Quantity10_50 {
public static org.hl7.fhir.r5.model.Quantity convertQuantity(org.hl7.fhir.dstu2.model.Quantity src) throws FHIRException {
if (src == null || src.isEmpty()) return null;
org.hl7.fhir.r5.model.Quantity tgt = new org.hl7.fhir.r5.model.Quantity();
ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().copyElement(src, tgt);
if (src.hasValueElement()) tgt.setValueElement(Decimal10_50.convertDecimal(src.getValueElement()));
if (src.hasComparator()) tgt.setComparatorElement(convertQuantityComparator(src.getComparatorElement()));
if (src.hasUnitElement()) tgt.setUnitElement(String10_50.convertString(src.getUnitElement()));
if (src.hasSystemElement()) tgt.setSystemElement(Uri10_50.convertUri(src.getSystemElement()));
if (src.hasCodeElement()) tgt.setCodeElement(Code10_50.convertCode(src.getCodeElement()));
return tgt;
}
public static org.hl7.fhir.dstu2.model.Quantity convertQuantity(org.hl7.fhir.r5.model.Quantity src) throws FHIRException {
if (src == null || src.isEmpty()) return null;
org.hl7.fhir.dstu2.model.Quantity tgt = new org.hl7.fhir.dstu2.model.Quantity();
ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().copyElement(src, tgt);
if (src.hasValueElement()) tgt.setValueElement(Decimal10_50.convertDecimal(src.getValueElement()));
if (src.hasComparator()) tgt.setComparatorElement(convertQuantityComparator(src.getComparatorElement()));
if (src.hasUnitElement()) tgt.setUnitElement(String10_50.convertString(src.getUnitElement()));
if (src.hasSystemElement()) tgt.setSystemElement(Uri10_50.convertUri(src.getSystemElement()));
if (src.hasCodeElement()) tgt.setCodeElement(Code10_50.convertCode(src.getCodeElement()));
return tgt;
}
static public org.hl7.fhir.r5.model.Enumeration<org.hl7.fhir.r5.model.Enumerations.QuantityComparator> convertQuantityComparator(org.hl7.fhir.dstu2.model.Enumeration<org.hl7.fhir.dstu2.model.Quantity.QuantityComparator> src) throws FHIRException {
if (src == null || src.isEmpty()) return null;
org.hl7.fhir.r5.model.Enumeration<org.hl7.fhir.r5.model.Enumerations.QuantityComparator> tgt = new org.hl7.fhir.r5.model.Enumeration<>(new org.hl7.fhir.r5.model.Enumerations.QuantityComparatorEnumFactory());
ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().copyElement(src, tgt);
if (src.getValue() == null) {
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.QuantityComparator.NULL);
} else {
switch (src.getValue()) {
case LESS_THAN:
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.QuantityComparator.LESS_THAN);
break;
case LESS_OR_EQUAL:
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.QuantityComparator.LESS_OR_EQUAL);
break;
case GREATER_OR_EQUAL:
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.QuantityComparator.GREATER_OR_EQUAL);
break;
case GREATER_THAN:
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.QuantityComparator.GREATER_THAN);
break;
default:
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.QuantityComparator.NULL);
break;
}
}
return tgt;
}
static public org.hl7.fhir.dstu2.model.Enumeration<org.hl7.fhir.dstu2.model.Quantity.QuantityComparator> convertQuantityComparator(org.hl7.fhir.r5.model.Enumeration<org.hl7.fhir.r5.model.Enumerations.QuantityComparator> src) throws FHIRException {
if (src == null || src.isEmpty()) return null;
org.hl7.fhir.dstu2.model.Enumeration<org.hl7.fhir.dstu2.model.Quantity.QuantityComparator> tgt = new org.hl7.fhir.dstu2.model.Enumeration<>(new org.hl7.fhir.dstu2.model.Quantity.QuantityComparatorEnumFactory());
ConversionContext10_50.INSTANCE.getVersionConvertor_10_50().copyElement(src, tgt);
if (src.getValue() == null) {
tgt.setValue(org.hl7.fhir.dstu2.model.Quantity.QuantityComparator.NULL);
} else {
switch (src.getValue()) {
case LESS_THAN:
tgt.setValue(org.hl7.fhir.dstu2.model.Quantity.QuantityComparator.LESS_THAN);
break;
case LESS_OR_EQUAL:
tgt.setValue(org.hl7.fhir.dstu2.model.Quantity.QuantityComparator.LESS_OR_EQUAL);
break;
case GREATER_OR_EQUAL:
tgt.setValue(org.hl7.fhir.dstu2.model.Quantity.QuantityComparator.GREATER_OR_EQUAL);
break;
case GREATER_THAN:
tgt.setValue(org.hl7.fhir.dstu2.model.Quantity.QuantityComparator.GREATER_THAN);
break;
default:
tgt.setValue(org.hl7.fhir.dstu2.model.Quantity.QuantityComparator.NULL);
break;
}
}
return tgt;
}
}
| [
"noreply@github.com"
] | noreply@github.com |
9cd98204218e5a2d6e38c0e9e7291d5a27ba99cf | ecdf02ec845b00e0c523ed9f6c15c45a220444d8 | /src/cherry/generator/BuilderMethodMapper.java | a9b5a28af2069ab3fffe779d9de04f65ff82ed19 | [] | no_license | Apoc-/Spectrum | 9a30b2514ecb9d62de0146b252a92a11ad625265 | 4e2a1978fb8dd6d753b668c8df12e24cd8cab45a | refs/heads/master | 2021-09-09T21:53:25.714009 | 2018-03-19T22:50:54 | 2018-03-19T22:50:54 | 113,063,679 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 669 | java | /*
* Copyright (c) Apoc- 2018
*
* File last modfied: 11.01.18 22:51
*/
package cherry.generator;
import amber.model.AnnotationType;
import java.util.Map;
public class BuilderMethodMapper {
private BuilderMethodMapper() {
}
private static Map<AnnotationType, BuilderMethodType> map;
static {
map = Map.of(
AnnotationType.VARIABLE_MODIFIERS, BuilderMethodType.WITH_MODIFIERS,
AnnotationType.VARIABLE_DATATYPE, BuilderMethodType.WITH_DATA_TYPE,
AnnotationType.VARIABLE_PARAMETERS, BuilderMethodType.WITH_PARAMETER);
}
public static BuilderMethodType getBuilderMethodType(AnnotationType annotationType) {
return map.get(annotationType);
}
} | [
"ziegler.rene87@gmx.de"
] | ziegler.rene87@gmx.de |
d94033138bc0e262dd467a12f3d14dfc02da4f0f | 9673a4a286086c940ef3ad1ca5d6ad89002dfc95 | /requery/src/main/java/io/requery/sql/type/BigIntType.java | 5090035774e158db1c772900924df7717ffe9493 | [
"Apache-2.0"
] | permissive | keylorsdu/requery | 34e8b6b5ca88ff3a1a7ab474b37212d7b0d1af50 | 58914575c1e066a206f308e4d0424dd9c6d9d558 | refs/heads/master | 2021-01-18T18:33:45.279146 | 2016-02-27T06:21:03 | 2016-02-27T06:21:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,134 | java | /*
* Copyright 2016 requery.io
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.requery.sql.type;
import io.requery.sql.Keyword;
import io.requery.sql.BasicType;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Types;
public class BigIntType extends BasicType<Long> {
public BigIntType(Class<Long> type) {
super(type, Types.BIGINT);
}
@Override
public Long fromResult(ResultSet results, int column) throws SQLException {
return results.getLong(column);
}
@Override
public Keyword identifier() {
return Keyword.BIGINT;
}
}
| [
"npurushe@gmail.com"
] | npurushe@gmail.com |
fb074bcac3a8fe86a541ae4305dab2ce9281e5fd | d9b42194a99cbf074fa4cc9b7017db7d01af5e73 | /restfb-2.4.0/src/main/java/com/restfb/types/instagram/IgMediaChild.java | 7df05af1545931071a194a03c6926171e69fa54b | [] | no_license | Ahmed-BEN-ABDALLAH/Pidev2018_JAVA | db2383347eb0a8cb63aab07d876d0feac963b90c | 749b140e9032e36a778f046423c90bf5500d73e7 | refs/heads/master | 2020-10-01T21:12:10.475289 | 2019-12-12T14:45:11 | 2019-12-12T14:45:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,195 | java | /**
* Copyright (c) 2010-2018 Mark Allen, Norbert Bartels.
*
* 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 com.restfb.types.instagram;
import java.util.Date;
import com.restfb.Facebook;
import com.restfb.JsonMapper;
import com.restfb.types.FacebookType;
import com.restfb.util.DateUtils;
import lombok.Getter;
import lombok.Setter;
public class IgMediaChild extends FacebookType {
private static final long serialVersionUID = 1L;
@Getter
@Setter
@Facebook("ig_id")
private String igId;
@Getter
@Setter
@Facebook("media_type")
private String mediaType;
@Getter
@Setter
@Facebook("media_url")
private String mediaUrl;
@Getter
@Setter
@Facebook
private IgUser owner;
@Getter
@Setter
@Facebook
private String permalink;
@Getter
@Setter
@Facebook
private String shortcode;
@Getter
@Setter
@Facebook("thumbnail_url")
private String thumbnailUrl;
@Facebook("timestamp")
private String rawTimestamp;
@Getter
@Setter
private Date timestamp;
@JsonMapper.JsonMappingCompleted
private void convertTimestamp() {
timestamp = DateUtils.toDateFromLongFormat(rawTimestamp);
}
}
| [
"ahmed.benabdallah@esprit.tn"
] | ahmed.benabdallah@esprit.tn |
d2e11d212e7fc1acdc68f011a6b5a7f60ff2eb6a | 1807c31e59836057e6f0f6ac394bce523e225c9c | /ds/src/main/java/org/tang/jsj/ds/provider/DynamicDataSourceProvider.java | 3b7e049f30a5be6b55d26a21698a5a4370e500aa | [] | no_license | tangzhezhi/jsj | ace28e1a34f2eada0e9232f03c8e123b3f8dafb1 | f4fa4b433ec0253d1291c0d67dac15cd8b5874bf | refs/heads/master | 2022-12-11T06:55:27.615928 | 2020-03-20T11:50:24 | 2020-03-20T11:50:24 | 184,904,992 | 0 | 0 | null | 2022-12-10T23:09:43 | 2019-05-04T14:25:57 | JavaScript | UTF-8 | Java | false | false | 1,189 | java | /**
* Copyright ยฉ 2018 organization baomidou
* <pre>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* <pre/>
*/
package org.tang.jsj.ds.provider;
import javax.sql.DataSource;
import java.util.Map;
/**
* ๅคๆฐๆฎๆบๅ ่ฝฝๆฅๅฃ๏ผ้ป่ฎค็ๅฎ็ฐไธบไปymlไฟกๆฏไธญๅ ่ฝฝๆๆๆฐๆฎๆบ
* ไฝ ๅฏไปฅ่ชๅทฑๅฎ็ฐไปๅ
ถไปๅฐๆนๅ ่ฝฝๆๆๆฐๆฎๆบ
*
* @author TaoYu Kanyuxia
* @see YmlDynamicDataSourceProvider
* @see AbstractJdbcDataSourceProvider
* @since 1.0.0
*/
public interface DynamicDataSourceProvider {
/**
* ๅ ่ฝฝๆๆๆฐๆฎๆบ
*
* @return ๆๆๆฐๆฎๆบ๏ผkeyไธบๆฐๆฎๆบๅ็งฐ
*/
Map<String, DataSource> loadDataSources();
}
| [
"330882908@qq.com"
] | 330882908@qq.com |
5723a0f50bbcb77ccd3177bb33d513e7f042f733 | d1f3338bf7b06ad663855d9086b58b1e9fdb3e29 | /shsxt_xmjf_server/src/main/java/com/shsxt/xmjf/server/db/dao/BusUserStatMapper.java | c551aa34594118be4b2c095c964e9acadb70d04f | [] | no_license | zhangbushuaizyd/xiaomajinfu | cb87700459a31573c101bdeeba34afdad18d9e29 | ccc427efb230e6121ee9783c1f6fda7d2bcbab1f | refs/heads/master | 2020-05-04T12:27:44.694821 | 2019-04-03T17:06:59 | 2019-04-03T17:06:59 | 179,122,727 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 324 | java | package com.shsxt.xmjf.server.db.dao;
import com.shsxt.xmjf.api.po.BusUserStat;
import com.shsxt.xmjf.server.base.BaseMapper;
import org.apache.ibatis.annotations.Param;
public interface BusUserStatMapper extends BaseMapper<BusUserStat>{
public BusUserStat queryBusUserStatByUserId(@Param("userId") Integer userId);
} | [
"1346762896@qq.com"
] | 1346762896@qq.com |
1351001d27a4b7e153869fe46b13607c24008ba3 | 46f87ba26183024fbcc1698dcd8ee7fe2f648f2c | /src/featuresQuartoze/ProgramaTextBlocks.java | a692e77203415b44158afc2b837078d769c5fe20 | [] | no_license | psanrosa13/java_basico | 9294bea88ac416edb9c3728a67b36976877bb707 | 90757d25f876743ff18f0faeea08c82168c56f5a | refs/heads/master | 2023-05-06T18:22:22.063467 | 2021-05-28T00:02:35 | 2021-05-28T00:02:35 | 275,407,659 | 8 | 1 | null | null | null | null | UTF-8 | Java | false | false | 782 | java | package featuresQuartoze;
public class ProgramaTextBlocks {
public static void main(String[] args) {
String mensagemGrandeAntes = "Antes ao criar uma" +
" mensagem grande, ficava muito cheio de " +
" regras para concatenaรงรฃo do texto," +
"e isso era chato...";
/*
String mensagemGrandeDepoisJava14 = """Agora com o Java 14
Ficou muito fรกcil criar uma
String maior concatenada
""";
*/
System.out.println(mensagemGrandeAntes);
System.out.println("------------------------------------------------");
//System.out.println(mensagemGrandeDepoisJava14);
}
}
| [
"psanrosa13@gmail.com"
] | psanrosa13@gmail.com |
a97cc02467d7a75751cc4ad90705b5977f1c92c1 | 3ac36532272799e1165d40e1108a1b2f5dc6f2f1 | /app/src/main/java/marketplace/selfapps/rav/marketplace/authentification/AuthInterface.java | 954d6f0610200a02f860da511c25d3c40c358803 | [] | no_license | rokhlin/marketplace | 53441c00660e83c120fa2cb42f4c6ebf3836fe56 | 3c1dd6793b2a5321629ab0ae54bb38e9d6ef6b50 | refs/heads/master | 2021-01-21T10:34:45.264230 | 2017-03-05T17:48:45 | 2017-03-05T17:50:14 | 83,456,951 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 639 | java | package marketplace.selfapps.rav.marketplace.authentification;
import marketplace.selfapps.rav.marketplace.authentification.model.JWToken;
import marketplace.selfapps.rav.marketplace.authentification.model.User;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.Headers;
import retrofit2.http.POST;
/**
* Retrofit REST interface
*/
public interface AuthInterface {
@Headers( "Content-Type: application/json" )
@POST("signin/")
Call<String> getSignIn(@Body User user);
@Headers( "Content-Type: application/json" )
@POST("registration/")
Call<String> getRegistration(@Body User user);
}
| [
"rohlinav@gmail.com"
] | rohlinav@gmail.com |
c2b341d76b46d0017519a870e79003ccda4e8072 | 1b5de327310892534467f9eb3bc7b3462d6e8cf6 | /src/main/java/com/yao/designmodel/adapter/Duck.java | 450cc0c0271ebd4bcfb000cebab670e0f7569f80 | [] | no_license | YaoSmallWhite/designmodel | 0e83f3385b7382d89376a50aef95392d62798ac8 | b80c7f4b70252f012a3fb3904ae5d9d750dea188 | refs/heads/master | 2020-04-23T01:16:19.398410 | 2019-02-15T05:34:01 | 2019-02-15T05:34:01 | 170,807,208 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 168 | java | package com.yao.designmodel.adapter;
/**
* Description:
* Creator: yaoxiang(ys1892)
* Date: 2019-01-23
* Time: 14:11
*/
public interface Duck {
void say();
}
| [
"YS.yaoxiang@h3c.com"
] | YS.yaoxiang@h3c.com |
2c96bd5b508388d45cf489b5e27b1cc55671df49 | 12a667cafd9346a591590322559875b4791346f8 | /app/src/main/java/virtuzo/abhishek/community/activity/ResidentDetailsActivity.java | 65993e65960f834e02fc31b3c366a07acc63dc0a | [] | no_license | rahulyhg/Community-rwa | dddfe82af77c23fd7bccffcfbf48e95c32939ee8 | 690ecfe0f76291dbf1815e0eb27e9e1426dec73c | refs/heads/master | 2020-04-15T21:56:45.884685 | 2018-10-24T11:49:15 | 2018-10-24T11:49:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,529 | java | package virtuzo.abhishek.community.activity;
import android.content.Intent;
import android.net.Uri;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.bumptech.glide.Glide;
import com.bumptech.glide.load.resource.drawable.GlideDrawable;
import com.bumptech.glide.request.RequestListener;
import com.bumptech.glide.request.target.Target;
import de.hdodenhof.circleimageview.CircleImageView;
import virtuzo.abhishek.community.R;
import virtuzo.abhishek.community.model.OfficeBearer;
import virtuzo.abhishek.community.model.Resident;
import virtuzo.abhishek.community.model.ResidentBlock;
import virtuzo.abhishek.community.realm.RealmHelper;
import virtuzo.abhishek.community.utils.MyFunctions;
public class ResidentDetailsActivity extends LangSupportBaseActivity {
CircleImageView profileImage;
TextView nameTextView, mobileTextView, addressTextView;
LinearLayout mobileLayout, addressLayout;
Bundle bundle;
int residentID;
Resident resident;
ResidentBlock residentBlock;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_resident_details);
profileImage = (CircleImageView) findViewById(R.id.profileImage);
nameTextView = (TextView) findViewById(R.id.nameTextView);
addressTextView = (TextView) findViewById(R.id.addressTextView);
mobileTextView = (TextView) findViewById(R.id.mobileTextView);
addressLayout = (LinearLayout) findViewById(R.id.addressLayout);
mobileLayout = (LinearLayout) findViewById(R.id.mobileLayout);
bundle = getIntent().getExtras();
residentID = bundle.getInt("ID", 0);
resident = RealmHelper.getInstance().getResident(residentID);
residentBlock = RealmHelper.getInstance().getResidentBlock(resident.getResidentBlockID());
if (resident != null) {
initContent();
}
MyFunctions.setStatusBarAndNavigationBarColor(this);
}
private void initContent() {
Glide.with(this).load(resident.getProfileUrl()).placeholder(R.drawable.ic_userblank).dontAnimate().into(profileImage);
nameTextView.setText(resident.getResidentName());
StringBuilder builder = new StringBuilder();
builder.append(getResources().getString(R.string.text_houseno) + " - " + resident.getHouseNumber());
if (residentBlock != null) {
builder.append(", " + residentBlock.getBlockName());
}
String address = builder.toString();
if (MyFunctions.StringLength(address) != 0) {
addressTextView.setText(address);
} else {
addressLayout.setVisibility(View.GONE);
}
if (MyFunctions.StringLength(resident.getContactNumber()) != 0) {
mobileTextView.setText(resident.getContactNumber());
mobileLayout.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
contactDial(resident.getContactNumber());
}
});
} else {
mobileLayout.setVisibility(View.GONE);
}
}
private void contactDial(String mobileNumber) {
Intent intent = new Intent(Intent.ACTION_DIAL);
intent.setData(Uri.parse("tel:" + mobileNumber));
startActivity(intent);
}
}
| [
"sudeep.r@virtzuto.in"
] | sudeep.r@virtzuto.in |
573cf609130cab82b13c64b3814bf7a468e71629 | fd0170792ce3adc02fcfabf289c97164a193f89d | /app/src/main/java/com/example/dell/testapplication/AudioService.java | 1f522d56897fa46201d2a05bd6b1a406927c3e4d | [] | no_license | wjdgus262/MusiApplication | 4e47d416358ae4c2fc8fc58a43475635bfc6c262 | 4834b88d3c1c73abfc62844e56bd5382ce7a30c4 | refs/heads/master | 2020-05-14T23:18:19.155951 | 2019-04-18T01:25:06 | 2019-04-18T01:25:06 | 181,994,150 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 5,401 | java | package com.example.dell.testapplication;
import android.app.Service;
import android.content.Intent;
import android.database.Cursor;
import android.media.AudioManager;
import android.media.MediaPlayer;
import android.net.Uri;
import android.os.Binder;
import android.os.IBinder;
import android.os.PowerManager;
import android.provider.MediaStore;
import android.util.Log;
import java.util.ArrayList;
public class AudioService extends Service {
private final IBinder mBinder = new AudioServiceBinder();
private MediaPlayer mMediaPlayer;
private boolean isPrepared;
public class AudioServiceBinder extends Binder {
AudioService getService(){
return AudioService.this;
}
}
@Override
public void onCreate() {
super.onCreate();
mMediaPlayer = new MediaPlayer();
mMediaPlayer.setWakeMode(getApplicationContext(),PowerManager.PARTIAL_WAKE_LOCK);
mMediaPlayer.setOnPreparedListener(new MediaPlayer.OnPreparedListener() {
@Override
public void onPrepared(MediaPlayer mp) {
isPrepared = true;
mp.start();
sendBroadcast(new Intent(BroadcastActions.PREPARED));
}
});
mMediaPlayer.setOnCompletionListener(new MediaPlayer.OnCompletionListener() {
@Override
public void onCompletion(MediaPlayer mp) {
isPrepared = false;
sendBroadcast(new Intent(BroadcastActions.PLAY_STATE_CHANGED));
// Log.i("์ด๊ฑฐ๋","๋");
}
});
mMediaPlayer.setOnErrorListener(new MediaPlayer.OnErrorListener() {
@Override
public boolean onError(MediaPlayer mp, int what, int extra) {
isPrepared = false;
sendBroadcast(new Intent(BroadcastActions.PLAY_STATE_CHANGED));
return false;
}
});
mMediaPlayer.setOnSeekCompleteListener(new MediaPlayer.OnSeekCompleteListener() {
@Override
public void onSeekComplete(MediaPlayer mp) {
}
});
}
public AudioService() {
}
@Override
public IBinder onBind(Intent intent) {
// TODO: Return the communication channel to the service.
return mBinder;
}
private ArrayList<Long> mAudioIds = new ArrayList<>();
public void setPlayList(ArrayList<Long> audioIds) {
if (mAudioIds.size() != audioIds.size()) {
if (!mAudioIds.equals(audioIds)) {
mAudioIds.clear();
mAudioIds.addAll(audioIds);
Log.i("service_log_gggg",mAudioIds.get(1)+"");
}
}
}
private int mCurrentPosition;
private Audio_item_1 mAudioItem;
private void queryAudioItem(int position) {
mCurrentPosition = position;
long audioId = mAudioIds.get(position);
Uri uri = MediaStore.Audio.Media.EXTERNAL_CONTENT_URI;
String[] projection = new String[]{
MediaStore.Audio.Media._ID,
MediaStore.Audio.Media.TITLE,
MediaStore.Audio.Media.ARTIST,
MediaStore.Audio.Media.ALBUM,
MediaStore.Audio.Media.ALBUM_ID,
MediaStore.Audio.Media.DURATION,
MediaStore.Audio.Media.DATA
};
String selection = MediaStore.Audio.Media._ID + " = ?";
String[] selectionArgs = {String.valueOf(audioId)};
Cursor cursor = getContentResolver().query(uri, projection, selection, selectionArgs, null);
if (cursor != null) {
if (cursor.getCount() > 0) {
cursor.moveToFirst();
mAudioItem = Audio_item_1.bindCursor(cursor);
}
cursor.close();
}
}
public void pause() {
if (isPrepared) {
mMediaPlayer.pause();
sendBroadcast(new Intent(BroadcastActions.PLAY_STATE_CHANGED));
}
}
private void prepare() {
try {
mMediaPlayer.setDataSource(mAudioItem.mDataPath);
mMediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC);
mMediaPlayer.prepareAsync();
} catch (Exception e) {
e.printStackTrace();
}
}
public void play(int position) {
queryAudioItem(position);
stop();
prepare();
}
public void play() {
if (isPrepared) {
mMediaPlayer.start();
sendBroadcast(new Intent(BroadcastActions.PLAY_STATE_CHANGED));
}
}
private void stop() {
mMediaPlayer.stop();
mMediaPlayer.reset();
}
public void forward() {
if (mAudioIds.size() - 1 > mCurrentPosition) {
mCurrentPosition++; // ๋ค์ ํฌ์ง์
์ผ๋ก ์ด๋.
} else {
mCurrentPosition = 0; // ์ฒ์ ํฌ์ง์
์ผ๋ก ์ด๋.
}
play(mCurrentPosition);
}
public void rewind() {
if (mCurrentPosition > 0) {
mCurrentPosition--; // ์ด์ ํฌ์ง์
์ผ๋ก ์ด๋.
} else {
mCurrentPosition = mAudioIds.size() - 1; // ๋ง์ง๋ง ํฌ์ง์
์ผ๋ก ์ด๋.
}
play(mCurrentPosition);
}
public Audio_item_1 getAudioItem() {
return mAudioItem;
}
public boolean isPlaying() {
return mMediaPlayer.isPlaying();
}
}
| [
"tjwjdgus262@naver.com"
] | tjwjdgus262@naver.com |
e5e8e633374051a994096c81d668c3020755a12d | 13c08e0e2fd921bd2fe72bffd93538a2942b5edb | /front/src/main/java/com/wzh/front/entity/Task.java | 9267b1d7dcedd886256f00d3c2dce9d93d236f41 | [] | no_license | WzhGit96/cloud-project | ecc66157d2382cd7ebdc9affc6820ad1fe852300 | 171e96e6db3778e83918bea835920237859bcc80 | refs/heads/master | 2022-09-17T17:04:46.394318 | 2021-12-07T01:59:46 | 2021-12-07T01:59:46 | 209,926,412 | 1 | 0 | null | 2022-09-01T23:13:48 | 2019-09-21T04:49:19 | JavaScript | UTF-8 | Java | false | false | 847 | java | /*
* Copyright ยฉ 2019-2019 Wzh.All rights reserved.
*/
package com.wzh.front.entity;
import lombok.Data;
import java.io.Serializable;
/**
* @author Wzh
* @since 2019-10-01
*/
@Data
public class Task implements Serializable {
private static final long serialVersionUID = 423072068710368282L;
/**
* id
*/
private Integer id;
/**
* ็จๆทid
*/
private Integer uid;
/**
* ๅๅปบๆถ้ด
*/
private Long createTime;
/**
* ๅผๅงๆถ้ด
*/
private Long startTime;
/**
* ๆ็ปญๆถ้ด
*/
private Long endTime;
/**
* ๆ ้ข
*/
private String title;
/**
* ๆ่ฟฐ
*/
private String describe;
/**
* ็ถๆ
*/
private Integer status;
/**
* ไบไธชๅค็จๅญๆฎต
*/
private String remark1;
private String remark2;
private String remark3;
private String remark4;
private String remark5;
}
| [
"wzhgit96@163.com"
] | wzhgit96@163.com |
b779357b05d198f89c13cd788cf16d9818a99e19 | 1a4973cad9619c9614069e1901f70554459f43f4 | /lapindromes.java | d69b0bc0bbc7c411945a144be8bd10c970c650ef | [] | no_license | Suresh-vivek/Lapindromes | c2b84f750cad63f5b214e64050925d853aca2b20 | ef0e1cabf893a3fe0727f0ec64ee72c7be920d1f | refs/heads/main | 2023-09-02T14:38:27.853342 | 2021-10-25T07:26:21 | 2021-10-25T07:26:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,167 | java | import java.util.Scanner;
public class lapindromes {
public static void main(String[] args) {
Scanner sc= new Scanner(System.in);
int t= sc.nextInt();
if (1<=t && t<=100) {
for (int i = 0; i < t; i++) {
String str= sc.next();
String str1="";
String str2="";
if (2<=str.length() && str.length()<=1000) {
str1=str.substring(0, str.length()/2);
if (str.length()%2==0) {
str2=str.substring(str.length()/2, str.length());
}else{
str2=str.substring((str.length()/2)+1, str.length());
}
char[] c1=str1.toCharArray();
char[] c2=str2.toCharArray();
java.util.Arrays.sort(c1);
java.util.Arrays.sort(c2);
if (java.util.Arrays.equals(c1, c2)) {
System.out.println("YES");
}else{
System.out.println("NO");
}
}
}
}
}
}
| [
"ayushprakashthaware@gmail.com"
] | ayushprakashthaware@gmail.com |
e1004691ac66de5f570945add94ed8ecf85fa486 | 54f08ed8de89c16f515f03d81b2d79613548b37d | /graph/wordsearchforarrayofstr.java | 432aa21726ff200c25e13a6e350b9685792cbb9c | [] | no_license | prakashjha18/problem-solving-DSA | 6b462b3e674b429c655b037eb6a2f193885e53cb | 1c4d3b4dc40c4f6b83c74df90370fcad963fd51f | refs/heads/master | 2023-02-18T01:35:04.533817 | 2021-01-20T18:21:42 | 2021-01-20T18:21:42 | 248,261,314 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,099 | java | // { Driver Code Starts
//Initial Template for Java
// Example:
// Input:
// 1
// 4
// GEEKS FOR QUIZ GO
// 3 3
// G I Z
// U E K
// Q S E
// Output:
// GEEKS QUIZ
import java.io.*;
import java.util.*;
class GFG
{
public static void main(String args[])
{
Scanner sc = new Scanner(System.in);
int t = sc.nextInt();
while(t>0)
{
int x = sc.nextInt();
String[] dictionary = new String[x];
for(int i=0;i<x;i++)
{
dictionary[i] = sc.next();
}
int m = Integer.parseInt(sc.next());
int n = Integer.parseInt(sc.next());
char board[][] = new char[m][n];
for(int i=0;i<m;i++)
{
for(int j=0;j<n;j++)
{
board[i][j] = sc.next().charAt(0);
}
}
Solution T = new Solution();
String[] ans = T.wordBoggle(board, dictionary);
if(ans.length == 0) System.out.println("-1");
else
{
Arrays.sort(ans);
for(int i=0;i<ans.length;i++)
{
System.out.print(ans[i] + " ");
}
System.out.println();
}
t--;
}
}
}
// } Driver Code Ends
//User function Template for Java
class Solution
{
public String[] wordBoggle(char board[][], String[] dictionary)
{
// Write your code here
//String sc[] = new String[1];
ArrayList<String> al = new ArrayList<String>();
for(String dct : dictionary){
if(wordSearch(board,dct) == 1){
al.add(dct);
}
}
String sc[] = new String[al.size()];
for(int i=0;i<al.size();i++){
sc[i] = al.get(i);
}
return sc;
}
public int wordSearch(char[][] board, String word)
{
// Your Code goes here
for(int i=0;i<board.length;i++){
for(int j=0;j<board[i].length;j++){
if(board[i][j]==word.charAt(0) && dfs(board,i,j,0,word)){
return 1;
}
}
}
return 0;
}
public boolean dfs(char[][] board,int i,int j,int count,String word){
if(count == word.length()){
return true;
}
if(i<0 || i>=board.length || j<0 || j>=board[i].length || board[i][j]!=word.charAt(count)){
return false;
}
char temp = board[i][j];
board[i][j] = ' ';
boolean found = dfs(board,i+1,j,count+1,word)
|| dfs(board,i-1,j,count+1,word)
|| dfs(board,i,j+1,count+1,word)
|| dfs(board,i,j-1,count+1,word)
|| dfs(board,i-1,j-1,count+1,word)
|| dfs(board,i+1,j+1,count+1,word)
|| dfs(board,i+1,j-1,count+1,word)
|| dfs(board,i-1,j+1,count+1,word);
board[i][j] = temp;
return found;
}
}
| [
"noreply@github.com"
] | noreply@github.com |
9a99ebeafc6bd6e85cfd2432ac6596bbdac40c89 | e15b8854099c3b8ae789781e41097dbd45cba255 | /gulimall-common/src/main/java/com/carsonlius/common/utils/MapUtils.java | bd2b5e5ec550439df89328aa7ff3e138e0c992c6 | [
"Apache-2.0"
] | permissive | carsonlius/GuLi-Store | 4b5c03ed662fc10c1e2e03e053945b0d5ab19f99 | 323e12680b7ef2cef63f93b8936912206b7b0a62 | refs/heads/main | 2023-03-18T00:35:51.272610 | 2021-03-22T11:54:43 | 2021-03-22T11:54:43 | 342,765,730 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 448 | java | /**
* Copyright (c) 2016-2019 ไบบไบบๅผๆบ All rights reserved.
*
* https://www.renren.io
*
* ็ๆๆๆ๏ผไพตๆๅฟ
็ฉถ๏ผ
*/
package com.carsonlius.common.utils;
import java.util.HashMap;
/**
* Mapๅทฅๅ
ท็ฑป
*
* @author Mark sunlightcs@gmail.com
*/
public class MapUtils extends HashMap<String, Object> {
@Override
public MapUtils put(String key, Object value) {
super.put(key, value);
return this;
}
}
| [
"liusen@huice.com"
] | liusen@huice.com |
8a725be1f953ffbd75139851d7a48a5e4a364569 | 80020992c29018f20bf2a67333a9e7e49d46a9a4 | /03-java-spring/01-spring-fundamentals/02-getting-familiar-with-routing/src/test/java/com/dennislee/routing/ApplicationTests.java | 09717c75468545a65ea0362259af53184ed7d955 | [] | no_license | Java-July-2020/DennisL_Assignments | 969841f9e39c19921c76f66d76b739d16d3a6875 | 2b87e537f48a33d3bade399719a04e45e4197273 | refs/heads/master | 2022-12-03T18:17:03.311434 | 2020-08-26T22:22:30 | 2020-08-26T22:22:30 | 277,950,128 | 0 | 1 | null | 2021-09-16T01:59:48 | 2020-07-08T00:21:40 | Java | UTF-8 | Java | false | false | 207 | java | package com.dennislee.routing;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class ApplicationTests {
@Test
void contextLoads() {
}
}
| [
"leedennis04@gmail.com"
] | leedennis04@gmail.com |
90846855d50c180be895619de2d4bf36190b304d | c3a83420ab341677929e4be7676467294e52aee3 | /20_08_27 std/src/Main2.java | d4b1ea68e5200a759552631b9a9518da4cb7cc55 | [] | no_license | LYHccc/study_java | 525474403d9c0aaadaac84c1bf1ba7d7d77de89e | 732e1ada5e3d9d2117ddfefac750f9b1354fbb6f | refs/heads/master | 2022-11-25T19:57:18.091460 | 2020-11-13T14:29:58 | 2020-11-13T14:29:58 | 217,519,014 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 939 | java | /**
* ๅญ็ฌฆไธฒๅน้
* ่พๅ
ฅไธไธชๅญ็ฌฆไธฒs1ๅไธไธชๅญ็ฌฆไธฒs2,ๅคๆญs1ไธญๅ
ๅซs2็่ตทๅงไธๆ
* ๅฆๆไธๅญๅจ่ฟๅ-1๏ผๅฆๆs2ไธบ็ฉบๅญ็ฌฆไธฒ๏ผ่ฟๅ0
* ็คบไพ่พๅ
ฅ๏ผabaa baa
* ่พๅบ๏ผ1
*/
import java.util.Scanner;
public class Main2 {
private static int findIndex(String s1, String s2){
if(s2.length() == 0) return 0;
if(!s1.contains(s2)){
return -1;
}else{
for(int i = 0; i < s1.length(); i++){
if(s1.charAt(i) == s2.charAt(0)){
if(s1.substring(i, i + s2.length()).equals(s2)){
return i;
}
}
}
}
return -1;
}
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String s1 = scanner.next();
String s2 = scanner.next();
System.out.println(findIndex(s1, s2));
}
}
| [
"1587168434@qq.com"
] | 1587168434@qq.com |
d79517b507891b0b55282c7fb1bad2e0fe7b7d7d | 1ff7713c5714b546a4bdb7556356436b601f323d | /src/test/java/org/superbiz/AnimalServiceTest.java | b45a0cbfdd6a98af881c040b914c46a2c7b78610 | [
"Apache-2.0"
] | permissive | diwong/tomee-jaxrs-starter-project | a9cf8607de03508f0d4ee4b77e05c72d6efa3bf3 | 7972e84377ee1445c30aea05e2dab7d92beeee47 | refs/heads/master | 2021-01-17T21:44:11.517153 | 2015-02-12T00:43:29 | 2015-02-12T00:43:29 | 30,671,929 | 0 | 0 | null | 2015-02-11T21:59:14 | 2015-02-11T21:59:14 | null | UTF-8 | Java | false | false | 4,463 | java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.superbiz;
import org.apache.cxf.jaxrs.client.WebClient;
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.arquillian.test.api.ArquillianResource;
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.spec.WebArchive;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
/**
* Arquillian will start the container, deploy all @Deployment bundles, then run all the @Test methods.
*
* A strong value-add for Arquillian is that the test is abstracted from the server.
* It is possible to rerun the same test against multiple adapters or server configurations.
*
* A second value-add is it is possible to build WebArchives that are slim and trim and therefore
* isolate the functionality being tested. This also makes it easier to swap out one implementation
* of a class for another allowing for easy mocking.
*
*/
@RunWith(Arquillian.class)
public class AnimalServiceTest extends Assert {
/**
* ShrinkWrap is used to create a war file on the fly.
*
* The API is quite expressive and can build any possible
* flavor of war file. It can quite easily return a rebuilt
* war file as well.
*
* More than one @Deployment method is allowed.
*/
@Deployment
public static WebArchive createDeployment() {
return ShrinkWrap.create(WebArchive.class).addClasses(AnimalService.class, Animal.class);
}
/**
* This URL will contain the following URL data
*
* - http://<host>:<port>/<webapp>/
*
* This allows the test itself to be agnostic of server information or even
* the name of the webapp
*
*/
@ArquillianResource
private URL webappUrl;
@Test
public void postAndGet() throws Exception {
// POST
{
final WebClient webClient = WebClient.create(webappUrl.toURI());
final Response response = webClient.path("animal/zebra").post(null);
assertEquals(204, response.getStatus());
}
// GET
{
final WebClient webClient = WebClient.create(webappUrl.toURI());
final Response response = webClient.path("animal").get();
assertEquals(200, response.getStatus());
final String content = slurp((InputStream) response.getEntity());
assertEquals("zebra", content);
}
}
@Test
public void getAnimalObject() throws Exception {
final WebClient webClient = WebClient.create(webappUrl.toURI());
webClient.accept(MediaType.APPLICATION_JSON);
final Animal animal = webClient.path("animal/object").get(Animal.class);
assertNotNull(animal);
assertEquals("tiger", animal.getName());
assertEquals("cat", animal.getFamily());
assertEquals("primate", animal.getType());
assertEquals(0x55, animal.getMaxSpeed());
}
/**
* Reusable utility method
* Move to a shared class or replace with equivalent
*/
public static String slurp(final InputStream in) throws IOException {
final ByteArrayOutputStream out = new ByteArrayOutputStream();
final byte[] buffer = new byte[1024];
int length;
while ((length = in.read(buffer)) != -1) {
out.write(buffer, 0, length);
}
out.flush();
return new String(out.toByteArray());
}
}
| [
"diwong@starbucks.com"
] | diwong@starbucks.com |
6017f80ed08a253e5bcb9a8b56e006073ff27c81 | 647ec12ce50f06e7380fdbfb5b71e9e2d1ac03b4 | /com.tencent.mobileqqi/classes.jar/com/tencent/tmassistantsdk/downloadservice/l.java | d329d4628f63bcbba55e1d7d25ed4f4f721c11d2 | [] | no_license | tsuzcx/qq_apk | 0d5e792c3c7351ab781957bac465c55c505caf61 | afe46ef5640d0ba6850cdefd3c11badbd725a3f6 | refs/heads/main | 2022-07-02T10:32:11.651957 | 2022-02-01T12:41:38 | 2022-02-01T12:41:38 | 453,860,108 | 36 | 9 | null | 2022-01-31T09:46:26 | 2022-01-31T02:43:22 | Java | UTF-8 | Java | false | false | 618 | java | package com.tencent.tmassistantsdk.downloadservice;
import android.os.Handler;
import android.os.Message;
final class l
extends Handler
{
l(NetworkMonitorReceiver paramNetworkMonitorReceiver) {}
public final void handleMessage(Message paramMessage)
{
super.handleMessage(paramMessage);
switch (paramMessage.what)
{
default:
return;
}
this.a.d();
}
}
/* Location: L:\local\mybackup\temp\qq_apk\com.tencent.mobileqqi\classes2.jar
* Qualified Name: com.tencent.tmassistantsdk.downloadservice.l
* JD-Core Version: 0.7.0.1
*/ | [
"98632993+tsuzcx@users.noreply.github.com"
] | 98632993+tsuzcx@users.noreply.github.com |
aafdb30dfb84eae45db9af6cd8703b3504c4a8ed | c696d024de1240c1072517310c482faa6d023018 | /day14_servler&&http&&request/src/cn/zskblog/web/request/requestDemo5.java | 6ce358778c318afa2c2c9bc255fdc118e7888952 | [] | no_license | zhang19980707/java- | 28d7bf93f9282721a908b6edea0569edd51ff6c8 | 08f72d61bc62e9d173c8ca5b9ad971de7abc2b6d | refs/heads/master | 2023-01-16T02:44:45.873642 | 2020-11-28T13:20:36 | 2020-11-28T13:20:36 | 316,173,916 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 969 | java | package cn.zskblog.web.request;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.BufferedReader;
import java.io.IOException;
@WebServlet("/requestDemo5")
public class requestDemo5 extends HttpServlet {
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
// ่ทๅ่ฏทๆฑๆถๆฏไฝ---่ฏทๆฑๅๆฐ
// 1ใ่ทๅๅญ็ฌฆๆต
BufferedReader reader = request.getReader();
//2ใๅๆฐๆฎ
String line = null;
while((line = reader.readLine()) != null){
System.out.println(line); // username=15138754287&password=dsdsad
}
}
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
}
}
| [
"845664960@qq.com"
] | 845664960@qq.com |
5e60791bd69ccffc142db44fad57f415bd1b4f5c | 8126396d04e3016bb21190a7787c34727bc2bc63 | /src/main/java/name/dmaus/schxslt/testsuite/ValidationStatus.java | fc4dfe0bf1e0dba31c1d6ed7368ff254599c8f81 | [
"MIT"
] | permissive | rkottmann/schxslt-testsuite | 5371b976a1abf079fc4fc96d6be0dd155ef2ed09 | 4b695a611d2d82506295ef86878b7072909575c0 | refs/heads/master | 2021-01-05T03:04:11.622292 | 2020-02-15T16:08:44 | 2020-02-15T16:08:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,252 | java | /*
* Copyright (C) 2019,2020 by David Maus <dmaus@dmaus.name>
*
* 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 name.dmaus.schxslt.testsuite;
enum ValidationStatus
{
FAILURE,
SUCCESS,
SKIPPED
}
| [
"dmaus@dmaus.name"
] | dmaus@dmaus.name |
e4a85b703f1a2b5457418e883d1063432c586c1b | 3220ededaa761760588966d6aab2b1cd1a94f1a7 | /SfQ/src/main/java/org/apache/camel/salesforce/dto/LocationStatusEnum.java | e274e6258781d30920a498fc7f864aab52203fb3 | [] | no_license | cnduffield/OCPFuseSF | 25ba4383d19eaa99a2a61a9e514574c63f608bd2 | 4638cd1f4a02b0843a7560cf0171298b12b6330d | refs/heads/master | 2021-01-13T04:09:37.559426 | 2017-02-02T17:37:10 | 2017-02-02T17:37:10 | 78,051,686 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 904 | java | /*
* Salesforce DTO generated by camel-salesforce-maven-plugin
* Generated on: Fri Nov 11 19:02:42 ART 2016
*/
package org.apache.camel.salesforce.dto;
import org.codehaus.jackson.annotate.JsonCreator;
import org.codehaus.jackson.annotate.JsonValue;
/**
* Salesforce Enumeration DTO for picklist LocationStatus
*/
public enum LocationStatusEnum {
// 0
_0("0"),
// 1
_1("1"),
// 2
_2("2");
final String value;
private LocationStatusEnum(String value) {
this.value = value;
}
@JsonValue
public String value() {
return this.value;
}
@JsonCreator
public static LocationStatusEnum fromValue(String value) {
for (LocationStatusEnum e : LocationStatusEnum.values()) {
if (e.value.equals(value)) {
return e;
}
}
throw new IllegalArgumentException(value);
}
}
| [
"cnduffield@hotmail.com"
] | cnduffield@hotmail.com |
96bbe5eb664fc977481ddab3f0192e9d864bdc4d | f9d8d6fef4f2397031a9e09a3f466798955e0bb0 | /testsuite/testsuite-logstash/src/test/java/org/wildfly/swarm/logstash/LogstashInVmTest.java | 784ec859b45e38e70ba3f7cb6b566071e9af5082 | [
"Apache-2.0"
] | permissive | sebastienblanc/wildfly-swarm-1 | 84f315acff3d47c73b705b3f4515c38dc8c2af8d | 8562b85ed9d098af9e7b265c82bf0b1b447dec5e | refs/heads/master | 2021-01-21T02:49:40.126154 | 2016-08-05T10:44:07 | 2016-08-05T11:26:54 | 65,304,003 | 0 | 0 | null | 2016-08-09T14:58:40 | 2016-08-09T14:58:38 | null | UTF-8 | Java | false | false | 1,026 | java | /**
* Copyright 2015-2016 Red Hat, Inc, and individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.wildfly.swarm.logstash;
import org.junit.Test;
import org.wildfly.swarm.container.Container;
/**
* @author Bob McWhirter
*/
public class LogstashInVmTest {
@Test
public void testSimple() throws Exception {
Container container = new Container();
container.fraction(LogstashFraction.createDefaultLogstashFraction());
container.start().stop();
}
}
| [
"bob@mcwhirter.org"
] | bob@mcwhirter.org |
6c4b6d6c061dc7398e8372552924b06ffda40b32 | 065c1f648e8dd061a20147ff9c0dbb6b5bc8b9be | /eclipsejdt_cluster/62000/tar_0.java | 467d300c99a6ffab8e327d6fd71c7ba5875794f3 | [] | no_license | martinezmatias/GenPat-data-C3 | 63cfe27efee2946831139747e6c20cf952f1d6f6 | b360265a6aa3bb21bd1d64f1fc43c3b37d0da2a4 | refs/heads/master | 2022-04-25T17:59:03.905613 | 2020-04-15T14:41:34 | 2020-04-15T14:41:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 40,038 | java | /*******************************************************************************
* Copyright (c) 2000, 2005 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jdt.core.tests.compiler.regression;
import junit.framework.Test;
public class StaticImportTest extends AbstractComparableTest {
// Static initializer to specify tests subset using TESTS_* static variables
// All specified tests which do not belong to the class are skipped...
static {
// TESTS_NAMES = new String[] { "test036" };
// TESTS_NUMBERS = new int[] { 188 };
// TESTS_RANGE = new int[] { 169, 180 };
}
public StaticImportTest(String name) {
super(name);
}
public static Test suite() {
return buildTestSuite(testClass());
}
public static Class testClass() {
return StaticImportTest.class;
}
public void test001() {
this.runConformTest(
new String[] {
"X.java",
"import static java.lang.Math.*;\n" +
"import static java.lang.Math.PI;\n" +
"public class X { double pi = abs(PI); }\n",
},
"");
}
public void test002() {
this.runConformTest(
new String[] {
"p/X.java",
"package p;\n" +
"import static p2.Y.*;\n" +
"import static p2.Z.Zint;\n" +
"import static p2.Z.ZMember;\n" +
"public class X {\n" +
" int x = y(1);\n" +
" int y = Yint;\n" +
" int z = Zint;\n" +
" void m1(YMember m) {}\n" +
" void m2(ZMember m) {}\n" +
"}\n",
"p2/Y.java",
"package p2;\n" +
"public class Y {\n" +
" public static int Yint = 1;\n" +
" public static int y(int y) { return y; }\n" +
" public static class YMember {}\n" +
"}\n",
"p2/Z.java",
"package p2;\n" +
"public class Z {\n" +
" public static int Zint = 1;\n" +
" public static class ZMember {}\n" +
"}\n",
},
"");
}
public void test003() { // test inheritance
this.runConformTest(
new String[] {
"p/X.java",
"package p;\n" +
"import static p2.Y.*;\n" +
"import static p2.Z.Zint;\n" +
"import static p2.Z.ZMember;\n" +
"public class X {\n" +
" int x = y(1);\n" +
" int y = Yint;\n" +
" int z = Zint;\n" +
" void m1(YMember m) {}\n" +
" void m2(ZMember m) {}\n" +
"}\n",
"p2/YY.java",
"package p2;\n" +
"public class YY {\n" +
" public static int Yint = 1;\n" +
" public static int y(int y) { return y; }\n" +
" public static class YMember {}\n" +
"}\n",
"p2/Y.java",
"package p2;\n" +
"public class Y extends YY {}\n",
"p2/ZZ.java",
"package p2;\n" +
"public class ZZ {\n" +
" public static int Zint = 1;\n" +
" public static class ZMember {}\n" +
"}\n",
"p2/Z.java",
"package p2;\n" +
"public class Z extends ZZ {}\n",
},
"");
this.runConformTest(
new String[] {
"X.java",
"import static p.A.C;\n" +
"public class X { int i = C; }\n",
"p/A.java",
"package p;\n" +
"public class A extends B implements I {}\n" +
"class B implements I {}\n",
"p/I.java",
"package p;\n" +
"public interface I { public static int C = 1; }\n"
},
""
);
this.runConformTest(
new String[] {
"X.java",
"import static p.A.C;\n" +
"public class X { \n" +
" int i = C; \n" +
" int j = p.A.C; \n" +
"}\n",
"p/A.java",
"package p;\n" +
"public class A implements I {}\n" +
"interface I { public static int C = 1; }\n"
},
"");
}
public void test004() { // test static vs. instance
this.runNegativeTest(
new String[] {
"p/X.java",
"package p;\n" +
"import static p2.Y.*;\n" +
"import static p2.Z.Zint;\n" +
"import static p2.Z.ZMember;\n" +
"public class X {\n" +
" int x = y(1);\n" +
" int y = Yint;\n" +
" int z = Zint;\n" +
" void m1(YMember m) {}\n" +
" void m2(ZMember m) {}\n" +
"}\n",
"p2/Y.java",
"package p2;\n" +
"public class Y {\n" +
" public int Yint = 1;\n" +
" public int y(int y) { return y; }\n" +
" public class YMember {}\n" +
"}\n",
"p2/Z.java",
"package p2;\n" +
"public class Z {\n" +
" public int Zint = 1;\n" +
" public class ZMember {}\n" +
"}\n",
},
"----------\n" +
"1. ERROR in p\\X.java (at line 3)\n" +
" import static p2.Z.Zint;\n" +
" ^^^^^^^^^\n" +
"The import p2.Z.Zint cannot be resolved\n" +
"----------\n" +
"2. ERROR in p\\X.java (at line 4)\n" +
" import static p2.Z.ZMember;\n" +
" ^^^^^^^^^^^^\n" +
"The import p2.Z.ZMember cannot be resolved\n" +
"----------\n" +
"3. ERROR in p\\X.java (at line 6)\n" +
" int x = y(1);\n" +
" ^\n" +
"The method y(int) is undefined for the type X\n" +
"----------\n" +
"4. ERROR in p\\X.java (at line 7)\n" +
" int y = Yint;\n" +
" ^^^^\n" +
"Yint cannot be resolved\n" +
"----------\n" +
"5. ERROR in p\\X.java (at line 8)\n" +
" int z = Zint;\n" +
" ^^^^\n" +
"Zint cannot be resolved\n" +
"----------\n" +
"6. ERROR in p\\X.java (at line 9)\n" +
" void m1(YMember m) {}\n" +
" ^^^^^^^\n" +
"YMember cannot be resolved to a type\n" +
"----------\n" +
"7. ERROR in p\\X.java (at line 10)\n" +
" void m2(ZMember m) {}\n" +
" ^^^^^^^\n" +
"ZMember cannot be resolved to a type\n" +
"----------\n");
}
public void test005() { // test visibility
this.runNegativeTest(
new String[] {
"p/X.java",
"package p;\n" +
"import static p2.Y.*;\n" +
"import static p2.Z.Zint;\n" +
"import static p2.Z.ZMember;\n" +
"public class X {\n" +
" int x = y(1);\n" +
" int y = Yint;\n" +
" int z = Zint;\n" +
" void m1(YMember m) {}\n" +
" void m2(ZMember m) {}\n" +
"}\n",
"p2/Y.java",
"package p2;\n" +
"public class Y {\n" +
" static int Yint = 1;\n" +
" static int y(int y) { return y; }\n" +
" static class YMember {}\n" +
"}\n",
"p2/Z.java",
"package p2;\n" +
"public class Z {\n" +
" static int Zint = 1;\n" +
" static class ZMember {}\n" +
"}\n",
},
"----------\n" +
"1. ERROR in p\\X.java (at line 3)\n" +
" import static p2.Z.Zint;\n" +
" ^^^^^^^^^\n" +
"The field Z.p2.Z.Zint is not visible\n" +
"----------\n" +
"2. ERROR in p\\X.java (at line 4)\n" +
" import static p2.Z.ZMember;\n" +
" ^^^^^^^^^^^^\n" +
"The type p2.Z.ZMember is not visible\n" +
"----------\n" +
"3. ERROR in p\\X.java (at line 6)\n" +
" int x = y(1);\n" +
" ^\n" +
"The method y(int) from the type Y is not visible\n" +
"----------\n" +
"4. ERROR in p\\X.java (at line 7)\n" +
" int y = Yint;\n" +
" ^^^^\n" +
"The field Y.Yint is not visible\n" +
"----------\n" +
"5. ERROR in p\\X.java (at line 8)\n" +
" int z = Zint;\n" +
" ^^^^\n" +
"Zint cannot be resolved\n" +
"----------\n" +
"6. ERROR in p\\X.java (at line 9)\n" +
" void m1(YMember m) {}\n" +
" ^^^^^^^\n" +
"The type YMember is not visible\n" +
"----------\n" +
"7. ERROR in p\\X.java (at line 10)\n" +
" void m2(ZMember m) {}\n" +
" ^^^^^^^\n" +
"ZMember cannot be resolved to a type\n" +
"----------\n");
}
public void test006() { // test non static member types
this.runNegativeTest(
new String[] {
"p/X.java",
"package p;\n" +
"import static p2.Z.ZStatic;\n" +
"import static p2.Z.ZNonStatic;\n" +
"import p2.Z.ZNonStatic;\n" +
"public class X {\n" +
" void m2(ZStatic m) {}\n" +
" void m3(ZNonStatic m) {}\n" +
"}\n",
"p2/Z.java",
"package p2;\n" +
"public class Z {\n" +
" public static class ZStatic {}\n" +
" public class ZNonStatic {}\n" +
"}\n",
},
"----------\n" +
"1. ERROR in p\\X.java (at line 3)\n" +
" import static p2.Z.ZNonStatic;\n" +
" ^^^^^^^^^^^^^^^\n" +
"The import p2.Z.ZNonStatic cannot be resolved\n" +
"----------\n");
}
public void test007() { // test non static member types vs. static field
this.runConformTest(
new String[] {
"p/X.java",
"package p;\n" +
"import static p2.Z.ZFieldOverMember;\n" +
"public class X {\n" +
" int z = ZFieldOverMember;\n" +
"}\n",
"p2/Z.java",
"package p2;\n" +
"public class Z {\n" +
" public static int ZFieldOverMember = 1;\n" +
" public class ZFieldOverMember {}\n" +
"}\n",
},
"");
}
public void test008() { // test static top level types
this.runNegativeTest(
new String[] {
"p/X.java",
"package p;\n" +
"import static java.lang.System;\n" +
"public class X {}\n",
},
"----------\n" +
"1. ERROR in p\\X.java (at line 2)\n" +
" import static java.lang.System;\n" +
" ^^^^^^^^^^^^^^^^\n" +
"The static import java.lang.System must be a field or member type\n" +
"----------\n");
}
public void test009() { // test static top level types
this.runNegativeTest(
new String[] {
"p/X.java",
"package p;\n" +
"import static java.lang.reflect.Method.*;\n" +
"public class X {Method m;}\n",
},
"----------\n" +
"1. ERROR in p\\X.java (at line 3)\n" +
" public class X {Method m;}\n" +
" ^^^^^^\n" +
"Method cannot be resolved to a type\n" +
"----------\n");
}
// https://bugs.eclipse.org/bugs/show_bug.cgi?id=76174
public void test010() {
this.runNegativeTest(
new String[] {
"X.java",
"import static java.lang.System.*;\n" +
"public class X {\n" +
" void foo() { arraycopy(); }\n" +
"}\n"
},
"----------\n" +
"1. ERROR in X.java (at line 3)\n" +
" void foo() { arraycopy(); }\n" +
" ^^^^^^^^^\n" +
"The method arraycopy(Object, int, Object, int, int) in the type System is not applicable for the arguments ()\n" +
"----------\n");
}
// https://bugs.eclipse.org/bugs/show_bug.cgi?id=76360
public void test011() {
this.runNegativeTest(
new String[] {
"X.java",
"import static p.Y.*;\n" +
"public class X extends p.Z {}\n" +
"class XX extends M.N {}\n" +
"class XXX extends M.Missing {}\n",
"p/YY.java",
"package p;\n" +
"public class YY {\n" +
" public static class M {\n" +
" public static class N {}\n" +
" }\n" +
"}\n",
"p/Y.java",
"package p;\n" +
"public class Y extends YY {}\n",
"p/Z.java",
"package p;\n" +
"public class Z {}\n"
},
"----------\n" +
"1. ERROR in X.java (at line 4)\n" +
" class XXX extends M.Missing {}\n" +
" ^^^^^^^^^\n" +
"M.Missing cannot be resolved to a type\n" +
"----------\n");
}
public void test012() {
this.runConformTest(
new String[] {
"X.java",
"import static java.lang.Math.*;\n" +
"public class X {\n" +
" public static void main(String[] s) {\n" +
" System.out.println(max(1, 2));\n" +
" }\n" +
"}\n",
},
"2");
this.runConformTest(
new String[] {
"X.java",
"import static java.lang.Math.max;\n" +
"public class X {\n" +
" public static void main(String[] s) {\n" +
" System.out.println(max(1, 3));\n" +
" }\n" +
"}\n",
},
"3");
this.runConformTest(
new String[] {
"X.java",
"import static p1.C.F;\n" +
"import p2.*;\n" +
"public class X implements F {" +
" int i = F();" +
"}\n",
"p1/C.java",
"package p1;\n" +
"public class C {\n" +
" public static int F() { return 0; }\n" +
"}\n",
"p2/F.java",
"package p2;\n" +
"public interface F {}\n"
},
""
);
}
// https://bugs.eclipse.org/bugs/show_bug.cgi?id=77955
public void test013() {
this.runNegativeTest(
new String[] {
"X.java",
"import static p.Y.ZZ;\n" + // found if ZZ is static
"import static p.Z.ZZ.WW;\n" + // found if WW is static
"import static p.Z.Zz.WW;\n" + // found if WW is static
"import static p.Z.Zz.*;\n" + // legal
"import static p.Z.Zz.Zzz;\n" + // legal
"import static p.Y.Zz;\n" + // Zz is not static
"import static p.Z.Zz.WW.*;\n" + // import requires canonical name for p.W.WW
"import p.Y.ZZ;\n" + // import requires canonical name for p.Z.ZZ
"import static p.Y.ZZ.*;\n" + // import requires canonical name for p.Z.ZZ
"import static p.Y.ZZ.WW;\n" + // import requires canonical name for p.Z.ZZ
"import static p.Y.ZZ.WW.*;\n" + // import requires canonical name for p.W.WW
"import static p.Y.ZZ.ZZZ;\n" + // import requires canonical name for p.Z.ZZ
"import static p.Y.ZZ.WW.WWW;\n" + // import requires canonical name for p.W.WW
"public class X {\n" +
" int i = Zzz + Zzzz;\n" +
" ZZ z;\n" +
" WW w;\n" +
"}\n",
"p/Y.java",
"package p;\n" +
"public class Y extends Z {}\n",
"p/Z.java",
"package p;\n" +
"public class Z {\n" +
" public class Zz extends W { public static final int Zzz = 0; public static final int Zzzz = 1; }\n" +
" public static class ZZ extends W { public static final int ZZZ = 0; }\n" +
"}\n",
"p/W.java",
"package p;\n" +
"public class W {\n" +
" public static class WW { public static final int WWW = 0; }\n" +
"}\n",
},
"----------\n" +
"1. ERROR in X.java (at line 6)\r\n" +
" import static p.Y.Zz;\r\n" +
" ^^^^^^\n" +
"The import p.Y.Zz cannot be resolved\n" +
"----------\n" +
"2. ERROR in X.java (at line 7)\r\n" +
" import static p.Z.Zz.WW.*;\r\n" +
" ^^^^^^^^^\n" +
"The import p.Z.Zz.WW cannot be resolved\n" +
"----------\n" +
"3. ERROR in X.java (at line 8)\r\n" +
" import p.Y.ZZ;\r\n" +
" ^^^^^^\n" +
"The import p.Y.ZZ cannot be resolved\n" +
"----------\n" +
"4. ERROR in X.java (at line 9)\r\n" +
" import static p.Y.ZZ.*;\r\n" +
" ^^^^^^\n" +
"The import p.Y.ZZ cannot be resolved\n" +
"----------\n" +
"5. ERROR in X.java (at line 10)\r\n" +
" import static p.Y.ZZ.WW;\r\n" +
" ^^^^^^\n" +
"The import p.Y.ZZ cannot be resolved\n" +
"----------\n" +
"6. ERROR in X.java (at line 11)\r\n" +
" import static p.Y.ZZ.WW.*;\r\n" +
" ^^^^^^\n" +
"The import p.Y.ZZ cannot be resolved\n" +
"----------\n" +
"7. ERROR in X.java (at line 12)\r\n" +
" import static p.Y.ZZ.ZZZ;\r\n" +
" ^^^^^^\n" +
"The import p.Y.ZZ cannot be resolved\n" +
"----------\n" +
"8. ERROR in X.java (at line 13)\r\n" +
" import static p.Y.ZZ.WW.WWW;\r\n" +
" ^^^^^^\n" +
"The import p.Y.ZZ cannot be resolved\n" +
"----------\n"
);
}
// https://bugs.eclipse.org/bugs/show_bug.cgi?id=78056
public void test014() {
this.runConformTest(
new String[] {
"X.java",
"import static p.Z.ZZ.ZZZ;\n" +
"public class X {}\n",
"p/Z.java",
"package p;\n" +
"public class Z {\n" +
" public class ZZ { public static final int ZZZ = 0; }\n" +
"}\n",
},
""
);
}
// https://bugs.eclipse.org/bugs/show_bug.cgi?id=78075
public void test015() {
this.runConformTest(
new String[] {
"X.java",
"import p.Z.*;\n" +
"import static p.Z.*;\n" +
"public class X { int i = COUNT; }\n",
"p/Z.java",
"package p;\n" +
"public class Z {\n" +
" public static final int COUNT = 0;\n" +
"}\n",
},
""
);
this.runConformTest(
new String[] {
"X.java",
"import static p.Z.*;\n" +
"import p.Z.*;\n" +
"public class X { int i = COUNT; }\n",
"p/Z.java",
"package p;\n" +
"public class Z {\n" +
" public static final int COUNT = 0;\n" +
"}\n",
},
""
);
}
// https://bugs.eclipse.org/bugs/show_bug.cgi?id=77630
public void test016() {
this.runNegativeTest(
new String[] {
"X.java",
"import static java.lang.*;\n" +
"public class X {}\n"
},
"----------\n" +
"1. ERROR in X.java (at line 1)\r\n" +
" import static java.lang.*;\r\n" +
" ^^^^^^^^^\n" +
"Only a type can be imported. java.lang resolves to a package\n" +
"----------\n"
);
}
// https://bugs.eclipse.org/bugs/show_bug.cgi?id=81724
public void test017() {
this.runConformTest(
new String[] {
"bug/A.java",
"package bug;\n" +
"import static bug.C.*;\n" +
"public class A {\n" +
" private B b;\n" +
"}\n",
"bug/B.java",
"package bug;\n" +
"import static bug.C.*;\n" +
"public class B {\n" +
"}\n",
"bug/C.java",
"package bug;\n" +
"public class C {\n" +
" private B b;\n" +
"}\n",
},
""
);
}
// https://bugs.eclipse.org/bugs/show_bug.cgi?id=81724 - variation
public void test018() {
this.runNegativeTest(
new String[] {
"bug/A.java",
"package bug;\n" +
"import static bug.C.*;\n" +
"public class A {\n" +
" private B b2 = b;\n" +
"}\n",
"bug/B.java",
"package bug;\n" +
"import static bug.C.*;\n" +
"public class B {\n" +
"}\n",
"bug/C.java",
"package bug;\n" +
"public class C {\n" +
" private static B b;\n" +
"}\n",
},
"----------\n" +
"1. ERROR in bug\\A.java (at line 4)\n" +
" private B b2 = b;\n" +
" ^\n" +
"The field C.b is not visible\n" +
"----------\n" +
"----------\n" +
"1. WARNING in bug\\B.java (at line 2)\n" +
" import static bug.C.*;\n" +
" ^^^^^\n" +
"The import bug.C is never used\n" +
"----------\n" +
"----------\n" +
"1. WARNING in bug\\C.java (at line 3)\n" +
" private static B b;\n" +
" ^\n" +
"The field C.b is never read locally\n" +
"----------\n");
}
// https://bugs.eclipse.org/bugs/show_bug.cgi?id=81718
public void test019() {
this.runNegativeTest(
new String[] {
"X.java",
"import static java.lang.Math.PI;\n" +
"\n" +
"public class X {\n" +
" boolean PI;\n" +
" Zork z;\n" +
"}\n",
},
"----------\n" +
"1. ERROR in X.java (at line 5)\n" +
" Zork z;\n" +
" ^^^^\n" +
"Zork cannot be resolved to a type\n" +
"----------\n");
}
// https://bugs.eclipse.org/bugs/show_bug.cgi?id=82754
public void test020() {
this.runNegativeTest(
new String[] {
"X.java",
"import static java.lang.Math.round;\n" +
"public class X {\n" +
" void foo() { cos(0); }\n" +
"}\n"
},
"----------\n" +
"1. ERROR in X.java (at line 3)\n" +
" void foo() { cos(0); }\n" +
" ^^^\n" +
"The method cos(int) is undefined for the type X\n" +
"----------\n" );
}
public void test021() {
this.runConformTest(
new String[] {
"X.java",
"import static p.B.foo;\n" +
"public class X {\n" +
" void test() { foo(); }\n" +
"}\n",
"p/A.java",
"package p;\n" +
"public class A { public static void foo() {} }\n",
"p/B.java",
"package p;\n" +
"public class B extends A { }\n"
},
""
);
this.runNegativeTest(
new String[] {
"X.java",
"import static p.B.foo;\n" +
"public class X {\n" +
" void test() { foo(); }\n" +
"}\n",
"p/A.java",
"package p;\n" +
"public class A { public void foo() {} }\n",
"p/B.java",
"package p;\n" +
"public class B extends A { static void foo(int i) {} }\n"
},
"----------\n" +
"1. ERROR in X.java (at line 1)\n" +
" import static p.B.foo;\n" +
" ^^^^^^^\n" +
"The import p.B.foo cannot be resolved\n" +
"----------\n" +
"2. ERROR in X.java (at line 3)\n" +
" void test() { foo(); }\n" +
" ^^^\n" +
"The method foo() is undefined for the type X\n" +
"----------\n"
);
}
public void test022() { // test field/method collisions
this.runConformTest(
new String[] {
"X.java",
"import static p.A.F;\n" +
"import static p.B.F;\n" +
"public class X {\n" +
" int i = F;\n" +
"}\n",
"p/A.java",
"package p;\n" +
"public class A { public static class F {} }\n",
"p/B.java",
"package p;\n" +
"public class B { public static int F = 2; }\n",
},
""
// no collision between field and member type
);
this.runConformTest(
new String[] {
"X.java",
"import static p.A.F;\n" +
"import static p.B.F;\n" +
"public class X {\n" +
" int i = F + F();\n" +
"}\n",
"p/A.java",
"package p;\n" +
"public class A { public static int F() { return 1; } }\n",
"p/B.java",
"package p;\n" +
"public class B { public static int F = 2; }\n",
},
""
// no collision between field and method
);
this.runConformTest(
new String[] {
"X.java",
"import static p.A.F;\n" +
"import static p.B.F;\n" +
"public class X {\n" +
" int i = F;\n" +
"}\n",
"p/A.java",
"package p;\n" +
"public class A { public static int F = 1; }\n",
"p/B.java",
"package p;\n" +
"public class B extends A {}\n",
},
""
// no collision between 2 fields that are the same
);
this.runNegativeTest(
new String[] {
"X.java",
"import static p.A.F;\n" +
"import static p.B.F;\n" +
"public class X {\n" +
" int i = F;\n" +
"}\n",
"p/A.java",
"package p;\n" +
"public class A { public static int F = 1; }\n",
"p/B.java",
"package p;\n" +
"public class B { public static int F = 2; }\n",
},
"----------\n" +
"1. ERROR in X.java (at line 2)\n" +
" import static p.B.F;\n" +
" ^^^^^\n" +
"The import p.B.F collides with another import statement\n" +
"----------\n"
// F is already defined in a single-type import
);
}
public void test023() {
this.runConformTest(
new String[] {
"X.java",
"import static p.A.C;\n" +
"public class X {\n" +
" public static void main(String[] args) {\n" +
" System.out.print(C);\n" +
" System.out.print(C());\n" +
" }\n" +
"}\n",
"p/A.java",
"package p;\n" +
"public class A {\n" +
" public static int C = 1;\n" +
" public static int C() { return C + 3; }\n" +
"}\n"
},
"14"
);
this.runConformTest( // extra inheritance hiccup for method lookup
new String[] {
"X.java",
"import static p.A.C;\n" +
"public class X {\n" +
" public static void main(String[] args) {\n" +
" System.out.print(C);\n" +
" System.out.print(C());\n" +
" }\n" +
"}\n",
"p/A.java",
"package p;\n" +
"public class A extends B {\n" +
" public static int C() { return C + 3; }\n" +
"}\n",
"p/B.java",
"package p;\n" +
"public class B {\n" +
" public static int C = 1;\n" +
"}\n"
},
"14"
);
}
// https://bugs.eclipse.org/bugs/show_bug.cgi?id=83376
public void test024() {
this.runNegativeTest(
new String[] {
"p/B.java",
"package p;\n" +
"import static p.A.m;\n" +
"import static p2.C.m;\n" +
"class A { static void m() {} }\n" +
"public class B { public static void main(String[] args) { m(); } }\n",
"p2/C.java",
"package p2;\n" +
"public class C { public static void m() {} }\n"
},
"----------\n" +
"1. ERROR in p\\B.java (at line 5)\r\n" +
" public class B { public static void main(String[] args) { m(); } }\r\n" +
" ^\n" +
"The method m() is ambiguous for the type B\n" +
"----------\n"
);
this.runConformTest(
new String[] {
"p/X.java",
"package p;\n" +
"import static p.A.m;\n" +
"import static p.B.m;\n" +
"public class X { void test() { m(); } }\n" +
"class B extends A {}\n",
"p/A.java",
"package p;\n" +
"public class A { public static int m() { return 0; } }\n"
},
""
);
}
public void test025() {
this.runConformTest(
new String[] {
"X.java",
"import static java.lang.Math.*;\n" +
"public class X {\n" +
" public static void main(String[] s) {\n" +
" System.out.print(max(PI, 4));\n" +
" new Runnable() {\n" +
" public void run() {\n" +
" System.out.println(max(PI, 5));\n" +
" }\n" +
" }.run();\n" +
" }\n" +
"}\n"
},
"4.05.0"
);
}
public void test026() { // ensure inherited problem fields do not stop package resolution
this.runConformTest(
new String[] {
"X.java",
"public class X extends Y { static void test() { java.lang.String.valueOf(0); } }\n" +
"class Y { private String java; }\n"
},
""
);
}
public void test027() {
this.runNegativeTest(
new String[] {
"X.java",
"import static p.ST.foo;\n" +
"public class X {\n" +
" \n" +
" foo bar;\n" +
"}\n",
"p/ST.java",
"package p; \n" +
"public class ST {\n" +
" public static int foo;\n" +
"}\n" ,
},
"----------\n" +
"1. ERROR in X.java (at line 4)\n" +
" foo bar;\n" +
" ^^^\n" +
"foo cannot be resolved to a type\n" +
"----------\n");
}
//https://bugs.eclipse.org/bugs/show_bug.cgi?id=87490
public void test028() {
this.runConformTest(
new String[] {
"p1/Z.java",//====================
"package p1;\n" +
"public class Z {\n" +
" public interface I {\n" +
" }\n" +
"}\n",
"q/Y.java",//====================
"package q;\n" +
"import static p.X.I;\n" +
"import static p1.Z.I;\n" +
"public class Y implements I {\n" +
"}\n",
"p/X.java",//====================
"package p;\n" +
"public enum X {\n" +
" I, J, K\n" +
"}\n" ,
},
"");
// recompile Y against binaries
this.runConformTest(
new String[] {
"q/Y.java",//====================
"package q;\n" +
"import static p.X.I;\n" +
"import static p1.Z.I;\n" +
"public class Y implements I {\n" +
"}\n",
},
"",
null,
false,
null);
}
//https://bugs.eclipse.org/bugs/show_bug.cgi?id=93913
public void test029() {
this.runNegativeTest(
new String[] {
"p1/A.java",
"package p1;\n" +
"import static p2.C.B;\n" +
"public class A extends B {\n" +
" void test() {" +
" int i = B();\n" +
" B b = null;\n" +
" b.fooB();\n" +
" b.fooC();\n" +
" fooC();\n" +
" }\n" +
"}\n",
"p1/B.java",
"package p1;\n" +
"public class B {\n" +
" public void fooB() {}\n" +
"}\n",
"p2/C.java",
"package p2;\n" +
"public class C {\n" +
" public static class B { public void fooC() {} }\n" +
" public static int B() { return 0; }\n" +
"}\n",
},
"----------\n" +
"1. ERROR in p1\\A.java (at line 6)\n" +
" b.fooB();\n" +
" ^^^^\n" +
"The method fooB() is undefined for the type C.B\n" +
"----------\n"
);
}
//https://bugs.eclipse.org/bugs/show_bug.cgi?id=94262
public void test030() {
this.runNegativeTest(
new String[] {
"p2/Test.java",
"package p2;\n" +
"import static p1.A.*;\n" +
"public class Test {\n" +
" Inner1 i; // not found\n" +
" Inner2 j;\n" +
"}\n",
"p1/A.java",
"package p1;\n" +
"public class A {\n" +
" public class Inner1 {}\n" +
" public static class Inner2 {}\n" +
"}\n",
},
"----------\n" +
"1. ERROR in p2\\Test.java (at line 4)\n" +
" Inner1 i; // not found\n" +
" ^^^^^^\n" +
"Inner1 cannot be resolved to a type\n" +
"----------\n"
);
this.runConformTest(
new String[] {
"p2/Test.java",
"package p2;\n" +
"import p1.A.*;\n" +
"import static p1.A.*;\n" +
"import static p1.A.*;\n" +
"public class Test {\n" +
" Inner1 i;\n" +
" Inner2 j;\n" +
"}\n",
"p1/A.java",
"package p1;\n" +
"public class A {\n" +
" public class Inner1 {}\n" +
" public static class Inner2 {}\n" +
"}\n",
},
""
);
}
//https://bugs.eclipse.org/bugs/show_bug.cgi?id=95909
public void test031() {
this.runNegativeTest(
new String[] {
"PointRadius.java",
"import static java.lang.Math.sqrt;\n" +
"\n" +
"public class PointRadius {\n" +
"\n" +
" public static void main(String[] args) {\n" +
" double radius = 0;\n" +
" radius = sqrt(pondArea / Math.PI);\n" +
"\n" +
" }\n" +
"}\n",
},
"----------\n" +
"1. ERROR in PointRadius.java (at line 7)\n" +
" radius = sqrt(pondArea / Math.PI);\n" +
" ^^^^^^^^\n" +
"pondArea cannot be resolved\n" +
"----------\n");
}
//http://bugs.eclipse.org/bugs/show_bug.cgi?id=97809
public void test032() {
this.runConformTest(
new String[] {
"X.java",
"import static p.A.*;\n" +
"import static p.B.*;\n" +
"public class X {\n" +
" public static void main(String[] args) {foo();}\n" +
"}\n",
"p/A.java",
"package p;" +
"public class A {\n" +
" public static void foo() {System.out.print(false);}\n" +
"}\n",
"p/B.java",
"package p;" +
"public class B extends A {\n" +
" public static void foo() {System.out.print(true);}\n" +
"}\n"
},
"true");
}
//http://bugs.eclipse.org/bugs/show_bug.cgi?id=97809
public void test032b() {
this.runNegativeTest(
new String[] {
"X2.java",
"import static p2.A.*;\n" +
"import static p2.B.*;\n" +
"public class X2 { void test() {foo();} }\n",
"p2/A.java",
"package p2;" +
"public class A {\n" +
" public static void foo() {}\n" +
"}\n",
"p2/B.java",
"package p2;" +
"public class B {\n" +
" public static void foo() {}\n" +
"}\n"
},
"----------\n" +
"1. ERROR in X2.java (at line 3)\r\n" +
" public class X2 { void test() {foo();} }\r\n" +
" ^^^\n" +
"The method foo() is ambiguous for the type X2\n" +
"----------\n"
// reference to foo is ambiguous, both method foo() in p.B and method foo() in p.A match
);
}
//http://bugs.eclipse.org/bugs/show_bug.cgi?id=97809
public void test032c() {
this.runConformTest(
new String[] {
"X3.java",
"import static p3.A.*;\n" +
"import static p3.B.foo;\n" +
"public class X3 {\n" +
" public static void main(String[] args) {foo();}\n" +
"}\n",
"p3/A.java",
"package p3;" +
"public class A {\n" +
" public static void foo() {System.out.print(false);}\n" +
"}\n",
"p3/B.java",
"package p3;" +
"public class B {\n" +
" public static void foo() {System.out.print(true);}\n" +
"}\n"
},
"true");
}
//http://bugs.eclipse.org/bugs/show_bug.cgi?id=97809
public void test032d() {
this.runConformTest(
new String[] {
"X4.java",
"import static p4.A.foo;\n" +
"import static p4.B.*;\n" +
"public class X4 {\n" +
" public static void main(String[] args) {foo();}\n" +
"}\n",
"p4/A.java",
"package p4;" +
"public class A {\n" +
" public static void foo() {System.out.print(true);}\n" +
"}\n",
"p4/B.java",
"package p4;" +
"public class B extends A {\n" +
" public static void foo() {System.out.print(false);}\n" +
"}\n"
},
"true");
}
public void test033() {
this.runConformTest(
new String[] {
"X.java",
"import static p.A.*;\n" +
"import static p.B.*;\n" +
"public class X {\n" +
" public static void main(String[] args) {foo(\"aa\");}\n" +
"}\n",
"p/A.java",
"package p;" +
"public class A {\n" +
" public static <U> void foo(U u) {System.out.print(false);}\n" +
"}\n",
"p/B.java",
"package p;" +
"public class B extends A {\n" +
" public static <V> void foo(String s) {System.out.print(true);}\n" +
"}\n"
},
"true");
}
public void test033b() {
this.runConformTest(
new String[] {
"X2.java",
"import static p2.A.*;\n" +
"import static p2.B.*;\n" +
"public class X2 {\n" +
" public static void main(String[] args) {foo(\"aa\");}\n" +
"}\n",
"p2/A.java",
"package p2;" +
"public class A {\n" +
" public static <U> void foo(String s) {System.out.print(true);}\n" +
"}\n",
"p2/B.java",
"package p2;" +
"public class B extends A {\n" +
" public static <V> void foo(V v) {System.out.print(false);}\n" +
"}\n"
},
"true");
}
//https://bugs.eclipse.org/bugs/show_bug.cgi?id=104198
public void test034() {
this.runConformTest(
new String[] {
"test/AbstractTest.java",
"package test;\n" +
"public abstract class AbstractTest<Z> {\n" +
" \n" +
" public abstract MyEnum m(Z z);\n" +
" \n" +
" public enum MyEnum {\n" +
" A,B\n" +
" }\n" +
"}\n",
"test/X.java",
"package test;\n" +
"import static test.AbstractTest.MyEnum.*;\n" +
"public class X extends AbstractTest<String> {\n" +
" @Override public MyEnum m(String s) {\n" +
" return A;\n" +
" }\n" +
"}\n"
},
"");
}
//https://bugs.eclipse.org/bugs/show_bug.cgi?id=117861
public void test035() {
this.runConformTest(
new String[] {
"Bug.java",
"import static java.lang.String.format;\n" +
"public class Bug extends p.TestCase {\n" +
" public static void main(String[] args) {\n" +
" String msg = \"test\";\n" +
" System.out.print(format(msg));\n" +
" System.out.print(format(msg, 1, 2));\n" +
" }\n" +
"}\n",
"p/TestCase.java",
"package p;\n" +
"public class TestCase {\n" +
" static String format(String message, Object expected, Object actual) {return null;}\n" +
"}\n"
},
"testtest");
this.runNegativeTest(
new String[] {
"C.java",
"class A {\n" +
" static class B { void foo(Object o, String s) {} }\n" +
" void foo(int i) {}\n" +
"}\n" +
"class C extends A.B {\n" +
" void test() { foo(1); }\n" +
"}\n"
},
"----------\n" +
"1. ERROR in C.java (at line 6)\r\n" +
" void test() { foo(1); }\r\n" +
" ^^^\n" +
"The method foo(Object, String) in the type A.B is not applicable for the arguments (int)\n" +
"----------\n");
this.runNegativeTest(
new String[] {
"A.java",
"public class A {\n" +
" void foo(int i, long j) {}\n" +
" class B {\n" +
" void foo() { foo(1, 1); }\n" +
" }\n" +
"}",
},
"----------\n" +
"1. ERROR in A.java (at line 4)\n" +
" void foo() { foo(1, 1); }\n" +
" ^^^\n" +
"The method foo() in the type A.B is not applicable for the arguments (int, int)\n" +
"----------\n"
);
}
//https://bugs.eclipse.org/bugs/show_bug.cgi?id=126564
public void test036() {
this.runNegativeTest(
new String[] {
"X.java",
"import static p.A.CONSTANT_I;\n" +
"import static p.A.CONSTANT_B;\n" +
"public class X {\n" +
" static int i = p.A.CONSTANT_I;\n" +
" static int j = p.A.CONSTANT_B;\n" +
" static int m = CONSTANT_I;\n" +
" static int n = CONSTANT_B;\n" +
"}",
"p/A.java",
"package p;\n" +
"public class A extends B implements I {}\n" +
"interface I { int CONSTANT_I = 1; }\n" +
"class B { int CONSTANT_B = 1; }",
},
"----------\n" +
"1. ERROR in X.java (at line 2)\n" +
" import static p.A.CONSTANT_B;\n" +
" ^^^^^^^^^^^^^^\n" +
"The type B is not visible\n" +
"----------\n" +
"2. ERROR in X.java (at line 5)\n" +
" static int j = p.A.CONSTANT_B;\n" +
" ^^^^^^^^^^^^^^\n" +
"The type B is not visible\n" +
"----------\n" +
"3. ERROR in X.java (at line 7)\n" +
" static int n = CONSTANT_B;\n" +
" ^^^^^^^^^^\n" +
"CONSTANT_B cannot be resolved\n" +
"----------\n");
}
//https://bugs.eclipse.org/bugs/show_bug.cgi?id=126564 - variation
public void test037() {
this.runConformTest(
new String[] {
"X.java",
"import static p.A.CONSTANT_I;\n" +
"import static p.A.CONSTANT_B;\n" +
"public class X {\n" +
" static int i = p.A.CONSTANT_I;\n" +
" static int j = p.A.CONSTANT_B;\n" +
" static int m = CONSTANT_I;\n" +
" static int n = CONSTANT_B;\n" +
"}",
"p/A.java",
"package p;\n" +
"public class A extends B implements I {}\n" +
"interface I { int CONSTANT_I = 1; }\n" +
"class B { public static int CONSTANT_B = 1; }",
},
"");
}
//https://bugs.eclipse.org/bugs/show_bug.cgi?id=126564 - variation
public void test038() {
this.runNegativeTest(
new String[] {
"X.java",
"import static p.A.foo_I;\n" +
"import static p.A.foo_B;\n" +
"public class X {\n" +
" static int i = p.A.foo_I();\n" +
" static int j = p.A.foo_B();\n" +
" static int m = foo_I();\n" +
" static int n = foo_B();\n" +
"}",
"p/A.java",
"package p;\n" +
"public abstract class A extends B implements I {}\n" +
"interface I { int foo_I(); }\n" +
"class B { int foo_B() { return 2;} }",
},
"----------\n" +
"1. ERROR in X.java (at line 1)\n" +
" import static p.A.foo_I;\n" +
" ^^^^^^^^^\n" +
"The import p.A.foo_I cannot be resolved\n" +
"----------\n" +
"2. ERROR in X.java (at line 2)\n" +
" import static p.A.foo_B;\n" +
" ^^^^^^^^^\n" +
"The import p.A.foo_B cannot be resolved\n" +
"----------\n" +
"3. ERROR in X.java (at line 4)\n" +
" static int i = p.A.foo_I();\n" +
" ^^^^^^^^^^^\n" +
"Cannot make a static reference to the non-static method foo_I() from the type I\n" +
"----------\n" +
"4. ERROR in X.java (at line 5)\n" +
" static int j = p.A.foo_B();\n" +
" ^^^^^\n" +
"The method foo_B() from the type B is not visible\n" +
"----------\n" +
"5. ERROR in X.java (at line 6)\n" +
" static int m = foo_I();\n" +
" ^^^^^\n" +
"The method foo_I() is undefined for the type X\n" +
"----------\n" +
"6. ERROR in X.java (at line 7)\n" +
" static int n = foo_B();\n" +
" ^^^^^\n" +
"The method foo_B() is undefined for the type X\n" +
"----------\n");
}
//https://bugs.eclipse.org/bugs/show_bug.cgi?id=126564 - variation
public void test039() {
this.runNegativeTest(
new String[] {
"X.java",
"import static p.A.foo_I;\n" +
"import static p.A.foo_B;\n" +
"public class X {\n" +
" static int i = p.A.foo_I();\n" +
" static int j = p.A.foo_B();\n" +
" static int m = foo_I();\n" +
" static int n = foo_B();\n" +
"}",
"p/A.java",
"package p;\n" +
"public abstract class A extends B implements I {}\n" +
"interface I { int foo_I(); }\n" +
"class B { public static int foo_B() { return 2;} }",
},
"----------\n" +
"1. ERROR in X.java (at line 1)\r\n" +
" import static p.A.foo_I;\r\n" +
" ^^^^^^^^^\n" +
"The import p.A.foo_I cannot be resolved\n" +
"----------\n" +
"2. ERROR in X.java (at line 4)\r\n" +
" static int i = p.A.foo_I();\r\n" +
" ^^^^^^^^^^^\n" +
"Cannot make a static reference to the non-static method foo_I() from the type I\n" +
"----------\n" +
"3. ERROR in X.java (at line 6)\r\n" +
" static int m = foo_I();\r\n" +
" ^^^^^\n" +
"The method foo_I() is undefined for the type X\n" +
"----------\n");
}
}
| [
"375833274@qq.com"
] | 375833274@qq.com |
593f94df02cebd3a4cbb2459548554e58093d8d9 | a207cd8e00589713d827614c691971d85f728a5d | /06 Distributed Tracing Pattern/07 Distributed Tracing Pattern/complete/simplesns-baseservice/src/main/java/com/msa/service/UserServiceImpl.java | 85dc3ba0afb6e327a628579ea624197cc4cd99cd | [] | no_license | hiwattc/spring_msa_edu | 54d885716f0ea31ee65ed2b7d12212c171103284 | bd105e011d7cdd16283d5d6c229c0446967cd592 | refs/heads/master | 2023-02-06T00:41:34.789967 | 2021-01-02T10:43:19 | 2021-01-02T10:43:19 | 324,267,104 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,319 | java | package com.msa.service;
import java.util.List;
import java.util.Optional;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.msa.domain.AuthToken;
import com.msa.domain.Follow;
import com.msa.domain.User;
import com.msa.repository.FollowRestRepository;
import com.msa.repository.UserRepository;
import com.msa.social.service.FollowService;
import com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand;
@Service
public class UserServiceImpl implements UserService {
@Autowired
UserRepository userRepository;
@Autowired
AuthService authService;
@Autowired
FollowService followService;
@Autowired
FollowRestRepository followRestRepository;
public User addUser(String username, String password) {
User user = new User(username, password);
User result = userRepository.saveAndFlush(user);
return result;
}
@Override
public User getUser(Long id) {
Optional<User> result = userRepository.findById(id);
User user = null;
if(result.isPresent()) {
user = result.get();
}
return user;
}
@Override
public List<User> getUserList(List<Long> userIdList) {
List<User> userList = userRepository.findByIdIn(userIdList);
return userList;
}
@Override
public List<User> getUserListWithFollowInfo(Long userId, List<Long> userIdList) {
List<User> userList = userRepository.findByIdIn(userIdList);
// List<Follow> followList = followService.getFolloweeList(userId, userIdList);
List<Follow> followList = followRestRepository.getFolloweeList(userId, userIdList);
List<Long> followeeIdList = followList.stream().map(f -> f.getFolloweeId()).collect(Collectors.toList());
for(User user : userList) {
if(userId.equals(user.getId()))
continue;
Optional<Long> followeeId = followeeIdList.stream().filter(f -> f.equals(user.getId())).findAny();
if(followeeId.isPresent()) {
user.setIsFollow(true);
} else {
user.setIsFollow(false);
}
}
return userList;
}
@Override
public User getUserByToken(String token) {
User user = null;
AuthToken authToken = authService.getAuthToken(token);
if(authToken != null) {
user = userRepository.findById(authToken.getUserId()).get();
}
return user;
}
}
| [
"hiwattc@gmail.com"
] | hiwattc@gmail.com |
58b1de5b07d87b326c618e6ff645226d15b62139 | 6fc2c466388a61fe7d984d32a5ea81eac6ab83bb | /AutoGenerateEmailProject/src/com/citco/email/bfo/ViewRecordsServices.java | c4db276f164cef9ee6467a43b8702bc1b588cb7d | [] | no_license | leynesclarisse/AutogenerateEmail | 820a9aa41657652b360c216c71bcaa8b23361271 | 4e2fb3972b98f5ad9eb614904a57f945c2523663 | refs/heads/master | 2020-03-28T09:13:03.382133 | 2018-09-09T12:07:18 | 2018-09-09T12:07:18 | 148,021,313 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,113 | java | package com.citco.email.bfo;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.concurrent.atomic.AtomicBoolean;
import com.citco.email.dao.AbstractFileAuditDao;
import com.citco.email.dao.GeneralReportDao;
import com.citco.email.dao.IAuditLogger;
import com.citco.email.dao.IFileReaderCallback;
import com.citco.email.utils.ConsoleUtil;
public class ViewRecordsServices extends AbstractFileAuditDao {
ConsoleUtil consoleUtil = new ConsoleUtil();
IAuditLogger auditLogger = new GeneralReportDao();
String newCapacity, oldCapacity;
ArrayList<String> records = new ArrayList<String>();
AtomicBoolean flag = new AtomicBoolean(false);
public void viewRecords() {
IFileReaderCallback iFileReaderCallback = new IFileReaderCallback() {
@Override
public void onLineRead(String str) {
String[] data = str.split(",");
consoleUtil.print("%s, %s, %s, %s, %s, %s \n", data[0],data[1],data[2],data[3],data[4],data[5],data[6]);
}
};
try {
super.readFileLineByLine(iFileReaderCallback);
} catch (FileNotFoundException e) {
e.printStackTrace();
}
}
}
| [
"noreply@github.com"
] | noreply@github.com |
c6219019fcff1be81dbce297118949edc44c71a9 | a110aad242c66fbd6ce6542ad986f14e9346f0b2 | /app/src/main/java/com/highgo/project/activity/MeetingsActivity.java | 47a1002554546be677d6f45bb08b08188fca67e8 | [] | no_license | Sharief123/Project_Practice | 92efd93c221c1c1f1444d97171a583933c4a17da | 15cbf27377a4d03bec267f049e13e9cbc91c2dff | refs/heads/master | 2023-01-14T05:32:40.594460 | 2020-11-17T06:08:42 | 2020-11-17T06:08:42 | 313,523,564 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 6,311 | java | package com.highgo.project.activity;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.SearchView;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;
import com.highgo.project.R;
import com.highgo.project.adapter.MeetingAdapter;
import com.highgo.project.model.Meetings;
import java.util.ArrayList;
import java.util.List;
public class MeetingsActivity extends AppCompatActivity implements SearchView.OnQueryTextListener, MeetingAdapter.MeetingsData {
public static final int meetings = 01;
String[] Project = {"P One","P Two","P Three","P Four","P Five","P Six","P Seven","P Eight","P Nine","P Ten"};
String[] Date = {"12-08-2020", "10-09-2020", "19-09-2020", "10-08-2020", "25-08-2020",
"14-08-2020", "03-09-2020", "16-09-2020", "28-08-2020", "15-08-2020"};
String[] ReSubmission_Date = {"12-10-2020", "10-11-2020", "19-11-2020", "10-12-2020", "25-12-2020",
"14-11-2020", "03-10-2020", "16-12-2020", "28-11-2020", "15-10-2020"};
String[] Meeting_Description = {"Meeting Subject Description One ","Meeting Subject Description Two", "Meeting Subject Description Three ","Meeting Subject Description Four","Meeting Subject Description Five","Meeting Subject Description Six",
"Meeting Subject Description Seven ","Meeting Subject Description Eight", "Meeting Subject Description Nine ","Meeting Subject Description Ten"};
String[] Assigned = {"Team A", "Team B", "Team D", "Team C", "Team B",
"Team A", "Team D", "Team B", "Team A", "Team C"};
String[] Meeting_Progress_Data = {"100%","100%","100%","100%","100%","100%","100%","100%","100%","100%"};
RecyclerView recyclerView;
RecyclerView.LayoutManager layoutManager;
MeetingAdapter adapter;
List<Meetings> meetingsList = new ArrayList<>();
Context context = this;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_meetings);
recyclerView = findViewById(R.id.meetingRecyclerview);
layoutManager = new LinearLayoutManager(this);
adapter = new MeetingAdapter(meetingsList,context);
Meetings();
recyclerView.setLayoutManager(layoutManager);
recyclerView.setAdapter(adapter);
recyclerView.setHasFixedSize(true);
}
@Override
public boolean onOptionsItemSelected(@NonNull MenuItem item) {
switch (item.getItemId()){
case R.id.addTask:
Intent intent = new Intent(MeetingsActivity.this,AddNewMeetingActivity.class);
startActivity(intent);
}
if (item.getItemId()==android.R.id.home)
finish();
return true;
}
public void Meetings(){
int count = 0;
for (String project : Project){
Meetings meetings = new Meetings(project,Date[count],ReSubmission_Date[count],Meeting_Description[count],Assigned[count],Meeting_Progress_Data[count]);
meetingsList.add(meetings);
count++;
}
}
@Override
public boolean onCreateOptionsMenu(Menu menu) {
getMenuInflater().inflate(R.menu.tasks_menu,menu);
getSupportActionBar().setTitle("Meetings");
MenuItem menuItem = menu.findItem(R.id.searchView);
androidx.appcompat.widget.SearchView searchView = (androidx.appcompat.widget.SearchView) menuItem.getActionView();
searchView.setOnQueryTextListener(this);
return true;
}
@Override
public boolean onQueryTextSubmit(String query) {
return false;
}
@SuppressLint("MissingSuperCall")
@Override
protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) {
if (requestCode==meetings)
{
if (resultCode==RESULT_OK)
{
String name = data.getStringExtra("u_name");
Log.e("name",name);
String ass = data.getStringExtra("u_ass");
Log.e("name",ass);
String rem = data.getStringExtra("u_m_rem");
Log.e("name",rem);
String status = data.getStringExtra("u_m_status");
Log.e("name",status);
String desc = data.getStringExtra("u_m_desc");
Log.e("name",desc);
}
}
}
@Override
public boolean onQueryTextChange(String newText) {
String userInput = newText.toLowerCase();
List<Meetings> meetings = new ArrayList<>();
for (Meetings meetings1 : meetingsList){
if (meetings1.getProject().toLowerCase().contains(userInput)){
meetings.add(meetings1);
} else if (meetings1.getMeeting_Description().toLowerCase().contains(userInput)){
meetings.add(meetings1);
} else if (meetings1.getDate().toLowerCase().contains(userInput)){
meetings.add(meetings1);
} else if (meetings1.getReSubmission_Date().toLowerCase().contains(userInput)){
meetings.add(meetings1);
} else if (meetings1.getAssigned().toLowerCase().contains(userInput)){
meetings.add(meetings1);
}
}
adapter.searchList(meetings);
return true;
}
@Override
public void MData(int position, Meetings meeting) {
Intent intent = new Intent(MeetingsActivity.this,MeetingDetailsActivity.class);
intent.putExtra("title_name",meeting.getProject());
intent.putExtra("assigned",meeting.getAssigned());
intent.putExtra("date",meeting.getDate());
intent.putExtra("reSubmission",meeting.getReSubmission_Date());
intent.putExtra("status",meeting.getMeeting_Progress_Data());
intent.putExtra("description",meeting.getMeeting_Description());
startActivityForResult(intent,meetings);
}
}
| [
"shaik2signin@gmail.com"
] | shaik2signin@gmail.com |
cdf0a5eb73ba977de8187e1eefe41c878482115a | f89be6bb7c301ba70b53e0d93df6e66b2f63be9a | /app/src/main/java/com/example/android/colordialog/MainActivity.java | c5e4107af61e463270e4bc7fe646d67ac5dfcba7 | [] | no_license | idkpoon/color-dialog | b6dd6fc433befff44ba8aa7b5a1250dc3e04d9bc | acbf6ecbe5221479ffb58241e8a788ec91e9336f | refs/heads/master | 2020-05-15T16:24:52.288636 | 2019-04-20T08:21:03 | 2019-04-20T08:21:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 4,405 | java | package com.example.android.colordialog;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.Context;
import android.content.SharedPreferences;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.media.Image;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.FrameLayout;
import android.widget.GridLayout;
import android.widget.ImageView;
import android.widget.Toast;
import com.example.android.colordialog.dialog.ColorDialog;
import com.example.android.colordialog.dialog.ColorShape;
import com.example.android.colordialog.dialog.ColorUtils;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class MainActivity extends AppCompatActivity implements View.OnClickListener,
com.example.android.colordialog.dialog.ColorDialog.OnColorSelectedListener{
public static final String COLOR_PREFERENCES = "ColorPreferences";
Button btnOpenDialog;
ImageView imageView;
private int newColor;
private int newColor1;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
btnOpenDialog = findViewById(R.id.btnOpenDialog);
btnOpenDialog.setOnClickListener(this);
imageView = findViewById(R.id.image);
if(imageView.getDrawable().getConstantState().equals(getResources().getDrawable(R.drawable.ic_check_black).getConstantState())){
Toast.makeText(this, "The drawable is the same", Toast.LENGTH_SHORT).show();
}
else{
Toast.makeText(this, "The drawable is different", Toast.LENGTH_SHORT).show();
}
}
@Override
public void onClick(View v) {
switch (v.getId()){
case R.id.btnOpenDialog:
openDialog();
break;
}
}
private void openDialog(){
ColorDialog dialog = new ColorDialog.Builder(this)
.setColorChoices(R.array.color_choices)
.setNumColumns(5)
.setColorShape(ColorShape.CIRCLE)
.setTag("MainActivityColor")
.show();
}
@Override
public void onColorSelected(int newColor, String tag) {
btnOpenDialog.setTextColor(newColor);
colorSelected(newColor);
SharedPreferences sharedPreferences = getSharedPreferences(COLOR_PREFERENCES, MODE_PRIVATE);
SharedPreferences.Editor editor = sharedPreferences.edit();
editor.putInt("selectedColor", newColor);
editor.commit();
}
private void colorSelected(int newColor){
String hexColor = String.format("#%06X", (0xFFFFFF & newColor));
Log.v("MainActivity", "Current colour " + hexColor + " " + String.valueOf(newColor));
View rootView = getLayoutInflater().inflate(R.layout.dialog_colors, null);
GridLayout colorGrid = rootView.findViewById(R.id.color_grid);
colorGrid.setColumnCount(5);
List colorHexes = Arrays.asList(getResources().getStringArray(R.array.color_choices));
ArrayList<Integer> colorIntList = new ArrayList<>();
for (int i = 0; i < colorHexes.size(); i++) {
String string = String.valueOf(colorHexes.get(i));
int color = Integer.parseInt(string.replaceFirst("^#",""), 16);
colorIntList.add(color);
Log.v(getClass().getSimpleName(), "Color: " + colorHexes.get(i) + " " + colorIntList.get(i));
}
int colorInt = 0;
for(Object colour : colorHexes) {
String currentColour = String.valueOf(colour);
if (currentColour.equalsIgnoreCase(hexColor)) {
colorInt = colorIntList.get(colorHexes.indexOf(colour));
int size = colorGrid.getChildCount();
ImageView view = (ImageView) colorGrid.getChildAt(colorHexes.indexOf(colour));
Drawable drawable = ColorUtils.makeDrawable(view, colorInt, this, ColorShape.CIRCLE);
imageView.setImageDrawable(drawable);
view.setImageDrawable(drawable);
break;
}
}
}
}
| [
"poonkristywy@gmail.com"
] | poonkristywy@gmail.com |
2f509587ee84be227162d861a4ea62cbb0ec8e03 | 6af0ff5ecb9be74a8fda95fae0bcd4608285bf55 | /chapter3/src/main/java/com/packtpub/beam/chapter3/RPCParDoStateful.java | a502a91a40e0e05550d4fe48588deb86e6893e9e | [
"Apache-2.0"
] | permissive | trungnghiahoang96/Building-Big-Data-Pipelines-with-Apache-Beam | 0337616901a94a1f3f5d1a11d5a2f002331fabd0 | 6c21998423d13a6a8a9572ea4906434d02b51640 | refs/heads/main | 2023-08-17T23:52:57.227351 | 2021-10-14T14:30:23 | 2021-10-14T14:30:23 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 13,166 | java | /**
* Copyright 2021-2021 Packt Publishing Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.packtpub.beam.chapter3;
import com.google.common.annotations.VisibleForTesting;
import com.google.common.base.MoreObjects;
import com.google.common.base.Preconditions;
import com.google.common.collect.Iterables;
import com.google.common.collect.Streams;
import com.packtpub.beam.chapter3.RpcServiceGrpc.RpcServiceBlockingStub;
import com.packtpub.beam.chapter3.Service.Request;
import com.packtpub.beam.chapter3.Service.RequestList;
import com.packtpub.beam.chapter3.Service.Response;
import com.packtpub.beam.chapter3.Service.ResponseList;
import com.packtpub.beam.util.MapToLines;
import com.packtpub.beam.util.Tokenize;
import io.grpc.ManagedChannel;
import io.grpc.ManagedChannelBuilder;
import io.grpc.Server;
import io.grpc.ServerBuilder;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import javax.annotation.Nullable;
import lombok.Value;
import org.apache.beam.sdk.Pipeline;
import org.apache.beam.sdk.coders.Coder;
import org.apache.beam.sdk.coders.CoderException;
import org.apache.beam.sdk.coders.CustomCoder;
import org.apache.beam.sdk.coders.InstantCoder;
import org.apache.beam.sdk.coders.StringUtf8Coder;
import org.apache.beam.sdk.io.kafka.KafkaIO;
import org.apache.beam.sdk.options.PipelineOptionsFactory;
import org.apache.beam.sdk.state.BagState;
import org.apache.beam.sdk.state.StateSpec;
import org.apache.beam.sdk.state.StateSpecs;
import org.apache.beam.sdk.state.TimeDomain;
import org.apache.beam.sdk.state.Timer;
import org.apache.beam.sdk.state.TimerSpec;
import org.apache.beam.sdk.state.TimerSpecs;
import org.apache.beam.sdk.state.ValueState;
import org.apache.beam.sdk.transforms.DoFn;
import org.apache.beam.sdk.transforms.MapElements;
import org.apache.beam.sdk.transforms.ParDo;
import org.apache.beam.sdk.transforms.windowing.GlobalWindow;
import org.apache.beam.sdk.values.KV;
import org.apache.beam.sdk.values.PCollection;
import org.apache.beam.sdk.values.TypeDescriptors;
import org.apache.kafka.common.serialization.StringDeserializer;
import org.apache.kafka.common.serialization.StringSerializer;
import org.joda.time.Duration;
import org.joda.time.Instant;
/** Task 8 from the book. */
public class RPCParDoStateful {
public static void main(String[] args) throws IOException {
Params params = parseArgs(args);
Pipeline pipeline =
Pipeline.create(PipelineOptionsFactory.fromArgs(params.getRemainingArgs()).create());
try (AutoCloseableServer server = AutoCloseableServer.of(runRpc(params.getPort()))) {
server.getServer().start();
PCollection<String> input = readInput(pipeline, params);
PCollection<KV<String, Integer>> result = applyRpc(input, params);
storeResult(result, params);
pipeline.run().waitUntilFinish();
}
}
@VisibleForTesting
static PCollection<KV<String, Integer>> applyRpc(PCollection<String> input, Params params)
throws UnknownHostException {
// we need IP address of the pod that will run this code
// that is due to how name resolution works in K8s
String hostAddress = InetAddress.getLocalHost().getHostAddress();
return input
.apply(Tokenize.of())
.apply(
MapElements.into(
TypeDescriptors.kvs(TypeDescriptors.integers(), TypeDescriptors.strings()))
.via(e -> KV.of((e.hashCode() & Integer.MAX_VALUE) % 10, e)))
.apply(
ParDo.of(
new BatchRpcDoFnStateful(
params.getBatchSize(),
params.getMaxWaitTime(),
hostAddress,
params.getPort())));
}
private static PCollection<String> readInput(Pipeline pipeline, Params params) {
return pipeline
.apply(
KafkaIO.<String, String>read()
.withBootstrapServers(params.getBootstrapServer())
.withKeyDeserializer(StringDeserializer.class)
.withValueDeserializer(StringDeserializer.class)
.withTopic(params.getInputTopic()))
.apply(MapToLines.of());
}
private static void storeResult(PCollection<KV<String, Integer>> result, Params params) {
result
.apply(
MapElements.into(
TypeDescriptors.kvs(TypeDescriptors.strings(), TypeDescriptors.strings()))
.via(e -> KV.of("", e.getKey() + " " + e.getValue())))
.apply(
KafkaIO.<String, String>write()
.withBootstrapServers(params.getBootstrapServer())
.withTopic(params.getOutputTopic())
.withKeySerializer(StringSerializer.class)
.withValueSerializer(StringSerializer.class));
}
@VisibleForTesting
static Server runRpc(int port) {
return ServerBuilder.forPort(port).addService(new RPCService()).build();
}
@Value
private static class ValueWithTimestamp<T> {
T value;
Instant timestamp;
}
private static class ValueWithTimestampCoder<T> extends CustomCoder<ValueWithTimestamp<T>> {
private static final InstantCoder INSTANT_CODER = InstantCoder.of();
@SuppressWarnings("unchecked")
public static <T> ValueWithTimestampCoder<T> of(Coder<T> valueCoder) {
return new ValueWithTimestampCoder<>(valueCoder);
}
private final Coder<T> valueCoder;
private ValueWithTimestampCoder(Coder<T> valueCoder) {
this.valueCoder = valueCoder;
}
@Override
public void encode(ValueWithTimestamp<T> value, OutputStream outStream)
throws CoderException, IOException {
valueCoder.encode(value.getValue(), outStream);
INSTANT_CODER.encode(value.getTimestamp(), outStream);
}
@Override
public ValueWithTimestamp<T> decode(InputStream inStream) throws CoderException, IOException {
return new ValueWithTimestamp<>(valueCoder.decode(inStream), INSTANT_CODER.decode(inStream));
}
@Override
public List<? extends Coder<?>> getCoderArguments() {
return Collections.singletonList(valueCoder);
}
}
private static class BatchRpcDoFnStateful extends DoFn<KV<Integer, String>, KV<String, Integer>> {
private final int maxBatchSize;
private final Duration maxBatchWait;
private final String hostname;
private final int port;
// channel and stub are not Serializable, we don't want to serialize them, we create them
// in @Setup method instead
private transient ManagedChannel channel;
private transient RpcServiceBlockingStub stub;
@StateId("batch")
private final StateSpec<BagState<ValueWithTimestamp<String>>> batchSpec =
StateSpecs.bag(ValueWithTimestampCoder.of(StringUtf8Coder.of()));
@StateId("batchSize")
private final StateSpec<ValueState<Integer>> batchSizeSpec = StateSpecs.value();
@TimerId("flushTimer")
private final TimerSpec flushTimerSpec = TimerSpecs.timer(TimeDomain.PROCESSING_TIME);
@TimerId("endOfTime")
private final TimerSpec endOfTimeTimer = TimerSpecs.timer(TimeDomain.EVENT_TIME);
BatchRpcDoFnStateful(int maxBatchSize, Duration maxBatchWait, String hostname, int port) {
this.maxBatchSize = maxBatchSize;
this.maxBatchWait = maxBatchWait;
this.hostname = hostname;
this.port = port;
}
@Setup
public void setup() {
channel = ManagedChannelBuilder.forAddress(hostname, port).usePlaintext().build();
stub = RpcServiceGrpc.newBlockingStub(channel);
}
@Teardown
public void tearDown() {
// ideally, we want tearDown to be idempotent
if (channel != null) {
channel.shutdownNow();
channel = null;
}
}
@ProcessElement
public void process(
@Element KV<Integer, String> input,
@Timestamp Instant timestamp,
@StateId("batch") BagState<ValueWithTimestamp<String>> elements,
@StateId("batchSize") ValueState<Integer> batchSize,
@TimerId("flushTimer") Timer flushTimer,
@TimerId("endOfTime") Timer endOfTimeTimer,
OutputReceiver<KV<String, Integer>> outputReceiver) {
endOfTimeTimer.set(GlobalWindow.INSTANCE.maxTimestamp());
int currentSize = MoreObjects.firstNonNull(batchSize.read(), 0);
ValueWithTimestamp<String> value = new ValueWithTimestamp<>(input.getValue(), timestamp);
if (currentSize == maxBatchSize - 1) {
flushOutput(
Iterables.concat(elements.read(), Collections.singletonList(value)), outputReceiver);
clearState(elements, batchSize, flushTimer);
} else {
if (currentSize == 0) {
flushTimer.offset(maxBatchWait).setRelative();
}
elements.add(value);
batchSize.write(currentSize + 1);
}
}
@OnTimer("flushTimer")
public void onFlushTimer(
@StateId("batch") BagState<ValueWithTimestamp<String>> elements,
@StateId("batchSize") ValueState<Integer> batchSize,
OutputReceiver<KV<String, Integer>> outputReceiver) {
flushOutput(elements.read(), outputReceiver);
clearState(elements, batchSize, null);
}
@OnTimer("endOfTime")
public void onEndOfTimeTimer(
@StateId("batch") BagState<ValueWithTimestamp<String>> elements,
@StateId("batchSize") ValueState<Integer> batchSize,
OutputReceiver<KV<String, Integer>> outputReceiver) {
flushOutput(elements.read(), outputReceiver);
// no need to clear state, will be cleaned by the runner
}
private void clearState(
BagState<ValueWithTimestamp<String>> elements,
ValueState<Integer> batchSize,
@Nullable Timer flushTimer) {
elements.clear();
batchSize.clear();
if (flushTimer != null) {
// Beam is currently missing a clear() method for Timer
// see https://issues.apache.org/jira/browse/BEAM-10887 for updates
flushTimer.offset(maxBatchWait).setRelative();
}
}
private void flushOutput(
Iterable<ValueWithTimestamp<String>> elements,
OutputReceiver<KV<String, Integer>> outputReceiver) {
Map<String, List<ValueWithTimestamp<String>>> distinctElements =
Streams.stream(elements)
.collect(Collectors.groupingBy(ValueWithTimestamp::getValue, Collectors.toList()));
RequestList.Builder builder = RequestList.newBuilder();
distinctElements.keySet().forEach(r -> builder.addRequest(Request.newBuilder().setInput(r)));
RequestList requestList = builder.build();
ResponseList responseList = stub.resolveBatch(requestList);
Preconditions.checkArgument(requestList.getRequestCount() == responseList.getResponseCount());
for (int i = 0; i < requestList.getRequestCount(); i++) {
Request request = requestList.getRequest(i);
Response response = responseList.getResponse(i);
List<ValueWithTimestamp<String>> timestampsAndWindows =
distinctElements.get(request.getInput());
KV<String, Integer> value = KV.of(request.getInput(), response.getOutput());
timestampsAndWindows.forEach(
v -> outputReceiver.outputWithTimestamp(value, v.getTimestamp()));
}
}
}
static Params parseArgs(String[] args) {
if (args.length < 3) {
throw new IllegalArgumentException(
"Expected at least 3 arguments: <bootstrapServer> <inputTopic> <outputTopic>");
}
int port = 1234;
int extraArgs = 3;
int batchSize = 100;
Duration maxWaitTime = Duration.millis(100);
loop:
while (args.length > extraArgs + 1) {
switch (args[extraArgs]) {
case "--port":
port = Integer.parseInt(args[extraArgs + 1]);
break;
case "--batchSize":
batchSize = Integer.parseInt(args[extraArgs + 1]);
break;
case "--maxWaitMs":
maxWaitTime = Duration.millis(Integer.parseInt(args[extraArgs + 1]));
break;
default:
break loop;
}
extraArgs += 2;
}
return new Params(
args[0],
args[1],
args[2],
port,
batchSize,
maxWaitTime,
Arrays.copyOfRange(args, extraArgs, args.length));
}
@Value
static class Params {
String bootstrapServer;
String inputTopic;
String outputTopic;
int port;
int batchSize;
Duration maxWaitTime;
String[] remainingArgs;
}
}
| [
"je.ik@seznam.cz"
] | je.ik@seznam.cz |
60ad2475c497e73a5c70fda8c05792aba8f3cb54 | 5e09d1a1804e2de0d7cacf0c8e97c862f6d43599 | /caravan-util/src/main/java/com/ctrip/soa/caravan/util/net/apache/async/IOReactorRuntimeException.java | bc23f58d52ae6de9961bd285d353dcc858fb0ffc | [
"Apache-2.0"
] | permissive | mydotey/caravan | ce010c2f3c2c204fa0811c590631f40c01dd5642 | e6e22356284970481eea522364e761f238d2d45c | refs/heads/master | 2020-04-24T13:00:04.982622 | 2019-02-22T01:43:50 | 2019-02-22T01:43:50 | 171,973,121 | 1 | 0 | null | 2019-02-22T01:43:52 | 2019-02-22T01:31:10 | Java | UTF-8 | Java | false | false | 369 | java | package com.ctrip.soa.caravan.util.net.apache.async;
import org.apache.http.nio.reactor.IOReactorException;
/**
* Created by Qiang Zhao on 10/05/2016.
*/
public class IOReactorRuntimeException extends RuntimeException {
private static final long serialVersionUID = 1L;
public IOReactorRuntimeException(IOReactorException ex) {
super(ex);
}
}
| [
"q_zhao@Ctrip.com"
] | q_zhao@Ctrip.com |
9ea998812b1d5d9f02f33c8e0e0b23be229eda73 | cc0c4336d5706eaad6450f5e96f39c2346ef0c3d | /x10.compiler/stuff/x10/dom/X10MLClassInitializer.java | 513bf548a51d245a3900d4cc58344fd3d4cb1759 | [] | no_license | scalegraph/sx10 | cd637b391b0d60f3fd4a90d9837c5186ad0638bc | e4ec20a957b427b0458acdd62d387c36d0824ee4 | refs/heads/master | 2021-01-10T20:06:55.557744 | 2014-02-12T05:55:53 | 2014-02-12T05:55:53 | 11,485,181 | 1 | 2 | null | null | null | null | UTF-8 | Java | false | false | 4,799 | java | /*
* This file is part of the X10 project (http://x10-lang.org).
*
* This file is licensed to You under the Eclipse Public License (EPL);
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.opensource.org/licenses/eclipse-1.0.php
*
* (C) Copyright IBM Corporation 2006-2010.
*/
package x10.dom;
import java.util.Iterator;
import java.util.List;
import org.w3c.dom.Element;
import x10.dom.X10Dom.ConstructorInstanceRefLens;
import x10.dom.X10Dom.FieldInstanceRefLens;
import x10.dom.X10Dom.ListLens;
import x10.dom.X10Dom.MethodInstanceRefLens;
import x10.dom.X10Dom.TypeRefLens;
import x10.types.X10ParsedClassType;
import x10.types.X10TypeSystem;
import polyglot.types.ConstructorInstance;
import polyglot.types.DeserializedClassInitializer;
import polyglot.types.FieldInstance;
import polyglot.types.LazyClassInitializer;
import polyglot.types.MethodInstance;
import polyglot.types.ParsedClassType;
import polyglot.types.Type;
import polyglot.util.Position;
public class X10MLClassInitializer implements LazyClassInitializer {
X10TypeSystem ts;
X10ParsedClassType ct;
X10Dom dom;
DomReader v;
Element e;
public X10MLClassInitializer(X10TypeSystem ts, X10Dom dom, DomReader v, Element e) {
this.ts = ts;
this.dom = dom;
this.v = v;
this.e = e;
}
public void setClass(ParsedClassType ct) {
this.ct = (X10ParsedClassType) ct;
}
public boolean fromClassFile() {
return false;
}
public void initTypeObject() {
if (ct.isMember() && ct.outer() instanceof ParsedClassType) {
ParsedClassType outer = (ParsedClassType) ct.outer();
outer.addMemberClass(ct);
}
for (Iterator i = ct.memberClasses().iterator(); i.hasNext(); ) {
ParsedClassType ct = (ParsedClassType) i.next();
ct.initializer().initTypeObject();
}
this.init = true;
}
public boolean isTypeObjectInitialized() {
return this.init;
}
protected boolean init;
protected boolean constructorsInitialized;
protected boolean fieldsInitialized;
protected boolean interfacesInitialized;
protected boolean memberClassesInitialized;
protected boolean methodsInitialized;
protected boolean superclassInitialized;
public void initSuperclass() {
if (superclassInitialized) {
return;
}
Type superclass = dom.get(dom.new TypeRefLens(), e, "superclass", v);
ct.superType(superclass);
superclassInitialized = true;
if (superclassInitialized && interfacesInitialized) {
ct.setSupertypesResolved(true);
}
if (initialized()) {
v = null;
e = null;
dom = null;
}
}
public void initInterfaces() {
if (interfacesInitialized) {
return;
}
List<Type> interfaces = dom.get(dom.new ListLens<Type>(dom.new TypeRefLens()), e, "interfaces", v);
ct.setInterfaces(interfaces);
interfacesInitialized = true;
if (superclassInitialized && interfacesInitialized) {
ct.setSupertypesResolved(true);
}
if (initialized()) {
v = null;
e = null;
dom = null;
}
}
public void initMemberClasses() {
if (memberClassesInitialized) {
return;
}
List memberClasses = dom.get(dom.new ListLens<Type>(dom.new TypeRefLens()), e, "memberClasses", v);
ct.setMemberClasses(memberClasses);
memberClassesInitialized = true;
if (initialized()) {
v = null;
e = null;
dom = null;
}
}
public void canonicalFields() {
initFields();
}
public void canonicalMethods() {
initMethods();
}
public void canonicalConstructors() {
initConstructors();
}
public void initFields() {
if (fieldsInitialized) {
return;
}
List<FieldInstance> fields = dom.get(dom.new ListLens<FieldInstance>(dom.new FieldInstanceRefLens()), e, "fields", v);
ct.setFields(fields);
fieldsInitialized = true;
if (initialized()) {
v = null;
e = null;
dom = null;
}
}
public void initMethods() {
if (methodsInitialized) {
return;
}
List<MethodInstance> methods = dom.get(dom.new ListLens<MethodInstance>(dom.new MethodInstanceRefLens()), e, "methods", v);
ct.setMethods(methods);
methodsInitialized = true;
if (initialized()) {
v = null;
e = null;
dom = null;
}
}
public void initConstructors() {
if (constructorsInitialized) {
return;
}
List<ConstructorInstance> constructors = dom.get(dom.new ListLens<ConstructorInstance>(dom.new ConstructorInstanceRefLens()), e, "constructors", v);
ct.setConstructors(constructors);
constructorsInitialized = true;
if (initialized()) {
v = null;
e = null;
dom = null;
}
}
protected boolean initialized() {
return superclassInitialized && interfacesInitialized
&& memberClassesInitialized && methodsInitialized
&& fieldsInitialized && constructorsInitialized;
}
}
| [
"tardieu@a326200e-df2c-42e0-81fa-597e909af41d"
] | tardieu@a326200e-df2c-42e0-81fa-597e909af41d |
f523bf926bf912f8b723d9b0eac339e508e3c819 | fc7139872c738cae8fbd47967babbc650adbf7c6 | /src/main/java/com/homeauto/honeywell/domain/security/CurrentWeatherRecord.java | 84ab65f047d4ed3095d0e4c9d07fd40659cb903d | [] | no_license | jamespauly/HomeAutomationServices | 5cf5ad0744ca8dc258b09774ed46235e5bb83c2d | 9e9c1eaefb87cacc49565e6453a69d5c720e15bb | refs/heads/master | 2021-01-09T20:43:20.071552 | 2016-06-08T14:20:47 | 2016-06-08T14:20:47 | 60,701,855 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 7,971 | java | /**
* CurrentWeatherRecord.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/
package com.homeauto.honeywell.domain.security;
public class CurrentWeatherRecord implements java.io.Serializable {
private int temperature;
private int apparentTemperature;
private String humidity;
private String weatherText;
private int weatherIcon;
public CurrentWeatherRecord() {
}
public CurrentWeatherRecord(
int temperature,
int apparentTemperature,
String humidity,
String weatherText,
int weatherIcon) {
this.temperature = temperature;
this.apparentTemperature = apparentTemperature;
this.humidity = humidity;
this.weatherText = weatherText;
this.weatherIcon = weatherIcon;
}
/**
* Gets the temperature value for this CurrentWeatherRecord.
*
* @return temperature
*/
public int getTemperature() {
return temperature;
}
/**
* Sets the temperature value for this CurrentWeatherRecord.
*
* @param temperature
*/
public void setTemperature(int temperature) {
this.temperature = temperature;
}
/**
* Gets the apparentTemperature value for this CurrentWeatherRecord.
*
* @return apparentTemperature
*/
public int getApparentTemperature() {
return apparentTemperature;
}
/**
* Sets the apparentTemperature value for this CurrentWeatherRecord.
*
* @param apparentTemperature
*/
public void setApparentTemperature(int apparentTemperature) {
this.apparentTemperature = apparentTemperature;
}
/**
* Gets the humidity value for this CurrentWeatherRecord.
*
* @return humidity
*/
public String getHumidity() {
return humidity;
}
/**
* Sets the humidity value for this CurrentWeatherRecord.
*
* @param humidity
*/
public void setHumidity(String humidity) {
this.humidity = humidity;
}
/**
* Gets the weatherText value for this CurrentWeatherRecord.
*
* @return weatherText
*/
public String getWeatherText() {
return weatherText;
}
/**
* Sets the weatherText value for this CurrentWeatherRecord.
*
* @param weatherText
*/
public void setWeatherText(String weatherText) {
this.weatherText = weatherText;
}
/**
* Gets the weatherIcon value for this CurrentWeatherRecord.
*
* @return weatherIcon
*/
public int getWeatherIcon() {
return weatherIcon;
}
/**
* Sets the weatherIcon value for this CurrentWeatherRecord.
*
* @param weatherIcon
*/
public void setWeatherIcon(int weatherIcon) {
this.weatherIcon = weatherIcon;
}
private Object __equalsCalc = null;
public synchronized boolean equals(Object obj) {
if (!(obj instanceof CurrentWeatherRecord)) return false;
CurrentWeatherRecord other = (CurrentWeatherRecord) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
this.temperature == other.getTemperature() &&
this.apparentTemperature == other.getApparentTemperature() &&
((this.humidity==null && other.getHumidity()==null) ||
(this.humidity!=null &&
this.humidity.equals(other.getHumidity()))) &&
((this.weatherText==null && other.getWeatherText()==null) ||
(this.weatherText!=null &&
this.weatherText.equals(other.getWeatherText()))) &&
this.weatherIcon == other.getWeatherIcon();
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
_hashCode += getTemperature();
_hashCode += getApparentTemperature();
if (getHumidity() != null) {
_hashCode += getHumidity().hashCode();
}
if (getWeatherText() != null) {
_hashCode += getWeatherText().hashCode();
}
_hashCode += getWeatherIcon();
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(CurrentWeatherRecord.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("https://services.alarmnet.com/TC2/", "CurrentWeatherRecord"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("temperature");
elemField.setXmlName(new javax.xml.namespace.QName("https://services.alarmnet.com/TC2/", "Temperature"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("apparentTemperature");
elemField.setXmlName(new javax.xml.namespace.QName("https://services.alarmnet.com/TC2/", "ApparentTemperature"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("humidity");
elemField.setXmlName(new javax.xml.namespace.QName("https://services.alarmnet.com/TC2/", "Humidity"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("weatherText");
elemField.setXmlName(new javax.xml.namespace.QName("https://services.alarmnet.com/TC2/", "WeatherText"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("weatherIcon");
elemField.setXmlName(new javax.xml.namespace.QName("https://services.alarmnet.com/TC2/", "WeatherIcon"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
String mechType,
Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
String mechType,
Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}
| [
"jamesp@slalom.com"
] | jamesp@slalom.com |
53a5b40c80b48ccb220a88d145f87247771a0d55 | c4a40f733a1e3e66aa0424ee924feee1330b8ae4 | /Player_tracker.java | 3fbb374e7446bd622394b89f219cac139a831f5e | [] | no_license | jon-lu/comp3004grp4 | 516249bfa3b3490d86a2d2850ff31d13240d4a27 | a5d0cae977d0aa8eb0e4693d10d0c8f5ee891281 | refs/heads/master | 2021-12-24T01:10:40.157538 | 2017-11-29T20:36:19 | 2017-11-29T20:36:19 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 15,433 | java | package com.example.thomas.mtgtrackingapp;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import java.util.Random;
/**
* Created by srk_n on 2017-11-26.
*/
public class Player_tracker extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_player_tracker);
final TextView lifeVar=(TextView)(findViewById(R.id.lifetotalnumber));
final TextView poisonVar=(TextView)(findViewById(R.id.poisonnum));
final TextView spellsVar=(TextView)(findViewById(R.id.spellsnumber));
final TextView redVar=(TextView)(findViewById(R.id.RedNum));
final TextView blueVar=(TextView)(findViewById(R.id.BlueNum));
final TextView blackVar=(TextView)(findViewById(R.id.BlackNum));
final TextView whiteVar=(TextView)(findViewById(R.id.WhiteNum));
final TextView greenVar=(TextView)(findViewById(R.id.GreenNum));
//nameInputVar.setText("hahah");
lifeVar.setText(""+gametracker.playerUsed.getLife());
poisonVar.setText(""+gametracker.playerUsed.getPoison());
spellsVar.setText(""+gametracker.playerUsed.getSpells());
redVar.setText(""+(gametracker.playerUsed.getrMana() - gametracker.playerUsed.getrUsed()));
blueVar.setText(""+(gametracker.playerUsed.getbuMana() - gametracker.playerUsed.getbuUsed()));
blackVar.setText(""+(gametracker.playerUsed.getbaMana() - gametracker.playerUsed.getbaUsed()));
whiteVar.setText(""+(gametracker.playerUsed.getwMana() - gametracker.playerUsed.getwUsed()));
greenVar.setText(""+(gametracker.playerUsed.getgMana() - gametracker.playerUsed.getgUsed()));
configureBackButton();
configureLifeTotalAddition();
configureLifeTotalSubtraction();
configurePoisonAddition();
configurePoisonSubtraction();
SpellSubtraction();
SpellAddition();
RollDie();
whiteClick();
blackClick();
blueClick();
redClick();
greenClick();
whiteUse();
blackUse();
blueUse();
redUse();
greenUse();
newTurn();
}
public void configureBackButton(){
Button nextButton = (Button) findViewById(R.id.backbutton);
nextButton.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
startActivity(new Intent(Player_tracker.this, gametracker.class));
}
});
}
public void configureLifeTotalAddition(){
Button addition = (Button) findViewById(R.id.lifetotalincrease);
final TextView lifeCountTotal = (TextView) findViewById(R.id.lifetotalnumber);
addition.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
String lifeValue = lifeCountTotal.getText().toString();
int intLifeValue = Integer.parseInt(lifeValue);
intLifeValue++;
gametracker.playerUsed.setLife(intLifeValue);
lifeCountTotal.setText(String.valueOf(intLifeValue));
}
});
}
public void configureLifeTotalSubtraction(){
Button subtraction = (Button) findViewById(R.id.lifetotaldecrease);
final TextView lifeCountTotal = (TextView) findViewById(R.id.lifetotalnumber);
subtraction.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
String lifeValue = lifeCountTotal.getText().toString();
int intLifeValue = Integer.parseInt(lifeValue);
intLifeValue--;
gametracker.playerUsed.setLife(intLifeValue);
lifeCountTotal.setText(String.valueOf(intLifeValue));
}
});
}
public void configurePoisonAddition(){
Button poisonaddition = (Button) findViewById(R.id.poisonincrease);
final TextView poisonTotal = (TextView) findViewById(R.id.poisonnum);
poisonaddition.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
String poisonValue = poisonTotal.getText().toString();
int intPoisonValue = Integer.parseInt(poisonValue);
intPoisonValue++;
gametracker.playerUsed.setPoison(intPoisonValue);
poisonTotal.setText(String.valueOf(intPoisonValue));
}
});
}
public void configurePoisonSubtraction(){
Button poisonsubtraction = (Button) findViewById(R.id.poisondecrease);
final TextView poisonTotal = (TextView) findViewById(R.id.poisonnum);
poisonsubtraction.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
String poisonValue = poisonTotal.getText().toString();
int intPoisonValue = Integer.parseInt(poisonValue);
intPoisonValue--;
gametracker.playerUsed.setPoison(intPoisonValue);
poisonTotal.setText(String.valueOf(intPoisonValue));
}
});
}
public void SpellAddition(){
Button spellAdd = (Button) findViewById(R.id.spellsincrease);
final TextView spellTotal = (TextView) findViewById(R.id.spellsnumber);
spellAdd.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
String spellValue = spellTotal.getText().toString();
int intSpellValue = Integer.parseInt(spellValue);
intSpellValue++;
gametracker.playerUsed.setSpells(intSpellValue);
spellTotal.setText(String.valueOf(intSpellValue));
}
});
}
public void SpellSubtraction(){
Button spellSub = (Button) findViewById(R.id.spellsdecrease);
final TextView spellTotal = (TextView) findViewById(R.id.spellsnumber);
spellSub.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
String spellValue = spellTotal.getText().toString();
int intSpellValue = Integer.parseInt(spellValue);
intSpellValue--;
gametracker.playerUsed.setSpells(intSpellValue);
spellTotal.setText(String.valueOf(intSpellValue));
}
});
}
public void RollDie(){
Button roll = (Button) findViewById(R.id.DieRoll);
final TextView dieNum = (TextView) findViewById(R.id.DieTxt);
roll.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Random rand = new Random();
int dieRoll = rand.nextInt(6) + 1;
dieNum.setText(String.valueOf(dieRoll));
}
});
}
public void whiteClick(){
Button button = (Button) findViewById(R.id.WhiteButton);
final TextView whiteTotal = (TextView) findViewById(R.id.WhiteNum);
button.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
String whiteValue = whiteTotal.getText().toString();
int intWhiteValue= Integer.parseInt(whiteValue);
intWhiteValue++;
gametracker.playerUsed.setwMana(gametracker.playerUsed.getwMana() + 1);
whiteTotal.setText(String.valueOf(intWhiteValue));
}
});
}
public void blackClick(){
Button button = (Button) findViewById(R.id.BlackButton);
final TextView blackTotal = (TextView) findViewById(R.id.BlackNum);
button.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
String blackValue = blackTotal.getText().toString();
int intBlackValue= Integer.parseInt(blackValue);
intBlackValue++;
gametracker.playerUsed.setbaMana(gametracker.playerUsed.getbaMana() + 1);
blackTotal.setText(String.valueOf(intBlackValue));
}
});
}
public void blueClick(){
Button button = (Button) findViewById(R.id.BlueButton);
final TextView blueTotal = (TextView) findViewById(R.id.BlueNum);
button.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
String blueValue = blueTotal.getText().toString();
int intBlueValue= Integer.parseInt(blueValue);
intBlueValue++;
gametracker.playerUsed.setbuMana(gametracker.playerUsed.getbuMana() + 1);
blueTotal.setText(String.valueOf(intBlueValue));
}
});
}
public void redClick(){
Button button = (Button) findViewById(R.id.RedButton);
final TextView redTotal = (TextView) findViewById(R.id.RedNum);
button.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
String redValue = redTotal.getText().toString();
int intRedValue= Integer.parseInt(redValue);
intRedValue++;
gametracker.playerUsed.setrMana(gametracker.playerUsed.getrMana() + 1);
redTotal.setText(String.valueOf(intRedValue));
}
});
}
public void greenClick(){
Button button = (Button) findViewById(R.id.GreenButton);
final TextView greenTotal = (TextView) findViewById(R.id.GreenNum);
button.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
String greenValue = greenTotal.getText().toString();
int intGreenValue= Integer.parseInt(greenValue);
intGreenValue++;
gametracker.playerUsed.setgMana(gametracker.playerUsed.getgMana() + 1);
greenTotal.setText(String.valueOf(intGreenValue));
}
});
}
public void whiteUse(){
Button button = (Button) findViewById(R.id.WhiteUse);
final TextView whiteTotal = (TextView) findViewById(R.id.WhiteNum);
button.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
String whiteValue = whiteTotal.getText().toString();
int intWhiteValue= Integer.parseInt(whiteValue);
intWhiteValue--;
gametracker.playerUsed.setwUsed(gametracker.playerUsed.getwUsed() + 1);
whiteTotal.setText(String.valueOf(intWhiteValue));
}
});
}
public void blackUse(){
Button button = (Button) findViewById(R.id.BlackUse);
final TextView blackTotal = (TextView) findViewById(R.id.BlackNum);
button.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
String blackValue = blackTotal.getText().toString();
int intBlackValue= Integer.parseInt(blackValue);
intBlackValue--;
gametracker.playerUsed.setbaUsed(gametracker.playerUsed.getbaUsed() + 1);
blackTotal.setText(String.valueOf(intBlackValue));
}
});
}
public void blueUse(){
Button button = (Button) findViewById(R.id.BlueUse);
final TextView blueTotal = (TextView) findViewById(R.id.BlueNum);
button.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
String blueValue = blueTotal.getText().toString();
int intBlueValue= Integer.parseInt(blueValue);
intBlueValue--;
gametracker.playerUsed.setbuUsed(gametracker.playerUsed.getbuUsed() + 1);
blueTotal.setText(String.valueOf(intBlueValue));
}
});
}
public void redUse(){
Button button = (Button) findViewById(R.id.RedUse);
final TextView redTotal = (TextView) findViewById(R.id.RedNum);
button.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
String redValue = redTotal.getText().toString();
int intRedValue= Integer.parseInt(redValue);
intRedValue--;
gametracker.playerUsed.setrUsed(gametracker.playerUsed.getrUsed() + 1);
redTotal.setText(String.valueOf(intRedValue));
}
});
}
public void greenUse(){
Button button = (Button) findViewById(R.id.GreenUse);
final TextView greenTotal = (TextView) findViewById(R.id.GreenNum);
button.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
String greenValue = greenTotal.getText().toString();
int intGreenValue= Integer.parseInt(greenValue);
intGreenValue--;
gametracker.playerUsed.setgUsed(gametracker.playerUsed.getgUsed() + 1);
greenTotal.setText(String.valueOf(intGreenValue));
}
});
}
public void newTurn(){
Button button = (Button) findViewById(R.id.NewTurn);
final TextView greenTotal = (TextView) findViewById(R.id.GreenNum);
final TextView blueTotal = (TextView) findViewById(R.id.BlueNum);
final TextView redTotal = (TextView) findViewById(R.id.RedNum);
final TextView blackTotal = (TextView) findViewById(R.id.BlackNum);
final TextView whiteTotal = (TextView) findViewById(R.id.WhiteNum);
final TextView spellsTotal = (TextView) findViewById(R.id.spellsnumber);
button.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
greenTotal.setText(""+gametracker.playerUsed.getgMana());
blueTotal.setText(""+gametracker.playerUsed.getbuMana());
redTotal.setText(""+gametracker.playerUsed.getrMana());
blackTotal.setText(""+gametracker.playerUsed.getbaMana());
whiteTotal.setText(""+gametracker.playerUsed.getwMana());
spellsTotal.setText(String.valueOf(0));
gametracker.playerUsed.setgUsed(0);
gametracker.playerUsed.setrUsed(0);
gametracker.playerUsed.setbuUsed(0);
gametracker.playerUsed.setbaUsed(0);
gametracker.playerUsed.setwUsed(0);
gametracker.playerUsed.setSpells(0);
}
});
}
}
| [
"noreply@github.com"
] | noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.