首页 > 代码库 > Android Framework 记录之一
Android Framework 记录之一
简介
之前的研究太偏向应用层功能实现了,很多原理不了解没有深究,现在研究framework框架层了。
记录
1、下载源码,目录如下:
2、Android系统的层次如下:
3、项目目录简单分析如下:
4、telphony目录
文件 | 描述 |
CellIdentityCdma | //描述电信通信标识 |
CellIdentityGsm | 描述移动通信标识 |
CellIdentityLte | 描述3G通信标识 |
CellIdentityWcdma | 描述联通通信标识 |
CellInfo | 手机信息(什么网络、是否已注册、记录时间) |
class CellInfoCdma extends CellInfo | 电信通信手机信息 |
CellInfoGsm extends CellInfo | 移动通信手机信息 |
class CellInfoLte extends CellInfo | 3G通信手机信息 |
class CellInfoWcdma extends CellInfo | 联通通信手机信息 |
CellLocation | 手机位置信息(获取手机服务接口,获取位置信息) |
CellSignalStrength | 描述手机信号强度的抽象类 |
class CellSignalStrengthCdma extends CellSignalStrength implements Parcelable | 电信信号强度 |
class CellSignalStrengthGsm extends CellSignalStrength implements Parcelable | 移动信号强度 |
class CellSignalStrengthLte extends CellSignalStrength implements Parcelable | 3G信号强度 |
class CellSignalStrengthWcdma extends CellSignalStrength implements Parcelable | 联通信号强度 |
JapanesePhoneNumberFormatter | 专门为日本设计了电话号码格式的规则?艹 |
MSimTelephonyManager | 电话服务管理(卡服务、网络类型、配置信息……) |
NeighboringCellInfo | 接收信号强度和相邻小区ID的位置 |
class PhoneNumberFormattingTextWatcher implements TextWatcher | 手机号码格式化 |
PhoneNumberUtils | 电话号码配置 |
PhoneStateListener | 电话状态监测变化 (服务状态,信号强度,消息) |
Rlog | 日志信息 |
ServiceState | 服务状态(运行商、网络类型、漫游等) |
SignalStrength | 信号强度信息 |
TelephonyManager | 手机服务管理(拨号、接听、发送短信等等) |
CdmaCellLocation extends CellLocation | 电信手机位置信息 |
CdmaSmsCbProgramData | 电信手机短信数据描述 |
CdmaSmsCbProgramResults | 电信短信服务数据结果描述 |
GsmCellLocation | 移动手机位置信息描述 |
CallerInfo | 用户信息描述 |
CallerInfoAsyncQuery | 异步查询来电者信息 |
DctConstants | 常量信息 |
EncodeException | 自定义编码异常 |
GsmAlphabet | 移动短信字符转换 |
IccCardConstants | 常量 |
RILConstants | rtl常量 |
SmsConstants | 短信常量 |
SmsRawData | 短信数据 |
TelephonyIntents | 手机意图描述(定义字符串常量) |
TelephonyProperties | 电话属性接口 |
IPhoneStateListener | 手机状态监听 |
IPhoneSubInfo | 获取手机信息接口 |
ISms | 短信操作接口 |
ITelephony | 手机管理接口(拨号、接听、发送短信…等) |
ITelephonyRegistry | 提供手机注册服务(单卡) |
ITelephonyRegistryMSim | 提供手机注册服务(双卡时) |
IWapPushManager | wap推送消息 |
IPhoneSubInfoMSim | 手机信息接口 |
ITelephonyMSim | 手机服务接口 |
5、sax目录
文件 | 描述 |
class BadXmlException extends SAXParseException | xml解析错误 |
Children | 子集 |
Element | 一个元素 |
interface ElementListener extends StartElementListener, EndElementListener | 解析监听(开始、结束) |
EndElementListener | 结束监听 |
EndTextElementListener | 结束文本 |
class RootElement extends Element | 根元素 |
StartElementListener | 开始监听 |
interface TextElementListener extends StartElementListener, EndTextElementListener | 文本元素监听 |
ExpatPerformanceTest extends AndroidTestCase | 单元测试 |
SafeSaxTest extends AndroidTestCase | 单元测试 |
6、policy目录
文件 | 描述 |
BarController | 系统栏 控件状态/行为 |
EnableAccessibilityController | 系统访问控制 |
class GlobalActions implements DialogInterface.OnDismissListener, DialogInterface.OnClickListener | 对话框动作监听实现 |
GlobalKeyManager | 键值映射管理 |
IconUtilities | 图标辅助类 |
ImmersiveModeConfirmation | 导航栏隐藏、显示辅助类 |
PhoneFallbackEventHandler implements FallbackEventHandler | 手机回退事件处理,这段代码应该是锁屏界面选择的一些事件处理,比如拖动解锁框至电话图标就打开电话界面。 |
PhoneLayoutInflater extends LayoutInflater | 手机布局 |
class PhoneWindow extends Window implements MenuBuilder.Callback | 手机窗体 |
class PhoneWindowManager implements WindowManagerPolicy | 手机窗体管理 |
class Policy implements IPolicy | 用于创建Window类、LayoutInflater类和WindowManagerPolicy类,它扮演着简单工厂模式中的工厂类角色,而抽象产品角色由IPolicy接口实现,具体产品角色由Policy类实现。 |
class RecentApplicationsBackground extends LinearLayout | 垂直线性布局 |
class RecentApplicationsDialog extends Dialog implements OnClickListener | 对话框 |
ShortcutManager extends ContentObserver | 快捷图标管理 |
class SystemGesturesPointerEventListener implements PointerEventListener | 监听输入手势 |
WindowOrientationListener | 手机方向监听 |
KeyguardServiceDelegate | 管理键盘的状态 |
class KeyguardServiceWrapper implements IKeyguardService | 软盘的实现 |
KeyguardServiceDelegate.java和KeyguardServiceWrapper.java | 这两个类是android 4.4新增加的,分别对KeyguardService进行了代理和包装,代理类里面有一个Scrim视图在keyguard崩溃时显示。包装类就是对keyguardService的简单包装,最终把调度都会传给keyguardService。 |
7、wifi目录
文件 | 描述 |
BatchedScanResult | WiFi扫描的结果 |
BatchedScanSettings | WiFi扫描设置 |
NetworkUpdateResult | 网络更新结果 |
RssiPacketCountInfo | RSSI和包计数信息,用于WiFi看门狗 |
ScanResult | wifi扫描结果 |
StateChangeResult | 状态变化信息 |
SupplicantState | 请求状态 |
SupplicantStateTracker | 请求状态监控者 |
WifiApConfigStore extends StateMachine | 配置信息存储 |
WifiChannel | 一个WiFi信道或频率 |
WifiConfigStore | WiFi网络配置管理API |
WifiConfiguration | 一个Wi-Fi网络配置 |
WifiEnterpriseConfig | Wi-Fi企业配置 |
WifiInfo | 描述wifi连接状态 |
WifiManager | wifi管理 |
WifiMonitor | 监听wpa_supplicant 服务 |
WifiNative | 本地wifi管理 |
WifiSsid | ssid信息 |
WifiStateMachine | wifi连接状态 |
WifiStateTracker | wifi连接服务监视者 |
WifiWatchdogStateMachine extends StateMachine | 监控WiFi连接到网络 |
WpsInfo | wps信息 |
WpsResult | wps结果 |
IWifiManager | 控制和查询Wi-Fi连接接口 |
WifiP2pConfig | 对等(P2P)连接与Wi-Fi直接配置连接 |
WifiP2pDevice | 对等(P2P)连接与Wi-Fi直接设备 |
WifiP2pDeviceList | 对等(P2P)连接与Wi-Fi直接设备列表 |
WifiP2pGroup | 对等(P2P)连接与Wi-Fi直接 组 |
WifiP2pGroupList | 对等(P2P)连接与Wi-Fi直接组列表 |
WifiP2pInfo | 一个对等(P2P)连接与Wi-Fi直接信息 |
WifiP2pManager | 对等(P2P)连接与Wi-Fi直接管理 |
WifiP2pProvDiscEvent | 对等(P2P)连接与Wi-Fi直接搜索和响应事件 |
WifiP2pService | 对等(P2P)连接与Wi-Fi直接服务 |
WifiP2pWfdInfo | 对等(P2P)连接与Wi-Fi直接显示信息 |
IWifiP2pManager | 对等(P2P)连接与Wi-Fi直接管理接口 |
WifiP2pDnsSdServiceInfo | wifi直接存储信息 |
WifiP2pDnsSdServiceRequest | wifi直接服务探索请求 |
WifiP2pDnsSdServiceResponse | wifi直接搜索结果 |
WifiP2pServiceInfo | 一个wifi直接服务信息 |
WifiP2pServiceRequest | 一个wifi直接服务请求 |
WifiP2pServiceResponse | 一个wifi直接服务响应结果 |
WifiP2pUpnpServiceInfo | UPnP服务信息 |
WifiP2pUpnpServiceRequest | UPnP服务信息请求 |
WifiP2pUpnpServiceResponse | UPnP服务信息响应 |
8、tools目录
文件 | 描述 |
aapt | 打包工具 |
aidl | 接口本地实现 |
obbtool | |
orientationplot | |
preload | |
validatekeymaps | 按键映射相关 |
velocityplot | |
layoutlib | 布局库(详细如下) |
public abstract class AnimationThread extends Thread | 抽象动画线程 |
PropertyValuesHolder_Delegate | 映射属性方法本地实现 |
Fragment_Delegate | 负责实例化flagment对象 |
public class BridgeAssetManager extends AssetManager | 扩展AssetManager的管理 |
public final class BridgeResources extends Resources | 扩展Resources的管理 |
public final class BridgeTypedArray extends TypedArray | 自定义非编译资源 |
Resources_Theme_Delegate | 资源主题管理本地实现 |
TypedArray_Delegate | 自定义资源本地实现 |
public class AvoidXfermode_Delegate extends Xfermode_Delegate | android.graphics.AvoidXfermode本地实现 |
BidiRenderer | 通过分解成各种脚本和使用合适的字体渲染文本 |
Bitmap_Delegate | android.graphics.Bitmap 本地实现 |
BitmapFactory_Delegate | android.graphics.BitmapFactory本地实现 |
public class BitmapShader_Delegate extends Shader_Delegate | android.graphics.BitmapShader本地实现 |
public class BlurMaskFilter_Delegate extends MaskFilter_Delegate | android.graphics.BlurMaskFilter本地实现 |
Canvas_Delegate | android.graphics.Canvas本地实现 |
ColorFilter_Delegate | android.graphics.ColorFilter本地实现 |
public class ColorMatrixColorFilter_Delegate extends ColorFilter_Delegate | android.graphics.ColorMatrixColorFilter 本地实现 |
public class ComposePathEffect_Delegate extends PathEffect_Delegate | android.graphics.ComposePathEffect 本地实现 |
public class ComposeShader_Delegate extends Shader_Delegate | android.graphics.ComposeShader本地实现 |
public class CornerPathEffect_Delegate extends PathEffect_Delegate | android.graphics.CornerPathEffect本地实现 |
public final class DashPathEffect_Delegate extends PathEffect_Delegate | android.graphics.DashPathEffect本地实现 |
public class DiscretePathEffect_Delegate extends PathEffect_Delegate | android.graphics.DiscretePathEffect本地实现 |
DrawFilter_Delegate | DrawFilter本地实现 |
public class EmbossMaskFilter_Delegate extends MaskFilter_Delegate | android.graphics.EmbossMaskFilter本地实现 |
public abstract class Gradient_Delegate extends Shader_Delegate | 坡度基类 |
public class LayerRasterizer_Delegate extends Rasterizer_Delegate | android.graphics.LayerRasterizer本地实现 |
public class LightingColorFilter_Delegate extends ColorFilter_Delegate | android.graphics.LightingColorFilter本地实现 |
public final class LinearGradient_Delegate extends Gradient_Delegate | android.graphics.LinearGradient 本地实现 |
MaskFilter_Delegate | android.graphics.MaskFilter 本地实现 |
Matrix_Delegate | android.graphics.Matrix 本地实现 |
NinePatch_Delegate | android.graphics.NinePatch 本地实现 |
Paint_Delegate | android.graphics.Paint 本地实现 |
public class PaintFlagsDrawFilter_Delegate extends DrawFilter_Delegate | android.graphics.PaintFlagsDrawFilter 本地实现 |
Path_Delegate | android.graphics.Path 本地实现 |
public class PathDashPathEffect_Delegate extends PathEffect_Delegate | android.graphics.PathDashPathEffect本地实现 |
PathEffect_Delegate | android.graphics.PathEffect本地实现 |
public class PixelXorXfermode_Delegate extends Xfermode_Delegate | android.graphics.PixelXorXfermode 本地实现 |
public class PorterDuffColorFilter_Delegate extends ColorFilter_Delegate | android.graphics.PorterDuffColorFilter 本地实现 |
public class PorterDuffXfermode_Delegate extends Xfermode_Delegate | android.graphics.PorterDuffXfermode 本地实现 |
public class RadialGradient_Delegate extends Gradient_Delegate | android.graphics.RadialGradient 本地实现 |
Rasterizer_Delegate | android.graphics.Rasterizer 本地实现 |
Region_Delegate | android.graphics.Region 本地实现 |
Shader_Delegate | android.graphics.Shader 本地实现 |
public class SumPathEffect_Delegate extends PathEffect_Delegate | android.graphics.SumPathEffect 本地实现 |
public class SweepGradient_Delegate extends Gradient_Delegate | android.graphics.SweepGradient 本地实现 |
Typeface_Accessor | 方法属性权限 |
Typeface_Delegate | Typeface 本地实现 |
Xfermode_Delegate | android.graphics.Xfermode 本地实现 |
Build_Delegate | android.os.Build 本地实现 |
Handler_Delegate | android.os.Handler 本地实现 |
HandlerThread_Delegate | android.os.HandlerThread 本地实现 |
Looper_Accessor | 循环方法属性访问权限 |
ServiceManager | 服务管理 |
SystemClock_Delegate | android.os.SystemClock 本地实现 |
AndroidBidi_Delegate | AndroidBidi本地实现 |
DateFormat_Delegate | DateFormat本地实现 |
Time_Delegate | Time本地实现 |
public class BridgeXmlPullAttributes extends XmlPullAttributes | XmlPullParser 接口实现 |
FloatMath_Delegate | android.util.FloatMath 本地实现 |
Log_Delegate | 日志输出 |
public class LruCache<K, V> | 缓存列表管理 |
AttachInfo_Accessor | 匹配属性方法访问权限 |
public final class BridgeInflater extends LayoutInflater | 自定义处理、自定义视图 |
Choreographer_Delegate | Choreographer 本地方法getRefreshRate |
Display_Delegate | Display 本地方法updateDisplayInfoLocked |
public class IWindowManagerImpl implements IWindowManager | 窗体管理接口 |
LayoutInflater_Delegate | |
SurfaceView | |
View_Delegate | View isInEditMode本地方法 |
ViewRootImpl_Delegate | 视图isInTouchMode方法实现 |
WindowManagerGlobal_Delegate | 窗体管理 |
AccessibilityManager | 服务系统等级管理 |
InputMethodManager_Accessor | 输入方法权限管理 |
InputMethodManager_Delegate | 输入方法本地实现 |
public class WebView extends MockView | web视图 |
PolicyManager | 策略管理 |
ITextServicesManager_Stub_Delegate | 文本服务管理 |
XmlUtils_Delegate | xml辅助类本地实现 |
public final class Bridge extends com.android.ide.common.rendering.api.Bridge | |
BridgeConstants | 常量 |
public class BridgeRenderSession extends RenderSession | 桥接渲染会话 |
public class MockView extends TextView | MockView 视图 |
public final class BridgeContentProvider implements IContentProvider | 桥接共享数据库管理 |
public class BridgeContentResolver extends ContentResolver | 桥接共享数据库管理 |
public final class BridgeContext extends Context | 桥接句柄 |
public class BridgeIInputMethodManager implements IInputMethodManager | 桥接输入管理 |
public class BridgeLayoutParamsMapAttributes implements AttributeSet | 桥接布局属性 |
public class BridgePowerManager implements IPowerManager | 桥接电源管理 |
public final class BridgeWindow implements IWindow | 桥接窗体 |
public final class BridgeWindowSession implements IWindowSession | 桥接窗体会话 |
public class BridgeXmlBlockParser implements XmlResourceParser | 桥接xml解析 |
public class WindowManagerImpl implements WindowManager | /窗体管理 |
abstract class CustomBar extends LinearLayout | 自定义栏 |
public class FakeActionBar extends CustomBar | 虚变栏 |
public class NavigationBar extends CustomBar | 导航栏 |
public class StatusBar extends CustomBar | 状态栏 |
public class TitleBar extends CustomBar | 标题栏 |
public final class DelegateManager<T> | 本地管理 |
FontLoader | 字体加载 |
GcSnapshot | 快照 |
ParserFactory | 解析工厂 |
public class PlayAnimationThread extends AnimationThread | 播放动画线程 |
public abstract class RenderAction<T extends RenderParams> extends FrameworkResourceIdProvider | 渲染动作 |
public class RenderSessionImpl extends RenderAction<SessionParams> | 渲染接口 |
ResourceHelper | 资源辅助 |
public class Stack<T> extends ArrayList<T> | 堆栈列表 |
AdapterHelper | 适配器辅助类 |
AdapterItem | 适配器节点 |
public class FakeAdapter extends BaseAdapter | 虚适配器 |
public class FakeExpandableAdapter implements ExpandableListAdapter, HeterogeneousExpandableList | 扩展适配器 |
Debug | 模式 |
DynamicIdMap | id记录 |
SparseWeakArray<E> | 弱引用 |
public @interface VisibleForTesting | 可见属性 |
public abstract class AbstractClassAdapter extends ClassVisitor | 抽象类适配 |
public class AsmAnalyzer | Java字节码操作 |
AsmGenerator | 类生成 |
public class ClassHasNativeVisitor extends ClassVisitor | 类本地实现 |
public final class CreateInfo implements ICreateInfo | 类信息 |
public class DelegateClassAdapter extends ClassVisitor | 类适配 |
class DelegateMethodAdapter2 extends MethodVisitor | |
public class DependencyFinder | 根据java字节码找到 |
ICreateInfo | 描述信息接口 |
Log | 日志信息 |
public class LogAbortException extends Exception | 日志异常描述 |
public class MethodAdapter implements MethodListener | 方法适配器 |
public interface MethodListener { | //方法监听 |
public final class OverrideMethod { | //重载方法 |
public class RefactorClassAdapter extends AbstractClassAdapter { | //重构类适配 |
public class RenameClassAdapter extends AbstractClassAdapter { | //重名类适配 |
class StubMethodAdapter extends MethodVisitor { | //跟方法适配 |
class TransformClassAdapter extends ClassVisitor { | //变换类适配 |
public interface AutoCloseable { | //自动关闭接口 |
public final class Charsets { | //编码 |
public final class IntegralToString { | //整形转字符 |
public class UnsafeByteSequence { | //不安全字节码字符 |
public class MapView extends MockView { | //映射视图 |
DateIntervalFormat_Delegate | 整形格式化本地实现 |
ICU_Delegate | libcore.icu.ICU ICU本地实现 |
9、data目录
文件 | 描述 |
etc | 里面包含编译文件 |
fonts | 字体资源 |
keyboards | 软盘资源 |
sounds | 声音资源 |
videos | 视频资源 |
10、obex目录
文件 | 描述 |
public final class ApplicationParameter { | //参数信息 |
public interface Authenticator { | //认证接口 |
public interface BaseStream { | //流接口 |
public final class ClientOperation implements Operation, BaseStream { | //读写信息客户端 |
public final class ClientSession extends ObexSession { | //蓝牙会话客户端 |
public final class HeaderSet { | //耳塞 |
public final class ObexHelper { | //蓝牙辅助类 |
public class ObexSession { | //蓝牙会话 |
public interface ObexTransport { | //蓝牙传输 |
public interface Operation { | //操作接口 |
public final class PasswordAuthentication { | //认证密码 |
public final class PrivateInputStream extends InputStream { | 私有流信息 |
public final class PrivateOutputStream extends OutputStream { | //私有输出流 |
public final class ResponseCodes { | //响应代码 |
public final class ServerOperation implements Operation, BaseStream { | //服务器操作 |
public class ServerRequestHandler { | //服务器响应处理 |
public final class ServerSession extends ObexSession implements Runnable { | //服务会话 |
public interface SessionNotifier { | //服务通知 |
11、libs目录
文件 | 描述 |
androidfw | |
hwui | |
storage | |
usb | |
UsbManager | USB管理 |
UsbAccessory | USB插件 |
12、keystore目录
文件 | 描述 |
public class AndroidKeyPairGenerator extends KeyPairGeneratorSpi | 键值产生 |
public class AndroidKeyStore extends KeyStoreSpi { | 键值 |
public class AndroidKeyStoreProvider extends Provider { | 键值提供 |
public class Credentials { | 凭据 |
public final class KeyChain { | 键链 |
public interface KeyChainAliasCallback { | 键回调 |
public class KeyChainException extends Exception { | 异常 |
public final class KeyPairGeneratorSpec implements AlgorithmParameterSpec { | 产生键值异常 |
public class KeyStore { | 键值 |
public final class KeyStoreParameter implements ProtectionParameter { | 键值参数 |
public class SystemKeyStore { | 系统键值 |
IKeyChainAliasCallback.aidl | |
IKeyChainService.aidl | |
public class AndroidKeyPairGeneratorTest extends AndroidTestCase { | |
public class AndroidKeyStoreTest extends AndroidTestCase { | |
public class KeyPairGeneratorSpecTest extends AndroidTestCase { | |
public class KeyStoreTest extends ActivityUnitTestCase<Activity> { | |
public class SystemKeyStoreTest extends ActivityUnitTestCase<Activity> { | |
13、drm目录
文件 | 描述 |
public class DrmConvertedStatus { | 转换状态 |
public class DrmErrorEvent extends DrmEvent { | 自定义错误事件 |
public class DrmEvent { | 自定义事件 |
public class DrmInfo { | 交易信息 |
public class DrmInfoEvent extends DrmEvent { | 自定义事件 |
public class DrmInfoRequest { | DRM服务器请求信息 |
public class DrmInfoStatus { | 状态值 |
public class DrmManagerClient { | 管理客户端 |
public class DrmOutputStream extends OutputStream { | 输出流 |
public class DrmRights { | 许可证信息 |
public class DrmStore { | 常量 |
public class DrmSupportInfo { | drm支持信息 例如DRM插件 |
public class DrmUtils { | 辅助类 |
public class ProcessedData { | 处理数据 |
14、nfc-extras
文件 | 描述 |
public class EeAlreadyOpenException extends EeIOException { | //已经打开异常 |
public class EeExternalFieldException extends EeIOException { | //扩展属性异常 |
public class EeInitializationException extends EeIOException { | //初始化异常 |
public class EeIOException extends IOException { | //输入输出异常 |
public class EeListenModeException extends EeIOException { | //监听异常 |
public class EeNfcDisabledException extends EeIOException { | //不可用异常 |
public final class NfcAdapterExtras { | //模拟器卡附加参数 |
public class NfcExecutionEnvironment { | //执行环境 |
15、tests目录
文件 | 描述 |
AccessoryDisplay | 显示测试 |
ActivityTests | Activity测试 |
AppLaunch | 启动测试 |
appwidgets | 小部件测试 |
Assistant | |
backup | 备份测试 |
BandwidthTests | 带宽测试 |
BatteryWaster | 浪费电池测试 |
BiDiTests | |
BrowserPowerTest | 浏览器电力测试 |
Camera2Tests | 摄像头测试 |
CanvasCompare | 画布测试 |
Compatibility | 兼容性测试 |
CoreTests | 核心测试 |
DataIdleTest | 数据测试 |
DpiTest | |
FixVibrateSetting | 振动设置 |
FrameworkPerf | 框架性能测试 |
GridLayoutTest | grid布局测试 |
HugeBackup | 大数据备份 |
HwAccelerationTest | 硬件加速测试 |
ImfTest | |
LargeAssetTest | 大数据测试 |
LocationTracker | 位置追踪者 |
LotsOfApps | |
LowStorageTest | 低存储测试 |
MemoryUsage | 内存状态 |
permission | 权限 |
RemoteDisplayProvider | 远程显示 |
RenderScriptTests | 渲染脚本测试 |
SerialChat | 串口聊天 |
SharedLibrary | 共享库 |
SmokeTest | 吸烟测试 |
SmokeTestApps | |
SslLoad | ssl加载测试 |
StatusBar | 状态栏测试 |
TileBenchmark | |
touchlag | 触摸测试 |
TransformTest | 转换测试 |
TransitionTests | 转换测试 |
TtsTests | tts测试 |
WebViewTests | web视图测试 |
16、test-runner目录
文件 | 描述 |
public abstract class ActivityInstrumentationTestCase<T extends Activity> extends ActivityTestCase { | //Activity功能测试 |
public abstract class ActivityTestCase extends InstrumentationTestCase { | //actvity测试基类 |
public abstract class ActivityUnitTestCase<T extends Activity> extends ActivityTestCase { | //Activity单元测试 |
public class AndroidTestRunner extends BaseTestRunner { | //测试运行 |
public abstract class ApplicationTestCase<T extends Application> extends AndroidTestCase { | |
public class AssertionFailedError extends Error { | //断言失败 |
public class ClassPathPackageInfo { | //包信息 |
public class ClassPathPackageInfoSource { | //包信息 |
public class ComparisonFailure extends AssertionFailedError { | //异常 |
public class DatabaseTestUtils { | //数据库测试 |
public class InstrumentationCoreTestRunner extends InstrumentationTestRunner { | |
public class InstrumentationTestRunner extends Instrumentation implements TestSuiteProvider { | |
public class InstrumentationUtils { | |
public class IsolatedContext extends ContextWrapper { | |
public class LaunchPerformanceBase extends Instrumentation { | //启动测试 |
public class LoaderTestCase extends AndroidTestCase { | //加载测试 |
public final class MoreAsserts { | |
class NoExecTestResult extends TestResult { // | |
public class PackageInfoSources { | //包信息 |
public interface PerformanceCollectorTestCase { | |
public abstract class ProviderTestCase<T extends ContentProvider> extends InstrumentationTestCase { | |
public class RenamingDelegatingContext extends ContextWrapper { | |
public abstract class ServiceTestCase<T extends Service> extends AndroidTestCase { | //服务测试 |
abstract class SimpleCache<K, V> { | //哈希缓存 |
public abstract class SingleLaunchActivityTestCase<T extends Activity> extends InstrumentationTestCase { | |
public class SyncBaseInstrumentation extends InstrumentationTestCase { | |
public interface TestCase extends Runnable | |
public class TestCaseUtil { | |
public class TestPrinter implements TestRunner.Listener, TestListener { | |
public class TestRunner implements PerformanceTestCase.Intermediates { | |
public interface TestSuiteProvider { | |
public @interface TimedTest { | |
public class TouchUtils { | |
public class ViewAsserts { | |
public class MockApplication extends Application { | //模拟应用 |
public class MockContentProvider extends ContentProvider { | //模拟共享数据库 |
public class MockContentResolver extends ContentResolver { | //模拟共享数据库 |
public class MockContext extends Context { | //模拟句柄 |
public class MockCursor implements Cursor { | //模拟游标 |
public class MockDialogInterface implements DialogInterface { | //模拟对话框接口 |
public class MockIContentProvider implements IContentProvider { | //模拟数据库接口 |
public class MockPackageManager extends PackageManager { | //模拟包管理 |
public class MockResources extends Resources { | //模拟资源 |
class AssignableFrom implements Predicate<TestMethod> { | //类方法判断 |
public class InstrumentationTestSuiteBuilder extends TestSuiteBuilder { | //仪器测试 |
public class SmokeTestSuiteBuilder extends TestSuiteBuilder { | //冒烟测试 |
public class TestGrouping { | //类路径测试类 |
public class TestMethod { | //类方法测试 |
public class TestPredicates { | |
public class TestSuiteBuilder { | |
public class UnitTestSuiteBuilder extends TestSuiteBuilder { | |
public class HasAnnotation implements Predicate<TestMethod> { | |
class HasClassAnnotation implements Predicate<TestMethod> { | |
class HasMethodAnnotation implements Predicate<TestMethod> { | |
17、cmds目录
文件 | 描述 |
am | activity manager,你能使用am去模拟各种系统的行为 |
app_process | app进程 |
backup | 备份 |
bmgr | 应用数据备份以及还原 |
bootanimation | 启动动画 |
bu | 备份 |
content | 发布数据的类 |
ime | 软盘命令 |
input | 输出命令 |
interrupter | 中断命令 |
media | 媒体命令 |
pm | package manager,你能使用pm命令去模拟android行为或者查询设备上的应用等 |
requestsync | 同步请求命令 |
screencap | 截屏 |
settings | 设置 |
svc | 系统SVC 命令(命令行WIFI 开关、GPRS 移动数据开关) |
wm | 系统切换与双启动 |
18、location目录
文件 | 描述 |
public class Address implements Parcelable { | // 位置信息 |
public class Country implements Parcelable { | //国家信息 |
public class CountryDetector { | //国家匹配 |
public class Criteria implements Parcelable { | //位置参数 |
public class FusedBatchOptions implements Parcelable { | //配置信息 |
public final class Geocoder { | //地理编码和反向地理编码 |
public class GeocoderParams implements Parcelable { | //地理编码和反向地理编码参数 |
public final class Geofence implements Parcelable { | //地理边界 |
public class GeoFenceParams implements Parcelable { | //地理边界 参数 |
public final class GpsSatellite { | //gps卫星 |
public final class GpsStatus { | //gps状态 |
public class Location implements Parcelable { | //位置信息 |
public interface LocationListener { | //位置信息监听 |
public class LocationManager { | //位置信息管理 |
public class LocationProvider { | //位置信息提供 |
public final class LocationRequest implements Parcelable { | // 位置信息请求 |
public abstract class SettingInjectorService extends Service { | //设置服务 |
interface IFusedGeofenceHardware { | 硬件接口 |
public class GpsNetInitiatedHandler { | // 网络gps处理 |
public final class ProviderProperties implements Parcelable { | //配置信息 |
public final class ProviderRequest implements Parcelable { | //请求 |
interface ILocationProvider { | //位置管理接口 |
public final class FusedLocationHardware { | //绑定硬件 |
public abstract class FusedLocationHardwareSink { | //位置信息抽象 |
public abstract class FusedProvider | |
public abstract class GeocodeProvider { | //编码服务 |
public abstract class GeofenceProvider { | //位置边界服务 |
public class GmsFusedBatchOptions { | //配置信息 |
public abstract class LocationProviderBase { | //位置信息基类 |
public final class LocationRequestUnbundled { | |
public final class ProviderPropertiesUnbundled { | |
public final class ProviderRequestUnbundled { | |
19、media目录
文件 | 描述 |
mca | 图像形态分量分析(MCA- Morphological Component Analysis)通过结合图像的稀疏表示(Sparce representation)理论和变分方法进行图像分解。 |
public final class AmrInputStream extends InputStream | //amr输入流 |
public class AsyncPlayer { | //异步播放 |
public class AudioFormat { | //音频格式 |
public class AudioManager { | // 音频管理 |
public class AudioRecord | //音频录音 |
public class AudioRoutesInfo implements Parcelable { | // 音频可用信息 |
public class AudioService extends IAudioService.Stub { | //音频服务 |
public class AudioSystem { | //音频系统信息 |
public final class AudioTimestamp { | // 音频时间轴 |
public class AudioTrack { | // 音频监听 |
public class CamcorderProfile { | //音频配置信息 |
public class CameraProfile { | //相机配置信息 |
public interface DataSource extends Closeable { | // 源数据 |
public class DecoderCapabilities { | //根据视频的类型解码 |
public final class DeniedByServerException extends MediaDrmException { | //拒绝异常 |
public class EncoderCapabilities { | //编码 |
public class ExifInterface { | //阅读和写作在JPEG文件接口 |
public class FaceDetector { | // 脸部匹配 |
class FocusRequester { | //拒绝请求 |
public abstract class Image implements AutoCloseable { | // 图片类 |
public class ImageReader implements AutoCloseable { | // 图片读取 |
public class JetPlayer { | //jet播放器 |
public class MediaActionSound { | // 媒体动作声音 |
final public class MediaCodec { | //媒体编码 |
public final class MediaCodecInfo { | //媒体编码信息 |
final public class MediaCodecList { | //编码列表 |
public final class MediaCrypto { | //编码加密 |
public final class MediaCryptoException extends Exception { | //编码加密异常 |
public final class MediaDrm { | //媒体数字权限管理 |
public class MediaDrmException extends Exception { | //异常 |
final public class MediaExtractor { | //媒体提取 |
public class MediaFile { | //媒体文件 |
public class MediaFocusControl implements OnFinished { | //媒体聚焦控制 |
public final class MediaFormat { | //媒体格式 |
public class MediaInserter { | //媒体读写辅助类 |
public abstract class MediaMetadataEditor { | //媒体类型编辑 |
public class MediaMetadataRetriever { | //媒体 |
final public class MediaMuxer { | //媒体复用 |
public class MediaPlayer implements SubtitleController.Listener { | //媒体播放 |
public class MediaRecorder { | //媒体录音 |
public class MediaRouter { | //媒体路由 |
public final class MediaRouterClientState implements Parcelable { | //媒体路由状态 |
public class MediaScanner { | //媒体读写 |
public interface MediaScannerClient { | //媒体读写客户端 |
public class MediaScannerConnection implements ServiceConnection { | // 媒体读写连接 |
public class MediaSyncEvent { | // 媒体同步事件 |
public interface MediaTimeProvider { | // 媒体时间 |
public class Metadata { | //数据 |
public class MiniThumbFile { // | |
public final class NotProvisionedException extends MediaDrmException { | |
public final class Rating implements Parcelable { | // 评级 |
public class RemoteControlClient { | //远程控制客户端 |
public final class RemoteController { | // 远程控制 |
public final class RemoteDisplay { | //远程显示 |
public final class RemoteDisplayState implements Parcelable { | //远程显示状态 |
public final class ResampleInputStream extends InputStream { | //重采样输入流 |
public final class ResourceBusyException extends MediaDrmException { | |
public class Ringtone { | //铃声 |
public class RingtoneManager { | //铃声播放 |
public class SoundPool { | //声音接口 |
public class SubtitleController { | //字幕控制器 |
public final class SubtitleData { | //字幕数据 |
public abstract class SubtitleTrack implements MediaTimeProvider.OnMediaTimeListener { | //字幕监听 |
public class ThumbnailUtils { | //媒体提供商缩略图生成 |
public final class TimedText { | //时间文本 |
public class ToneGenerator { | // 音调生成 |
public final class UnsupportedSchemeException extends MediaDrmException | |
public interface VolumeController { | //音量控制 |
public class WebVttRenderer extends SubtitleController.Renderer { | // 字幕渲染 |
public class AcousticEchoCanceler extends AudioEffect {//回声消除器 | |
public class AudioEffect { | //音频效果 |
public class AutomaticGainControl extends AudioEffect { | //自动增益控制 |
public class BassBoost extends AudioEffect { | //低音增强 |
public class EnvironmentalReverb extends AudioEffect { | //环境声音 |
public class Equalizer extends AudioEffect { | //均衡器 |
public class LoudnessEnhancer extends AudioEffect { | //增大音频 |
public class NoiseSuppressor extends AudioEffect { | //噪声抑制器 |
public class PresetReverb extends AudioEffect { | |
public class Virtualizer extends AudioEffect { | //音频虚拟器 |
public class Visualizer { | //音频虚拟器 |
public class AudioTrack { | //音频轨道 |
public abstract class Effect { | //单媒体 |
public class EffectColor extends Effect { | //颜色 |
public class EffectKenBurns extends Effect { | |
public interface ExtractAudioWaveformProgressListener { | |
class MediaArtistNativeHelper { | //媒体艺术辅助类 |
public class MediaImageItem extends MediaItem { | //媒体图片项 |
public abstract class MediaItem { | //媒体项 |
public class MediaProperties { | //媒体属性 |
public class MediaVideoItem extends MediaItem { | // 视频项 |
public abstract class Overlay { | //重叠 |
public class OverlayFrame extends Overlay { | //重叠帧 |
public abstract class Transition { | //转换 |
public class TransitionAlpha extends Transition { | //alpha混合 |
public class TransitionCrossfade extends Transition { | //淡入淡出效果 |
public class TransitionFadeBlack extends Transition { | //提供一个褪色的黑和黑过渡消失 |
public class TransitionSliding extends Transition { | //创建滑动过渡 |
public interface VideoEditor { | //视频编辑 |
public class VideoEditorFactory { | //视频编辑工厂 |
public class VideoEditorImpl implements VideoEditor { | //视频编辑接口 |
public class VideoEditorProfile { | //视频编辑文件 |
public class WaveformData { | //wave文件 |
public final class MtpConstants { | //mtp常量 |
public class MtpDatabase { | //mtp数据库 |
public final class MtpDevice { | //mtp设备 |
public class MtpDeviceInfo { | //mtp设备信息 |
public final class MtpObjectInfo { | //mtp对象信息 |
class MtpPropertyGroup { | //mtp属性信息 |
class MtpPropertyList { | //mtp属性列表 |
public class MtpServer implements Runnable { | //mtp服务 |
public class MtpStorage { | //mtp存储 |
public final class MtpStorageInfo { | //mtp存储信息 |
public class RemoteDisplay { | //远程显示 |
public abstract class RemoteDisplayProvider { | //远程显示提供 |
20、graphics目录
文件 | 描述 |
public class Atlas { | |
public class AvoidXfermode extends Xfermode { | //指定了一个颜色和容差,强制Paint避免在它上面绘图(或者只在它上面绘图)。 |
public final class Bitmap implements Parcelable { | //图片 |
public class BitmapFactory { | //创建图片对象 |
public final class BitmapRegionDecoder { | //矩形区域解码 |
public class BitmapShader extends Shader { | //着色器 |
public class BlurMaskFilter extends MaskFilter { | //模糊过滤 |
public class Camera { | // 相机(产生3D效果) |
public class Canvas { | //画布 |
public class Color { | //颜色 |
public class ColorFilter { | //颜色过滤 |
public class ColorMatrix { | //颜色矩阵 |
public class ColorMatrixColorFilter extends ColorFilter { | // 颜色矩阵过滤 |
public class ComposePathEffect extends PathEffect { | // 构建轮廓 |
public class ComposeShader extends Shader { | //构建着色器 |
public class CornerPathEffect extends PathEffect { | //轮廓角 |
public class DashPathEffect extends PathEffect { | //对折轮廓 |
public class DiscretePathEffect extends PathEffect { | //离散轮廓 |
public class DrawFilter { | //画图过滤 |
public class EmbossMaskFilter extends MaskFilter { | //浮雕滤镜 |
public class ImageFormat { | //图像格式 |
public class Insets { | //一个插图实例 |
public class Interpolator { | //插补器 |
public final class LargeBitmap { | //大图片 |
public class LayerRasterizer extends Rasterizer { | //光栅层 |
public class LightingColorFilter extends ColorFilter { | //亮光 |
public class LinearGradient extends Shader { | //线性梯度 |
public class MaskFilter { | //过滤 |
public class Matrix { | //矩阵 |
public class Movie { | //电影? |
public class NinePatch { | //.9图片 |
public class Paint { | //绘画 |
public class PaintFlagsDrawFilter extends DrawFilter { | //绘画过滤 |
public class Path { | //轮廓 |
public class PathDashPathEffect extends PathEffect { | //对折轮廓 |
public class PathEffect { | //轮廓 |
public class PathMeasure { | //路测 |
public class Picture { | //图片 |
public class PixelFormat { | //像素格式 |
public class PixelXorXfermode extends Xfermode { | //当覆盖已有的颜色时,应用一个简单的像素异或操作。 |
public class Point implements Parcelable { | //坐标 |
public class PointF implements Parcelable { | //坐标 |
public class PorterDuff { | //绘画模式 |
public class PorterDuffColorFilter extends ColorFilter { | //绘画颜色过滤 |
public class PorterDuffXfermode extends Xfermode { | // 这是一个非常强大的转换模式,使用它,可以使用图像合成的16条Porter-Duff规则的任意一条来控制Paint如何与已有的Canvas图像进行交互。 |
public class RadialGradient extends Shader { | //径向梯度 |
public class Rasterizer { | //光栅 |
public final class Rect implements Parcelable { | //矩形 |
public class RectF implements Parcelable { | //矩形 |
public class Region implements Parcelable { | //区域 |
public class RegionIterator { | //区域迭代器 |
public class Shader { | //着色器 |
public class SumPathEffect extends PathEffect { | //轮廓 |
public class SurfaceTexture { | //表面纹理 |
public class SweepGradient extends Shader { | //扫描梯度 |
public class TableMaskFilter extends MaskFilter { | //表格过滤器 |
public class TemporaryBuffer { | //临时缓冲区 |
public class Typeface { | //类型 |
public class Xfermode { | //模式 |
public class YuvImage { | //YUV图片(-->jpeg) |
public interface Animatable { | //动画接口 |
public class AnimatedRotateDrawable extends Drawable implements Drawable.Callback, Runnable, Animatable { | //旋转动画图片 |
public class AnimationDrawable extends DrawableContainer implements Runnable, Animatable { | // 动画图片 |
public class BitmapDrawable extends Drawable { | //图片 |
public class ClipDrawable extends Drawable implements Drawable.Callback { | //拷贝图片 |
public class ColorDrawable extends Drawable { | //颜色图片 |
public abstract class Drawable { | //图片抽象类 |
public class DrawableContainer extends Drawable implements Drawable.Callback { | // 图片包涵器 |
public class GradientDrawable extends Drawable { | //梯度图片 |
public class InsetDrawable extends Drawable implements Drawable.Callback { | //插入图片 |
public class LayerDrawable extends Drawable implements Drawable.Callback { | //图层 |
public class LevelListDrawable extends DrawableContainer { | //等级列表图片 |
public class NinePatchDrawable extends Drawable { | //.9图片 |
public class PaintDrawable extends ShapeDrawable { | //绘画图片 |
public class PictureDrawable extends Drawable { | //图片 |
public class RotateDrawable extends Drawable implements Drawable.Callback { | //旋转图片 |
public class ScaleDrawable extends Drawable implements Drawable.Callback { | // 尺度图片 |
public class ShapeDrawable extends Drawable { | //形态图片 |
public class StateListDrawable extends DrawableContainer { | //图形图像 |
public class TransitionDrawable extends LayerDrawable implements Drawable.Callback { | //过滤图片 |
public class ArcShape extends RectShape { | //弧形 |
public class OvalShape extends RectShape { | //椭圆形 |
public class PathShape extends Shape { | //轮廓 |
public class RectShape extends Shape { | //正方形 |
public class RoundRectShape extends RectShape { | //圆形 |
public abstract class Shape implements Cloneable { | //形状 |
public class PdfDocument { | //PDF文档 |
public class Allocation extends BaseObj { | //配置 |
public class AllocationAdapter extends Allocation { | //反射适配器 |
public class BaseObj { | //渲染脚本基类 |
public class Byte2 { | //字节码 |
public class Double2 {/ | /双精度浮点数形式存储 |
public class Element extends BaseObj { | // 元素 |
public class FieldPacker { | //字段包装 |
public class FileA3D extends BaseObj { | //从文件加载renderscript对象 |
public class Float2 { | //浮点 |
public class Font extends BaseObj { | //字体 |
public class Int2 { | //整形 |
public class Long2 { | //长整形 |
public class Matrix2f {/ | /矩形 |
public class Mesh extends BaseObj { | //数据显示容器 |
public class Path extends BaseObj { | //路径 |
public class Program extends BaseObj { | //图形流水线程序 |
public class ProgramFragment extends Program { | //片段着色器 |
public class ProgramFragmentFixedFunction extends ProgramFragment { | //一个辅助类 |
public class ProgramRaster extends BaseObj { | //光栅程序 |
public class ProgramStore extends BaseObj { | //图形硬件处理写入到帧缓冲 |
public class ProgramVertex extends Program { | //顶点着色器 |
public class ProgramVertexFixedFunction extends ProgramVertex { | //顶点着色器 |
public class RenderScript { | //渲染脚本 |
public class RenderScriptGL extends RenderScript { | //渲染脚本 |
public class RSDriverException extends RSRuntimeException { | //异常 |
public class RSSurfaceView extends SurfaceView implements SurfaceHolder.Callback { | //一种图形 |
public class RSTextureView extends TextureView implements TextureView.SurfaceTextureListener { | //文本图形 |
public class Sampler extends BaseObj { | //采样对象 |
public class Script extends BaseObj { | //脚本 |
public class ScriptC extends Script { | //脚本类 |
public final class ScriptGroup extends BaseObj { | //脚本内核 |
public abstract class ScriptIntrinsic extends Script { | //脚本 |
public final class ScriptIntrinsic3DLUT extends ScriptIntrinsic { | |
public class ScriptIntrinsicBlend extends ScriptIntrinsic { | |
public final class ScriptIntrinsicBlur extends ScriptIntrinsic { | |
public final class ScriptIntrinsicColorMatrix extends ScriptIntrinsic { | |
public final class ScriptIntrinsicConvolve3x3 extends ScriptIntrinsic { | |
public final class ScriptIntrinsicConvolve5x5 extends ScriptIntrinsic { | |
public final class ScriptIntrinsicHistogram extends ScriptIntrinsic { | |
public final class ScriptIntrinsicLUT extends ScriptIntrinsic { | |
public final class ScriptIntrinsicYuvToRGB extends ScriptIntrinsic { | |
public class Short2 { | //短整形 |
public class Type extends BaseObj { | // 类型描述 |
21、opengl目录
文件 | 描述 |
public class EGL14 { | //一种粉刷 |
public class EGLConfig extends EGLObjectHandle { | //本地配置 |
public class EGLContext extends EGLObjectHandle { | //句柄 |
public class EGLDisplay extends EGLObjectHandle { | //显示对象 |
public class EGLExt { | //扩展 |
class EGLLogWrapper implements EGL11 { // | |
public abstract class EGLObjectHandle { | |
public class EGLSurface extends EGLObjectHandle { | |
public class ETC1 { | |
public class ETC1Util { | |
public class GLDebugHelper { | |
class GLErrorWrapper extends GLWrapperBase { | |
public class GLES10 { | |
public class GLES10Ext { | |
public class GLES11 extends GLES10 { | |
public class GLES11Ext { | |
public class GLES20 { | |
public class GLES30 extends GLES20 { | |
public class GLException extends RuntimeException { | |
class GLLogWrapper extends GLWrapperBase { | |
public class GLSurfaceView extends SurfaceView implements SurfaceHolder.Callback { | |
public class GLU { | |
public final class GLUtils { | |
class GLWallpaperService { | |
abstract class GLWrapperBase implements GL, GL10, GL10Ext, GL11, GL11Ext, GL11ExtensionPack { | |
public abstract class ManagedEGLContext { | |
public class Matrix { | |
public class Visibility { | |
public class EGLConfigImpl extends EGLConfig { | |
public class EGLContextImpl extends EGLContext { | |
public class EGLDisplayImpl extends EGLDisplay { | |
public class EGLImpl implements EGL10 { | |
public class EGLSurfaceImpl extends EGLSurface { | |
public class GLImpl implements GL10, GL10Ext, GL11, GL11Ext, GL11ExtensionPack { | |
public interface EGL { | |
public interface EGL10 extends EGL { | |
public interface EGL11 extends EGL10 { | |
public abstract class EGLConfig { | |
public abstract class EGLContext { | |
public abstract class EGLDisplay { | |
public abstract class EGLSurface { | |
public interface GL { | |
public interface GL10 extends GL { | |
public interface GL10Ext extends GL { | |
public interface GL11 extends GL10 { | |
public interface GL11Ext extends GL { | |
public interface GL11ExtensionPack extends GL { | |
22、packages目录
文件 | 描述 |
public class WapPushManager extends Service { | //实现来处理传入的 WAP PUSH消息 |
public class BitmapUtils { | //图片辅助 |
public class Utils { | //辅助类 |
class ByteBufferInputStream extends InputStream { | //字节缓冲 |
class CountedDataInputStream extends FilterInputStream { | //输入流计数 |
class ExifData { | //存储EXIF |
public class ExifInterface { | //exif接口(提供了阅读和写作的JPEG文件的方法和常数) |
public class ExifInvalidFormatException extends Exception {/ | /异常 |
class ExifModifier { | //编辑器 |
class ExifOutputStream extends FilterOutputStream { | //输出流 |
class ExifParser { | //exif解析器 |
class ExifReader { | //exif读取 |
public class ExifTag { | //exif标签 |
class IfdData { | //标志 |
public interface IfdId { //id | |
class JpegHeader { | //jpeg头信息 |
class OrderedDataOutputStream extends FilterOutputStream { | //顺序数据输出 |
public class Rational { | //合理数据类型 |
public abstract class BasicTexture implements Texture { | //一个真正的GL纹理的纹理 |
public class BitmapTexture extends UploadedTexture { | //文本位图 |
public interface GLCanvas { | //画布 |
public class GLES20Canvas implements GLCanvas { | //画布 |
public class GLES20IdImpl implements GLId { | //标识 |
public interface GLId { | //接口 |
public class GLPaint { | //绘画 |
public class RawTexture extends BasicTexture { | //文本 |
public interface Texture { | //文本 |
public abstract class UploadedTexture extends BasicTexture { | |
public class IntArray { | //整形数组 |
interface SimpleBitmapRegionDecoder { | //图片区域解码 |
public class BlockingGLTextureView extends TextureView implements SurfaceTextureListener { | //文本视图 |
public class TiledImageRenderer { | //图片渲染 |
public class TiledImageView extends FrameLayout { | //头视图 |
public class CropView extends TiledImageView implements OnScaleGestureListener { | //拷贝视图 |
public class WallpaperCropActivity extends Activity { | //界面 |
public class InputDeviceReceiver extends BroadcastReceiver { | //输入广播 |
public class FusedLocationProvider extends LocationProviderBase implements FusionEngine.Callback {// | |
public class FusedLocationService extends Service { | |
public class FusionEngine implements LocationListener { | |
public class FakeApp extends Application { | |
public class FakeBackgroundService extends Service { | |
public class FakeCoreService extends Service { | |
public class FakeCoreService2 extends FakeCoreService { | |
public class FakeCoreService3 extends FakeCoreService { | |
public class FakeView extends View { | |
public class ExternalStorageProvider extends DocumentsProvider { | //扩展存储 |
public class MountReceiver extends BroadcastReceiver { | //广播 |
public class TestDocumentsProvider extends DocumentsProvider { | |
public class ColumnAdapter extends BaseAdapter { | //适配器 |
public class CreateDirectoryFragment extends DialogFragment { | //对话框创建一个新目录 |
public class DirectoryContainerView extends FrameLayout { | //目录 |
public class DirectoryFragment extends Fragment { | //显示一个目录里面的文件 |
class DirectoryResult implements AutoCloseable { | //目录加载 |
public class DirectoryView extends FrameLayout { | //目录视图 |
public class DocumentsActivity extends Activity { | //文档界面 |
public class DocumentsApplication extends Application { | //文档程序 |
public class FilteringCursorWrapper extends AbstractCursor { | //过滤游标 |
public class IconUtils { | //图标辅助类 |
public class MimePredicate implements Predicate<DocumentInfo> { | |
public class PackageReceiver extends BroadcastReceiver { | //包接收 |
public class ProviderExecutor extends Thread implements Executor { // | |
public class RecentLoader extends AsyncTaskLoader<DirectoryResult> { | //加载 |
public class RecentsCreateFragment extends Fragment { | //显示目录创建在最近发生的 |
public class RecentsProvider extends ContentProvider { | //最近的共享数据库 |
public class RootCursorWrapper extends AbstractCursor { | //根游标 |
public class RootsCache { | //根缓存 |
public class RootsFragment extends Fragment { | //存储列表 |
public class RootsLoader extends AsyncTaskLoader<Collection<RootInfo>> { | //加载 |
public class SaveFragment extends Fragment { | //头标编辑 |
public class SectionedListAdapter extends BaseAdapter {// | |
public class SettingsActivity extends Activity { | //设置界面 |
public class SortingCursorWrapper extends AbstractCursor { | //排序游标 |
public class ThumbnailCache extends LruCache<Uri, Bitmap> { | |
public abstract class UriDerivativeLoader<P, R> extends AsyncTaskLoader<R> { | //加载uri |
public class DocumentInfo implements Durable, Parcelable { | //文档信息 |
public class DocumentStack extends LinkedList<DocumentInfo> implements Durable { | //文档堆栈 |
public interface Durable { | //文档读写接口 |
public class DurableUtils { | //文档辅助类 |
public class RootInfo implements Durable, Parcelable { | //根信息 |
public class DefaultContainerService extends IntentService { | //服务负责拷贝下载apk |
public class MeasurementUtils { | |
public class BackupRestoreConfirmation extends Activity { | //全备份/恢复操作界面 |
public class ConfirmDialog extends AlertActivity implements CompoundButton.OnCheckedChangeListener, DialogInterface.OnClickListener { | //提交对话框 |
public class ManageDialog extends AlertActivity implements DialogInterface.OnClickListener, Handler.Callback { | //管理对话框 |
public class BatteryMeterView extends View implements DemoMode { | //电量百分显示 |
public class BootReceiver extends BroadcastReceiver { | //启动广播 |
public interface DemoMode { | //自定义模式 |
public class DessertCase extends Activity { // | |
public class DessertCaseDream extends DreamService { | |
public class DessertCaseDreamSettings extends PreferenceActivity { | |
public class DessertCaseView extends FrameLayout { | |
public class DockBatteryMeterView extends BatteryMeterView { | |
public class ExpandHelper implements Gefingerpoken, OnClickListener { | |
public interface Gefingerpoken { | |
public class ImageWallpaper extends WallpaperService { | |
public class LoadAverageService extends Service { | |
public interface RecentsComponent { | |
public class SearchPanelView extends FrameLayout implements StatusBarPanel, ActivityOptions.OnAnimationStartedListener { | |
public class Somnambulator extends Activity { | |
public class SwipeHelper implements Gefingerpoken { | |
public abstract class SystemUI { | |
public class SystemUIService extends Service { | |
public class ActionTarget { | //管理自定义操作的辅助类 |
public class CMCaseView extends DessertCaseView { | |
public class NotificationPlayer implements OnCompletionListener { | //提示声 |
public class RingtonePlayer extends SystemUI { | //铃声播放 |
public class NetworkOverLimitActivity extends Activity { | //网络显示界面 |
public class PowerUI extends SystemUI { | //电源界面 |
public class AirplaneModeTile extends QuickSettingsTile implements NetworkSignalChangedCallback { | //飞行模式 |
public class AlarmTile extends QuickSettingsTile { | //提示头 |
public class AutoRotateTile extends QuickSettingsTile { | //自动换头 |
public class BatteryTile extends QuickSettingsTile implements BatteryStateChangeCallback { | //电源头 |
public class BluetoothTile extends QuickSettingsTile implements BluetoothAdapter.BluetoothStateChangeCallback, BluetoothController.BluetoothDeviceConnectionStateChangeCallback { | //蓝牙头 |
public class BrightnessTile extends QuickSettingsTile implements BrightnessStateChangeCallback { | //亮度头 |
public class BugReportTile extends QuickSettingsTile { | //bug提交头 |
public class CameraTile extends QuickSettingsTile { | //相机头 |
public class DockBatteryTile extends BatteryTile { | //电池头 |
public class ExpandedDesktopTile extends QuickSettingsTile { | //扩展桌面头 |
public class GPSTile extends QuickSettingsTile implements LocationSettingsChangeCallback { | //gps头 |
public class InputMethodTile extends QuickSettingsTile { | //输入方式头 |
public class LteTile extends QuickSettingsTile { | //三色头 |
public class MobileNetworkTile extends NetworkTile { | //移动网络头 |
public class MobileNetworkTypeTile extends QuickSettingsTile implements NetworkSignalChangedCallback { | //网络类型头 |
public class NetworkAdbTile extends QuickSettingsTile { | //网络头 |
public abstract class NetworkTile extends QuickSettingsTile implements NetworkSignalChangedCallback { | //网络头 |
public class NfcTile extends QuickSettingsTile { | //nfc头 |
public class PerformanceProfileTile extends QuickSettingsTile { // | |
public class PreferencesTile extends QuickSettingsTile { | //属性头 |
public class ProfileTile extends QuickSettingsTile { | // 文件头 |
public class QuickSettingsTile implements OnClickListener { | //设置头 |
public class QuietHoursTile extends QuickSettingsTile { | //静音头 |
public class RemoteDisplayTile extends QuickSettingsTile{ | //远程显示头 |
public class RingerModeTile extends QuickSettingsTile { | //铃声模式头 |
public class ScreenTimeoutTile extends QuickSettingsTile { | //屏幕超时 |
public class SleepScreenTile extends QuickSettingsTile { | //睡眠头 |
public class SyncTile extends QuickSettingsTile { | //同步头 |
public class ToggleLockscreenTile extends QuickSettingsTile implements OnSharedPreferenceChangeListener { | //锁屏头 |
public class TorchTile extends QuickSettingsTile { | //手电筒头 |
public class UsbTetherTile extends QuickSettingsTile { | //usb头 |
public class UserTile extends QuickSettingsTile { | //用户头 |
public class VolumeTile extends QuickSettingsTile { | //声音头 |
public class WifiAPTile extends QuickSettingsTile { | //wifi头 |
public class WiFiTile extends NetworkTile {/ | /wifi头 |
public class ColorDrawableWithDimensions extends ColorDrawable { | //颜色 |
public class Constants { | //常量 |
public class FadedEdgeDrawHelper { | //渐变图 |
public class FirstFrameAnimatorHelper extends AnimatorListenerAdapter implements ValueAnimator.AnimatorUpdateListener { | //动画 |
public class Recents extends SystemUI implements RecentsComponent { | |
public class RecentsActivity extends Activity { | |
public interface RecentsCallback { | |
public class RecentsHorizontalScrollView extends HorizontalScrollView implements SwipeHelper.Callback, RecentsPanelView.RecentsScrollView { | |
public class RecentsPanelView extends FrameLayout implements OnItemClickListener, RecentsCallback, StatusBarPanel, Animator.AnimatorListener { | |
public class RecentsPreloadReceiver extends BroadcastReceiver { | |
public class RecentsVerticalScrollView extends ScrollView implements SwipeHelper.Callback, RecentsPanelView.RecentsScrollView { | |
public class RecentTasksLoader implements View.OnTouchListener { | |
public final class TaskDescription { | |
public class DeleteScreenshot extends BroadcastReceiver { | //截屏 |
class SaveImageInBackgroundData { | |
public class TakeScreenshotService extends Service { | //获取截屏 |
public class BrightnessController implements ToggleSlider.Listener { | //亮度控制器 |
public class BrightnessDialog extends Dialog implements BrightnessController.BrightnessStateChangeCallback { | //对话框 |
public abstract class CurrentUserTracker extends BroadcastReceiver { | //当前用户监听者 |
public class SettingsUI extends SystemUI { | //设置UI |
public class ToggleSlider extends RelativeLayout implements CompoundButton.OnCheckedChangeListener, SeekBar.OnSeekBarChangeListener { | //滑动视图 |
public class AnimatedImageView extends ImageView { | //动画图片 |
public abstract class BaseStatusBar extends SystemUI implements ommandQueue.Callbacks { | //状态栏 |
public class CommandQueue extends IStatusBar.Stub { | //命令队列 |
public class DelegateViewHelper { | //视图辅助 |
public class ExpandableNotificationRow extends FrameLayout { | // 扩展通知栏 |
public class GestureRecorder { | //捕捉手势 |
public class LatestItemView extends FrameLayout { | //最近视图 |
public class MSimSignalClusterView extends LinearLayout implements MSimNetworkController.MSimSignalCluster { | //卡信号视图 |
public class NotificationData { | //通知数据 |
public class ServiceMonitor { | //一个安全的定义的服务组件 |
public class SignalClusterTextView extends LinearLayout implements NetworkController.NetworkSignalChangedCallback, NetworkController.SignalStrengthChangedCallback | {//信号组 |
public class SignalClusterView extends LinearLayout implements NetworkController.SignalCluster { | //信号视图 |
public class StatusBarIconView extends AnimatedImageView { | //状态图标 |
public interface StatusBarPanel { | //状态 |
public class SystemBars extends SystemUI implements ServiceMonitor.Callbacks { | //系统栏 |
public class BarTransitions { | |
public class DemoStatusIcons extends LinearLayout implements DemoMode { | |
public class IconMerger extends LinearLayout { | |
public class KeyguardTouchDelegate { | //导航栏和事件之间的通信接口 |
public class NavbarEditor implements View.OnTouchListener { | //处理导航栏的编辑 |
public final class NavigationBarTransitions extends BarTransitions { | |
public class NavigationBarView extends LinearLayout { | |
public class NotificationPanelView extends PanelView { | |
public class PanelBar extends FrameLayout { | |
public class PanelHolder extends FrameLayout { | |
public class PanelView extends FrameLayout { | |
public class PhoneStatusBar extends BaseStatusBar implements DemoMode, NetworkController.UpdateUIListener { | |
public class PhoneStatusBarPolicy { | |
public final class PhoneStatusBarTransitions extends BarTransitions { | |
public class PhoneStatusBarView extends PanelBar { | |
class QuickSettings { | |
class QuickSettingsBasicTile extends QuickSettingsTileView { | |
public class QuickSettingsContainerView extends FrameLayout { | |
public class QuickSettingsController { | |
public class QuickSettingsHorizontalScrollView extends HorizontalScrollView { | |
class QuickSettingsModel implements BluetoothStateChangeCallback, NetworkSignalChangedCallback, BatteryStateChangeCallback, BrightnessStateChangeCallback, RotationLockControllerCallback, LocationSettingsChangeCallback { | |
public class QuickSettingsScrollView extends ScrollView { | |
public class QuickSettingsTileView extends FrameLayout { | |
public class SettingsPanelView extends PanelView { | |
public class StatusBarWindowView extends FrameLayout | |
public abstract class Ticker { | |
public class TickerView extends TextSwitcher | |
public class AccessibilityContentDescriptions { | //内容的描述访问权限 |
public class BatteryController extends BroadcastReceiver { | //电量控制 |
public class BluetoothController extends BroadcastReceiver { | |
public class Clock extends TextView implements DemoMode, OnClickListener, OnLongClickListener { | //电子钟 |
public class DateView extends TextView implements OnClickListener, OnLongClickListener { | |
public class DeadZone extends View { | //死掉区域 |
public class DockBatteryController extends BatteryController { | |
public class HeadsUpNotificationView extends FrameLayout implements SwipeHelper.Callback, ExpandHelper.Callback { | |
public class KeyButtonView extends ImageView { | |
public class LocationController extends BroadcastReceiver { | // 位置相关状态的变化和更新 |
public class MSimNetworkController extends NetworkController { | //卡网络 |
public class NetworkController extends BroadcastReceiver implements DemoMode {// | 网络控制 |
public class NotificationRowLayout extends LinearLayout implements SwipeHelper.Callback, ExpandHelper.Callback | |
public interface OnSizeChangedListener { | |
public class Prefs { | |
public final class RotationLockController { | |
class TelephonyIcons { | |
class WifiIcons { | |
class WimaxIcons { | |
public class TvStatusBar extends BaseStatusBar { | //状态栏 |
public class StorageNotification extends SystemUI { | //存储通知栏 |
public class UsbAccessoryUriActivity extends AlertActivity implements DialogInterface.OnClickListener { | //usb提示 |
public class UsbConfirmActivity extends AlertActivity implements DialogInterface.OnClickListener, CheckBox.OnCheckedChangeListener { | //usb提交界面 |
public class UsbDebuggingActivity extends AlertActivity implements DialogInterface.OnClickListener { | //usb调试界面 |
class UsbDisconnectedReceiver extends BroadcastReceiver { | //usb拔出监听 |
public class UsbPermissionActivity extends AlertActivity implements DialogInterface.OnClickListener, CheckBox.OnCheckedChangeListener { | //usb访问权限 |
public class UsbResolverActivity extends ResolverActivity { | //usb装置 |
public class UsbStorageActivity extends Activity implements View.OnClickListener, OnCancelListener { | // usb存储界面 |
public class BugreportPrefs { | //BUG报告相关设置 |
public class BugreportReceiver extends BroadcastReceiver { | //debug提交广播 |
public class BugreportWarningActivity extends AlertActivity implements DialogInterface.OnClickListener { | //debug警告界面 |
public class ObbBackupService extends Service { | //备份管理器 |
public class SharedStorageAgent extends FullBackupAgent { | //共享存储代理 |
public class DatabaseHelper extends SQLiteOpenHelper { | //数据库辅助 |
public final class ProfilePickerActivity extends AlertActivity implements DialogInterface.OnClickListener, AlertController.AlertParams.OnPrepareListViewListener { | //文件捡取 |
public class SettingsBackupAgent extends BackupAgentHelper { | //设置备份代理 |
public class SettingsHelper { | //设置辅助 |
public class SettingsProvider extends ContentProvider { | //设置数据库 |
public class PacNative { | |
public class PacService extends Service { | |
public class ProxyServer extends Thread { | |
public class ProxyService extends Service { | |
public class SocketConnect extends Thread { | |
public class FusedPrintersProvider extends Loader<List<PrinterInfo>> { | // 加载输出信息 |
public class MediaSizeUtils { | //媒体大小辅助 |
public class NotificationController { | // 通知控制 |
public class PrintDialogFrame extends FrameLayout { | //输出对话框 |
public class PrintJobConfigActivity extends Activity { | //输出配置界面 |
public final class PrintSpoolerService extends Service { | //输出服务 |
final class RemotePrintDocumentAdapter { | |
public class SelectPrinterActivity extends Activity implements OnPrinterSelectedListener { | |
public final class SelectPrinterFragment extends Fragment { | |
public class MSimCarrierText extends CarrierText { | |
public class MSimKeyguardSimPinView extends KeyguardSimPinView {// | 显示开锁 |
public class MSimKeyguardSimPukView extends KeyguardSimPukView { | //显示输入PUK |
interface BiometricSensorUnlock { | |
public class CameraWidgetFrame extends KeyguardWidgetFrame implements View.OnClickListener { | |
public class CarrierText extends TextView { | |
public interface ChallengeLayout { | |
public class CheckLongPressHelper { | |
public class EmergencyButton extends Button { | |
public class EmergencyCarrierArea extends LinearLayout { | |
public class FaceUnlock implements BiometricSensorUnlock, Handler.Callback { | |
public abstract class KeyguardAbsKeyInputView extends LinearLayout implements KeyguardSecurityView, OnEditorActionListener, TextWatcher { | //PIN和密码解锁屏幕 |
public class KeyguardAccountView extends LinearLayout implements KeyguardSecurityView, View.OnClickListener, TextWatcher {/ | /帐户 |
public abstract class KeyguardActivityLauncher { | //软盘启动界面 |
class KeyguardCircleFramedDrawable extends Drawable { | //软件圆圆图片 |
public class KeyguardDisplayManager { | |
public class KeyguardFaceUnlockView extends LinearLayout implements KeyguardSecurityView { | |
public class KeyguardGlowStripView extends LinearLayout { | |
public class KeyguardHostView extends KeyguardViewBase { | |
public class KeyguardLinearLayout extends LinearLayout { | |
class KeyguardMessageArea extends TextView { | |
class KeyguardMultiUserAvatar extends FrameLayout { | |
public class KeyguardMultiUserSelectorView extends FrameLayout implements View.OnClickListener { | |
public class KeyguardPasswordView extends KeyguardAbsKeyInputView implements KeyguardSecurityView, OnEditorActionListener, TextWatcher { | |
public class KeyguardPatternView extends LinearLayout implements KeyguardSecurityView { | |
public class KeyguardPINView extends KeyguardAbsKeyInputView implements KeyguardSecurityView, OnEditorActionListener, TextWatcher { | |
public interface KeyguardSecurityCallback { | |
public class KeyguardSecurityContainer extends FrameLayout { public KeyguardSecurityContainer(Context context, AttributeSet attrs) { | |
public class KeyguardSecurityModel { | |
public interface KeyguardSecurityView { | |
public class KeyguardSecurityViewFlipper extends ViewFlipper implements KeyguardSecurityView { | |
public class KeyguardSecurityViewHelper { | |
public class KeyguardSelectorView extends LinearLayout implements KeyguardSecurityView { | |
public class KeyguardService extends Service { | |
public class KeyguardSimPinView extends KeyguardAbsKeyInputView implements KeyguardSecurityView, OnEditorActionListener, TextWatcher { | |
public class KeyguardStatusView extends GridLayout { | |
public class KeyguardTransportControlView extends FrameLayout { | |
public class KeyguardUpdateMonitor { | |
class KeyguardUpdateMonitorCallback { | |
public abstract class KeyguardViewBase extends FrameLayout { | |
public class KeyguardViewManager { | |
public class KeyguardViewMediator { | |
public class KeyguardViewStateManager implements SlidingChallengeLayout.OnChallengeScrolledListener, ChallengeLayout.OnBouncerStateChangedListener { | |
public class KeyguardWidgetCarousel extends KeyguardWidgetPager { | |
public class KeyguardWidgetFrame extends FrameLayout { | |
public class KeyguardWidgetPager extends PagedView implements PagedView.PageSwitchListener, OnLongClickListener, ChallengeLayout.OnBouncerStateChangedListener { | |
class LiftToActivateListener implements View.OnHoverListener { | |
public class MultiPaneChallengeLayout extends ViewGroup implements ChallengeLayout { | |
public class MultiUserAvatarCache { | |
public class NumPadKey extends Button { | |
class ObscureSpeechDelegate extends AccessibilityDelegate { | |
public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarchyChangeListener { | |
public interface SecurityMessageDisplay { | |
public class SlidingChallengeLayout extends ViewGroup implements ChallengeLayout { | |
未完待续,Framework简单记录完毕后将逐步了解Android各个部分,大致分为:
Graphics 原理、View 原理、Activity 原理、BroadcastReceive 原理、Service 原理、ContentProvider与数据库 原理、gesture 原理、Animation 原理、Webkit 原理、Hardware 原理、Bluetooth 原理、Speech 原理、Preference 原理、NFC 原理、Net 原理、Widget 原理、Location 原理、Media 原理、Opengl 原理、Packages 原理、Notification 原理、Process 原理、Widget 原理。
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。