code string | repo_name string | path string | language string | license string | size int64 |
|---|---|---|---|---|---|
package com.aviary.android.feather.graphics;
import android.content.res.Resources;
import android.graphics.Canvas;
import android.graphics.ColorFilter;
import android.graphics.PixelFormat;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import com.outsourcing.bottle.R;
import com.aviary.androi... | 06peng | trunk/mzba/src/com/aviary/android/feather/graphics/CropCheckboxDrawable.java | Java | asf20 | 3,127 |
package com.aviary.android.feather.graphics;
import java.lang.ref.WeakReference;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.ColorFilter;
import android.graphics.Matrix;
import android.graphics.Paint;
import android.graphics.PixelFormat;
import... | 06peng | trunk/mzba/src/com/aviary/android/feather/graphics/ExternalFilterPackDrawable.java | Java | asf20 | 4,103 |
package com.aviary.android.feather.graphics;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.BitmapShader;
import android.graphics.Canvas;
import android.graphics.ColorFilter;
import android.graphics.Matrix;
import android.graphics.Paint;
import android.graphics.PixelForma... | 06peng | trunk/mzba/src/com/aviary/android/feather/graphics/RepeatableHorizontalDrawable.java | Java | asf20 | 3,105 |
package com.aviary.android.feather.graphics;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.ColorFilter;
import android.graphics.ColorMatrixColorFilter;
import android.graphics.Paint;
import android.graphics.PixelFormat;
import android.graphics.Rect;
import android.graphics.dra... | 06peng | trunk/mzba/src/com/aviary/android/feather/graphics/StickerBitmapDrawable.java | Java | asf20 | 3,635 |
package com.aviary.android.feather.graphics;
import android.graphics.BlurMaskFilter;
import android.graphics.BlurMaskFilter.Blur;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.ColorFilter;
import android.graphics.Paint;
import android.graphics.PixelFormat;
import android.graphi... | 06peng | trunk/mzba/src/com/aviary/android/feather/graphics/PreviewCircleDrawable.java | Java | asf20 | 2,700 |
package com.aviary.android.feather.graphics;
import android.graphics.BlurMaskFilter;
import android.graphics.BlurMaskFilter.Blur;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.ColorFilter;
import android.graphics.Paint;
import android.graphics.PixelFormat;
import android.graphi... | 06peng | trunk/mzba/src/com/aviary/android/feather/graphics/GalleryCircleDrawable.java | Java | asf20 | 3,416 |
package com.aviary.android.feather.graphics;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.ColorFilter;
import android.graphics.Paint;
import android.graphics.PixelFormat;
import android.graphics.Rect;
import... | 06peng | trunk/mzba/src/com/aviary/android/feather/graphics/DefaultGalleryCheckboxDrawable.java | Java | asf20 | 2,750 |
/*
* Copyright (C) 2009 The Android Open Source Project
*
* 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 app... | 06peng | trunk/mzba/src/com/aviary/android/feather/graphics/AnimatedRotateDrawable.java | Java | asf20 | 12,426 |
package oauth.signpost.basic;
import java.io.IOException;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import oauth.signpost.http.HttpRequest;
public class HttpURLConnectionRequestAdapter implements HttpRequest {
protected ... | 06peng | trunk/mzba/src/oauth/signpost/basic/HttpURLConnectionRequestAdapter.java | Java | asf20 | 1,681 |
package oauth.signpost.basic;
import java.io.IOException;
import java.io.InputStream;
import java.net.HttpURLConnection;
import oauth.signpost.http.HttpResponse;
public class HttpURLConnectionResponseAdapter implements HttpResponse {
private HttpURLConnection connection;
public HttpURLConnectionResponseAda... | 06peng | trunk/mzba/src/oauth/signpost/basic/HttpURLConnectionResponseAdapter.java | Java | asf20 | 788 |
/*
* Copyright (c) 2009 Matthias Kaeppler 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 wri... | 06peng | trunk/mzba/src/oauth/signpost/basic/DefaultOAuthProvider.java | Java | asf20 | 2,849 |
/* Copyright (c) 2009 Matthias Kaeppler
*
* 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 agr... | 06peng | trunk/mzba/src/oauth/signpost/basic/DefaultOAuthConsumer.java | Java | asf20 | 1,536 |
package oauth.signpost.basic;
import java.io.IOException;
import java.io.InputStream;
import java.util.Collections;
import java.util.Map;
import oauth.signpost.http.HttpRequest;
public class UrlStringRequestAdapter implements HttpRequest {
private String url;
public UrlStringRequestAdapter(String url) {
... | 06peng | trunk/mzba/src/oauth/signpost/basic/UrlStringRequestAdapter.java | Java | asf20 | 990 |
package oauth.signpost.exception;
@SuppressWarnings("serial")
public abstract class OAuthException extends Exception {
public OAuthException(String message) {
super(message);
}
public OAuthException(Throwable cause) {
super(cause);
}
public OAuthException(String message, Throwabl... | 06peng | trunk/mzba/src/oauth/signpost/exception/OAuthException.java | Java | asf20 | 370 |
/* Copyright (c) 2009 Matthias Kaeppler
*
* 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 agr... | 06peng | trunk/mzba/src/oauth/signpost/exception/OAuthMessageSignerException.java | Java | asf20 | 909 |
/* Copyright (c) 2009 Matthias Kaeppler
*
* 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 agr... | 06peng | trunk/mzba/src/oauth/signpost/exception/OAuthNotAuthorizedException.java | Java | asf20 | 1,267 |
/* Copyright (c) 2009 Matthias Kaeppler
*
* 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 agr... | 06peng | trunk/mzba/src/oauth/signpost/exception/OAuthExpectationFailedException.java | Java | asf20 | 829 |
/* Copyright (c) 2009 Matthias Kaeppler
*
* 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 agr... | 06peng | trunk/mzba/src/oauth/signpost/exception/OAuthCommunicationException.java | Java | asf20 | 1,189 |
/* Copyright (c) 2009 Matthias Kaeppler
*
* 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 agr... | 06peng | trunk/mzba/src/oauth/signpost/AbstractOAuthConsumer.java | Java | asf20 | 9,250 |
package oauth.signpost;
import oauth.signpost.http.HttpRequest;
import oauth.signpost.http.HttpResponse;
/**
* Provides hooks into the token request handling procedure executed by
* {@link OAuthProvider}.
*
* @author Matthias Kaeppler
*/
public interface OAuthProviderListener {
/**
* Called after the ... | 06peng | trunk/mzba/src/oauth/signpost/OAuthProviderListener.java | Java | asf20 | 1,489 |
/* Copyright (c) 2008, 2009 Netflix, Matthias Kaeppler
*
* 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 applic... | 06peng | trunk/mzba/src/oauth/signpost/OAuth.java | Java | asf20 | 10,723 |
/*
* Copyright (c) 2009 Matthias Kaeppler 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 wri... | 06peng | trunk/mzba/src/oauth/signpost/AbstractOAuthProvider.java | Java | asf20 | 17,817 |
/* Copyright (c) 2009 Matthias Kaeppler
*
* 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 agr... | 06peng | trunk/mzba/src/oauth/signpost/OAuthConsumer.java | Java | asf20 | 7,056 |
/* Copyright (c) 2008, 2009 Netflix, Matthias Kaeppler
*
* 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 applic... | 06peng | trunk/mzba/src/oauth/signpost/http/HttpParameters.java | Java | asf20 | 8,242 |
package oauth.signpost.http;
import java.io.IOException;
import java.io.InputStream;
public interface HttpResponse {
int getStatusCode() throws IOException;
String getReasonPhrase() throws Exception;
InputStream getContent() throws IOException;
/**
* Returns the underlying response object, in... | 06peng | trunk/mzba/src/oauth/signpost/http/HttpResponse.java | Java | asf20 | 448 |
package oauth.signpost.http;
import java.io.IOException;
import java.io.InputStream;
import java.util.Map;
import oauth.signpost.OAuthConsumer;
import oauth.signpost.basic.HttpURLConnectionRequestAdapter;
/**
* A concise description of an HTTP request. Contains methods to access all
* those parts of an HTTP reques... | 06peng | trunk/mzba/src/oauth/signpost/http/HttpRequest.java | Java | asf20 | 1,186 |
/* Copyright (c) 2009 Matthias Kaeppler
*
* 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 agr... | 06peng | trunk/mzba/src/oauth/signpost/signature/OAuthMessageSigner.java | Java | asf20 | 2,354 |
/* Copyright (c) 2009 Matthias Kaeppler
*
* 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 agr... | 06peng | trunk/mzba/src/oauth/signpost/signature/HmacSha1MessageSigner.java | Java | asf20 | 2,200 |
package oauth.signpost.signature;
import java.io.Serializable;
import oauth.signpost.http.HttpParameters;
import oauth.signpost.http.HttpRequest;
/**
* <p>
* Defines how an OAuth signature string is written to a request.
* </p>
* <p>
* Unlike {@link OAuthMessageSigner}, which is concerned with <i>how</i> to
* ... | 06peng | trunk/mzba/src/oauth/signpost/signature/SigningStrategy.java | Java | asf20 | 1,058 |
/* Copyright (c) 2009 Matthias Kaeppler
*
* 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 agr... | 06peng | trunk/mzba/src/oauth/signpost/signature/PlainTextMessageSigner.java | Java | asf20 | 1,259 |
/*
* Copyright (c) 2009 Matthias Kaeppler 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 wri... | 06peng | trunk/mzba/src/oauth/signpost/signature/SignatureBaseString.java | Java | asf20 | 4,046 |
package oauth.signpost.signature;
import oauth.signpost.OAuth;
import oauth.signpost.http.HttpParameters;
import oauth.signpost.http.HttpRequest;
/**
* Writes to the HTTP Authorization header field.
*
* @author Matthias Kaeppler
*/
public class AuthorizationHeaderSigningStrategy implements SigningStrategy {
... | 06peng | trunk/mzba/src/oauth/signpost/signature/AuthorizationHeaderSigningStrategy.java | Java | asf20 | 2,039 |
package oauth.signpost.signature;
import java.io.IOException;
import java.net.Socket;
import java.net.UnknownHostException;
import java.security.KeyManagementException;
import java.security.KeyStore;
import java.security.KeyStoreException;
import java.security.NoSuchAlgorithmException;
import java.security.Un... | 06peng | trunk/mzba/src/oauth/signpost/signature/SSLSocketFactoryEx.java | Java | asf20 | 1,812 |
package oauth.signpost.signature;
import oauth.signpost.OAuth;
import oauth.signpost.http.HttpParameters;
import oauth.signpost.http.HttpRequest;
/**
* Writes to a URL query string. <strong>Note that this currently ONLY works
* when signing a URL directly, not with HTTP request objects.</strong> That's
* because m... | 06peng | trunk/mzba/src/oauth/signpost/signature/QueryStringSigningStrategy.java | Java | asf20 | 2,217 |
/*
* Copyright (c) 2009 Matthias Kaeppler 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 wri... | 06peng | trunk/mzba/src/oauth/signpost/OAuthProvider.java | Java | asf20 | 10,755 |
/* Copyright (c) 2009 Matthias Kaeppler
*
* 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 agr... | 06peng | trunk/mzba/src/oauth/commons/http/CommonsHttpOAuthConsumer.java | Java | asf20 | 1,532 |
package oauth.commons.http;
import java.io.IOException;
import java.io.InputStream;
import oauth.signpost.http.HttpResponse;
public class HttpResponseAdapter implements HttpResponse {
private org.apache.http.HttpResponse response;
public HttpResponseAdapter(org.apache.http.HttpResponse response) {
... | 06peng | trunk/mzba/src/oauth/commons/http/HttpResponseAdapter.java | Java | asf20 | 766 |
/*
* Copyright (c) 2009 Matthias Kaeppler 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 wri... | 06peng | trunk/mzba/src/oauth/commons/http/CommonsHttpOAuthProvider.java | Java | asf20 | 6,491 |
package oauth.commons.http;
import java.io.IOException;
import java.io.InputStream;
import java.util.HashMap;
import java.util.Map;
import org.apache.http.Header;
import org.apache.http.HttpEntity;
import org.apache.http.HttpEntityEnclosingRequest;
import org.apache.http.client.methods.HttpUriRequest;
public class H... | 06peng | trunk/mzba/src/oauth/commons/http/HttpRequestAdapter.java | Java | asf20 | 2,100 |
package oauth.facebook;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.net.MalformedURLException;
import oauth.facebook.AsyncFacebookRunner.RequestListener;
import android.util.Log;
/**
* Skeleton base class for RequestListeners, providing default error
* handling. Applications shoul... | 06peng | trunk/mzba/src/oauth/facebook/BaseRequestListener.java | Java | asf20 | 1,146 |
/*
* Copyright 2010 Facebook, 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 t... | 06peng | trunk/mzba/src/oauth/facebook/Facebook.java | Java | asf20 | 38,952 |
package oauth.facebook;
import oauth.facebook.Facebook.DialogListener;
/**
* Skeleton base class for RequestListeners, providing default error
* handling. Applications should handle these error conditions.
*
*/
public abstract class BaseDialogListener implements DialogListener {
public void onFacebookError(... | 06peng | trunk/mzba/src/oauth/facebook/BaseDialogListener.java | Java | asf20 | 510 |
/*
* Copyright 2010 Facebook, 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 t... | 06peng | trunk/mzba/src/oauth/facebook/Util.java | Java | asf20 | 11,970 |
/*
* Copyright 2010 Facebook, 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 t... | 06peng | trunk/mzba/src/oauth/facebook/DialogError.java | Java | asf20 | 1,359 |
/*
* Copyright 2010 Facebook, 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 t... | 06peng | trunk/mzba/src/oauth/facebook/FacebookError.java | Java | asf20 | 1,290 |
/*
* Copyright 2010 Facebook, 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 ... | 06peng | trunk/mzba/src/oauth/facebook/SessionStore.java | Java | asf20 | 1,860 |
/*
* Copyright 2010 Facebook, 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 t... | 06peng | trunk/mzba/src/oauth/facebook/AsyncFacebookRunner.java | Java | asf20 | 12,788 |
/*
* Copyright 2010 Facebook, 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 ... | 06peng | trunk/mzba/src/oauth/facebook/SessionEvents.java | Java | asf20 | 4,444 |
/*
* Copyright 2010 Facebook, 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 t... | 06peng | trunk/mzba/src/oauth/facebook/FacebookActivity.java | Java | asf20 | 7,239 |
/** Automatically generated file. DO NOT MODIFY */
package com.outsourcing.bottle;
public final class BuildConfig {
public final static boolean DEBUG = true;
} | 06peng | trunk/mzba/gen/com/outsourcing/bottle/BuildConfig.java | Java | asf20 | 164 |
/*************************************************************/
/** @file:break_point.h
@brief:
@details:
@author:Juntham
@date: 2012-07-25,15:24
@note:
*/
/*************************************************************/
#ifndef __BREAK_POINT_H__
#define __BREAK_POINT_H__
#include "config.... | 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/music/break_point.h | C | mpl11 | 620 |
/*************************************************************/
/** @file:voice_play.h
@brief:
@details:
@author:Juntham
@date: 2012-08-02,13:46
@note:
*/
/*************************************************************/
#ifndef __VOICE_PLAY_H__
#define __VOICE_PLAY_H__
#include "config.h"
... | 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/music/play_voice.h | C | mpl11 | 405 |
/*************************************************************/
/** @file:voice_table.h
@brief:
@details:
@author:Juntham
@date: 2012-08-02,14:26
@note:
*/
/*************************************************************/
#ifndef __VOICE_TABLE_H__
#define __VOICE_TABLE_H__
#include "confi... | 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/music/voice_table.h | C | mpl11 | 473 |
/*************************************************************/
/** @file:voice_talbe.c
@brief:
@details:
@author:Juntham
@date: 2012-08-02,14:28
@note:
*/
/*************************************************************/
#include "voice_table.h"
u8 const voicetable_0[] AT(OTP_VOICE) =
{... | 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/music/voice_table.c | C | mpl11 | 174,451 |
#ifndef _UI_COMMON_H_
#define _UI_COMMON_H_
void itoa1(u8 i);
void itoa2(u8 i);
void itoa3(u16 i);
void itoa4(u16 i);
extern const u8 asc_number[];
extern _no_init u8 _data bcd_number[5];
#endif
| 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/UI/UI_common.h | C | mpl11 | 212 |
/*************************************************************/
/** @file:main.h
@brief:
@details:
@author:Juntham
@date: 2012-06-13,8:43
@note:
*/
/*************************************************************/
#ifndef _MAIN_
#define _MAIN_
#include "config.h"
#ifdef __SMART_CPU__
... | 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/main.h | C | mpl11 | 1,097 |
#ifndef _LINE_IN_MODE_H_
#define _LINE_IN_MODE_H_
#include "config.h"
#ifdef __IAR_SYSTEMS_ICC__
void Line_in_mode(void);
#endif /* __IAR_SYSTEMS_ICC__ */
#endif /* _LINE_IN_MODE_H_ */
| 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/line_in/Line_in_mode.h | C | mpl11 | 210 |
#include "custom_config.h"
#ifdef BLUE_TOOTH_UART_FUNC
#include "bluetooth_mode.h"
#include "uart.h"
#include "main.h"
#include "config.h"
#include "clock.h"
#include "msg.h"
#include "blue_tooth_msg_if.h"
bool bt_frame_rev_finished=0;
xd_u8 uart_rev=0;
xd_u8 rev_phase=0,rev_length=0;
xd_u8 rev_cmd[7]=... | 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/line_in/blue_tooth_uart_drv.c | C | mpl11 | 6,673 |
#include "custom_config.h"
#ifdef BLUE_TOOTH_UART_FUNC
#include "bluetooth_mode.h"
#include "uart.h"
#include "main.h"
#include "config.h"
#include "clock.h"
#include "msg.h"
#include "gpio_if.h"
xd_u8 bt_led_status=0;
void set_led_status(u8 statu_cmd)
{
bt_led_status = statu_cmd;
}
#ifdef BLUE_T... | 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/line_in/blue_tooth_msg_if.c | C | mpl11 | 1,961 |
#ifndef _BLUETOOTH_MODE_H_
#define _BLUETOOTH_MODE_H_
#include "config.h"
enum {
BT_STA_STOP,
BT_STA_PAUSE,
BT_STA_PLAY,
BT_STA_MASK=0x80,
};
typedef enum {
BT_POWER_ON,
BT_PAIR_MODE,
BT_PAIRED,
BT_CONECTED_A2DP,
BT_CONECTED_AVRCP,
BT_CONECTED_HF,
BT_INCOMING_CALL,
BT_OUTGOI... | 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/line_in/bluetooth_mode.h | C | mpl11 | 1,220 |
#ifndef _IPOD_MODE_H_
#define _IPOD_MODE_H_
#include "config.h"
#ifdef __IAR_SYSTEMS_ICC__
void ipod_main(void);
#endif /* __IAR_SYSTEMS_ICC__ */
#endif /* _LINE_IN_MODE_H_ */
| 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/line_in/ipod_mode.h | C | mpl11 | 201 |
#include "custom_config.h"
#ifndef _BLUE_TOOTH_MSG_IF_H_
#define _BLUE_TOOTH_MSG_IF_H_
#ifdef BLUE_TOOTH_UART_FUNC
#include "bluetooth_mode.h"
#include "uart.h"
#include "main.h"
#include "config.h"
#include "clock.h"
#include "msg.h"
BT_MSG const _code bt_rev_msg[]=
{
//BT_PAIR_MODE, MSG_BT_PAIRIN... | 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/line_in/blue_tooth_msg_if.h | C | mpl11 | 1,157 |
/************************************************Copyright(c)***********************************
** Quintic(Nanjing) Microelectronics Co,Ltd.
**
** http://www.quinticcorp.com
**
**--------------------File Info---... | 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/fm/QN8035.h | C | mpl11 | 6,949 |
#ifndef _RADIO_API_H_
#define _RADIO_API_H_
#include "config.h"
#ifdef __IAR_SYSTEMS_ICC__
void init_radio_chip(void);
void radio_chip_sleep(void);
void set_band_fre(u8 mode,u8 disp_cmd);
void radio_info_init(void);
bool radio_band_scan(u8 mode);
void radio_save_station_hdlr(void);
void switch_radio_ban... | 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/fm/RADIO_API.h | C | mpl11 | 1,331 |
#ifndef __ext_ins__
#define __ext_ins__
#define wr0 0x0
#define wr2 0x1
#define wr4 0x2
#define wr6 0x3
#define iwr0 0x10
#define iwr2 0x11
#define iwr4 0x12
#define iwr6 0x13
add16 macro x, y
#if (((x > 0x3) + (y > 0x3)) > 1)
errors ...
#elif (x > 0x3)
... | 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/common/ext_inst.inc | C++ | mpl11 | 7,902 |
/*--------------------------------------------------------------------------*/
/**@file led_ind_drv.c
@brief led_ind_drv
@details
@author
@date 2011-3-7
@note
*/
/*----------------------------------------------------------------------------*/
#include "Custom_config.h"
#include "led_ind_... | 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/common/led_ind_drv.c | C | mpl11 | 1,790 |
//#ifndef _CUSTOM_CONFIG_
//#define _CUSTOM_CONFIG_
#include "k_custom_config.h"
//#define UART_DEBUG_ENABLE
#ifdef UART_DEBUG_ENABLE
#define MAIN_UART_DEBUG
//#define MISC_UART_DEBUG
//#define FM_UART_DEBUG
#define BAT_UART_DEBUG
//#define BLUETOOTH_UART_DEBUG
//#define IR_UART_DEBUG
//#define ADK... | 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/common/custom_config.h | C | mpl11 | 6,264 |
/*;-----------------------------------------------------------------------------
;
; File: iar_common.h
;
; Description: Frequently used macros and symbols for runtime library.
;
;
; REVISON INFORMATION
;
; $Revision: 1.24 $
;
; Log information is available at the end of this file
;
;---... | 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/common/iar_common.s | Motorola 68K Assembly | mpl11 | 5,220 |
/*************************************************************/
/** @file:entry.h
@brief:
@details:
@author:Juntham
@date: 2012-06-09,15:27
@note:
*/
/*************************************************************/
#ifndef _ENTRY_H
#define _ENTRY_H
#include "typedef.h"
#ifdef __SMART_... | 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/common/common.h | C | mpl11 | 1,845 |
/*;-----------------------------------------------------------------------------
;
; File: iar_check_symbols.h
;
; Description: Consistens check for runtime library building symbols.
;
;
; REVISON INFORMATION
;
;... | 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/common/iar_check_symbols.s | Unix Assembly | mpl11 | 2,705 |
#define K1161_YJH_1161_1090B_V001
#ifdef K1161_YJH_1161_1090B_V001
//#define SYS_OSC_USE_ONCHIP_HTC
#define MUTE_GPIO_USE_P03
#define IIC_GPIO_CLK_DATA_USE_P00_P01
#define ADKEY_GPIO_USE_P06
#define CUSTOMER_DEFINED_ADKEY_RESISTOR
#define PLAY_STATUS_LED_P07
#define CUSTOM_DEFINED_PATH_AUX_AT_P24P... | 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/common/k_custom_config.h | C | mpl11 | 871 |
/***************************************************************************
* - CD002.h -
*
* Special header for the XX Microcontroller.
*
***************************************************************************/
#ifndef _CD002_H
#define _CD002_H
/**********************... | 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/common/cd02.h | C | mpl11 | 11,568 |
/*;-----------------------------------------------------------------------------
;
; File: iar_cfi.h
;
; Description: Call Frame Information (CFI) macros for runtime library.
;
; REVISON INFORMATION
;
; $Revision: 1.23 $
;
; Log information is available at the end of this file
;-----------... | 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/common/iar_cfi.s | Unix Assembly | mpl11 | 20,081 |
#ifndef _RTC_MODE_H_
#define _RTC_MODE_H_
#include "config.h"
#ifdef __IAR_SYSTEMS_ICC__
void RTC_mode(void);
void IRTC_init(void);
#endif /* __IAR_SYSTEMS_ICC__ */
#endif /* _RTC_MODE_H_ */
| 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/RTC/RTC_Mode.h | C | mpl11 | 219 |
/*************************************************************/
/** @file:hot_msg.h
@brief:
@details:
@author:Juntham
@date: 2012-06-13,8:53
@note:
*/
/*************************************************************/
#ifndef _HOT_MSG_
#define _HOT_MSG_
#include "config.h"
#ifdef __SM... | 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/key_msg/hot_msg.h | C | mpl11 | 415 |
#include "custom_config.h"
#ifdef USE_BAT_MANAGEMENT
#ifdef BAT_MEASURE_USE_ADC_PORT
#else
#define _5V 0xC000
#define _4V2 0xA100
#define _3V7 0x8E00
#define _3V3 0x8200
#endif
u8 const _code adc_bat_volt[]={
0x82, /// below 3V3
0x83, /// 3V3
0x8E, /// 3V7
0xA1, //// 4V2
0xA6, /... | 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/key_msg/adc_bat_level.h | C | mpl11 | 505 |
/*************************************************************/
/** @file:misc_hdlr_if.h
@brief:
@details:
@author:
@date: 2012-06-13,8:53
@note:
*/
/*************************************************************/
#include "custom_config.h"
#ifndef _MISC_HDLR_IF_
#define _MISC_HDLR_IF_
... | 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/key_msg/misc_hdlr_if.h | C | mpl11 | 2,670 |
#ifndef _CLOCK_H
#define _CLOCK_H
#include "config.h"
///*-----------------------------------------------------------
//////osc_out_sel
#define RTC_OSC 0
#define P00P01_OSC 1
/////pll_in_sel
#define PLLIN_32K 0
#define PLLIN_HTC (1 << 4)
#define PLLIN_RTC_12M ... | 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/clock.h | C | mpl11 | 1,587 |
cd ..\link_hex
del myoutotp.bin.fw
maker -c image.cfg
download.bat | 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_B_SDK/link_hex6L/make.bat | Batchfile | mpl11 | 69 |
isd_download.exe -f %1myoutotp.bin.fw -toram -osc 32K -w 200 -dev jieliide -chiptype cd002 -isdtype 9line
| 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_B_SDK/link_hex6L/download.bat | Batchfile | mpl11 | 111 |
%~d0
cd %~p0
Hex -tohex -s 0x0000 -l 0x4000 -b 8 -f 0xff -e release\exe\app.hex link_hex6L\app.hex
del release\exe\app.hex
cd link_hex6L
make.bat
cd.. | 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_B_SDK/make_release.bat | Batchfile | mpl11 | 156 |
copy ..\link_hex6L\info.txt .\ /y
cd ..\link_hex
del myoutotp.bin.fw
maker -c image.cfg
download.bat | 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_B_SDK/link_hex2L/make.bat | Batchfile | mpl11 | 104 |
isd_download.exe -f %1myoutotp.bin.fw -toram -osc 32K -w 2000 -dev jieliide -chiptype cd002 -isdtype 2line -fpga
| 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_B_SDK/link_hex2L/download.bat | Batchfile | mpl11 | 121 |
%~d0
cd %~p0
Hex -tohex -s 0x0000 -l 0x8000 -b 8 -f 0xff -e .\debug\exe\app.hex .\link_hex2L\app.hex
del .\debug\exe\app.hex
cd link_hex2L
make.bat
cd.. | 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_B_SDK/make_debug.bat | Batchfile | mpl11 | 158 |
%~d0
cd %~p0
@rem del .\src\AC109N_lib.r51
copy .\src\AC109N_releaseB.r51 .\src\AC109N_lib.r51 /y
cd..
| 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_B_SDK/make_lib_release.bat | Batchfile | mpl11 | 109 |
%~d0
cd %~p0
@rem del .\src\AC109N_lib.r51
copy .\src\AC109N_debugB.r51 .\src\AC109N_lib.r51 /y
cd..
| 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_B_SDK/make_lib_debug.bat | Batchfile | mpl11 | 110 |
%~d0
cd %~p0
@rem del .\src\AC109N_lib.r51
copy .\src\AC109N_releaseB.r51 .\src\AC109N_lib.r51 /y
cd..
| 109a-cd-pros | trunk/109a-cd-pros/main_root/doc/AC109N 版本升级/make_lib_release.bat | Batchfile | mpl11 | 109 |
%~d0
cd %~p0
@rem del .\src\AC109N_lib.r51
copy .\src\AC109N_debugB.r51 .\src\AC109N_lib.r51 /y
cd..
| 109a-cd-pros | trunk/109a-cd-pros/main_root/doc/AC109N 版本升级/make_lib_debug.bat | Batchfile | mpl11 | 110 |
/*************************************************************/
/** @file:voice_play.h
@brief:
@details:
@author:Juntham
@date: 2012-08-02,13:46
@note:
*/
/*************************************************************/
#ifndef __VOICE_PLAY_H__
#define __VOICE_PLAY_H__
#include "config.h"
... | 109a-cd-pros | trunk/109a-cd-pros/main_root/doc/APP_AC109N_005/music/play_voice.h | C | mpl11 | 405 |
/*************************************************************/
/** @file:voice_table.h
@brief:
@details:
@author:Juntham
@date: 2012-08-02,14:26
@note:
*/
/*************************************************************/
#ifndef __VOICE_TABLE_H__
#define __VOICE_TABLE_H__
#include "confi... | 109a-cd-pros | trunk/109a-cd-pros/main_root/doc/APP_AC109N_005/music/voice_table.h | C | mpl11 | 473 |
/*************************************************************/
/** @file:voice_talbe.c
@brief:
@details:
@author:Juntham
@date: 2012-08-02,14:28
@note:
*/
/*************************************************************/
#include "voice_table.h"
u8 const voicetable_0[] AT(OTP_VOICE) =
{... | 109a-cd-pros | trunk/109a-cd-pros/main_root/doc/APP_AC109N_005/music/voice_table.c | C | mpl11 | 16,606 |
/*************************************************************/
/** @file:break_point.h
@brief:
@details:
@author:Juntham
@date: 2012-07-25,15:24
@note:
*/
/*************************************************************/
#ifndef __BREAK_POINT_H__
#define __BREAK_POINT_H__
#include "config.... | 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_SDK/src/music/break_point.h | C | mpl11 | 620 |
#ifndef _UI_COMMON_H_
#define _UI_COMMON_H_
void itoa1(u8 i);
void itoa2(u8 i);
void itoa3(u16 i);
void itoa4(u16 i);
extern const u8 asc_number[];
extern _no_init u8 _data bcd_number[5];
#endif
| 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_SDK/src/UI/UI_common.h | C | mpl11 | 212 |
/*************************************************************/
/** @file:main.h
@brief:
@details:
@author:Juntham
@date: 2012-06-13,8:43
@note:
*/
/*************************************************************/
#ifndef _MAIN_
#define _MAIN_
#include "config.h"
#ifdef __SMART_CPU__
... | 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_SDK/src/main.h | C | mpl11 | 1,097 |
#ifndef _LINE_IN_MODE_H_
#define _LINE_IN_MODE_H_
#include "config.h"
#ifdef __IAR_SYSTEMS_ICC__
void Line_in_mode(void);
#endif /* __IAR_SYSTEMS_ICC__ */
#endif /* _LINE_IN_MODE_H_ */
| 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_SDK/src/line_in/Line_in_mode.h | C | mpl11 | 210 |
#include "custom_config.h"
#ifdef BLUE_TOOTH_UART_FUNC
#include "bluetooth_mode.h"
#include "uart.h"
#include "main.h"
#include "config.h"
#include "clock.h"
#include "msg.h"
#include "blue_tooth_msg_if.h"
bool bt_frame_rev_finished=0;
xd_u8 uart_rev=0;
xd_u8 rev_phase=0,rev_length=0;
xd_u8 rev_cmd[7]=... | 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_SDK/src/line_in/blue_tooth_uart_drv.c | C | mpl11 | 6,673 |
#include "custom_config.h"
#ifdef BLUE_TOOTH_UART_FUNC
#include "bluetooth_mode.h"
#include "uart.h"
#include "main.h"
#include "config.h"
#include "clock.h"
#include "msg.h"
#include "gpio_if.h"
xd_u8 bt_led_status=0;
void set_led_status(u8 statu_cmd)
{
bt_led_status = statu_cmd;
}
#ifdef BLUE_T... | 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_SDK/src/line_in/blue_tooth_msg_if.c | C | mpl11 | 1,961 |
#ifndef _BLUETOOTH_MODE_H_
#define _BLUETOOTH_MODE_H_
#include "config.h"
enum {
BT_STA_STOP,
BT_STA_PAUSE,
BT_STA_PLAY,
BT_STA_MASK=0x80,
};
typedef enum {
BT_POWER_ON,
BT_PAIR_MODE,
BT_PAIRED,
BT_CONECTED_A2DP,
BT_CONECTED_AVRCP,
BT_CONECTED_HF,
BT_INCOMING_CALL,
BT_OUTGOI... | 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_SDK/src/line_in/bluetooth_mode.h | C | mpl11 | 1,220 |
#ifndef _IPOD_MODE_H_
#define _IPOD_MODE_H_
#include "config.h"
#ifdef __IAR_SYSTEMS_ICC__
void ipod_main(void);
#endif /* __IAR_SYSTEMS_ICC__ */
#endif /* _LINE_IN_MODE_H_ */
| 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_SDK/src/line_in/ipod_mode.h | C | mpl11 | 201 |
#include "custom_config.h"
#ifndef _BLUE_TOOTH_MSG_IF_H_
#define _BLUE_TOOTH_MSG_IF_H_
#ifdef BLUE_TOOTH_UART_FUNC
#include "bluetooth_mode.h"
#include "uart.h"
#include "main.h"
#include "config.h"
#include "clock.h"
#include "msg.h"
BT_MSG const _code bt_rev_msg[]=
{
//BT_PAIR_MODE, MSG_BT_PAIRIN... | 109a-cd-pros | trunk/109a-cd-pros/main_root/AC109N_SDK/src/line_in/blue_tooth_msg_if.h | C | mpl11 | 1,157 |