/development/samples/DataWiper/src/com.example.android.datawiper/ |
D | MyMain.java | 55 final boolean isEnabled = MyAdmin.isEnabled(this); in refreshUi() 57 isEnabled ? "Disable Admin" : "Enable Admin"); in refreshUi() 58 findViewById(R.id.wipe_data).setEnabled(isEnabled); in refreshUi() 62 if (MyAdmin.isEnabled(this)) { in onAddAsAdmin()
|
D | MyAdmin.java | 30 public static boolean isEnabled(Context context) { in isEnabled() method in MyAdmin
|
/development/samples/browseable/AppShortcuts/src/com.example.android.appshortcuts/ |
D | Main.java | 133 if (shortcut.isEnabled()) { in onClick() 162 if (!shortcut.isEnabled()) { in getType() 206 public boolean isEnabled(int position) { in isEnabled() method in Main.MyAdapter 243 shortcut.isEnabled() ? R.string.disable_shortcut : R.string.enable_shortcut); in bindView()
|
/development/tools/checkcolor/src/test/java/com/google/checkcolor/lint/ |
D | HardcodedColorDetectorTest.java | 49 public boolean isEnabled(@NonNull Issue issue) { in getConfiguration() 50 return super.isEnabled(issue) && mEnabled.contains(issue); in getConfiguration()
|
/development/samples/ShortcutSample/src/com/example/android/shortcutsample/ |
D | Main.java | 189 if (shortcut.isEnabled()) { in onClick() 228 if (!shortcut.isEnabled()) { in getType() 272 public boolean isEnabled(int position) { in isEnabled() method in Main.MyAdapter 309 shortcut.isEnabled() ? R.string.disable_shortcut : R.string.enable_shortcut); in bindView()
|
/development/tools/checkcolor/src/main/java/com/google/checkcolor/lint/ |
D | HardcodedColorDetector.java | 125 if (context.isEnabled(ISSUE)) { in visitAttribute() 174 if (isHardcodedColor(value) && context.isEnabled(ISSUE)) { in visitElement() 188 if (context.isEnabled(ISSUE)) { in afterCheckProject()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | List5.java | 58 public boolean isEnabled(int position) { in isEnabled() method in List5.MyListAdapter
|
/development/samples/ShortcutDemo/common/src/com/example/android/pm/shortcutdemo/ |
D | ShortcutAdapter.java | 122 public boolean isEnabled(int position) { in isEnabled() method in ShortcutAdapter 170 + (si.isEnabled() ? "" : si.getDisabledMessage()) + "\n" in bindView()
|
/development/samples/browseable/BluetoothAdvertisements/src/com.example.android.bluetoothadvertisements/ |
D | MainActivity.java | 51 if (mBluetoothAdapter.isEnabled()) { in onCreate()
|
/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/ |
D | DeviceScanActivity.java | 117 if (!mBluetoothAdapter.isEnabled()) { in onResume() 118 if (!mBluetoothAdapter.isEnabled()) { in onResume()
|
/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/ |
D | RecipeListAdapter.java | 166 public boolean isEnabled(int position) { in isEnabled() method in RecipeListAdapter
|
/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/ |
D | GameView.java | 308 if (isEnabled() && x >= 0 && x < 3 && y >= 0 & y < 3) { 360 b.putBoolean("gv_en", isEnabled());
|
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/ |
D | BaseActivityListFragment.java | 132 public boolean isEnabled(int position) { in isEnabled() method in BaseActivityListFragment.AppAdapter
|
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/ |
D | BluetoothChatFragment.java | 110 if (!mBluetoothAdapter.isEnabled()) { in onStart()
|
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/ |
D | BluetoothChat.java | 110 if (!mBluetoothAdapter.isEnabled()) { in onStart()
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeySourceNetworkViews.java | 368 return new MonkeyCommandReturn(true, Boolean.toString(node.isEnabled())); in query()
|