Android
648 @Override 649 protected void onConfigurationChanged(Configuration newConfig) { 650 final Locale locale = mContext.getResources().getConfiguration().locale; 651 final int ld = TextUtils.getLayoutDirectionFromLocale(locale); 652 final fl…
161 public ServiceMonitor(String ownerTag, boolean debug, 162 Context context, String settingKey, Callbacks callbacks) { 163 mTag = ownerTag + ".ServiceMonitor"; 164 mDebug = debug; 165 mContext = context; 166 mSettingKey = setti…
23 oneway interface IStatusBar 24 { 25 void setIcon(int index, in StatusBarIcon icon); 26 void removeIcon(int index); 27 void disable(int state); 28 void animateExpandNotificationsPanel(); 29 void animateExpandSettingsPanel(); 30 void anim…
4041 final void handleConfigurationChanged(Configuration config, CompatibilityInfo compat) { 4042 4043 int configDiff = 0; 4044 4045 synchronized (mResourcesManager) { 4046 if (mPendingConfiguration != null) { 4047 if (!mPendingConfigurati…
プロファイル dmtracedump -h -g ddms2145480925974807792.trace.out.png ddms2145480925974807792.trace > aaa.html 処理順 dmtracedump -ho -g ddms2145480925974807792.trace.out.png ddms2145480925974807792.trace > aaa.txt
logcatのログ(Android Device Monitor)でQSEECOMD以外を表示する方法 by Log Tag: ^(?!.*QSEECOMD)
1512 @Override 1513 protected void onConfigurationChanged(Configuration newConfig) { 1514 super.onConfigurationChanged(newConfig); 1515 mAfforanceHelper.onConfigurationChanged(); 1516 }
281 @Override 282 public void onAnnouncementRequested(CharSequence announcement) { 283 announceForAccessibility(announcement); 284 } 5234 public void announceForAccessibility(CharSequence text) { 5235 if (AccessibilityManager.getInstance(m…
72 @Override 73 protected void handleUpdateState(BooleanState state, Object arg) { 74 if (state.value) { 75 mWasLastOn = SystemClock.uptimeMillis(); 76 } 77 78 if (arg instanceof Boolean) { 79 state.value = (Boolean) arg; 80 } 81 82 if (!s…
156 protected void handleRefreshState(Object arg) { 157 handleUpdateState(mTmpState, arg); 158 final boolean changed = mTmpState.copyTo(mState); 159 if (changed) { 160 handleStateChanged(); 161 } 162 } 63 @Override 64 protected void handle…
120 @Override 121 protected void onFinishInflate() { 122 super.onFinishInflate(); 123 124 mZenButtons = (SegmentedButtons) findViewById(R.id.zen_buttons); 125 mZenButtons.addButton(R.string.interruption_level_none, <=="なし" Global.ZEN_MOD…
435 public void onConfigurationChanged(Configuration newConfig) { 436 updateWidth(); 437 if (mZenPanel != null) { 438 mZenPanel.updateLocale(); 439 } 440 } 244 public void updateLocale() { 245 mZenButtons.updateLocale(); 246 } 91 public vo…
51 public abstract class QSTile<TState extends State> implements Listenable { 52 protected final String TAG = "QSTile." + getClass().getSimpleName(); 53 protected static final boolean DEBUG = Log.isLoggable("QSTile", Log.DEBUG);</tstate>
860 // Set up the quick settings tile panel 861 mQSPanel = (QSPanel) mStatusBarWindow.findViewById(R.id.quick_settings_panel); 862 if (mQSPanel != null) { 863 final QSTileHost qsh = new QSTileHost(mContext, this, 864 mBluetoothController, …
63 /** Platform implementation of the quick settings tile host **/ 64 public class QSTileHost implements QSTile.Host { 65 private static final String TAG = "QSTileHost"; 66 private static final boolean DEBUG = Log.isLoggable(TAG, Log.DEBUG…
QSTileHostは、QSTile.Hostインタフェースを実装している。 63 /** Platform implementation of the quick settings tile host **/ 64 public class QSTileHost implements QSTile.Host { 279 public interface Host { 280 void startSettingsActivity(Inten…
doxygenの設定ファイル # Doxyfile 1.8.6 # This file describes the settings to be used by the documentation system # doxygen (www.doxygen.org) for a project. # # All text after a double hash (##) is considered a comment and is placed in # fr…
Android Version コードネーム SDKリリース日 Kernel Version 1.0 2008/09/23 1.1 2009/02/09 1.5 Cupcake 2009/04/30 2.6.27 1.6 Donut 2009/09/15 2.6.29 2.0 Eclair 2009/10/26 2.6.29 2.1 2010/01/12 2.2 Froyo 2010/05/21 2.6.32 2.3 GingerBread 2010/…
towelroot CVE-2014-3153 JVNDB-2014-002785 Linux Kernelの kernel/futex.c のfutex_requeue関数における 権限を取得される脆弱性 kernel.org Linux Kernel 3.14.5 まで レッドハット Red Hat Enterprise MRG 2.0 Red Hat Enterprise Linux 6Linuxカーネル…
ポピュラスみたいなゲームなのかなと思い、やってみました。 1日目は、いろいろやることが広がっていくのですごく面白かったです。 耕作者が出てきたあたりで、行き詰まりました。 面白い点は、 山を削って平らにしたり、宝箱を探したりする操作は、楽しいで…
385 public boolean onPreferenceStartFragment(PreferenceFragment caller, Preference pref) { 386 // Override the fragment title for Wallpaper settings 387 int titleRes = pref.getTitleRes(); 388 if (pref.getFragment().equals(WallpaperTypeSett…
Ubuntuでの話です。 ユーザーがfastbootを実行すると、no permissionと表示される。 sudoで実行しようとすると、PATHが通ってないので、完全なパスを指定する必要がある。 sudoに渡す場所は、which fastbootで見つけた場所になる。 $which fastboot /home/us…
Googleのサンプルソースより (D:\android-sdk_r24.0.2\sdk\extras\google\play_licensing\sample\src\com\example\android\market\licensing MainActivity.java) public class MainActivity extends Activity { private static final String BASE64_PUBLIC…
519 service servicemanager /system/bin/servicemanager 520 class core 521 user system 522 group system 523 critical 524 onrestart restart healthd 525 onrestart restart zygote 526 onrestart restart media 527 onrestart restart surfaceflinger …
57 @Override 58 protected void handleUpdateState(BooleanState state, Object arg) { 59 if (mController == null) return; 60 final boolean rotationLocked = mController.isRotationLocked(); 61 state.visible = mController.isRotationLockAffordanc…
SystemUI TypefaceFontFamily 860 // Set up the quick settings tile panel 861 mQSPanel = (QSPanel) mStatusBarWindow.findViewById(R.id.quick_settings_panel); 862 if (mQSPanel != null) { 863 final QSTileHost qsh = new QSTileHost(mContext, this…
Android Lint - How to hide a warning 'The resource Xxx appears to be unused'
Android Studio error: Not annotated parameter overrides @NotNull parameter
Androidでの話です。 ARMの64ビット用にビルドする方法を調べました。arm64-v8aをApplication.mkへ追加すればいいようです。 android-ndk-r10dのdocsのABI Management file:///D:/android-ndk-r10d/docs/Programmers_Guide/html/md_3__key__topics__c_p_u__s…
コミットメッセージ内の検索(message:) message:japanese message:font message:typeface message:FontFamily ファイル名での検索(f:) f:Typeface.java f:Typeface.cpp f:TypefaceImpl.h FontFamily.cpp f:Paint.cpp プロジェクト名での検索(project:) proje…