am a011c7fc: Merge "Fix documentation of nextSpanTransition off by one" into mnc-dev

* commit 'a011c7fcf750e25038eb5862f41e883fef1f54f7':
  Fix documentation of nextSpanTransition off by one
This commit is contained in:
Raph Levien
2015-06-11 15:51:38 +00:00
committed by Android Git Automerger

View File

@@ -187,12 +187,11 @@ extends CharSequence
public int getSpanFlags(Object tag);
/**
* Return the first offset greater than or equal to <code>start</code>
* where a markup object of class <code>type</code> begins or ends,
* or <code>limit</code> if there are no starts or ends greater than or
* equal to <code>start</code> but less than <code>limit</code>. Specify
* <code>null</code> or Object.class for the type if you want every
* transition regardless of type.
* Return the first offset greater than <code>start</code> where a markup
* object of class <code>type</code> begins or ends, or <code>limit</code>
* if there are no starts or ends greater than <code>start</code> but less
* than <code>limit</code>. Specify <code>null</code> or Object.class for
* the type if you want every transition regardless of type.
*/
public int nextSpanTransition(int start, int limit, Class type);
}