- 锁屏通知唤醒屏幕
- 各应用的锁屏通知开关
- 各应用的通知指示灯开关
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:checked | |
:class | |
:click | |
:disabled | |
:for | |
:id | |
:name | |
:readonly | |
:style | |
:title |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 在匿名函数中执行代码, 防止污染全局变量 | |
(function () { | |
'use strict'; | |
console.log('hello world'); | |
var id, type, feedback, group; | |
if (window.aid) { | |
id = window.aid; | |
type = "arc"; | |
} else if (window.tp_id) { | |
id = window.tp_id; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
import sys, os, random, itertools, re, functools | |
import urllib.parse, urllib.request | |
from PIL import Image, ImageFilter, ImageDraw, ImageColor | |
""" |
方案配置文件+详细说明:Rime+小鹤双拼+颜文字+笔画混合输入方案
实现的功能是:给小鹤双拼添加颜文字支持,直接打双拼出颜文字,支持模糊音,支持词频调整,同时不影响小鹤双拼自带的笔画反查。
要实现双拼+颜文字
的功能网上已经有很多方法,但都有些弊端,这里分别简单介绍下:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright 2013 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 applicable law or agreed to in writing, software |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright 2013 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 applicable law or agreed to in writing, software |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.*; | |
import java.rmi.AccessException; | |
import java.util.Arrays; | |
import java.util.Enumeration; | |
import java.util.zip.ZipEntry; | |
import java.util.zip.ZipFile; | |
import java.util.zip.ZipInputStream; | |
import java.util.zip.ZipOutputStream; | |
/** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package android.support.v4.graphics.drawable; | |
import android.graphics.drawable.Drawable; | |
import android.graphics.drawable.DrawableContainer; | |
import android.graphics.drawable.GradientDrawable; | |
import android.os.Build; | |
/** | |
* 参考support-v4-23.1.1源码, 修复{@link DrawableCompat#wrap(Drawable)}方法在状态改变后不刷新的问题 | |
* <p/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.ipcjs.musiccontroler; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.media.AudioManager; | |
import android.net.Uri; | |
import android.os.Build; | |
import android.os.SystemClock; | |
import android.telephony.TelephonyManager; | |
import android.text.TextUtils; |