/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/ |
permmap.py | 130 "{0}:{1}:Invalid information flow direction: {2}". 146 self.permmap[class_name][perm_name] = {'direction': flow_direction, 259 self.permmap[class_name][perm_name] = {'direction': 'u', 287 # weight of the rule in each direction. The result 288 # is the largest-weight permission in each direction 299 if mapping['direction'] == "r": 301 elif mapping['direction'] == "w": 303 elif mapping['direction'] == "b": 309 def set_direction(self, class_, permission, direction): 311 Set the information flow direction of a permission [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
ScrollAdapterView.java | 681 int direction = isGrowing ? 684 scrollAndFocusTo(nextTop, direction, false, duration, false); [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
InternalSelectionView.java | 232 protected void onFocusChanged(boolean focused, int direction, 234 super.onFocusChanged(focused, direction, previouslyFocusedRect); 237 switch (direction) {
|
/external/eigen/demos/opengl/ |
camera.cpp | 89 Vector3f Camera::direction(void) const function in class:Camera 170 mTarget = position() + dist * direction(); 179 setPosition(position() + direction() * d);
|
/external/harfbuzz_ng/src/ |
hb-common.cc | 146 * @direction: 155 hb_direction_to_string (hb_direction_t direction) 157 if (likely ((unsigned int) (direction - HB_DIRECTION_LTR) 159 return direction_strings[direction - HB_DIRECTION_LTR];
|
hb-graphite2.cc | 314 float curradv = HB_DIRECTION_IS_BACKWARD(buffer->props.direction) ? gr_slot_origin_X(gr_seg_first_slot(seg)) : 0.; 315 if (HB_DIRECTION_IS_BACKWARD(buffer->props.direction)) 342 if (HB_DIRECTION_IS_BACKWARD(buffer->props.direction)) 358 if (!HB_DIRECTION_IS_BACKWARD(buffer->props.direction)) 376 if (!HB_DIRECTION_IS_BACKWARD(buffer->props.direction))
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
CompoundTransliterator.java | 72 * @param direction either Transliterator.FORWARD or Transliterator.REVERSE 76 /*public CompoundTransliterator(String ID, int direction, 79 init(ID, direction, true); 85 * @param direction either Transliterator.FORWARD or Transliterator.REVERSE 87 /*public CompoundTransliterator(String ID, int direction) { 88 this(ID, direction, null); 133 * @param direction either FORWARD or REVERSE 145 int direction, 152 if (!TransliteratorIDParser.parseCompoundID(id, direction, 159 init(list, direction, fixReverseID) [all...] |
BidiLine.java | 31 * paraLevel and direction are also set. 157 if (paraBidi.direction != Bidi.MIXED) { 159 lineBidi.direction = paraBidi.direction; 181 /* recalculate lineBidi.direction */ 184 lineBidi.direction = (byte)(lineBidi.paraLevel & 1); 195 lineBidi.direction = Bidi.MIXED; 198 direction as levels[0] and paraLevel */ 201 /* the direction values match those in level */ 202 lineBidi.direction = level [all...] |
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
CompoundTransliterator.java | 71 * @param direction either Transliterator.FORWARD or Transliterator.REVERSE 75 /*public CompoundTransliterator(String ID, int direction, 78 init(ID, direction, true); 84 * @param direction either Transliterator.FORWARD or Transliterator.REVERSE 86 /*public CompoundTransliterator(String ID, int direction) { 87 this(ID, direction, null); 132 * @param direction either FORWARD or REVERSE 144 int direction, 151 if (!TransliteratorIDParser.parseCompoundID(id, direction, 158 init(list, direction, fixReverseID) [all...] |
/external/okhttp/website/static/ |
jquery.smooth-scroll.min.js | 7 (function(l){function t(l){return l.replace(/(:|\.)/g,"\\$1")}var e="1.4.10",o={exclude:[],excludeWithin:[],offset:0,direction:"top",scrollElement:null,scrollTarget:null,beforeScroll:function(){},afterScroll:function(){},easing:"swing",speed:400,autoCoefficent:2},r=function(t){var e=[],o=!1,r=t.dir&&"left"==t.dir?"scrollLeft":"scrollTop";return this.each(function(){if(this!=document&&this!=window){var t=l(this);t[r]()>0?e.push(this):(t[r](1),o=t[r]()>0,o&&e.push(this),t[r](0))}}),e.length||this.each(function(){"BODY"===this.nodeName&&(e=[this])}),"first"===t.el&&e.length>1&&(e=[e[0]]),e};l.fn.extend({scrollable:function(l){var t=r.call(this,{dir:l});return this.pushStack(t)},firstScrollable:function(l){var t=r.call(this,{el:"first",dir:l});return this.pushStack(t)},smoothScroll:function(e){e=e||{};var o=l.extend({},l.fn.smoothScroll.defaults,e),r=l.smoothScroll.filterPath(location.pathname);return this.unbind("click.smoothscroll").bind("click.smoothscroll",function(e){var n=this,s=l(this),c=o.exclude,i=o.excludeWithin,a=0,f=0,h=!0,u={},d=location.hostname===n.hostname||!n.hostname,m=o.scrollTarget||(l.smoothScroll.filterPath(n.pathname)||r)===r,p=t(n.hash);if(o.scrollTarget||d&&m&&p){for(;h&&c.length>a;)s.is(t(c[a++]))&&(h=!1);for(;h&&i.length>f;)s.closest(i[f++]).length&&(h=!1)}else h=!1;h&&(e.preventDefault(),l.extend(u,o,{scrollTarget:o.scrollTarget||p,link:n}),l.smoothScroll(u))}),this}}),l.smoothScroll=function(t,e){var o,r,n,s,c=0,i="offset",a="scrollTop",f={},h={};"number"==typeof t?(o=l.fn.smoothScroll.defaults,n=t):(o=l.extend({},l.fn.smoothScroll.defaults,t||{}),o.scrollElement&&(i="position","static"==o.scrollElement.css("position")&&o.scrollElement.css("position","relative"))),o=l.extend({link:null},o),a="left"==o.direction?"scrollLeft":a,o.scrollElement?(r=o.scrollElement,c=r[a]()):r=l("html, body").firstScrollable(),o.beforeScroll.call(r,o),n="number"==typeof t?t:e||l(o.scrollTarget)[i]()&&l(o.scrollTarget)[i]()[o.direction]||0,f[a]=n+c+o.offset,s=o.speed,"auto"===s&&(s=f[a]||r.scrollTop(),s/=o.autoCoefficent),h={duratio (…)
|
/external/skia/src/effects/ |
SkTileImageFilter.cpp | 112 SkIRect* dst, MapDirection direction) const { 113 SkRect rect = kReverse_MapDirection == direction ? fSrcRect : fDstRect; 119 SkIRect* dst, MapDirection direction) const {
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
dbus_new_introspect.c | 55 const char *direction) 60 if (direction) 61 wpabuf_printf(xml, " direction=\"%s\"", direction); 199 "<arg name=\"data\" type=\"s\" direction=\"out\"/>"
|
/frameworks/base/core/tests/coretests/src/android/util/ |
InternalSelectionView.java | 241 protected void onFocusChanged(boolean focused, int direction, 243 super.onFocusChanged(focused, direction, previouslyFocusedRect); 246 switch (direction) {
|
/frameworks/base/telephony/java/android/telephony/ |
PhoneStateListener.java | 137 * Listen for changes to the direction of data traffic on the data 431 public void onDataActivity(int direction) { 588 public void onDataActivity(int direction) { 589 send(LISTEN_DATA_ACTIVITY, direction, 0, null);
|
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/ |
DrawerArrowDrawable.java | 47 * Direction to make the arrow point towards the left. 55 * Direction to make the arrow point towards the right. 63 * Direction to make the arrow point towards the start. 65 * <p>When used in a view with a {@link ViewCompat#LAYOUT_DIRECTION_RTL RTL} layout direction, 75 * Direction to make the arrow point to the end. 77 * <p>When used in a view with a {@link ViewCompat#LAYOUT_DIRECTION_RTL RTL} layout direction, 117 // The arrow direction 269 * Set the arrow direction. 271 public void setDirection(@ArrowDirection int direction) { 272 if (direction != mDirection) [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherAppWidgetHostView.java | 243 protected void onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect) { 248 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect); 267 public boolean dispatchUnhandledMove(View focused, int direction) {
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
IconNormalizer.java | 181 * @param direction 1 for left border and -1 for right border. 186 float[] xCordinates, int direction, int topY, int bottomY) { 209 if ((currentAngle - lastAngle) * direction < 0) { 213 if ((currentAngle - angles[start]) * direction >= 0) {
|
/packages/services/Car/car-support-lib/src/android/support/car/ui/ |
PagedScrollBarView.java | 43 /** Called when the linked view should be paged in the given direction */ 44 void onPaginate(int direction); 194 final int direction = (v.getId() == R.id.page_up) local 196 listener.onPaginate(direction);
|
/external/aac/libSBRdec/src/ |
sbrdec_freq_sca.cpp | 437 int direction = 1; local 458 if (direction == 0) 462 direction = 1; 466 if (direction == 1) 468 direction = 0;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
BidiLine.java | 30 * paraLevel and direction are also set. 156 if (paraBidi.direction != Bidi.MIXED) { 158 lineBidi.direction = paraBidi.direction; 180 /* recalculate lineBidi.direction */ 183 lineBidi.direction = (byte)(lineBidi.paraLevel & 1); 194 lineBidi.direction = Bidi.MIXED; 197 direction as levels[0] and paraLevel */ 200 /* the direction values match those in level */ 201 lineBidi.direction = level [all...] |
/external/webrtc/talk/app/webrtc/ |
statscollector.cc | 311 StatsReport::Direction direction) { 317 direction); 322 report = collector->PrepareReport(false, ssrc, transport_id, direction); 497 StatsReport::Direction direction) { 502 rtc::ToString<uint32_t>(ssrc), direction)); 507 if (!GetTrackIdBySsrc(ssrc, &track_id, direction)) { [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
BrowseFragment.java | [all...] |
BrowseSupportFragment.java | [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppNotification.java | 82 + BluetoothShare.DIRECTION + " == " + BluetoothShare.DIRECTION_OUTBOUND + ")"; 85 + BluetoothShare.DIRECTION + " == " + BluetoothShare.DIRECTION_INBOUND + ")"; 114 int direction; // to indicate sending or receiving field in class:BluetoothOppNotification.NotificationItem 232 final int directionIndex = cursor.getColumnIndexOrThrow(BluetoothShare.DIRECTION); 269 item.direction = dir; 270 if (item.direction == BluetoothShare.DIRECTION_OUTBOUND) { 272 } else if (item.direction == BluetoothShare.DIRECTION_INBOUND) { 303 if (item.direction == BluetoothShare.DIRECTION_INBOUND) { 334 if (item.direction == BluetoothShare.DIRECTION_OUTBOUND) { 336 } else if (item.direction == BluetoothShare.DIRECTION_INBOUND) [all...] |
/external/icu/icu4c/source/common/ |
ubidi.c | 102 * consider if the paragraph direction should be considered in 603 /* Resolve direction of still unresolved open FSI sequences */ 622 /* For inverse bidi, default para direction is RTL if there is 630 /* The following is needed to resolve the text direction for default level 798 UBiDiDirection direction; local 802 direction=pLastIsoRun->level&1; 814 direction context and both parentheses receive level 2. 823 if((direction==0 && pOpening->flags&FOUND_L) || 824 (direction==1 && pOpening->flags&FOUND_R)) { /* N0b */ 825 newProp=direction; 1077 UBiDiDirection direction; local 2533 UBiDiDirection direction; local [all...] |