Note: this is from http://softwaremaniacs.org/playground/showdown-highlight/
To see the markdown equivalent from this text, see the RAW of this file.
This is an overview of Markdown's syntax. For more information, visit the [Markdown web site].
package bemax.test; | |
import android.content.Context; | |
import android.graphics.Bitmap; | |
import android.graphics.Canvas; | |
import android.graphics.Color; | |
import android.graphics.Paint; | |
import android.graphics.Path; | |
import android.util.Log; | |
import android.view.MotionEvent; |
package com.webile.cracker; | |
import android.app.Activity; | |
import android.content.Context; | |
import android.graphics.Bitmap; | |
import android.graphics.BitmapFactory; | |
import android.graphics.Canvas; | |
import android.graphics.Paint; | |
import android.os.Bundle; | |
import android.os.Handler; |
/* | |
* Copyright 2011 Google Inc. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
Note: this is from http://softwaremaniacs.org/playground/showdown-highlight/
To see the markdown equivalent from this text, see the RAW of this file.
This is an overview of Markdown's syntax. For more information, visit the [Markdown web site].
public class ConnectDotsView extends View { | |
private Bitmap mBitmap; | |
private Canvas mCanvas; | |
private Path mPath; | |
private Paint mPaint; | |
private static final int TOUCH_TOLERANCE_DP = 24; | |
private static final int BACKGROUND = 0xFFDDDDDD; | |
private List<Point> mPoints = new ArrayList<Point>(); | |
private int mLastPointIndex = 0; |
package com.dbutton.movebutton; | |
import android.content.Context; | |
import android.graphics.*; | |
import android.hardware.Sensor; | |
import android.hardware.SensorEvent; | |
import android.hardware.SensorEventListener; | |
import android.hardware.SensorManager; | |
import android.os.Bundle; | |
import android.app.Activity; |
using UnityEngine; | |
using UnityEditor; | |
public class AutoSnap : EditorWindow | |
{ | |
private Vector3 prevPosition; | |
private bool doSnap = true; | |
private float snapValue = 1; | |
[MenuItem( "Edit/Auto Snap %_l" )] |
package game.jigsawgame; | |
import android.app.Activity; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.graphics.Typeface; | |
import android.graphics.drawable.Drawable; | |
import android.media.MediaPlayer; | |
import android.media.MediaPlayer.OnCompletionListener; | |
import android.os.Bundle; |
package com.mapbox.mapboxsdk.android.testapp; | |
import android.app.AlertDialog; | |
import android.content.DialogInterface; | |
import android.content.Intent; | |
import android.graphics.Color; | |
import android.graphics.Paint; | |
import android.os.Bundle; | |
import android.provider.Settings; | |
import android.support.v7.app.ActionBarActivity; |
package com.lzy.music.parts; | |
/* | |
* Copyright (C) 2013 TInoue | |
* | |
* 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 |