/developers/build/prebuilts/gradle/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/chat/ |
ReplyToMessageIntentService.java | 28 import com.example.android.wearable.wear.messaging.util.Constants; 59 if (intent.hasExtra(Constants.EXTRA_CHAT)) { 61 if (Constants.ACTION_REPLY.equals(action)) { 86 String chatId = intent.getStringExtra(Constants.EXTRA_CHAT); 96 return remoteInput.getCharSequence(Constants.EXTRA_REPLY);
|
/developers/samples/android/wearable/wear/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/ |
CheckInAndDeleteDataItemsService.java | 34 import static com.example.android.wearable.geofencing.Constants.ACTION_CHECK_IN; 35 import static com.example.android.wearable.geofencing.Constants.ACTION_DELETE_DATA_ITEM; 36 import static com.example.android.wearable.geofencing.Constants.CONNECTION_TIME_OUT_MS; 37 import static com.example.android.wearable.geofencing.Constants.NOTIFICATION_ID; 38 import static com.example.android.wearable.geofencing.Constants.TAG; 101 * @param animationType Defined by constants in ConfirmationActivity.
|
/developers/samples/android/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/ |
RecipeService.java | 53 if (intent.getAction().equals(Constants.ACTION_START_COOKING)) { 61 mRecipe = Recipe.fromBundle(intent.getBundleExtra(Constants.EXTRA_RECIPE)); 83 Constants.NOTIFICATION_IMAGE_WIDTH, Constants.NOTIFICATION_IMAGE_HEIGHT, false); 94 mNotificationManager.notify(Constants.NOTIFICATION_ID, notification);
|
RecipeListAdapter.java | 57 JSONObject jsonObject = AssetUtils.loadJSONAsset(mContext, Constants.RECIPE_LIST_FILE); 67 JSONArray items = json.getJSONArray(Constants.RECIPE_FIELD_LIST); 71 parsed.name = item.getString(Constants.RECIPE_FIELD_NAME); 72 parsed.title = item.getString(Constants.RECIPE_FIELD_TITLE); 73 if (item.has(Constants.RECIPE_FIELD_IMAGE)) { 74 String imageFile = item.getString(Constants.RECIPE_FIELD_IMAGE); 77 parsed.summary = item.getString(Constants.RECIPE_FIELD_SUMMARY);
|
/developers/samples/android/wearable/wear/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/chat/ |
ReplyToMessageIntentService.java | 28 import com.example.android.wearable.wear.messaging.util.Constants; 59 if (intent.hasExtra(Constants.EXTRA_CHAT)) { 61 if (Constants.ACTION_REPLY.equals(action)) { 86 String chatId = intent.getStringExtra(Constants.EXTRA_CHAT); 96 return remoteInput.getCharSequence(Constants.EXTRA_REPLY);
|
/development/samples/browseable/Geofencing/Wearable/src/com.example.android.wearable.geofencing/ |
CheckInAndDeleteDataItemsService.java | 34 import static com.example.android.wearable.geofencing.Constants.ACTION_CHECK_IN; 35 import static com.example.android.wearable.geofencing.Constants.ACTION_DELETE_DATA_ITEM; 36 import static com.example.android.wearable.geofencing.Constants.CONNECTION_TIME_OUT_MS; 37 import static com.example.android.wearable.geofencing.Constants.NOTIFICATION_ID; 38 import static com.example.android.wearable.geofencing.Constants.TAG; 101 * @param animationType Defined by constants in ConfirmationActivity.
|
/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/ |
RecipeService.java | 53 if (intent.getAction().equals(Constants.ACTION_START_COOKING)) { 61 mRecipe = Recipe.fromBundle(intent.getBundleExtra(Constants.EXTRA_RECIPE)); 83 Constants.NOTIFICATION_IMAGE_WIDTH, Constants.NOTIFICATION_IMAGE_HEIGHT, false); 94 mNotificationManager.notify(Constants.NOTIFICATION_ID, notification);
|
RecipeListAdapter.java | 57 JSONObject jsonObject = AssetUtils.loadJSONAsset(mContext, Constants.RECIPE_LIST_FILE); 67 JSONArray items = json.getJSONArray(Constants.RECIPE_FIELD_LIST); 71 parsed.name = item.getString(Constants.RECIPE_FIELD_NAME); 72 parsed.title = item.getString(Constants.RECIPE_FIELD_TITLE); 73 if (item.has(Constants.RECIPE_FIELD_IMAGE)) { 74 String imageFile = item.getString(Constants.RECIPE_FIELD_IMAGE); 77 parsed.summary = item.getString(Constants.RECIPE_FIELD_SUMMARY);
|
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/service/ |
ScriptingLayerService.java | 32 import com.googlecode.android_scripting.Constants; 102 mHide = mPreferences.getBoolean(Constants.HIDE_NOTIFY, false); 120 notificationIntent.setAction(Constants.ACTION_SHOW_RUNNING_SCRIPTS); 165 } else if (intent.getAction().equals(Constants.ACTION_KILL_ALL)) { 168 } else if (intent.getAction().equals(Constants.ACTION_KILL_PROCESS)) { 173 } else if (intent.getAction().equals(Constants.ACTION_SHOW_RUNNING_SCRIPTS)) { 176 if (intent.getAction().equals(Constants.ACTION_LAUNCH_SERVER)) { 183 else if (intent.getAction().equals(Constants.ACTION_LAUNCH_FOREGROUND_SCRIPT)) { 190 "Unable to run " + intent.getStringExtra(Constants.EXTRA_SCRIPT_PATH) + "\n" 194 } else if (intent.getAction().equals(Constants.ACTION_LAUNCH_BACKGROUND_SCRIPT)) [all...] |
/frameworks/av/media/libaudioprocessing/ |
AudioResamplerDyn.h | 93 class Constants { // stores the filter constants. 95 Constants() : 145 void createKaiserFir(Constants &c, double stopBandAtten, 148 void createKaiserFir(Constants &c, double stopBandAtten, double fcr); 159 Constants mConstants; // current set of coefficient parameters
|
/packages/apps/Contacts/src/com/android/contacts/ |
ContactsApplication.java | 33 import com.android.contacts.util.Constants; 100 if (Log.isLoggable(Constants.PERFORMANCE_TAG, Log.DEBUG)) { 101 Log.d(Constants.PERFORMANCE_TAG, "ContactsApplication.onCreate start"); 116 if (Log.isLoggable(Constants.PERFORMANCE_TAG, Log.DEBUG)) { 117 Log.d(Constants.PERFORMANCE_TAG, "ContactsApplication.onCreate finish");
|
/packages/apps/TV/tests/jank/src/com/android/tv/tests/jank/ |
ProgramGuideJankTest.java | 26 import com.android.tv.testing.uihelper.Constants; 106 assertWaitForCondition(mDevice, Until.hasObject(Constants.PROGRAM_GUIDE)); 113 assertWaitForCondition(mDevice, Until.gone(Constants.PROGRAM_GUIDE)); 119 assertWaitForCondition(mDevice, Until.hasObject(Constants.PROGRAM_GUIDE)); 126 assertWaitForCondition(mDevice, Until.hasObject(Constants.PROGRAM_GUIDE));
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
WordComposerTests.java | 22 import com.android.inputmethod.latin.common.Constants; 43 Constants.NOT_A_COORDINATE, Constants.NOT_A_COORDINATE); 72 Constants.NOT_A_COORDINATE, Constants.NOT_A_COORDINATE);
|
/developers/build/prebuilts/gradle/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/ |
MainActivity.java | 19 import static com.example.android.wearable.geofencing.Constants.ANDROID_BUILDING_ID; 20 import static com.example.android.wearable.geofencing.Constants.ANDROID_BUILDING_LATITUDE; 21 import static com.example.android.wearable.geofencing.Constants.ANDROID_BUILDING_LONGITUDE; 22 import static com.example.android.wearable.geofencing.Constants.ANDROID_BUILDING_RADIUS_METERS; 23 import static com.example.android.wearable.geofencing.Constants.CONNECTION_FAILURE_RESOLUTION_REQUEST; 24 import static com.example.android.wearable.geofencing.Constants.GEOFENCE_EXPIRATION_TIME; 25 import static com.example.android.wearable.geofencing.Constants.TAG; 26 import static com.example.android.wearable.geofencing.Constants.YERBA_BUENA_ID; 27 import static com.example.android.wearable.geofencing.Constants.YERBA_BUENA_LATITUDE; 28 import static com.example.android.wearable.geofencing.Constants.YERBA_BUENA_LONGITUDE [all...] |
/developers/samples/android/wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/ |
MainActivity.java | 19 import static com.example.android.wearable.geofencing.Constants.ANDROID_BUILDING_ID; 20 import static com.example.android.wearable.geofencing.Constants.ANDROID_BUILDING_LATITUDE; 21 import static com.example.android.wearable.geofencing.Constants.ANDROID_BUILDING_LONGITUDE; 22 import static com.example.android.wearable.geofencing.Constants.ANDROID_BUILDING_RADIUS_METERS; 23 import static com.example.android.wearable.geofencing.Constants.CONNECTION_FAILURE_RESOLUTION_REQUEST; 24 import static com.example.android.wearable.geofencing.Constants.GEOFENCE_EXPIRATION_TIME; 25 import static com.example.android.wearable.geofencing.Constants.TAG; 26 import static com.example.android.wearable.geofencing.Constants.YERBA_BUENA_ID; 27 import static com.example.android.wearable.geofencing.Constants.YERBA_BUENA_LATITUDE; 28 import static com.example.android.wearable.geofencing.Constants.YERBA_BUENA_LONGITUDE [all...] |
/development/samples/browseable/Geofencing/Application/src/com.example.android.wearable.geofencing/ |
MainActivity.java | 19 import static com.example.android.wearable.geofencing.Constants.ANDROID_BUILDING_ID; 20 import static com.example.android.wearable.geofencing.Constants.ANDROID_BUILDING_LATITUDE; 21 import static com.example.android.wearable.geofencing.Constants.ANDROID_BUILDING_LONGITUDE; 22 import static com.example.android.wearable.geofencing.Constants.ANDROID_BUILDING_RADIUS_METERS; 23 import static com.example.android.wearable.geofencing.Constants.CONNECTION_FAILURE_RESOLUTION_REQUEST; 24 import static com.example.android.wearable.geofencing.Constants.GEOFENCE_EXPIRATION_TIME; 25 import static com.example.android.wearable.geofencing.Constants.TAG; 26 import static com.example.android.wearable.geofencing.Constants.YERBA_BUENA_ID; 27 import static com.example.android.wearable.geofencing.Constants.YERBA_BUENA_LATITUDE; 28 import static com.example.android.wearable.geofencing.Constants.YERBA_BUENA_LONGITUDE [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
CapsModeUtils.java | 23 import com.android.inputmethod.latin.common.Constants; 76 return (codePoint == Constants.CODE_DOUBLE_QUOTE || codePoint == Constants.CODE_SINGLE_QUOTE 77 || codePoint == Constants.CODE_INVERTED_QUESTION_MARK 78 || codePoint == Constants.CODE_INVERTED_EXCLAMATION_MARK 151 char prevChar = Constants.CODE_SPACE; 155 if (!Character.isSpaceChar(prevChar) && prevChar != Constants.CODE_TAB) break; 164 if (Constants.CODE_ENTER == prevChar) { 169 if (Constants.CODE_COMMA == prevChar && hasNewLine) { 207 if (c != Constants.CODE_DOUBLE_QUOTE && c != Constants.CODE_SINGLE_QUOT [all...] |
/developers/build/prebuilts/gradle/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/ |
RecipeListAdapter.java | 57 JSONObject jsonObject = AssetUtils.loadJSONAsset(mContext, Constants.RECIPE_LIST_FILE); 67 JSONArray items = json.getJSONArray(Constants.RECIPE_FIELD_LIST); 71 parsed.name = item.getString(Constants.RECIPE_FIELD_NAME); 72 parsed.title = item.getString(Constants.RECIPE_FIELD_TITLE); 73 if (item.has(Constants.RECIPE_FIELD_IMAGE)) { 74 String imageFile = item.getString(Constants.RECIPE_FIELD_IMAGE); 77 parsed.summary = item.getString(Constants.RECIPE_FIELD_SUMMARY);
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/ |
UiDeviceAsserts.java | 18 import static com.android.tv.testing.uihelper.Constants.FOCUSED_VIEW; 42 assertTrue(uiObject.wait(Until.focused(true), Constants.MAX_FOCUSED_DELAY_MILLIS)); 47 * Constants#MAX_SHOW_DELAY_MILLIS} milliseconds. 54 assertWaitForCondition(uiDevice, searchCondition, Constants.MAX_SHOW_DELAY_MILLIS); 78 return waitForCondition(uiDevice, searchCondition, Constants.MAX_SHOW_DELAY_MILLIS); 86 Constants.MIN_EXTRA_TIMEOUT, 87 (long) (timeout * Constants.EXTRA_TIMEOUT_PERCENT)); 120 UiObject2Asserts.getAdjustedTimeout(Constants.MAX_SHOW_DELAY_MILLIS));
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
HdmiCecController.java | 65 * {@link Constants#ADDR_UNREGISTERED}, it means that 89 return HdmiUtils.getTypeFromAddress(address) == Constants.ADDR_AUDIO_SYSTEM; 160 * If sets {@link Constants#ADDR_UNREGISTERED}, scans 185 if (preferredAddress == Constants.ADDR_UNREGISTERED) { 194 int logicalAddress = Constants.ADDR_UNREGISTERED; 198 if (curAddress != Constants.ADDR_UNREGISTERED 413 int strategy = pickStrategy & Constants.POLL_STRATEGY_MASK; 416 case Constants.POLL_STRATEGY_SYSTEM_AUDIO: 419 case Constants.POLL_STRATEGY_REMOTES_DEVICES: 425 int iterationStrategy = pickStrategy & Constants.POLL_ITERATION_STRATEGY_MASK [all...] |
HdmiCecLocalDevicePlayback.java | 47 SystemProperties.getBoolean(Constants.PROPERTY_WAKE_ON_HOTPLUG, true); 50 SystemProperties.getBoolean(Constants.PROPERTY_SET_MENU_LANGUAGE, false); 90 return SystemProperties.getInt(Constants.PROPERTY_PREFERRED_ADDRESS_PLAYBACK, 91 Constants.ADDR_UNREGISTERED); 98 SystemProperties.set(Constants.PROPERTY_PREFERRED_ADDRESS_PLAYBACK, 111 OneTouchPlayAction action = OneTouchPlayAction.create(this, Constants.ADDR_TV, 130 DevicePowerStatusAction action = DevicePowerStatusAction.create(this, Constants.ADDR_TV, 174 HdmiCecMessageBuilder.buildStandby(mAddress, Constants.ADDR_TV)); 179 HdmiCecMessageBuilder.buildStandby(mAddress, Constants.ADDR_BROADCAST)); 206 if (SystemProperties.getBoolean(Constants.PROPERTY_KEEP_AWAKE, true)) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
KeyCodeDescriptionMapper.java | 30 import com.android.inputmethod.latin.common.Constants; 57 mKeyCodeMap.put(Constants.CODE_SPACE, R.string.spoken_description_space); 58 mKeyCodeMap.put(Constants.CODE_DELETE, R.string.spoken_description_delete); 59 mKeyCodeMap.put(Constants.CODE_ENTER, R.string.spoken_description_return); 60 mKeyCodeMap.put(Constants.CODE_SETTINGS, R.string.spoken_description_settings); 61 mKeyCodeMap.put(Constants.CODE_SHIFT, R.string.spoken_description_shift); 62 mKeyCodeMap.put(Constants.CODE_SHORTCUT, R.string.spoken_description_mic); 63 mKeyCodeMap.put(Constants.CODE_SWITCH_ALPHA_SYMBOL, R.string.spoken_description_to_symbol); 64 mKeyCodeMap.put(Constants.CODE_TAB, R.string.spoken_description_tab); 65 mKeyCodeMap.put(Constants.CODE_LANGUAGE_SWITCH [all...] |
/developers/build/prebuilts/gradle/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/ui/ |
AttractionsActivity.java | 39 import com.example.android.xyztouristattractions.common.Constants; 131 Uri attractionsUri = getIntent().getParcelableExtra(Constants.EXTRA_ATTRACTIONS_URI); 196 Constants.GOOGLE_API_CLIENT_TIMEOUT_S, TimeUnit.SECONDS); 199 Log.e(TAG, String.format(Constants.GOOGLE_API_CLIENT_ERROR_MSG, 211 dataMapItem.getDataMap().getDataMapArrayList(Constants.EXTRA_ATTRACTIONS); 219 attraction.name = attractionData.getString(Constants.EXTRA_TITLE); 221 attractionData.getString(Constants.EXTRA_DESCRIPTION); 222 attraction.city = attractionData.get(Constants.EXTRA_CITY); 224 attractionData.getString(Constants.EXTRA_DISTANCE); 226 attractionData.getDouble(Constants.EXTRA_LOCATION_LAT) [all...] |
/developers/samples/android/wearable/wear/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/ui/ |
AttractionsActivity.java | 39 import com.example.android.xyztouristattractions.common.Constants; 131 Uri attractionsUri = getIntent().getParcelableExtra(Constants.EXTRA_ATTRACTIONS_URI); 196 Constants.GOOGLE_API_CLIENT_TIMEOUT_S, TimeUnit.SECONDS); 199 Log.e(TAG, String.format(Constants.GOOGLE_API_CLIENT_ERROR_MSG, 211 dataMapItem.getDataMap().getDataMapArrayList(Constants.EXTRA_ATTRACTIONS); 219 attraction.name = attractionData.getString(Constants.EXTRA_TITLE); 221 attractionData.getString(Constants.EXTRA_DESCRIPTION); 222 attraction.city = attractionData.get(Constants.EXTRA_CITY); 224 attractionData.getString(Constants.EXTRA_DISTANCE); 226 attractionData.getDouble(Constants.EXTRA_LOCATION_LAT) [all...] |
/development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/ui/ |
AttractionsActivity.java | 39 import com.example.android.xyztouristattractions.common.Constants; 131 Uri attractionsUri = getIntent().getParcelableExtra(Constants.EXTRA_ATTRACTIONS_URI); 196 Constants.GOOGLE_API_CLIENT_TIMEOUT_S, TimeUnit.SECONDS); 199 Log.e(TAG, String.format(Constants.GOOGLE_API_CLIENT_ERROR_MSG, 211 dataMapItem.getDataMap().getDataMapArrayList(Constants.EXTRA_ATTRACTIONS); 219 attraction.name = attractionData.getString(Constants.EXTRA_TITLE); 221 attractionData.getString(Constants.EXTRA_DESCRIPTION); 222 attraction.city = attractionData.get(Constants.EXTRA_CITY); 224 attractionData.getString(Constants.EXTRA_DISTANCE); 226 attractionData.getDouble(Constants.EXTRA_LOCATION_LAT) [all...] |