/frameworks/base/core/jni/ |
D | android_view_PointerIcon.cpp | 109 #define FIND_CLASS(var, className) \ argument 110 var = env->FindClass(className); \ 111 LOG_FATAL_IF(! var, "Unable to find class " className); \ 112 var = jclass(env->NewGlobalRef(var)); 114 #define GET_STATIC_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument 115 var = env->GetStaticMethodID(clazz, methodName, methodDescriptor); \ 116 LOG_FATAL_IF(! var, "Unable to find method " methodName); 118 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument 119 var = env->GetMethodID(clazz, methodName, methodDescriptor); \ 120 LOG_FATAL_IF(! var, "Unable to find method " methodName); [all …]
|
D | android_view_KeyEvent.cpp | 127 #define FIND_CLASS(var, className) \ argument 128 var = env->FindClass(className); \ 129 LOG_FATAL_IF(! var, "Unable to find class " className); \ 130 var = jclass(env->NewGlobalRef(var)); 132 #define GET_STATIC_METHOD_ID(var, clazz, methodName, fieldDescriptor) \ argument 133 var = env->GetStaticMethodID(clazz, methodName, fieldDescriptor); \ 134 LOG_FATAL_IF(! var, "Unable to find static method" methodName); 136 #define GET_METHOD_ID(var, clazz, methodName, fieldDescriptor) \ argument 137 var = env->GetMethodID(clazz, methodName, fieldDescriptor); \ 138 LOG_FATAL_IF(! var, "Unable to find method" methodName); [all …]
|
D | android_server_FingerprintManager.cpp | 27 #define FIND_CLASS(var, className) \ argument 28 var = env->FindClass(className); \ 29 LOG_FATAL_IF(! var, "Unable to find class " className); \ 30 var = jclass(env->NewGlobalRef(var)); 32 #define GET_STATIC_METHOD_ID(var, clazz, methodName, fieldDescriptor) \ argument 33 var = env->GetStaticMethodID(clazz, methodName, fieldDescriptor); \ 34 LOG_FATAL_IF(! var, "Unable to find static method" methodName); 36 #define GET_METHOD_ID(var, clazz, methodName, fieldDescriptor) \ argument 37 var = env->GetMethodID(clazz, methodName, fieldDescriptor); \ 38 LOG_FATAL_IF(! var, "Unable to find method" methodName); [all …]
|
D | android_database_SQLiteDebug.cpp | 65 #define FIND_CLASS(var, className) \ argument 66 var = env->FindClass(className); \ 67 LOG_FATAL_IF(! var, "Unable to find class " className); 69 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument 70 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \ 71 LOG_FATAL_IF(! var, "Unable to find field " fieldName);
|
D | android_content_res_ObbScanner.cpp | 83 #define FIND_CLASS(var, className) \ argument 84 var = env->FindClass(className); \ 85 LOG_FATAL_IF(! var, "Unable to find class " className); 87 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument 88 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \ 89 LOG_FATAL_IF(! var, "Unable to find field " fieldName);
|
D | android_view_InputDevice.cpp | 80 #define FIND_CLASS(var, className) \ argument 81 var = env->FindClass(className); \ 82 LOG_FATAL_IF(! var, "Unable to find class " className); 84 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument 85 var = env->GetMethodID(clazz, methodName, methodDescriptor); \ 86 LOG_FATAL_IF(! var, "Unable to find method " methodName);
|
D | android_view_InputChannel.cpp | 278 #define FIND_CLASS(var, className) \ argument 279 var = env->FindClass(className); \ 280 LOG_FATAL_IF(! var, "Unable to find class " className); \ 281 var = jclass(env->NewGlobalRef(var)); 283 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument 284 var = env->GetMethodID(clazz, methodName, methodDescriptor); \ 285 LOG_FATAL_IF(! var, "Unable to find method " methodName); 287 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument 288 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \ 289 LOG_FATAL_IF(! var, "Unable to find field " fieldName);
|
D | android_view_TextureView.cpp | 215 #define FIND_CLASS(var, className) \ argument 216 var = env->FindClass(className); \ 217 LOG_FATAL_IF(!var, "Unable to find class " className); 219 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument 220 var = env->GetMethodID(clazz, methodName, methodDescriptor); \ 221 LOG_FATAL_IF(!var, "Unable to find method " methodName); 223 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument 224 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \ 225 LOG_FATAL_IF(!var, "Unable to find field" fieldName);
|
D | android_content_res_Configuration.cpp | 73 #define FIND_CLASS(var, className) \ argument 74 var = env->FindClass(className); \ 75 LOG_FATAL_IF(! var, "Unable to find class " className); 77 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument 78 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \ 79 LOG_FATAL_IF(! var, "Unable to find field " fieldName);
|
D | android_os_MessageQueue.cpp | 160 #define FIND_CLASS(var, className) \ argument 161 var = env->FindClass(className); \ 162 LOG_FATAL_IF(! var, "Unable to find class " className); 164 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument 165 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \ 166 LOG_FATAL_IF(! var, "Unable to find field " fieldName);
|
D | android_view_KeyCharacterMap.cpp | 224 #define FIND_CLASS(var, className) \ argument 225 var = env->FindClass(className); \ 226 LOG_FATAL_IF(! var, "Unable to find class " className); 228 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument 229 var = env->GetMethodID(clazz, methodName, methodDescriptor); \ 230 LOG_FATAL_IF(! var, "Unable to find method " methodName); 232 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument 233 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \ 234 LOG_FATAL_IF(! var, "Unable to find field " fieldName);
|
D | android_view_GraphicBuffer.cpp | 280 #define FIND_CLASS(var, className) \ argument 281 var = env->FindClass(className); \ 282 LOG_FATAL_IF(! var, "Unable to find class " className); 284 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument 285 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \ 286 LOG_FATAL_IF(! var, "Unable to find field " fieldName); 288 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument 289 var = env->GetMethodID(clazz, methodName, methodDescriptor); \ 290 LOG_FATAL_IF(!var, "Unable to find method " methodName);
|
D | android_view_DisplayEventReceiver.cpp | 263 #define FIND_CLASS(var, className) \ argument 264 var = env->FindClass(className); \ 265 LOG_FATAL_IF(! var, "Unable to find class " className); \ 266 var = jclass(env->NewGlobalRef(var)); 268 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument 269 var = env->GetMethodID(clazz, methodName, methodDescriptor); \ 270 LOG_FATAL_IF(! var, "Unable to find method " methodName);
|
/frameworks/base/media/mca/filterfw/native/core/ |
D | shader_program.cpp | 176 bool ShaderProgram::IsVarValid(ProgramVar var) { in IsVarValid() argument 177 return var != -1; in IsVarValid() 644 bool ShaderProgram::CheckVarValid(ProgramVar var) { in CheckVarValid() argument 645 if (!IsVarValid(var)) { in CheckVarValid() 653 bool ShaderProgram::CheckUniformValid(ProgramVar var) { in CheckUniformValid() argument 654 if (!IsVarValid(var) || uniform_indices_.find(var) == uniform_indices_.end()) { in CheckUniformValid() 655 ALOGE("Shader Program: Attempting to access unknown uniform %d!", var); in CheckUniformValid() 678 bool ShaderProgram::SetUniformValue(ProgramVar var, int value) { in SetUniformValue() argument 679 if (!CheckVarValid(var)) in SetUniformValue() 684 glUniform1i(var, value); in SetUniformValue() [all …]
|
D | shader_program.h | 116 static bool IsVarValid(ProgramVar var); 179 bool SetUniformValue(ProgramVar var, int value); 183 bool SetUniformValue(ProgramVar var, float value); 187 bool SetUniformValue(ProgramVar var, const int* values, int count); 191 bool SetUniformValue(ProgramVar var, const float* values, int count); 195 bool SetUniformValue(ProgramVar var, const std::vector<int>& values); 199 bool SetUniformValue(ProgramVar var, const std::vector<float>& values); 236 bool SetConstAttributeValue(ProgramVar var, float value); 240 bool SetConstAttributeValue(ProgramVar var, const std::vector<float>& value); 258 bool SetAttributeValues(ProgramVar var, [all …]
|
/frameworks/base/docs/html/develop/ |
D | index.jd | 233 var MAX_LIST_DESC_LENGTH = 130; // the length at which we will trim the description 234 var MAX_VIDEO_DESC_LENGTH = 100; // the length at which we will trim the description 235 var MAX_LIST_LENGTH = 4; // number of videos to put in the list 236 var feed = data.feed; 237 var entries = feed.entry || []; 238 var playlistId = feed.yt$playlistId.$t; 240 var $ulVideos = $('<ul style="display:none"/>'); 241 …var summary = feed.media$group.media$description != null ? feed.media$group.media$description.$t :… 243 var $liPlaylist = $('<li class="playlist"></li>'); 244 var $aPlaylist = $('<a href="" onclick="togglePlaylist(this);return false;"></a>'); [all …]
|
/frameworks/base/docs/html-intl/intl/zh-cn/distribute/tools/promote/ |
D | device-art.jd | 153 var g_currentImage; 154 var g_currentDevice; 155 var g_currentObjectURL; 156 var g_currentBlob; 159 var MSG_INVALID_INPUT_IMAGE = 'Invalid screenshot provided. Screenshots must be PNG files ' 161 var MSG_NO_INPUT_IMAGE = '将屏幕截图(.PNG)从桌面拖动到以上所列设备。'; 162 var MSG_GENERATING_IMAGE = 'Generating device art…'; 164 var MAX_DISPLAY_HEIGHT = 126; // XOOM, to fit into 200px wide 167 var DEVICES = [ 269 var MAX_HEIGHT = 0; [all …]
|
D | badges.jd | 47 var APP_LANGS = ['it','pt-br','pt-pt','nl','ko','ja','fr','es','es-419','en','de']; 50 var imagePath = "/images/brand/" 51 var linkStart = "<a href=\"https://play.google.com/store/"; 52 var imageStart = "\">\n" 55 var imageSrc = "\"\n src=\"" + imagePath; 57 var imageEnd = ".png\" />\n</a>"; 60 var linkStartCode = "<a href=\"https://play.google.com/store/"; 61 var imageStartCode = "\">\n" 64 var imageSrcCode = "\"\n src=\"" + imagePath; 66 var imageEndCode = ".png\" />\n</a>"; [all …]
|
/frameworks/base/services/core/jni/ |
D | com_android_server_power_PowerManagerService.cpp | 177 #define FIND_CLASS(var, className) \ argument 178 var = env->FindClass(className); \ 179 LOG_FATAL_IF(! var, "Unable to find class " className); 181 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument 182 var = env->GetMethodID(clazz, methodName, methodDescriptor); \ 183 LOG_FATAL_IF(! var, "Unable to find method " methodName); 185 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument 186 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \ 187 LOG_FATAL_IF(! var, "Unable to find field " fieldName);
|
D | com_android_server_input_InputApplicationHandle.cpp | 129 #define FIND_CLASS(var, className) \ argument 130 var = env->FindClass(className); \ 131 LOG_FATAL_IF(! var, "Unable to find class " className); 133 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument 134 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \ 135 LOG_FATAL_IF(! var, "Unable to find field " fieldName);
|
D | com_android_server_AssetAtlasService.cpp | 221 #define FIND_CLASS(var, className) \ argument 222 var = env->FindClass(className); \ 223 LOG_FATAL_IF(! var, "Unable to find class " className); 225 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument 226 var = env->GetMethodID(clazz, methodName, methodDescriptor); \ 227 LOG_FATAL_IF(!var, "Unable to find method " methodName);
|
/frameworks/base/docs/html/distribute/tools/promote/ |
D | device-art.jd | 166 var g_currentImage; 167 var g_currentDevice; 168 var g_currentObjectURL; 169 var g_currentBlob; 172 var MSG_INVALID_INPUT_IMAGE = 'Invalid screenshot provided. Screenshots must be PNG files ' 174 var MSG_INVALID_WEAR_IMAGE = 'Invalid screenshot provided. Screenshots must be PNG files ' 178 var MSG_NO_INPUT_IMAGE = 'Drag a screenshot (in PNG format) from your desktop onto a ' 180 var MSG_GENERATING_IMAGE = 'Generating device art…'; 182 var MAX_DISPLAY_HEIGHT = 126; // XOOM, to fit into 200px wide 185 var DEVICES = [ [all …]
|
D | badges.jd | 66 var APP_LANGS = ['it','pt-br','pt-pt','nl','ko','ja','fr','es','es-419','en','de']; 69 var imagePath = "https://developer.android.com/images/brand/" 70 var linkStart = "<a href=\"https://play.google.com/store/"; 71 var imageStart = "\">\n" 74 var imageSrc = "\"\n src=\"" + imagePath; 76 var imageEnd = ".png\" />\n</a>"; 79 var linkStartCode = "<a href=\"https://play.google.com/store/"; 80 var imageStartCode = "\">\n" 83 var imageSrcCode = "\"\n src=\"" + imagePath; 85 var imageEndCode = ".png\" />\n</a>"; [all …]
|
/frameworks/base/docs/html/channels/ |
D | io2013.jd | 237 var url = '//www.youtube.com/v/' + id + '&rel=1&border=0&fs=1' + (autoplay?'&autoplay=1':''); 262 var MAX_DESC_LENGTH = 200; // the length at which we will trim the description 263 var feed = data.feed; 264 var entries = feed.entry || []; 265 var playlistId = feed.yt$playlistId.$t; 268 for (var i = 0; i < entries.length; i++) { 269 var entry = entries[i]; 270 var title = entry.title.$t; 271 var id = entry.media$group.yt$videoid.$t; 273 var thumbs = entry.media$group.media$thumbnail; [all …]
|
/frameworks/base/docs/html/about/dashboards/ |
D | index.jd | 155 var VERSION_DATA = 205 var SCREEN_DATA = 239 var VERSION_NAMES = 341 var $div = $('<div class="chart"' 344 var $divtable = $('<div class="col-5" style="margin-left:0">'); 345 var $divchart = $('<div class="col-8" style="margin-right:0">'); 348 var $table = $("<table>"); 349 var $trh = $("<tr><th>Version</th>" 358 var rowspan = 1; 376 var $tr = $("<tr>"); [all …]
|