/frameworks/base/core/jni/ |
D | android_view_PointerIcon.cpp | 108 #define FIND_CLASS(var, className) \ argument 109 var = env->FindClass(className); \ 110 LOG_FATAL_IF(! var, "Unable to find class " className); \ 111 var = jclass(env->NewGlobalRef(var)); 113 #define GET_STATIC_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument 114 var = env->GetStaticMethodID(clazz, methodName, methodDescriptor); \ 115 LOG_FATAL_IF(! var, "Unable to find method " methodName); 117 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument 118 var = env->GetMethodID(clazz, methodName, methodDescriptor); \ 119 LOG_FATAL_IF(! var, "Unable to find method " methodName); [all …]
|
D | android_view_KeyEvent.cpp | 120 #define FIND_CLASS(var, className) \ argument 121 var = env->FindClass(className); \ 122 LOG_FATAL_IF(! var, "Unable to find class " className); \ 123 var = jclass(env->NewGlobalRef(var)); 125 #define GET_STATIC_METHOD_ID(var, clazz, methodName, fieldDescriptor) \ argument 126 var = env->GetStaticMethodID(clazz, methodName, fieldDescriptor); \ 127 LOG_FATAL_IF(! var, "Unable to find static method" methodName); 129 #define GET_METHOD_ID(var, clazz, methodName, fieldDescriptor) \ argument 130 var = env->GetMethodID(clazz, methodName, fieldDescriptor); \ 131 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 | 76 #define FIND_CLASS(var, className) \ argument 77 var = env->FindClass(className); \ 78 LOG_FATAL_IF(! var, "Unable to find class " className); 80 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument 81 var = env->GetMethodID(clazz, methodName, methodDescriptor); \ 82 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_os_MessageQueue.cpp | 154 #define FIND_CLASS(var, className) \ argument 155 var = env->FindClass(className); \ 156 LOG_FATAL_IF(! var, "Unable to find class " className); 158 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument 159 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \ 160 LOG_FATAL_IF(! var, "Unable to find field " fieldName);
|
D | android_content_res_Configuration.cpp | 82 #define FIND_CLASS(var, className) \ argument 83 var = env->FindClass(className); \ 84 LOG_FATAL_IF(! var, "Unable to find class " className); 86 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument 87 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \ 88 LOG_FATAL_IF(! var, "Unable to find field " fieldName);
|
D | android_view_TextureView.cpp | 222 #define FIND_CLASS(var, className) \ argument 223 var = env->FindClass(className); \ 224 LOG_FATAL_IF(!var, "Unable to find class " className); 226 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument 227 var = env->GetMethodID(clazz, methodName, methodDescriptor); \ 228 LOG_FATAL_IF(!var, "Unable to find method " methodName); 230 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument 231 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \ 232 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_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);
|
D | android_hardware_SensorManager.cpp | 234 #define FIND_CLASS(var, className) \ argument 235 var = env->FindClass(className); \ 236 LOG_FATAL_IF(! var, "Unable to find class " className); \ 237 var = jclass(env->NewGlobalRef(var)); 239 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument 240 var = env->GetMethodID(clazz, methodName, methodDescriptor); \ 241 LOG_FATAL_IF(! var, "Unable to find method " methodName);
|
D | android_view_InputEventSender.cpp | 302 #define FIND_CLASS(var, className) \ argument 303 var = env->FindClass(className); \ 304 LOG_FATAL_IF(! var, "Unable to find class " className); \ 305 var = jclass(env->NewGlobalRef(var)); 307 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument 308 var = env->GetMethodID(clazz, methodName, methodDescriptor); \ 309 LOG_FATAL_IF(! var, "Unable to find method " methodName);
|
D | android_view_GLES20DisplayList.cpp | 358 #define FIND_CLASS(var, className) \ argument 359 var = env->FindClass(className); \ 360 LOG_FATAL_IF(! var, "Unable to find class " className); 362 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument 363 var = env->GetMethodID(clazz, methodName, methodDescriptor); \ 364 LOG_FATAL_IF(! var, "Unable to find method " methodName); 366 #define FIND_CLASS(var, className) argument 367 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) argument
|
/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 | 219 var MAX_LIST_DESC_LENGTH = 130; // the length at which we will trim the description 220 var MAX_VIDEO_DESC_LENGTH = 100; // the length at which we will trim the description 221 var MAX_LIST_LENGTH = 4; // number of videos to put in the list 222 var feed = data.feed; 223 var entries = feed.entry || []; 224 var playlistId = feed.yt$playlistId.$t; 226 var $ulVideos = $('<ul style="display:none"/>'); 227 …var summary = feed.media$group.media$description != null ? feed.media$group.media$description.$t :… 229 var $liPlaylist = $('<li class="playlist"></li>'); 230 var $aPlaylist = $('<a href="" onclick="togglePlaylist(this);return false;"></a>'); [all …]
|
/frameworks/base/docs/html/distribute/promote/ |
D | device-art.jd | 136 var g_currentImage; 137 var g_currentDevice; 140 var MSG_INVALID_INPUT_IMAGE = 'Invalid screenshot provided. Screenshots must be PNG files ' 142 var MSG_NO_INPUT_IMAGE = 'Drag a screenshot (in PNG format) from your desktop onto a ' 144 var MSG_GENERATING_IMAGE = 'Generating device art…'; 146 var MAX_DISPLAY_HEIGHT = 126; // XOOM, to fit into 200px wide 149 var DEVICES = [ 236 var MAX_HEIGHT = 0; 237 for (var i = 0; i < DEVICES.length; i++) { 252 var a = e.target; [all …]
|
/frameworks/base/services/jni/ |
D | com_android_server_power_PowerManagerService.cpp | 230 #define FIND_CLASS(var, className) \ argument 231 var = env->FindClass(className); \ 232 LOG_FATAL_IF(! var, "Unable to find class " className); 234 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument 235 var = env->GetMethodID(clazz, methodName, methodDescriptor); \ 236 LOG_FATAL_IF(! var, "Unable to find method " methodName); 238 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument 239 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \ 240 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);
|
/frameworks/base/docs/html/channels/ |
D | io2013.jd | 236 var url = '//www.youtube.com/v/' + id + '&rel=1&border=0&fs=1' + (autoplay?'&autoplay=1':''); 261 var MAX_DESC_LENGTH = 200; // the length at which we will trim the description 262 var feed = data.feed; 263 var entries = feed.entry || []; 264 var playlistId = feed.yt$playlistId.$t; 267 for (var i = 0; i < entries.length; i++) { 268 var entry = entries[i]; 269 var title = entry.title.$t; 270 var id = entry.media$group.yt$videoid.$t; 272 var thumbs = entry.media$group.media$thumbnail; [all …]
|
/frameworks/base/docs/html/about/dashboards/ |
D | index.jd | 148 var VERSION_DATA = 206 var SCREEN_DATA = 242 var VERSION_NAMES = 324 var $div = $('<div class="chart"' 327 var $divtable = $('<div class="col-5" style="margin-left:0">'); 328 var $divchart = $('<div class="col-8" style="margin-right:0">'); 331 var $table = $("<table>"); 332 var $trh = $("<tr><th>Version</th>" 341 var rowspan = 1; 359 var $tr = $("<tr>"); [all …]
|
/frameworks/base/docs/html/guide/topics/ui/ |
D | how-android-draws.jd | 71 <li><var>FILL_PARENT</var>, which means the View wants to be as big as its parent 73 <li><var>WRAP_CONTENT</var>, which means that the View wants to be just big enough to 85 <li><var>UNSPECIFIED</var>: This is used by a parent to determine the desired dimension 87 …with the height set to <var>UNSPECIFIED</var> and a width of <var>EXACTLY</var> 240 to find out how 89 <li><var>EXACTLY</var>: This is used by the parent to impose an exact size on the 92 <li><var>AT_MOST</var>: This is used by the parent to impose a maximum size on the
|
/frameworks/base/docs/html/distribute/googleplay/promote/ |
D | badges.jd | 60 var APP_LANGS = ['it','pt-br','pt-pt','nl','ko','ja','fr','es','es-419','en','de']; 63 var imagePath = "https://developer.android.com/images/brand/" 64 var linkStart = "<a href=\"https://play.google.com/store/"; 65 var imageStart = "\">\n" 68 var imageSrc = "\"\n src=\"" + imagePath; 70 var imageEnd = ".png\" />\n</a>"; 73 var linkStartCode = "<a href=\"https://play.google.com/store/"; 74 var imageStartCode = "\">\n" 77 var imageSrcCode = "\"\n src=\"" + imagePath; 79 var imageEndCode = ".png\" />\n</a>"; [all …]
|
/frameworks/base/docs/html/sdk/ |
D | download.jd | 13 var location = window.location.href; 15 var filename = location.substring(location.indexOf('=')+1,location.length); 54 var loc = window.location.href; 56 var filename = loc.substring(loc.indexOf('=')+1,loc.length); 81 var loc = window.location.href; 82 var filename = loc.substring(loc.indexOf('=')+1,loc.length); 85 var oldHref = $(this).attr("href");
|