This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.example.processing.smoothlineswitheasing; | |
| import processing.core.PApplet; | |
| import android.os.Bundle; | |
| import android.support.v4.app.FragmentActivity; | |
| import com.example.processing.smoothlineswitheasing.R; | |
| /** | |
| * This source code is based on following book. | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #import "SwizzlingTest.h" | |
| #import </usr/include/objc/objc-class.h> | |
| @interface Swizzlingee : NSObject | |
| - (NSString *) hoge; | |
| - (NSString *) piyo; | |
| @end | |
| @implementation Swizzlingee | |
| - (NSString *)hoge |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // SwizzlingTest.m | |
| // HelloUnitTest | |
| // | |
| // Created by Sosuke Masui on 12/05/03. | |
| // Copyright (c) 2012年 うぴか Inc. All rights reserved. | |
| // | |
| #import "SwizzlingTest.h" | |
| #import </usr/include/objc/objc-class.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import android.app.Activity; | |
| import android.content.Context; | |
| import android.content.Intent; | |
| import android.test.ActivityUnitTestCase; | |
| public class MainActivityUnitTest extends ActivityUnitTestCase<MainActivity> { | |
| private Intent _startIntent; | |
| public MainActivityUnitTest() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.uphyca.daggerperformance; | |
| import java.lang.annotation.Retention; | |
| import java.lang.annotation.RetentionPolicy; | |
| import java.text.DecimalFormat; | |
| import java.util.concurrent.Callable; | |
| import javax.inject.Inject; | |
| import javax.inject.Qualifier; | |
| import javax.inject.Singleton; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| From b2dd2a804ad2030b4a92d8ee8b9bf8129b1eee70 Mon Sep 17 00:00:00 2001 | |
| From: ianhanniballake <[email protected]> | |
| Date: Tue, 21 May 2013 12:04:16 -0700 | |
| Subject: [PATCH] Adds ActionBarDrawerToggle compatible with ActionBarSherlock | |
| Signed-off-by: ianhanniballake <[email protected]> | |
| --- | |
| actionbarsherlock/libs/android-support-v4.jar | Bin 271754 -> 484258 bytes | |
| .../src/com/actionbarsherlock/app/ActionBar.java | 14 + | |
| .../app/ActionBarDrawerToggle.java | 441 +++++++++++++++++++++ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.example.fragmenttest; | |
| import java.util.HashMap; | |
| import java.util.List; | |
| import java.util.Stack; | |
| import java.util.UUID; | |
| import android.os.Bundle; | |
| import android.app.ActionBar; | |
| import android.app.Activity; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private ImageLoader.ImageCache newImageCache(final int size) { | |
| return new ImageLoader.ImageCache() { | |
| private LruCache<String, Bitmap> mCache = new LruCache<String, Bitmap>(size); | |
| @Override | |
| public Bitmap getBitmap(String url) { | |
| return mCache.get(url); | |
| } | |
| @Override |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| importJS(["lib/MOON.js", "lib/enchant.js", "lib/ui.enchant.js", "lib/puppet.enchant.js", "lib/moon.puppet.enchant.js"], function() { | |
| enchant(); | |
| enchant.puppet.prepareTheatre(); | |
| StickerPuppet.create("", { | |
| filename: "chara1.png", | |
| w: 48, | |
| h: 48, | |
| behavior: [{ | |
| stickertap: function(event) { | |
| MOON.uploadCurrentPageToEvernote(function() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| __document = [ null ] | |
| -------- | |
| document = [ null ] | |
| -------- | |
| scrollY = 0 | |
| -------- | |
| scrollX = 0 | |
| -------- | |
| innerHeight = 1024 | |
| -------- |
OlderNewer